1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gancio_ynh.git synced 2024-09-03 20:36:19 +02:00

Merge pull request #4 from YunoHost-Apps/testing

v1.15 + admin password + screenshot + autoupdate + github templates
This commit is contained in:
lapineige 2024-05-06 19:51:43 +02:00 committed by GitHub
commit 51a08cc762
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 203 additions and 10 deletions

55
.github/ISSUE_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,55 @@
---
name: Bug report
about: When creating a bug report, please use the following template to provide all the relevant information and help debugging efficiently.
---
**How to post a meaningful bug report**
1. *Read this whole template first.*
2. *Determine if you are on the right place:*
- *If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!*
- *Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.*
- *When in doubt, post here and we will figure it out together.*
3. *Delete the italic comments as you write over them below, and remove this guide.*
---
### Describe the bug
*A clear and concise description of what the bug is.*
### Context
- Hardware: *VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / ...*
- YunoHost version: x.x.x
- I have access to my server: *Through SSH | through the webadmin | direct access via keyboard / screen | ...*
- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no / yes*
- If yes, please explain:
- Using, or trying to install package version/branch:
- If upgrading, current package version: *can be found in the admin, or with `yunohost app info $app_id`*
### Steps to reproduce
- *If you performed a command from the CLI, the command itself is enough. For example:*
```sh
sudo yunohost app install the_app
```
- *If you used the webadmin, please perform the equivalent command from the CLI first.*
- *If the error occurs in your browser, explain what you did:*
1. *Go to '...'*
2. *Click on '...'*
3. *Scroll down to '...'*
4. *See error*
### Expected behavior
*A clear and concise description of what you expected to happen. You can remove this section if the command above is enough to understand your intent.*
### Logs
*When an operation fails, YunoHost provides a simple way to share the logs.*
- *In the webadmin, the error message contains a link to the relevant log page. On that page, you will be able to 'Share with Yunopaste'. If you missed it, the logs of previous operations are also available under Tools > Logs.*
- *In command line, the command to share the logs is displayed at the end of the operation and looks like `yunohost log display [log name] --share`. If you missed it, you can find the log ID of a previous operation using `yunohost log list`.*
*After sharing the log, please copypaste directly the link provided by YunoHost (to help readability, no need to copypaste the entire content of the log here, just the link is enough...)*
*If applicable and useful, add screenshots to help explain your problem.*

16
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,16 @@
## Problem
- *Description of why you made this PR*
## Solution
- *And how do you fix that problem*
## PR Status
- [ ] Code finished and ready to be reviewed/tested
- [ ] The fix/enhancement were manually tested (if applicable)
## Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ *after creating the PR*, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

View file

@ -1,6 +1,7 @@
# All available README files by language
- [Read the README in English](README.md)
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)
- [Leggi il “README” in italiano](README_it.md)
- [阅读中文(简体)的 README](README_zh_Hans.md)

View file

