mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Testing (#128)
* Update manifest.json (#96)
* Update manifest.json
* Update manifest.json
* Fix badges
* Fix shasum (#99)
* Add ynh_add_config (#98)
* Add ynh_add_config
* Add restictions
* Revert "Add restictions"
This reverts commit d68f41c03e
.
* Update check_process
* [autopatch] Update issue and PR templates (#101)
Co-authored-by: Yunohost-Bot <>
* Add templates
* Fix files permissions
* Apply example_ynh (#104)
* Increment version
* Upgrade config file (#108)
Patches that allows to connect to the app without authentication are not working anymore.
I see 3 possible solutions:
- rework patches to work with upstream changes
- use built-in authentication
- set authentication to false and protect app access with SSO (as in this PR)
* Add readme
* Auto-update README
* Update change_url
* Update install
* cleaning up
* set cron
* Update config.php
* Update config.php
* Update config.php
* Update app.src
* Create DISCLAIMER.md
* Auto-update README
* Update DISCLAIMER.md
* Auto-update README
* Upgrade to upstream
* Auto-update README
* Update config.php
* Upgrade to upstream
* Update manifest.json
* Auto-update README
* Update change_url
* Update change_url
* upgrade to upstream
* Auto-update README
* Api (#111)
removing cron job. We already have update_daemon running as a service
* Update manifest.json
* Auto-update README
* Upstream (#114)
* upgrade to upstream
* Auto-update README
Co-authored-by: Yunohost-Bot <>
* Fix upstream repo
* Update check_process
* Auto-update README
* Update manifest.json
* Upgrade from upstream
* Auto-update README
* Update manifest.json
* Fix
* Auto-update README
* Update manifest.json
* Auto-update README
* Update remove
* Update remove
* Update remove
* Update remove
* upgrade to upstream
* Auto-update README
* Php8 (#129)
* Auto-update README
* PHP8
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: tituspijean <tituspijean@outlook.com>
Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: Yunohost-Bot <>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
parent
cc868006d7
commit
009f956487
9 changed files with 51 additions and 45 deletions
21
README.md
21
README.md
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
||||||
|
|
||||||
# Tiny Tiny RSS for YunoHost
|
# Tiny Tiny RSS for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/ttrss)  
|
[](https://dash.yunohost.org/appci/app/ttrss)  
|
||||||
[](https://install-app.yunohost.org/?app=ttrss)
|
[](https://install-app.yunohost.org/?app=ttrss)
|
||||||
|
|
||||||
*[Lire ce readme en français.](./README_fr.md)*
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
|
@ -27,13 +27,13 @@ Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader an
|
||||||
- podcasts,
|
- podcasts,
|
||||||
- flexible article filtering
|
- flexible article filtering
|
||||||
|
|
||||||
**Shipped version:** 20220414~ynh1
|
**Shipped version:** 20220606~ynh1
|
||||||
|
|
||||||
**Demo:** https://demo.yunohost.org/ttrss/
|
**Demo:** https://demo.yunohost.org/ttrss/
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
||||||
|
@ -43,21 +43,22 @@ Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader an
|
||||||
- password: `password`
|
- password: `password`
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
* Official app website: http://tt-rss.org
|
* Official app website: <http://tt-rss.org>
|
||||||
* Official admin documentation: https://git.tt-rss.org/git/tt-rss/wiki
|
* Official admin documentation: <https://git.tt-rss.org/git/tt-rss/wiki>
|
||||||
* Upstream app code repository: https://git-gitea.tt-rss.org/fox/tt-rss
|
* Upstream app code repository: <https://git-gitea.tt-rss.org/fox/tt-rss>
|
||||||
* YunoHost documentation for this app: https://yunohost.org/app_ttrss
|
* YunoHost documentation for this app: <https://yunohost.org/app_ttrss>
|
||||||
* Report a bug: https://github.com/YunoHost-Apps/ttrss_ynh/issues
|
* Report a bug: <https://github.com/YunoHost-Apps/ttrss_ynh/issues>
|
||||||
|
|
||||||
## Developer info
|
## Developer info
|
||||||
|
|
||||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing).
|
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing).
|
||||||
|
|
||||||
To try the testing branch, please proceed like that.
|
To try the testing branch, please proceed like that.
|
||||||
```
|
|
||||||
|
``` bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug
|
||||||
or
|
or
|
||||||
sudo yunohost app upgrade ttrss -u https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug
|
sudo yunohost app upgrade ttrss -u https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**More info regarding app packaging:** https://yunohost.org/packaging_apps
|
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||||
|
|
27
README_fr.md
27
README_fr.md
|
@ -1,10 +1,14 @@
|
||||||
|
<!--
|
||||||
|
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||||
|
It shall NOT be edited by hand.
|
||||||
|
-->
|
||||||
|
|
||||||
# Tiny Tiny RSS pour YunoHost
|
# Tiny Tiny RSS pour YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/ttrss)  
|
[](https://dash.yunohost.org/appci/app/ttrss)  
|
||||||
[](https://install-app.yunohost.org/?app=ttrss)
|
[](https://install-app.yunohost.org/?app=ttrss)
|
||||||
|
|
||||||
*[Read this readme in english.](./README.md)*
|
*[Read this readme in english.](./README.md)*
|
||||||
*[Lire ce readme en français.](./README_fr.md)*
|
|
||||||
|
|
||||||
> *Ce package vous permet d'installer Tiny Tiny RSS rapidement et simplement sur un serveur YunoHost.
|
> *Ce package vous permet d'installer Tiny Tiny RSS rapidement et simplement sur un serveur YunoHost.
|
||||||
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||||
|
@ -14,13 +18,13 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
||||||
Tiny Tiny RSS est un lecteur et agrégateur de flux d'actualités (RSS/Atom) en ligne gratuit et open source.
|
Tiny Tiny RSS est un lecteur et agrégateur de flux d'actualités (RSS/Atom) en ligne gratuit et open source.
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 20220414~ynh1
|
**Version incluse :** 20220606~ynh1
|
||||||
|
|
||||||
**Démo :** https://demo.yunohost.org/ttrss/
|
**Démo :** https://demo.yunohost.org/ttrss/
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
|
@ -30,21 +34,22 @@ Tiny Tiny RSS est un lecteur et agrégateur de flux d'actualités (RSS/Atom) en
|
||||||
- password: `password`
|
- password: `password`
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
* Site officiel de l'app : http://tt-rss.org
|
* Site officiel de l'app : <http://tt-rss.org>
|
||||||
* Documentation officielle de l'admin : https://git.tt-rss.org/git/tt-rss/wiki
|
* Documentation officielle de l'admin : <https://git.tt-rss.org/git/tt-rss/wiki>
|
||||||
* Dépôt de code officiel de l'app : https://git-gitea.tt-rss.org/fox/tt-rss
|
* Dépôt de code officiel de l'app : <https://git-gitea.tt-rss.org/fox/tt-rss>
|
||||||
* Documentation YunoHost pour cette app : https://yunohost.org/app_ttrss
|
* Documentation YunoHost pour cette app : <https://yunohost.org/app_ttrss>
|
||||||
* Signaler un bug : https://github.com/YunoHost-Apps/ttrss_ynh/issues
|
* Signaler un bug : <https://github.com/YunoHost-Apps/ttrss_ynh/issues>
|
||||||
|
|
||||||
## Informations pour les développeurs
|
## Informations pour les développeurs
|
||||||
|
|
||||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing).
|
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing).
|
||||||
|
|
||||||
Pour essayer la branche testing, procédez comme suit.
|
Pour essayer la branche testing, procédez comme suit.
|
||||||
```
|
|
||||||
|
``` bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug
|
||||||
ou
|
ou
|
||||||
sudo yunohost app upgrade ttrss -u https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug
|
sudo yunohost app upgrade ttrss -u https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
|
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://git-gitea.tt-rss.org/fox/tt-rss/archive/2654b3c6be408113ede52180ae283afa72da5f3c.tar.gz
|
SOURCE_URL=https://git-gitea.tt-rss.org/fox/tt-rss/archive/8ef816d8f8ee964d5ce54e28e1f2686caf9176fd.tar.gz
|
||||||
SOURCE_SUM=2e266d66f182d213509ec079454522b23f23da3e411de4b1f037793e97284db8
|
SOURCE_SUM=1e33e78d2ed58259b34fd7eb8d97d803a3e57aeecd3504d635af96a600b77296
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "News feed (RSS/Atom) reader and aggregator",
|
"en": "News feed (RSS/Atom) reader and aggregator",
|
||||||
"fr": "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
"fr": "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
||||||
},
|
},
|
||||||
"version": "20220414~ynh1",
|
"version": "20220606~ynh1",
|
||||||
"url": "http://tt-rss.org",
|
"url": "http://tt-rss.org",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
"nginx",
|
"nginx",
|
||||||
"php7.3-fpm",
|
"php8.0-fpm",
|
||||||
"mysql"
|
"mysql"
|
||||||
],
|
],
|
||||||
"arguments": {
|
"arguments": {
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
YNH_PHP_VERSION="7.3"
|
YNH_PHP_VERSION="8.0"
|
||||||
|
|
||||||
pkg_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-opcache \
|
pkg_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-opcache \
|
||||||
php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xml"
|
php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xml"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -129,7 +129,7 @@ ynh_add_systemd_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Initializing database..." --weight=6
|
ynh_script_progression --message="Initializing database..." --weight=6
|
||||||
|
|
||||||
ynh_mysql_connect_as --user="$db_name" --password="$db_pwd" --database="$db_name" \
|
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" \
|
||||||
< "$final_path/schema/ttrss_schema_mysql.sql"
|
< "$final_path/schema/ttrss_schema_mysql.sql"
|
||||||
|
|
||||||
sudo -u $app php${phpversion} ${final_path}/update.php --update-schema=force-yes
|
sudo -u $app php${phpversion} ${final_path}/update.php --update-schema=force-yes
|
||||||
|
|
|
@ -53,7 +53,7 @@ ynh_mysql_remove_db --db_user=$db_user --db_name=$db_name
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE APP MAIN DIR
|
# REMOVE APP MAIN DIR
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Removing app main directory..." --weight=4
|
ynh_script_progression --message="Removing the app main directory..." --weight=4
|
||||||
|
|
||||||
# Remove the app directory securely
|
# Remove the app directory securely
|
||||||
ynh_secure_remove --file="$final_path"
|
ynh_secure_remove --file="$final_path"
|
||||||
|
|
|
@ -66,6 +66,14 @@ chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REINSTALL DEPENDENCIES
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Reinstalling dependencies..." --weight=1
|
||||||
|
|
||||||
|
# Define and install dependencies
|
||||||
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE PHP-FPM CONFIGURATION
|
# RESTORE THE PHP-FPM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -75,14 +83,6 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||||
|
|
||||||
ynh_add_fpm_config
|
ynh_add_fpm_config
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# REINSTALL DEPENDENCIES
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Reinstalling dependencies..." --weight=1
|
|
||||||
|
|
||||||
# Define and install dependencies
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE MYSQL DATABASE
|
# RESTORE THE MYSQL DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -110,14 +110,6 @@ chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# NGINX CONFIGURATION
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2
|
|
||||||
|
|
||||||
# Create a dedicated NGINX config
|
|
||||||
ynh_add_nginx_config
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE DEPENDENCIES
|
# UPGRADE DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -133,6 +125,14 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2
|
||||||
# Create a dedicated PHP-FPM config
|
# Create a dedicated PHP-FPM config
|
||||||
ynh_add_fpm_config
|
ynh_add_fpm_config
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# NGINX CONFIGURATION
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2
|
||||||
|
|
||||||
|
# Create a dedicated NGINX config
|
||||||
|
ynh_add_nginx_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue