mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Testing (#164)
* Auto-update README
* Upgrade to upstream
* Auto-update README
* Bullseye (#141)
* Fix
* Fix
* Auto-update README
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
* Upgrade
* Auto-update README
* Auto-update README
* Upgrade to upstream
* Auto-update README
* PHP
* Auto-update README
* Update manifest.json
* Auto-update README
* Update config
* Fix
* Auto-update README
* update
* Auto-update README
* Version 2 (#148)
* v2
* v2
* Auto-update README
* Fix
* Auto-update README
* fix
---------
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
* Update tests.toml
* Delete check_process
* Update restore
* Update remove
* Update install
* Update upgrade
* Fix
* Update upgrade
* Update manifest.toml
* Update manifest.toml
* data_migration
* fix
* Fix
* Update manifest.toml
* Auto-update README
* Update manifest.toml
* Update manifest.toml
* Auto-update README
* Update tests.toml
* auto updater
* Update manifest.toml
* Auto-update README
* remove data migration
* update git repo
* Auto-update README
* Update manifest.toml
* Update manifest.toml
* Auto-update README
* update to upstream
* Auto-update README
* fix
* Auto-update README
* Update manifest.toml
* Update manifest.toml
* Auto-update README
* Update manifest.toml
* Auto-update README
* PostgreSQL (#150)
* switch to PHP
* Update install
* Update _common.sh
* Update _common.sh
* Update app.src
* Update manifest.json
* Auto-update README
* Fix
* Update remove
* Update _common.sh
* Update app.src
* Fix
* Remove cron
* Update install
* Update change_url
* Update systemd.service
* Update install
* Update DESCRIPTION.md
* Auto-update README
* Fix
* Update manifest.json
* Update restore
* Update app.src
* Create migration
* v2
* v2
* Auto-update README
* Fix
* Auto-update README
* fix
* fix
* fix
* Update restore
* data_migration
* Revert "data_migration"
This reverts commit 1aea23fb52
.
* fix
* fix
* Update manifest.toml
* Update manifest.toml
* Update manifest.toml
* Auto-update README
* fix
* Update manifest.toml
* Update manifest.toml
* Auto-update README
* Create PRE_UPGRADE_fr.md
* fix
* Auto-update README
* Auto-update README
* Update manifest.toml
* Auto-update README
---------
Co-authored-by: Yunohost-Bot <>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
* Update manifest.toml
* cleaning
* Email (#162)
* add email
* Update config.php
* Update systemd.service
* Update manifest.toml
* Auto-update README
* Update config.php
* Update config.php
* Update manifest.toml
* Auto-update README
* Update manifest.toml
* Update manifest.toml
* Update systemd.service
* cleaning (#165)
* cleaning
* Update manifest.toml
* Update manifest.toml
* Update manifest.toml
* Auto-update README
---------
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
parent
c4a792f573
commit
b6b5fd48c9
9 changed files with 18 additions and 16 deletions
|
@ -28,9 +28,9 @@ Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader an
|
||||||
- flexible article filtering
|
- flexible article filtering
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 20231202~ynh2
|
**Shipped version:** 20231202~ynh3
|
||||||
|
|
||||||
**Demo:** https://srv.tt-rss.org/tt-rss/
|
**Demo:** https://demo.tt-rss.org/
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,9 @@ Tiny Tiny RSS est un lecteur et agrégateur de flux de nouvelles (RSS/Atom) bas
|
||||||
- filtrage flexible des articles
|
- filtrage flexible des articles
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 20231202~ynh2
|
**Version incluse :** 20231202~ynh3
|
||||||
|
|
||||||
**Démo :** https://srv.tt-rss.org/tt-rss/
|
**Démo :** https://demo.tt-rss.org/
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
// *** Basic settings (important!) ***
|
// *** Basic settings (important!) ***
|
||||||
// ***********************************
|
// ***********************************
|
||||||
|
|
||||||
putenv('TTRSS_SELF_URL_PATH=__DOMAIN_PATH__');
|
putenv('TTRSS_SELF_URL_PATH=https://__DOMAIN____PATH__');
|
||||||
// Full URL of your tt-rss installation. This should be set to the
|
// Full URL of your tt-rss installation. This should be set to the
|
||||||
// location of tt-rss directory, e.g. http://example.org/tt-rss/
|
// location of tt-rss directory, e.g. http://example.org/tt-rss/
|
||||||
// You need to set this option correctly otherwise several features
|
// You need to set this option correctly otherwise several features
|
||||||
|
@ -177,7 +177,7 @@
|
||||||
// Disabling auth_internal in this list would automatically disable
|
// Disabling auth_internal in this list would automatically disable
|
||||||
// reset password link on the login form.
|
// reset password link on the login form.
|
||||||
|
|
||||||
putenv('TTRSS_LOG_DESTINATION=sql');
|
putenv('TTRSS_LOG_DESTINATION=syslog');
|
||||||
// Log destination to use. Possible values: sql (uses internal logging
|
// Log destination to use. Possible values: sql (uses internal logging
|
||||||
// you can read in Preferences -> System), syslog - logs to system log.
|
// you can read in Preferences -> System), syslog - logs to system log.
|
||||||
// Setting this to blank uses PHP logging (usually to http server
|
// Setting this to blank uses PHP logging (usually to http server
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
Description=TTRSS: News feed reader and aggregator
|
Description=TTRSS: Backend update
|
||||||
|
Documentation=https://git.tt-rss.org/fox/tt-rss/wiki/UpdatingFeeds
|
||||||
|
Requires=network.target postgresql.service
|
||||||
After=network.target postgresql.service
|
After=network.target postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -5,14 +5,14 @@ name = "Tiny Tiny RSS"
|
||||||
description.en = "News feed (RSS/Atom) reader and aggregator"
|
description.en = "News feed (RSS/Atom) reader and aggregator"
|
||||||
description.fr = "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
description.fr = "Lecteur de flux d’actualité utilisant les protocoles RSS et Atom"
|
||||||
|
|
||||||
version = "20231202~ynh2"
|
version = "20231202~ynh3"
|
||||||
|
|
||||||
maintainers = []
|
maintainers = []
|
||||||
|
|
||||||
[upstream]
|
[upstream]
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
website = "https://tt-rss.org"
|
website = "https://tt-rss.org"
|
||||||
demo = "https://srv.tt-rss.org/tt-rss/"
|
demo = "https://demo.tt-rss.org/"
|
||||||
admindoc = "https://tt-rss.org/wiki.php"
|
admindoc = "https://tt-rss.org/wiki.php"
|
||||||
code = "https://gitlab.tt-rss.org/tt-rss/tt-rss"
|
code = "https://gitlab.tt-rss.org/tt-rss/tt-rss"
|
||||||
|
|
||||||
|
@ -53,17 +53,20 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
|
||||||
public.url = "/public.php"
|
public.url = "/public.php"
|
||||||
public.allowed = "visitors"
|
public.allowed = "visitors"
|
||||||
public.show_tile = false
|
public.show_tile = false
|
||||||
public.protected = true
|
public.protected = true
|
||||||
|
|
||||||
api.url = "/api"
|
api.url = "/api"
|
||||||
api.allowed = "visitors"
|
api.auth_header =false
|
||||||
api.show_tile = false
|
api.show_tile = false
|
||||||
api.protected = true
|
api.protected = true
|
||||||
|
api.allowed = "visitors"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "postgresql, php8.2-pgsql, php8.2-curl, php8.2-gd, php8.2-opcache,php8.2-fileinfo, php8.2-intl, php8.2-cli, php8.2-mbstring, php8.2-xml"
|
packages = "postgresql, php8.2-pgsql, php8.2-curl, php8.2-gd, php8.2-opcache, php8.2-fileinfo, php8.2-intl, php8.2-cli, php8.2-mbstring, php8.2-xml"
|
||||||
|
|
||||||
[resources.database]
|
[resources.database]
|
||||||
type = "postgresql"
|
type = "postgresql"
|
||||||
|
|
|
@ -32,8 +32,8 @@ ynh_change_url_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating a configuration file..." --weight=1
|
ynh_script_progression --message="Updating a configuration file..." --weight=1
|
||||||
|
|
||||||
domain_path="https://${new_domain}${new_path}"
|
|
||||||
domain="$new_domain"
|
domain="$new_domain"
|
||||||
|
path="$new_path"
|
||||||
ynh_add_config --template="config.php" --destination="$install_dir/config.php"
|
ynh_add_config --template="config.php" --destination="$install_dir/config.php"
|
||||||
|
|
||||||
chmod 400 "$install_dir/config.php"
|
chmod 400 "$install_dir/config.php"
|
||||||
|
|
|
@ -44,8 +44,6 @@ yunohost service add $app --description="News feed reader and aggregator" --log=
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
domain_path=https://$domain$path
|
|
||||||
|
|
||||||
ynh_add_config --template="config.php" --destination="$install_dir/config.php"
|
ynh_add_config --template="config.php" --destination="$install_dir/config.php"
|
||||||
|
|
||||||
chmod 400 "$install_dir/config.php"
|
chmod 400 "$install_dir/config.php"
|
||||||
|
|
|
@ -30,7 +30,7 @@ ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./d
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE THE PHP-FPM CONFIGURATION
|
# RESTORE THE PHP-FPM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=50
|
ynh_script_progression --message="Restoring system configurations related to $app..." --weight=5
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Updating a configuration file..." --weight=2
|
ynh_script_progression --message="Updating a configuration file..." --weight=2
|
||||||
|
|
||||||
domain_path=https://$domain$path
|
|
||||||
ynh_add_config --template="config.php" --destination="$install_dir/config.php"
|
ynh_add_config --template="config.php" --destination="$install_dir/config.php"
|
||||||
|
|
||||||
ynh_script_progression --message="Upgrading the database..." --weight=2
|
ynh_script_progression --message="Upgrading the database..." --weight=2
|
||||||
|
|
Loading…
Add table
Reference in a new issue