@ -9,7 +9,7 @@ It shall NOT be edited by hand.
[![Install Gancio with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gancio)
*[Read this README is other languages.](./ALL_README.md)*
*[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Gancio quickly and simply on a YunoHost server.*
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
@ -19,9 +19,14 @@ It shall NOT be edited by hand.
Gancio provide an online agenda open to contributions, and federated with the fediverse using ActivityPub.
**Shipped version:** 1.6.17~ynh1
**Shipped version:** 1.15.5~ynh1
**Demo:** <https://demo.gancio.org/>
## Screenshots
![Screenshot of Gancio](./doc/screenshots/screenshot.png)
## Documentation and resources
- Official app website: <https://gancio.org>

51
README_eu.md Normal file
View file

@ -0,0 +1,51 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# Gancio YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/gancio.svg)](https://dash.yunohost.org/appci/app/gancio) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/gancio.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/gancio.maintain.svg)
[![Instalatu Gancio YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gancio)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek Gancio YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
Gancio provide an online agenda open to contributions, and federated with the fediverse using ActivityPub.
**Paketatutako bertsioa:** 1.15.5~ynh1
**Demoa:** <https://demo.gancio.org/>
## Pantaila-argazkiak
![Gancio(r)en pantaila-argazkia](./doc/screenshots/screenshot.png)
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://gancio.org>
- Erabiltzaileen dokumentazio ofiziala: <https://gancio.org/usage>
- Administratzaileen dokumentazio ofiziala: <https://gancio.org/install/>
- Jatorrizko aplikazioaren kode-gordailua: <https://framagit.org/les/gancio>
- YunoHost Denda: <https://apps.yunohost.org/app/gancio>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/gancio_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/gancio_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/gancio_ynh/tree/testing --debug
edo
sudo yunohost app upgrade gancio -u https://github.com/YunoHost-Apps/gancio_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -18,9 +18,14 @@ Il NE doit PAS être modifié à la main.
Gancio propose un agenda en ligne ouvert aux contributions, et fédéré avec le fediverse via ActivityPub.
**Version incluse:** 1.6.17~ynh1
**Version incluse:** 1.15.5~ynh1
**Démo:** <https://demo.gancio.org/>
## Captures décran
![Capture décran de Gancio](./doc/screenshots/screenshot.png)
## Documentations et ressources
- Site officiel de lapp: <https://gancio.org>

View file

@ -19,9 +19,14 @@ NON debe editarse manualmente.
Gancio provide an online agenda open to contributions, and federated with the fediverse using ActivityPub.
**Versión proporcionada:** 1.6.17~ynh1
**Versión proporcionada:** 1.15.5~ynh1
**Demo:** <https://demo.gancio.org/>
## Capturas de pantalla
![Captura de pantalla de Gancio](./doc/screenshots/screenshot.png)
## Documentación e recursos
- Web oficial da app: <https://gancio.org>

51
README_zh_Hans.md Normal file
View file

@ -0,0 +1,51 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 的 Gancio
[![集成程度](https://dash.yunohost.org/integration/gancio.svg)](https://dash.yunohost.org/appci/app/gancio) ![工作状态](https://ci-apps.yunohost.org/ci/badges/gancio.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/gancio.maintain.svg)
[![使用 YunoHost 安装 Gancio](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gancio)
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Gancio。*
> *如果您还没有 YunoHost请参阅[指南](https://yunohost.org/install)了解如何安装它。*
## 概况
Gancio provide an online agenda open to contributions, and federated with the fediverse using ActivityPub.
**分发版本:** 1.15.5~ynh1
**演示:** <https://demo.gancio.org/>
## 截图
![Gancio 的截图](./doc/screenshots/screenshot.png)
## 文档与资源
- 官方应用网站: <https://gancio.org>
- 官方用户文档: <https://gancio.org/usage>
- 官方管理文档: <https://gancio.org/install/>
- 上游应用代码库: <https://framagit.org/les/gancio>
- YunoHost 商店: <https://apps.yunohost.org/app/gancio>
- 报告 bug <https://github.com/YunoHost-Apps/gancio_ynh/issues>
## 开发者信息
请向 [`testing` 分支](https://github.com/YunoHost-Apps/gancio_ynh/tree/testing) 发送拉取请求。
如要尝试 `testing` 分支,请这样操作:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/gancio_ynh/tree/testing --debug
sudo yunohost app upgrade gancio -u https://github.com/YunoHost-Apps/gancio_ynh/tree/testing --debug
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

View file

@ -6,7 +6,7 @@ name = "Gancio"
description.en = "Shared agenda for local communities, federated with the fediverse"
description.fr = "Agenda partagé pour les communautés locales, fédéré avec le fédiverse"
version = "1.6.17~ynh1"
version = "1.15.5~ynh1"
maintainers = ["Lapineige"]
@ -57,8 +57,11 @@ ram.runtime = "50M"
[resources.sources]
[resources.sources.main]
url = "https://gancio.org/releases/gancio-v1.6.17.tgz"
sha256 = "fd9b0869d4c733c4b7de9f3bec0889918170822f1b12104ec32923c30648746f"
url = "https://framagit.org/les/gancio/-/releases/v1.15.5/downloads/gancio.tgz"
sha256 = "34090ca1a132f983529fb7582dae9d9f707256c005721933c90ad1386fe238f0"
autoupdate.strategy = "latest_gitlab_release"
autoupdate.asset = "^gancio.tgz$"
[resources.system_user]
allow_email = true

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
nodejs_version=16
nodejs_version=18
#=================================================
# PERSONAL HELPERS

View file

@ -67,7 +67,8 @@ ynh_script_progression --message="Installing app dependencies and creating admin
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn install # Install dependencies
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create __ADMIN__ --admin --config ./config.json
#ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH yarn build
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH ./server/cli.js users create __ADMIN__ __PASSWORD__ admin --config ./config.json
popd
#=================================================