From 9eae72c8e40103aa437b47f8b74d1933a198c045 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 24 Sep 2021 14:33:56 +0200 Subject: [PATCH 1/6] /var/log/$app security --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 059dcff..337a4a8 100755 --- a/scripts/install +++ b/scripts/install @@ -127,6 +127,7 @@ pushd $final_path venv/bin/pip install gunicorn mkdir -p /var/log/$app chown -R $app:www-data /var/log/$app + chmod o-rwx /var/log/$app cat <> wsgi.py from server import app From 711f0155986f31bf590827926d9794c527c6f5c9 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 24 Sep 2021 14:34:52 +0200 Subject: [PATCH 2/6] /var/log/$app security also in upgrade script --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index 91c7a70..9db72f5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,6 +114,7 @@ pushd $final_path venv/bin/pip install gunicorn mkdir -p /var/log/$app chown -R $app:www-data /var/log/$app + chown o-rwx /var/log/$app cat <> wsgi.py from server import app From 51ae8bc34f4871e33c51f06d6f6f45099b4f1fef Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 24 Sep 2021 14:35:32 +0200 Subject: [PATCH 3/6] /var/log/$app security also in restore --- scripts/restore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/restore b/scripts/restore index 5ac7fdd..cc35ab0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -91,6 +91,7 @@ pushd $final_path venv/bin/pip install gunicorn mkdir -p /var/log/$app chown -R $app:www-data /var/log/$app + chmod o-rwx /var/log/$app popd #================================================= From a7d8fc668b755686401dd2af4ada63de3d30ea1c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 24 Sep 2021 22:51:23 +0200 Subject: [PATCH 4/6] Typo --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 9db72f5..7b88a17 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,7 +114,7 @@ pushd $final_path venv/bin/pip install gunicorn mkdir -p /var/log/$app chown -R $app:www-data /var/log/$app - chown o-rwx /var/log/$app + chmod o-rwx /var/log/$app cat <> wsgi.py from server import app From 2fc0cea1c4a7afbad6b69e718fa726798ae45133 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 11 Oct 2021 19:50:13 +0200 Subject: [PATCH 5/6] Increase version number --- check_process | 8 ++++++++ manifest.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/check_process b/check_process index 4da3498..23091f6 100644 --- a/check_process +++ b/check_process @@ -18,7 +18,15 @@ setup_private=1 setup_public=1 upgrade=1 + # 1.0.1~ynh1 + upgrade=1 from_commit=5cc2d3ffd6529cc7356ff93af92dbb6785c3ab9a backup_restore=1 multi_instance=1 port_already_use=0 change_url=1 +;;; Options +Email= +Notification=none +;;; Upgrade options + ; commit=5cc2d3ffd6529cc7356ff93af92dbb6785c3ab9a + name=1.0.1~ynh1 diff --git a/manifest.json b/manifest.json index b8a8d8c..7130ec5 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A simple donation form with stripe", "fr": "Un simple formulaire de don avec stripe" }, - "version": "1.0.1~ynh1", + "version": "1.0.1~ynh2", "url": "https://github.com/YunoHost/pepettes/", "upstream": { "license": "MIT", From 26a670fee8af0625d9161dc86923da7b0001f066 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Oct 2021 17:50:18 +0000 Subject: [PATCH 6/6] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ccc77a4..9f65e3b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in A simple donation form with stripe -**Shipped version:** 1.0.1~ynh1 +**Shipped version:** 1.0.1~ynh2 **Demo:** https://donate.yunohost.org diff --git a/README_fr.md b/README_fr.md index 5eb64dd..fef229a 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Un simple formulaire de don avec stripe -**Version incluse :** 1.0.1~ynh1 +**Version incluse :** 1.0.1~ynh2 **Démo :** https://donate.yunohost.org