diff --git a/README.md b/README.md index 0473a41..e2a14ed 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It shall NOT be edited by hand. A simple donation form with stripe -**Shipped version:** 1.1.1~ynh1 +**Shipped version:** 1.1.1~ynh2 **Demo:** ## Documentation and resources diff --git a/README_es.md b/README_es.md index ae2f8d6..f4fb3ec 100644 --- a/README_es.md +++ b/README_es.md @@ -18,7 +18,7 @@ No se debe editar a mano. A simple donation form with stripe -**Versión actual:** 1.1.1~ynh1 +**Versión actual:** 1.1.1~ynh2 **Demo:** ## Documentaciones y recursos diff --git a/README_eu.md b/README_eu.md index 74b6a14..b278623 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. A simple donation form with stripe -**Paketatutako bertsioa:** 1.1.1~ynh1 +**Paketatutako bertsioa:** 1.1.1~ynh2 **Demoa:** ## Dokumentazioa eta baliabideak diff --git a/README_fr.md b/README_fr.md index d91c2b7..35685e0 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Il NE doit PAS être modifié à la main. A simple donation form with stripe -**Version incluse :** 1.1.1~ynh1 +**Version incluse :** 1.1.1~ynh2 **Démo :** ## Documentations et ressources diff --git a/README_gl.md b/README_gl.md index 453b2ee..602570d 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,7 +18,7 @@ NON debe editarse manualmente. A simple donation form with stripe -**Versión proporcionada:** 1.1.1~ynh1 +**Versión proporcionada:** 1.1.1~ynh2 **Demo:** ## Documentación e recursos diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 6bbb526..bf6dcb0 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -18,7 +18,7 @@ A simple donation form with stripe -**分发版本:** 1.1.1~ynh1 +**分发版本:** 1.1.1~ynh2 **演示:** ## 文档与资源 diff --git a/conf/systemd.service b/conf/systemd.service index 6e0b50d..d642817 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -30,7 +30,7 @@ ProtectKernelModules=yes ProtectKernelTunables=yes LockPersonality=yes SystemCallArchitectures=native -SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation +SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @swap @cpu-emulation # Denying access to capabilities that should not be relevant for webapps # Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html diff --git a/manifest.toml b/manifest.toml index 9d90479..4b078bc 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Pepettes" description.en = "Simple donation form with stripe" description.fr = "Simple formulaire de don avec stripe" -version = "1.1.1~ynh1" +version = "1.1.1~ynh2" maintainers = ["ljf"] @@ -75,7 +75,7 @@ ram.runtime = "50M" help.en = "Go on https://dashboard.stripe.com/products to create those donation products" help.fr = "Allez sur https://dashboard.stripe.com/products pour créer ces produits de dons" type = "string" - default = "one_time/EUR/price_1IKuPV,recuring/EUR/price_1IKuPV" + default = "one_time/EUR/price_1IKuPV,recuring/EUR/price_1IKuPV,one_time/USD/price_1IKuPV,recuring/USD/price_1IKuPV" [resources] [resources.sources.main] diff --git a/scripts/install b/scripts/install index 8a0a0fa..fe443e7 100755 --- a/scripts/install +++ b/scripts/install @@ -67,7 +67,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_add_config --template="../conf/gunicorn.py" --destination="$install_dir/gunicorn.py" ynh_add_config --template="../conf/settings.py" --destination="$install_dir/settings.py" -for price in $(echo $prices | sed "s/,/ /"); do +for price in $(echo $prices | sed "s/,/ /g"); do frequency=$(echo $price | cut -d/ -f1) currency=$(echo $price | cut -d/ -f2) price_id=$(echo $price | cut -d/ -f3) diff --git a/scripts/upgrade b/scripts/upgrade index 97f8c1e..1fc43a8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,7 +71,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1 ynh_add_config --template="../conf/gunicorn.py" --destination="$install_dir/gunicorn.py" ynh_add_config --template="../conf/settings.py" --destination="$install_dir/settings.py" -for price in $(echo $prices | sed "s/,/ /"); do +for price in $(echo $prices | sed "s/,/ /g"); do frequency=$(echo $price | cut -d/ -f1) currency=$(echo $price | cut -d/ -f2) price_id=$(echo $price | cut -d/ -f3)