Commit Graph

12072 Commits

Author SHA1 Message Date
Andrew Dolgov
aeca30cb0c drop SIMPLE_UPDATE_MODE, limit housekeeping and updates to background processes 2025-05-02 13:26:58 +03:00
Andrew Dolgov
a51c1d5176 fix tasks_run never incremented 2025-05-02 13:18:48 +03:00
Andrew Dolgov
36f60b51d7 make digest sending a hourly cron job 2025-05-02 13:17:20 +03:00
Andrew Dolgov
44b5b33f3d remove synchronous usages of _purge_orphans() 2025-05-02 10:28:35 +03:00
Andrew Dolgov
a268f52de6 record task duration in seconds 2025-05-02 10:23:30 +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
f22e32a26b import cron-expression 2025-05-02 08:53:38 +03:00
Andrew Dolgov
0520ca2226 deal with published hook in _create_published_article 2025-05-02 08:26:52 +03:00
Andrew Dolgov
5f70e41118 add plugin hooks invoked when articles get un/marked or un/published 2025-05-01 22:36:33 +03:00
wn
4ae17d0f1c Merge branch 'feature/phpstan-updates' into 'master'
PHPStan update and addressing findings

See merge request tt-rss/tt-rss!122
2025-04-30 16:34:52 +00:00
Andrew Dolgov
4cb8a84df4 Merge branch 'rip-mysql' into 'master'
initial attempt to remove mysql-related stuff from tt-rss

See merge request tt-rss/tt-rss!120
2025-04-28 04:48:01 +00:00
wn_
f097c5ed97 Remove an unnecessary session UID existence check in 'UserHelper::authenticate()'.
PHPStan 'if.alwaysTrue'
2025-04-27 15:13:15 +00:00
wn_
1c9fddd757 Add a PHPStan ignore for a non-issue in 'UrlHelper::fetch()'. 2025-04-27 15:05:28 +00:00
wn_
5c2c95a897 Remove unused 'PluginHost::HOOK_FORMAT_ARTICLE_CDM'.
PHPStan 'method.notFound'.
2025-04-27 14:53:53 +00:00
wn_
ae5394f6f9 Address 'method.resultUnused' in 'api/index.php'. 2025-04-27 14:50:02 +00:00
wn_
7ad1efed3e Bump PHPStan to 2.1.13 2025-04-27 14:41:39 +00:00
wn_
0961c8bd4c Remove a PHPStan ignore related to PHP < 8 2025-04-27 14:39:06 +00:00
Andrew Dolgov
f80187e05f Merge branch 'master' into rip-mysql 2025-04-25 18:54:29 +03:00
Andrew Dolgov
0e4b8bd653 add eslint-formatter-gitlab npm dependency 2025-04-25 18:53:55 +03:00
Andrew Dolgov
be82663ac9 cache_starred_images: disable chmod() on cache directory, it doesn't seem to be necessary anymore and breaks on S3 cache implementation 2025-04-17 17:25:13 +03:00
Andrew Dolgov
75556e2f3d Merge branch 'master' into rip-mysql 2025-04-17 14:07:26 +03:00
Andrew Dolgov
d2ccdaf400 Merge branch 'fix-schema' into 'master'
* fix 148 migration for pgsql not setting default value of

See merge request tt-rss/tt-rss!121
2025-04-17 10:43:50 +00: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
8cf3059951 more type hints 2025-04-14 15:31:06 +03:00
Andrew Dolgov
945690fffc add some type hints 2025-04-14 15:28:57 +03:00
Andrew Dolgov
3c138a71a1 add deprecation notice for sql_random_function() 2025-04-14 15:27:58 +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
fox
60606aaa97 Merge branch 'mysql-noop' into 'master'
no-op auth_pass varchar to text migration for mysql

See merge request git/tt-rss/tt-rss!8
2025-04-14 09:39:11 +00:00
Andrew Dolgov
561d922e78 no-op auth_pass varchar to text migration for mysql 2025-04-14 12:36:13 +03:00
Andrew Dolgov
50e614499b Merge branch 'weblate-integration' into 'master'
Translated using Weblate (Chinese (Traditional Han script))

See merge request tt-rss/tt-rss!119
2025-04-14 06:24:42 +00: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
44e23469a0 Merge branch 'less-leaks' into 'master'
cleanup environment variables related to global configuration after instantiating config object

See merge request tt-rss/tt-rss!118
2025-04-08 11:16:22 +00: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
008c518d5d Merge branch 'session-encryption' into 'master'
add optional encryption for stored session data using Sodium library

See merge request tt-rss/tt-rss!117
2025-04-08 10:54:24 +00:00
Andrew Dolgov
17b4e98249 spaces to tabs 2025-04-08 13:52:00 +03:00
Andrew Dolgov
597971f238 we no longer directly modify schema_version in migrations 2025-04-08 09:48:44 +03:00
Andrew Dolgov
f00d9a18f8 if possible, automatically encrypt stored plaintext password for feed on update 2025-04-08 09:43:03 +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
TonyRL
aa552ef057 Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (695 of 695 strings)

Translation: TinyTinyRSS/webui
Translate-URL: https://hosted.weblate.org/projects/tt-rss/webui/zh_Hant/
2025-04-08 00:41:40 +00: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
wn
bb2c4b3801 Merge branch 'allow-session-cookies' into 'master'
allow setting lifetime to 0 for session cookies

See merge request tt-rss/tt-rss!116
2025-04-07 06:58:33 +00:00
Andrew Dolgov
20ba3c67cc allow setting lifetime to 0 for session cookies 2025-04-07 07:14:01 +03:00
Andrew Dolgov
eaacca5792 Merge branch 'bugfix/hook-feed-basic-info-result' into 'master'
Only use valid feed basic info from plugins.

See merge request tt-rss/tt-rss!115
2025-04-04 18:02:15 +00:00
wn_
e1256b06ea Only use valid feed basic info from plugins. 2025-04-04 17:53:47 +00:00
wn
f70cd0d149 Merge branch 'bugfix/gocomics-changes-2' into 'master'
Use the correct suffix for GoComics permalinks.

See merge request tt-rss/tt-rss!114
2025-04-04 17:42:31 +00:00
wn_
7cef3a5ac2 Use the correct suffix for GoComics permalinks. 2025-04-04 17:40:24 +00:00