Commit Graph

37 Commits

Author SHA1 Message Date
wn_
25d8655214 Drop legacy feed icon storage migration and unused 'Config::ICONS_DIR'. 2025-05-22 18:05:02 +00:00
Andrew Dolgov
dba83a639c
fix wrong config param being used & add a link to cron syntax we support 2025-05-22 20:36:09 +03:00
Andrew Dolgov
b25684a5a6
make default task schedules configurable 2025-05-22 20:01:00 +03:00
Andrew Dolgov
5263a07f61
record last cron expression (and stub owner_uid) used by scheduled task 2025-05-04 18:06:43 +03:00
Andrew Dolgov
ec12a514a2
Revert "bring back cleanup of potentially sensitive environment variables but exclude CLI SAPI to prevent updater failures"
Breaks OIDC

This reverts commit 247efe3137.
2025-05-04 13:30:07 +03:00
Andrew Dolgov
247efe3137
bring back cleanup of potentially sensitive environment variables but exclude CLI SAPI to prevent updater failures 2025-05-02 13:37:08 +03:00
Andrew Dolgov
aeca30cb0c
drop SIMPLE_UPDATE_MODE, limit housekeeping and updates to background processes 2025-05-02 13:26:58 +03:00
Andrew Dolgov
6a40940ad6
split housekeeping jobs to separate scheduled tasks on longer cooldown intervals, add table to record task execution timestamps, bump schema 2025-05-02 10:17:13 +03:00
Andrew Dolgov
75556e2f3d
Merge branch 'master' into rip-mysql 2025-04-17 14:07:26 +03:00
Andrew Dolgov
f7199a47c2
* fix 148 migration for pgsql not setting default value of ttrss_feeds.auth_pass breaking OPML import
* replace no-op migrations for mysql with 'select 1'
2025-04-17 11:51:47 +03:00
Andrew Dolgov
54e8ab7e3d
update DB_TYPE deprecation notice 2025-04-14 15:24:34 +03:00
Andrew Dolgov
7e403aae92
further mysql/DB_TYPE related cleanup 2025-04-14 15:21:10 +03:00
Andrew Dolgov
b154bc7a10
initial attempt to remove mysql-related stuff from tt-rss 2025-04-14 12:59:00 +03:00
Andrew Dolgov
f9e8911727
Revert "cleanup environment variables related to global configuration after instantiating config object"
This reverts commit e4f1480453.
2025-04-08 18:38:10 +03:00
Andrew Dolgov
e4f1480453
cleanup environment variables related to global configuration after instantiating config object 2025-04-08 14:09:15 +03:00
Andrew Dolgov
eedc1460e5
support transparent encryption for feed passwords, bump schema to drop length limit of ttrss_feeds.auth_pass 2025-04-08 09:36:04 +03:00
Andrew Dolgov
25d3ce4ee8
drop SESSION-specific stuff and move encrypt/decrypt helpers to a separate class; add a command line flag to generate encryption keys 2025-04-08 08:55:44 +03:00
Andrew Dolgov
58677fc791
rename SODIUM_ENCRYPTION_KEY to SESSION_ENCRYPTION_KEY and move related stuff to Sessions class 2025-04-07 20:28:35 +03:00
Andrew Dolgov
026d68fc2d
add optional encryption for stored session data using Sodium library 2025-04-07 20:09:31 +03:00
Andrew Dolgov
d373c1f978
add Config::DISABLE_LOGIN_FORM to allow limiting logins to SSO providers 2025-03-14 11:43:25 +03:00
wn_
d361c1c65d Remove now-unused 'Config::ICONS_URL'. 2025-01-26 17:21:12 +00:00
wn_
a1bd6cea1b Use native typing in more places and clean up 'FeedEnclosure' a bit. 2024-12-14 12:26:59 +00:00
wn_
cd2c10f9f7 Bump the minimum required PHP version to 8.2.0.
Discussion: https://gitlab.tt-rss.org/tt-rss/tt-rss/-/merge_requests/85
2024-12-09 17:53:23 +00:00
wn_
667528d5b9 Use PHP 8 'str_' functions.
A few more characters in some places, but helps with readability.
2024-11-24 13:59:29 +00:00
wn_
9b0baf9b32 Use match expressions in some places. 2024-11-24 13:45:26 +00:00
wn_
abcd0e8ba2 Use native union types in most places. 2024-11-23 17:43:24 +00:00
Andrew Dolgov
648024eb2e
bump minimum required php version to 8.0 & remove some deprecated code 2024-11-23 15:54:40 +03:00
Andrew Dolgov
42ebdb027e
fix get_self_url() misbehaving in plugins/ 2024-11-04 13:59:02 +03:00
Andrew Dolgov
7e0f5f295c
drop OPENTELEMETRY_ global config entries 2024-10-01 17:22:37 +03:00
Andrew Dolgov
0163884ef6
add another test for self url, split regex into two parts - one for plugins, one for everything else 2024-09-15 07:17:48 +03:00
Andrew Dolgov
78c903cb7f
fix Config::get_self_url() invoked from plugin context, better deal with multiple trailing slashes in URL, update phpunit image path 2024-09-14 10:53:40 +03:00
wn_
d17f90b96f Fix some broken links and make minor wording tweaks. 2024-08-21 17:59:35 +00:00
Andrew Dolgov
df8403be08
set DAEMON_FEED_LIMIT to 50 by default and use it consistently between forking daemon and any other update methods 2024-06-18 21:54:22 +03:00
Andrew Dolgov
db3e67b3fe
* pass arbitrary CLI arguments to update daemon via updater.sh entrypoint
* add configurable log level for update daemon (DAEMON_LOG_LEVEL)
 * when daemon log level is set to LOG_EXTENDED (2) log queries for feed
   update selection
2024-06-18 21:47:05 +03:00
Andrew Dolgov
5920ac814c
replace some dirname horrors with a separate unit-tested method 2023-10-27 22:07:28 +03:00
Andrew Dolgov
3181272619
add healthcheck public method, map by default to /healthz 2023-10-25 17:53:49 +03:00
Andrew Dolgov
865ecc8796
move to psr-4 autoloader 2023-10-25 12:55:09 +03:00