Skip to content

Commit

Permalink
Testing (#216)
Browse files Browse the repository at this point in the history
* Fix hook (#206)

* Auto-update READMEs

* fix hook

---------

Co-authored-by: yunohost-bot <[email protected]>

* Update manifest.toml (#208)

* Update manifest.toml

* Auto-update READMEs

* Add parameters.yml (#209)

* Add parameters.yml

* Update upgrade

* Update change_url

* Function (#210)

* Add parameters.yml

* Update upgrade

* add function

* fix: add time for php script to run a 'long sync' with an application (#213)

* Auto-update READMEs

* [autopatch] Automatic patch attempt for helpers 2.1 (#214)

* Testing (#207)

* Fix hook (#206)

* Auto-update READMEs

* fix hook

---------

Co-authored-by: yunohost-bot <[email protected]>

* Update manifest.toml (#208)

* Update manifest.toml

* Auto-update READMEs

* Add parameters.yml (#209)

* Add parameters.yml

* Update upgrade

* Update change_url

* Function (#210)

* Add parameters.yml

* Update upgrade

* add function

---------

Co-authored-by: Kayou <[email protected]>
Co-authored-by: yunohost-bot <[email protected]>

* Auto-update READMEs

* [autopatch] Automatic patch attempt for helpers 2.1

* cleaning

---------

Co-authored-by: eric_G <[email protected]>
Co-authored-by: Kayou <[email protected]>
Co-authored-by: Yunohost-Bot <>

* Auto-update READMEs

* Update manifest.toml

* Auto-update READMEs

* fix

* Auto-update READMEs

* Update manifest.toml

* Update manifest.toml

* Auto-update READMEs

* cleaning

---------

Co-authored-by: Kayou <[email protected]>
Co-authored-by: yunohost-bot <[email protected]>
Co-authored-by: Gofannon <[email protected]>
Co-authored-by: YunoHost Bot <[email protected]>
  • Loading branch information
5 people authored Sep 10, 2024
1 parent 1e5dd23 commit 95df3db
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It provides a web interface, browser (Firefox/Chrome/Opera) add-ons, mobile apps
Upgrade from the YunoHost [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) app requires a manual operation. That's why it's provided as a new package. For the migration process, please refer to the [Wallabag official documentation](https://doc.wallabag.org/en/user/import/wallabagv1.html).


**Shipped version:** 2.5.4~ynh5
**Shipped version:** 2.5.4~ynh6

**Demo:** <https://demo.yunohost.org/wallabag/>

Expand Down
2 changes: 1 addition & 1 deletion README_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It provides a web interface, browser (Firefox/Chrome/Opera) add-ons, mobile apps
Upgrade from the YunoHost [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) app requires a manual operation. That's why it's provided as a new package. For the migration process, please refer to the [Wallabag official documentation](https://doc.wallabag.org/en/user/import/wallabagv1.html).


**Versión actual:** 2.5.4~ynh5
**Versión actual:** 2.5.4~ynh6

**Demo:** <https://demo.yunohost.org/wallabag/>

Expand Down
2 changes: 1 addition & 1 deletion README_eu.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It provides a web interface, browser (Firefox/Chrome/Opera) add-ons, mobile apps
Upgrade from the YunoHost [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) app requires a manual operation. That's why it's provided as a new package. For the migration process, please refer to the [Wallabag official documentation](https://doc.wallabag.org/en/user/import/wallabagv1.html).


**Paketatutako bertsioa:** 2.5.4~ynh5
**Paketatutako bertsioa:** 2.5.4~ynh6

**Demoa:** <https://demo.yunohost.org/wallabag/>

Expand Down
2 changes: 1 addition & 1 deletion README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Sont disponibles une interface web, des add-ons pour navigateurs (Firefox/Chrome
La mise à niveau depuis le paquet YunoHost de [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) demande une opération manuelle, c'est pourquoi un nouveau paquet est fournit. Pour le processus de migration, merci de vous référer à [la documentation officiel de Wallabag](https://doc.wallabag.org/fr/user/import/wallabagv1.html).


**Version incluse :** 2.5.4~ynh5
**Version incluse :** 2.5.4~ynh6

**Démo :** <https://demo.yunohost.org/wallabag/>

Expand Down
2 changes: 1 addition & 1 deletion README_gl.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It provides a web interface, browser (Firefox/Chrome/Opera) add-ons, mobile apps
Upgrade from the YunoHost [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) app requires a manual operation. That's why it's provided as a new package. For the migration process, please refer to the [Wallabag official documentation](https://doc.wallabag.org/en/user/import/wallabagv1.html).


**Versión proporcionada:** 2.5.4~ynh5
**Versión proporcionada:** 2.5.4~ynh6

**Demo:** <https://demo.yunohost.org/wallabag/>

Expand Down
2 changes: 1 addition & 1 deletion README_id.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It provides a web interface, browser (Firefox/Chrome/Opera) add-ons, mobile apps
Upgrade from the YunoHost [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) app requires a manual operation. That's why it's provided as a new package. For the migration process, please refer to the [Wallabag official documentation](https://doc.wallabag.org/en/user/import/wallabagv1.html).


**Versi terkirim:** 2.5.4~ynh5
**Versi terkirim:** 2.5.4~ynh6

**Demo:** <https://demo.yunohost.org/wallabag/>

Expand Down
2 changes: 1 addition & 1 deletion README_nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It provides a web interface, browser (Firefox/Chrome/Opera) add-ons, mobile apps
Upgrade from the YunoHost [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) app requires a manual operation. That's why it's provided as a new package. For the migration process, please refer to the [Wallabag official documentation](https://doc.wallabag.org/en/user/import/wallabagv1.html).


**Geleverde versie:** 2.5.4~ynh5
**Geleverde versie:** 2.5.4~ynh6

**Demo:** <https://demo.yunohost.org/wallabag/>

Expand Down
2 changes: 1 addition & 1 deletion README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It provides a web interface, browser (Firefox/Chrome/Opera) add-ons, mobile apps
Upgrade from the YunoHost [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) app requires a manual operation. That's why it's provided as a new package. For the migration process, please refer to the [Wallabag official documentation](https://doc.wallabag.org/en/user/import/wallabagv1.html).


**Поставляемая версия:** 2.5.4~ynh5
**Поставляемая версия:** 2.5.4~ynh6

**Демо-версия:** <https://demo.yunohost.org/wallabag/>

Expand Down
2 changes: 1 addition & 1 deletion README_zh_Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It provides a web interface, browser (Firefox/Chrome/Opera) add-ons, mobile apps
Upgrade from the YunoHost [Wallabag v1](https://github.com/YunoHost-Apps/wallabag_ynh) app requires a manual operation. That's why it's provided as a new package. For the migration process, please refer to the [Wallabag official documentation](https://doc.wallabag.org/en/user/import/wallabagv1.html).


**分发版本:** 2.5.4~ynh5
**分发版本:** 2.5.4~ynh6

**演示:** <https://demo.yunohost.org/wallabag/>

Expand Down
5 changes: 2 additions & 3 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ id = "wallabag2"
name = "Wallabag"
description.en = "Save and classify articles. Read them later"
description.fr = "Enregistrez et classez les articles. Lisez-les plus tard"

version = "2.5.4~ynh5"
version = "2.5.4~ynh6"

maintainers = ["lapineige"]

Expand All @@ -21,7 +20,7 @@ cpe = "cpe:2.3:a:wallabag:wallabag"
fund = "https://liberapay.com/wallabag"

[integration]
yunohost = ">= 11.2.29"
yunohost = ">= 11.2.30"
helpers_version = "2.1"
architectures = "all"
multi_instance = true
Expand Down
1 change: 0 additions & 1 deletion scripts/backup
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# IMPORT GENERIC HELPERS
#=================================================

# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers

Expand Down
3 changes: 0 additions & 3 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,10 @@ ynh_replace --match="__APP__" --replace="$app" --file="../hooks/post_user_delete
#=================================================
ynh_script_progression "Adding system configurations related to $app..."

# Create a dedicated NGINX config
ynh_config_add_nginx

# Create a dedicated PHP-FPM config
ynh_config_add_phpfpm

# Use logrotate to manage application logfile(s)
ynh_config_add_logrotate "$install_dir/var/logs/prod.log"

# Create a dedicated Fail2Ban config
Expand Down
4 changes: 0 additions & 4 deletions scripts/remove
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,12 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression "Removing system configurations related to $app..."

# Remove the app-specific logrotate config
ynh_config_remove_logrotate

# Remove the dedicated NGINX config
ynh_config_remove_nginx

# Remove the dedicated PHP-FPM config
ynh_config_remove_phpfpm

# Remove the dedicated Fail2Ban config
ynh_config_remove_fail2ban

#=================================================
Expand Down
1 change: 0 additions & 1 deletion scripts/restore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# IMPORT GENERIC HELPERS
#=================================================

# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers

Expand Down
4 changes: 0 additions & 4 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression "Upgrading source files..."

# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace --keep="app/config/parameters.yml var/logs web/assets/images"

# Create log dir/file is it useless?
Expand Down Expand Up @@ -49,15 +48,12 @@ ynh_replace --match="__APP__" --replace="$app" --file="../hooks/post_user_delete
#=================================================
ynh_script_progression "Upgrading system configurations related to $app..."

# Create a dedicated NGINX config
ynh_config_add_nginx

# Create a dedicated PHP-FPM config
ynh_config_add_phpfpm

ynh_config_add_logrotate "$install_dir/var/logs/prod.log"

# Add fail2ban config
ynh_config_add_fail2ban --logpath="$install_dir/var/logs/prod.log" --failregex='app.ERROR: Authentication failure for user "([\w]+)?", from IP "<HOST>"' # same as install config

#=================================================
Expand Down

0 comments on commit 95df3db

Please sign in to comment.