From 489c4824958e040017dc1ab95b873b939b0bafe5 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Mon, 10 May 2021 21:54:33 +0200 Subject: [PATCH 1/9] change permission in www directory --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 28232f8..5f8d061 100644 --- a/scripts/install +++ b/scripts/install @@ -112,7 +112,7 @@ find $final_path/include -type d -exec chmod 500 {} + find $final_path/include -type f -exec chmod 400 {} + find $final_path/data -type d -exec chmod 700 {} + find $final_path/data -type f -exec chmod 600 {} + -find /var/www/garradin/www -type d -exec chmod 755 {} + +find /var/www/garradin/www -type d -exec chmod 505 {} + find /var/www/garradin/www -type f -exec chmod 644 {} + #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 0341ddf..d251201 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -220,7 +220,7 @@ find $final_path/include -type d -exec chmod 500 {} + find $final_path/include -type f -exec chmod 400 {} + find $final_path/data -type d -exec chmod 700 {} + find $final_path/data -type f -exec chmod 600 {} + -find /var/www/garradin/www -type d -exec chmod 755 {} + +find /var/www/garradin/www -type d -exec chmod 505 {} + find /var/www/garradin/www -type f -exec chmod 644 {} + #================================================= From f71f5c6119acd5c8100da2d4272b8d3856df2854 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Thu, 13 May 2021 18:38:02 +0200 Subject: [PATCH 2/9] [autopatch] Update issue and PR templates --- .github/ISSUE_TEMPLATE.md | 55 ++++++++++++++++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 16 ++++++++++ pull_request_template.md | 14 ++++---- 3 files changed, 78 insertions(+), 7 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..2729a6b --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -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.* diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..ef70e18 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -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) diff --git a/pull_request_template.md b/pull_request_template.md index bf00535..ef70e18 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -1,16 +1,16 @@ ## Problem + - *Description of why you made this PR* ## Solution + - *And how do you fix that problem* ## PR Status -- [ ] Code finished. -- [ ] Tested with Package_check. -- [ ] Fix or enhancement tested. -- [ ] Upgrade from last version tested. -- [ ] Can be reviewed and tested. -## Package_check results -* An automatic package_check will be launch at https://ci-apps-dev.yunohost.org/, when you add a specific comment to your Pull Request: "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!"* +- [ ] 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) From ba0f1b14ce1e663d8bd5435064bf59d02e45557d Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 2 Jun 2021 19:24:55 +0200 Subject: [PATCH 3/9] update to version 1.6 --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 01473a6..a1ac53e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview Garradin is a free association managing software. -**Shipped version:** 1.1.5 +**Shipped version:** 1.1.6 ## Screenshots diff --git a/README_fr.md b/README_fr.md index f8c225b..e3c1943 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) ## Vue d'ensemble Garradin est un logiciel libre de gestion associative. il permet de gérer des membres. -**Version incluse :** 1.1.5 +**Version incluse :** 1.1.6 ## Captures d'écran diff --git a/conf/app.src b/conf/app.src index 5766ae3..41f8bd0 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.5.tar.bz2 -SOURCE_SUM=462bceee5981838bdd8d37f15eeab991e6ba8ca90c798214a0d968a67d9b7d28 +SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.6.tar.bz2 +SOURCE_SUM=be998266e0a0ba67a994db7b0537ed46f6c608704a316398232a8e5b0a9ccaa3 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.bz2 SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index d3b45a2..4d52929 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Software to manage association", "fr": "Logiciel libre de gestion d'association" }, - "version": "1.1.5~ynh1", + "version": "1.1.6~ynh1", "url": "http://garradin.eu/a-propos/", "license": "GPL-3.0-or-later", "maintainer": { From 53c4d83da24321277326c889cf5a81454e0ed6ed Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 2 Jun 2021 20:09:09 +0200 Subject: [PATCH 4/9] try increase limit size upload files via php-fpm --- conf/nginx.conf | 2 +- conf/php-fpm.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6a8bd52..5a033e3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -25,7 +25,7 @@ location __PATH__/ { } # Increase size limit - client_max_body_size 2M; + #client_max_body_size 2M; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 9be1163..53ef274 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -392,8 +392,8 @@ catch_workers_output = yes ;php_admin_value[memory_limit] = 32M ; Common values to change to increase file upload limit -; php_value[upload_max_filesize] = 50M -; php_value[post_max_size] = 50M +php_value[upload_max_filesize] = 50M +php_value[post_max_size] = 50M ; php_valuemail.add_x_header = Off ; Other common parameters From 7ed5510a944f55ce82085f3d519c81fbbf78b367 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 2 Jun 2021 20:14:41 +0200 Subject: [PATCH 5/9] back to okconfiguration --- conf/nginx.conf | 2 +- conf/php-fpm.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5a033e3..6a8bd52 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -25,7 +25,7 @@ location __PATH__/ { } # Increase size limit - #client_max_body_size 2M; + client_max_body_size 2M; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 53ef274..9be1163 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -392,8 +392,8 @@ catch_workers_output = yes ;php_admin_value[memory_limit] = 32M ; Common values to change to increase file upload limit -php_value[upload_max_filesize] = 50M -php_value[post_max_size] = 50M +; php_value[upload_max_filesize] = 50M +; php_value[post_max_size] = 50M ; php_valuemail.add_x_header = Off ; Other common parameters From 39053684ae14e250496b9f60baf0e222fba91268 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 2 Jun 2021 20:29:01 +0200 Subject: [PATCH 6/9] update to 1.1.7 --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a1ac53e..4cbbd4a 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview Garradin is a free association managing software. -**Shipped version:** 1.1.6 +**Shipped version:** 1.1.7 ## Screenshots diff --git a/README_fr.md b/README_fr.md index e3c1943..2eeb6af 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) ## Vue d'ensemble Garradin est un logiciel libre de gestion associative. il permet de gérer des membres. -**Version incluse :** 1.1.6 +**Version incluse :** 1.1.7 ## Captures d'écran diff --git a/conf/app.src b/conf/app.src index 41f8bd0..a57d2f2 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.6.tar.bz2 -SOURCE_SUM=be998266e0a0ba67a994db7b0537ed46f6c608704a316398232a8e5b0a9ccaa3 +SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.7.tar.bz2 +SOURCE_SUM=f76354aa9cec46611bae309dfb8e3cf13fdc2b3f04b90e51fc24bc15c7fcc145 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.bz2 SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 4d52929..a3d9b7f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Software to manage association", "fr": "Logiciel libre de gestion d'association" }, - "version": "1.1.6~ynh1", + "version": "1.1.7~ynh1", "url": "http://garradin.eu/a-propos/", "license": "GPL-3.0-or-later", "maintainer": { From a6202518cba055fca6643bd45dac35f664eba575 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 2 Jun 2021 20:39:38 +0200 Subject: [PATCH 7/9] back to 1.1.6 because an unknow bug must be resolved --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4cbbd4a..a1ac53e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview Garradin is a free association managing software. -**Shipped version:** 1.1.7 +**Shipped version:** 1.1.6 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 2eeb6af..e3c1943 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) ## Vue d'ensemble Garradin est un logiciel libre de gestion associative. il permet de gérer des membres. -**Version incluse :** 1.1.7 +**Version incluse :** 1.1.6 ## Captures d'écran diff --git a/conf/app.src b/conf/app.src index a57d2f2..41f8bd0 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.7.tar.bz2 -SOURCE_SUM=f76354aa9cec46611bae309dfb8e3cf13fdc2b3f04b90e51fc24bc15c7fcc145 +SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.6.tar.bz2 +SOURCE_SUM=be998266e0a0ba67a994db7b0537ed46f6c608704a316398232a8e5b0a9ccaa3 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.bz2 SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index a3d9b7f..4d52929 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Software to manage association", "fr": "Logiciel libre de gestion d'association" }, - "version": "1.1.7~ynh1", + "version": "1.1.6~ynh1", "url": "http://garradin.eu/a-propos/", "license": "GPL-3.0-or-later", "maintainer": { From e295c9c942929461fb4c528cb6bcd345784013d6 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Fri, 9 Jul 2021 12:23:04 +0200 Subject: [PATCH 8/9] try last version 1.1.9 --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a1ac53e..9ec37f4 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview Garradin is a free association managing software. -**Shipped version:** 1.1.6 +**Shipped version:** 1.1.9 ## Screenshots diff --git a/README_fr.md b/README_fr.md index e3c1943..1eefcca 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) ## Vue d'ensemble Garradin est un logiciel libre de gestion associative. il permet de gérer des membres. -**Version incluse :** 1.1.6 +**Version incluse :** 1.1.9 ## Captures d'écran diff --git a/conf/app.src b/conf/app.src index 41f8bd0..1fcd02c 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.6.tar.bz2 -SOURCE_SUM=be998266e0a0ba67a994db7b0537ed46f6c608704a316398232a8e5b0a9ccaa3 +SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.9.tar.bz2 +SOURCE_SUM=9a6303040ba743e4f16c4a6cdd5e4b44f42e10576151aab75e04b180af8de35c SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.bz2 SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 4d52929..d7799b3 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Software to manage association", "fr": "Logiciel libre de gestion d'association" }, - "version": "1.1.6~ynh1", + "version": "1.1.9~ynh1", "url": "http://garradin.eu/a-propos/", "license": "GPL-3.0-or-later", "maintainer": { From bd1b1ddb0ececa1114d9317996a990eadda454c0 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Fri, 6 Aug 2021 20:22:56 +0200 Subject: [PATCH 9/9] upgrade next version --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 4 ++-- manifest.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9ec37f4..a1abc22 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview Garradin is a free association managing software. -**Shipped version:** 1.1.9 +**Shipped version:** 1.1.10 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 1eefcca..a1437e6 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/install) ## Vue d'ensemble Garradin est un logiciel libre de gestion associative. il permet de gérer des membres. -**Version incluse :** 1.1.9 +**Version incluse :** 1.1.10 ## Captures d'écran diff --git a/conf/app.src b/conf/app.src index 1fcd02c..ea10a5d 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.9.tar.bz2 -SOURCE_SUM=9a6303040ba743e4f16c4a6cdd5e4b44f42e10576151aab75e04b180af8de35c +SOURCE_URL=https://fossil.kd2.org/garradin/uv/garradin-1.1.10.tar.bz2 +SOURCE_SUM=56785921ce99d8424871bf340a3225016fede10345e3ce9fe51e47facc2e88cc SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.bz2 SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index d7799b3..3e46591 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Software to manage association", "fr": "Logiciel libre de gestion d'association" }, - "version": "1.1.9~ynh1", + "version": "1.1.10~ynh1", "url": "http://garradin.eu/a-propos/", "license": "GPL-3.0-or-later", "maintainer": {