diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..152f2e7 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,8 @@ # All available README files by language - [Read the README in English](README.md) +- [Lea el README en español](README_es.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) diff --git a/README.md b/README.md index 73d402c..4a005a2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Galette with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=galette) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Galette 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.* @@ -30,7 +30,7 @@ Galette is a membership management web application towards non profit organizati - Plugin support -**Shipped version:** 1.0.0~ynh3 +**Shipped version:** 1.1.0~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..5a7dde4 --- /dev/null +++ b/README_es.md @@ -0,0 +1,61 @@ + + +# Galette para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/galette.svg)](https://dash.yunohost.org/appci/app/galette) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/galette.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/galette.maintain.svg) + +[![Instalar Galette con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=galette) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarGalette rapidamente y simplement en un servidor YunoHost.* +> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.* + +## Descripción general + +Galette is a membership management web application towards non profit organizations. + +### Features + +- Member management +- Management of contributions and transactions +- Management of groups and managers +- Imports and exports (open formats) +- Increased accessibility (use and compliance with web standards) +- Configuration of cards and lists +- Addition of dynamic fields to members, contributions and transactions files +- Plugin support + + +**Versión actual:** 1.1.0~ynh1 + +**Demo:** + +## Capturas + +![Captura de Galette](./doc/screenshots/edit_member.png) + +## Documentaciones y recursos + +- Sitio web oficial: +- Documentación administrador oficial: +- Repositorio del código fuente oficial de la aplicación : +- Catálogo YunoHost: +- Reportar un error: + +## Información para desarrolladores + +Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/galette_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/galette_ynh/tree/testing --debug +o +sudo yunohost app upgrade galette -u https://github.com/YunoHost-Apps/galette_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..b742c50 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,61 @@ + + +# Galette YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/galette.svg)](https://dash.yunohost.org/appci/app/galette) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/galette.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/galette.maintain.svg) + +[![Instalatu Galette YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=galette) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Galette YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Galette is a membership management web application towards non profit organizations. + +### Features + +- Member management +- Management of contributions and transactions +- Management of groups and managers +- Imports and exports (open formats) +- Increased accessibility (use and compliance with web standards) +- Configuration of cards and lists +- Addition of dynamic fields to members, contributions and transactions files +- Plugin support + + +**Paketatutako bertsioa:** 1.1.0~ynh1 + +**Demoa:** + +## Pantaila-argazkiak + +![Galette(r)en pantaila-argazkia](./doc/screenshots/edit_member.png) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Administratzaileen dokumentazio ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/galette_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/galette_ynh/tree/testing --debug +edo +sudo yunohost app upgrade galette -u https://github.com/YunoHost-Apps/galette_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index ca92b2e..56c0e8b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -31,7 +31,7 @@ Outil de gestion d'adhérents et de cotisation en ligne pour associations. - Support de plugins -**Version incluse :** 1.0.0~ynh3 +**Version incluse :** 1.1.0~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 7c0b153..aa15d7c 100644 --- a/README_gl.md +++ b/README_gl.md @@ -30,7 +30,7 @@ Galette is a membership management web application towards non profit organizati - Plugin support -**Versión proporcionada:** 1.0.0~ynh3 +**Versión proporcionada:** 1.1.0~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..5226b1b --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,61 @@ + + +# YunoHost 上的 Galette + +[![集成程度](https://dash.yunohost.org/integration/galette.svg)](https://dash.yunohost.org/appci/app/galette) ![工作状态](https://ci-apps.yunohost.org/ci/badges/galette.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/galette.maintain.svg) + +[![使用 YunoHost 安装 Galette](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=galette) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Galette。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Galette is a membership management web application towards non profit organizations. + +### Features + +- Member management +- Management of contributions and transactions +- Management of groups and managers +- Imports and exports (open formats) +- Increased accessibility (use and compliance with web standards) +- Configuration of cards and lists +- Addition of dynamic fields to members, contributions and transactions files +- Plugin support + + +**分发版本:** 1.1.0~ynh1 + +**演示:** + +## 截图 + +![Galette 的截图](./doc/screenshots/edit_member.png) + +## 文档与资源 + +- 官方应用网站: +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/galette_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/galette_ynh/tree/testing --debug +或 +sudo yunohost app upgrade galette -u https://github.com/YunoHost-Apps/galette_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** diff --git a/conf/config.inc.php b/conf/config.inc.php index a466db5..053c399 100644 --- a/conf/config.inc.php +++ b/conf/config.inc.php @@ -1,4 +1,23 @@ . + */ + /* This is an example for your configuration file, read comments and replace the "blanks". diff --git a/conf/nginx.conf b/conf/nginx.conf index adec71c..4a3a974 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -25,7 +25,7 @@ location __PATH__/ { include conf.d/yunohost_panel.conf.inc; } -#location ~ __PATH__/(data|config|lib)/ { +#location ~ ^__PATH__/(data|config|lib)/ { # deny all; # } diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md new file mode 100644 index 0000000..4f525e2 --- /dev/null +++ b/doc/ADMIN_fr.md @@ -0,0 +1,6 @@ +Email credentials + +Serveur SMTP : localhost +Port SMTP : 25 +Utilisateur SMTP : __APP__ +Mot de passe SMTP : __MAIL_PWD__ \ No newline at end of file diff --git a/doc/PRE_UPGRADE.md b/doc/PRE_UPGRADE.md index a9717e7..fdb0dbf 100644 --- a/doc/PRE_UPGRADE.md +++ b/doc/PRE_UPGRADE.md @@ -1,3 +1,3 @@ -If you were using a MySQL DB, the new version only supports postgres and you should migrate it manually before upgrading. +If you were using a MySQL DB, the new version only supports PostgreSQL and you should migrate it manually before upgrading. -NB: DO NOT confirm the upgrade without making sure first that you are using a postgresql database. \ No newline at end of file +NB: DO NOT confirm the upgrade without making sure first that you are using a PostgreSQL database. \ No newline at end of file diff --git a/doc/PRE_UPGRADE_fr.md b/doc/PRE_UPGRADE_fr.md new file mode 100644 index 0000000..586c820 --- /dev/null +++ b/doc/PRE_UPGRADE_fr.md @@ -0,0 +1,3 @@ +Si vous utilisiez une base de données MySQL, la nouvelle version ne prend en charge que PostgreSQL et vous devez la migrer manuellement avant la mise à niveau. + +NB : NE confirmez PAS la mise à niveau sans vous assurer au préalable que vous utilisez une base de données PostgreSQL. \ No newline at end of file diff --git a/manifest.toml b/manifest.toml index 82b4006..004d330 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Galette" description.en = "Membership management web application for non profit organizations" description.fr = "Outil de gestion d'adhérents et de cotisation en ligne pour associations" -version = "1.0.0~ynh3" +version = "1.1.0~ynh1" maintainers = [] @@ -49,8 +49,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/galette/galette/releases/download/1.0.0rc3/galette-1.0.0-rc3-20231122-a9c2ed838d.1.tar.bz2" - sha256 = "b4d5ed0c47baf03d5f1be69e3ba25b10ece5e22e62c308b4bc9867f4003a0a55" + url = "https://galette.eu/download/galette-1.1.0.tar.bz2" + sha256 = "dddec991c9a48b4ec7b9c25a5365a5cff8d35cbe674975092014f5512804d021" autoupdate.strategy = "latest_github_tag" [resources.system_user] @@ -62,7 +62,7 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "postgresql, php8.2-tidy, php8.2-intl, php8.2-mbstring, php8.2-xml, php8.2-gd, php8.2-curl, php8.2-pgsql" + packages = "postgresql, php8.3-tidy, php8.3-intl, php8.3-mbstring, php8.3-xml, php8.3-gd, php8.3-curl, php8.3-pgsql" [resources.database] type = "postgresql" diff --git a/scripts/backup b/scripts/backup index 52e78bc..91e34e0 100644 --- a/scripts/backup +++ b/scripts/backup @@ -22,23 +22,13 @@ ynh_print_info --message="Declaring files to be backed up..." ynh_backup --src_path="$install_dir" #================================================= -# BACKUP THE NGINX CONFIGURATION +# SYSTEM CONFIGURATION #================================================= ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP THE PHP-FPM CONFIGURATION -#================================================= - ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" -#================================================= -# SPECIFIC BACKUP -#================================================= -# BACKUP LOGROTATE -#================================================= - ynh_backup --src_path="/etc/logrotate.d/$app" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 64444cd..87581b4 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -15,22 +15,12 @@ source /usr/share/yunohost/helpers timezone="$(cat /etc/timezone)" -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." - - ynh_setup_source --dest_dir="$install_dir" --keep="galette/config/config.inc.php galette/data galette/plugins" -fi +ynh_setup_source --dest_dir="$install_dir" --keep="galette/config/config.inc.php galette/data galette/plugins" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"