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
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
5f70e41118
add plugin hooks invoked when articles get un/marked or un/published
2025-05-01 22:36:33 +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
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
wn_
e1256b06ea
Only use valid feed basic info from plugins.
2025-04-04 17:53:47 +00:00
wn_
89b0332d38
Add and use 'Db::now_comparison_qpart()'.
...
This introduces a helper to build a query part comparing a field against a past datetime (determined by '$now - $some_interval'), eliminating certain boilerplate code.
2025-03-04 18:34:35 +00:00
wn_
f8198933b1
Use the fileinfo module for favicon validation in 'RSSUtils::update_favicon()'.
2025-02-25 20:23:17 +00:00
wn_
e0d9ffcbc1
Only continue filter testing when there are likely more entries to check.
...
Prior to this, a filter test could needlessly result in up to 100 backend requests (limit 100, max_offset 10000) when the filter's associated feeds+categories have fewer than 10000 entries.
2025-02-15 16:51:25 +00:00
wn_
7618101e33
Reduce use of legacy 'Config::ICONS_DIR'.
...
Also some minor cleanup in 'API#_get_config()'.
2025-01-26 17:19:12 +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_
abcd0e8ba2
Use native union types in most places.
2024-11-23 17:43:24 +00:00
wn_
154abc61a0
Eliminate use of deprecated 'get_pref()' and 'set_pref()'.
2024-11-18 21:59:45 +00:00
Andrew Dolgov
884fd92f13
drop opentelemetry
2024-10-01 16:00:34 +03:00
wn_
0ce4ae3ece
Don't reuse the '$matches' array in 'RSSUtils::decode_srcset()'.
...
This causes the size of the array to be incorrectly doubled due to the original regex match items being combined with the custom items (i.e. the ones with just 'url' and 'size' keys).
Also rework 'RSSUtils::encode_srcset()' a bit so it looks similar to 'RSSUtils::decode_srcset()'.
2024-07-05 03:17:11 +00:00
Andrew Dolgov
49ef5a929b
add some time-related debugging output for feeds and users
2024-06-19 09:12:11 +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
wn_
de00a09538
Make implicit nullable parameters explicitly nullable.
...
This is to address a deprecation planned for PHP 8.4.
https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
2024-03-26 16:43:39 +00:00
wn_
1dbc4dc475
Fix passing auth credentials to plugins for HOOK_FETCH_FEED.
2024-02-06 12:50:26 +00:00
wn_
21aebd8ff1
Use FeedEnclosure throughout RSSUtils.
2024-01-20 17:37:10 +00:00
wn_
8727fb3ba8
Clean up some unused variables.
...
This is essentially 1ccc0c8c1a
without the renames and some other things related to Psalm.
2024-01-08 22:46:13 +00:00
wn_
90e7bf7cc3
Update all UrlHelper::fetch() calls to use the associative array approach.
...
The other approach (passing in individual params) was marked as deprecated a few years ago.
2023-12-30 15:39:17 +00:00
Andrew Dolgov
865ecc8796
move to psr-4 autoloader
2023-10-25 12:55:09 +03:00