1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/selfoss_ynh.git synced 2024-09-03 20:16:21 +02:00

Merge pull request #14 from YunoHost-Apps/testing

Testing
This commit is contained in:
eric_G 2023-09-09 11:39:29 +02:00 committed by GitHub
commit 5ff5421f1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 12 additions and 44 deletions

View file

@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Selfoss is a multipurpose RSS reader and feed aggregation web application. It allows you to easily follow updates from different web sites, social networks and other platforms, all in single place. It is written in PHP, allowing you to run it basically anywhere.
**Shipped version:** 2.19~ynh1
**Shipped version:** 2.19~ynh2
## Screenshots

View file

@ -16,10 +16,9 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
## Vue densemble
Selfoss is a multipurpose RSS reader and feed aggregation web application. It allows you to easily follow updates from different web sites, social networks and other platforms, all in single place. It is written in PHP, allowing you to run it basically anywhere.
Selfoss est un lecteur RSS polyvalent et une application Web d'agrégation de flux. Il vous permet de suivre facilement les mises à jour de différents sites Web, réseaux sociaux et autres plateformes, le tout en un seul endroit. Il est écrit en PHP, ce qui vous permet de l'exécuter pratiquement n'importe où.
**Version incluse :** 2.19~ynh1
**Version incluse :** 2.19~ynh2
## Captures décran

View file

@ -1 +1 @@
password hash for optional login. You can generate a password hash by using following page of your Selfoss installation. `http://__DOMAIN__/password`
password hash for optional login. You can generate a password hash by using following page of your Selfoss installation. `https://__DOMAIN____PATH__/password`

1
doc/ADMIN_fr.md Normal file
View file

@ -0,0 +1 @@
hachage de mot de passe pour une connexion facultative. Vous pouvez générer un hachage de mot de passe en utilisant la page suivante de votre installation Selfoss. `https://__DOMAIN____PATH__/mot de passe`

1
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1 @@
Selfoss est un lecteur RSS polyvalent et une application Web d'agrégation de flux. Il vous permet de suivre facilement les mises à jour de différents sites Web, réseaux sociaux et autres plateformes, le tout en un seul endroit. Il est écrit en PHP, ce qui vous permet de l'exécuter pratiquement n'importe où.

View file

@ -1 +1 @@
password hash for optional login. You can generate a password hash by using following page of your Selfoss installation. `http://your_selfoss_url.com/password`
password hash for optional login. You can generate a password hash by using following page of your Selfoss installation. `http://__DOMAIN__/password`

View file

@ -5,9 +5,9 @@ name = "Selfoss"
description.en = "Multipurpose RSS reader"
description.fr = "Lecteur RSS polyvalent"
version = "2.19~ynh1"
version = "2.19~ynh2"
maintainers = []
maintainers = ["eric_G"]
[upstream]
license = "AGPL-3.0-only"
@ -17,7 +17,7 @@ userdoc = "https://selfoss.aditu.de/"
code = "https://github.com/fossar/selfoss"
[integration]
yunohost = ">= 11.1.14"
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = false
@ -42,6 +42,7 @@ ram.runtime = "50M"
[resources.sources.main]
url = "https://github.com/SSilence/selfoss/releases/download/2.19/selfoss-2.19.zip"
sha256 = "e49c4750e9723277963ca699b602f09f9148e2b9f258fce6b14429498af0e4fc"
autoupdate.strategy = "latest_github_tag"
[resources.system_user]
@ -51,4 +52,4 @@ ram.runtime = "50M"
main.url = "/"
[resources.apt]
packages = "sqlite3 php8.0-xml php8.0-sqlite3 php8.0-mbstring php8.0-mysql php8.0-gd php8.0-curl"
packages = "sqlite3, php8.2-xml, php8.2-sqlite3, php8.2-mbstring, php8.2-mysql, php8.2-gd, php8.2-curl"

View file

@ -41,11 +41,6 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Configuring NGINX web server..." --weight=1
# Create a dedicated NGINX config
ynh_add_nginx_config

View file

@ -17,21 +17,9 @@ ynh_script_progression --message="Removing NGINX web server configuration..." --
# Remove the dedicated NGINX config
ynh_remove_nginx_config
#=================================================
# REMOVE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config
#=================================================
# SPECIFIC REMOVE
#=================================================
# REMOVE VARIOUS FILES
#=================================================
ynh_script_progression --message="Removing various files..." --weight=1
# Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app"

View file

@ -27,20 +27,8 @@ ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weig
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#=================================================
# SPECIFIC RESTORATION
#=================================================
# RESTORE THE NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the NGINX configuration..." --weight=1
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# RESTORE THE CRON FILE
#=================================================
ynh_script_progression --message="Restoring the cron file..." --weight=1
ynh_restore_file --origin_path="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"

View file

@ -62,11 +62,6 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint
#=================================================
# NGINX CONFIGURATION
#=================================================
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
# Create a dedicated NGINX config
ynh_add_nginx_config