mirror of
https://github.com/YunoHost-Apps/pepettes_ynh.git
synced 2024-09-03 19:56:35 +02:00
Merge pull request #22 from YunoHost-Apps/testing
This commit is contained in:
commit
1d8c6dee54
10 changed files with 11 additions and 11 deletions
|
@ -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:** <https://donate.yunohost.org>
|
||||
## Documentation and resources
|
||||
|
|
|
@ -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:** <https://donate.yunohost.org>
|
||||
## Documentaciones y recursos
|
||||
|
|
|
@ -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:** <https://donate.yunohost.org>
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
|
|
@ -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 :** <https://donate.yunohost.org>
|
||||
## Documentations et ressources
|
||||
|
|
|
@ -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:** <https://donate.yunohost.org>
|
||||
## Documentación e recursos
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
A simple donation form with stripe
|
||||
|
||||
**分发版本:** 1.1.1~ynh1
|
||||
**分发版本:** 1.1.1~ynh2
|
||||
|
||||
**演示:** <https://donate.yunohost.org>
|
||||
## 文档与资源
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue