summaryrefslogtreecommitdiff
path: root/classes/RSSUtils.php
AgeCommit message (Collapse)Author
2025-05-02split housekeeping jobs to separate scheduled tasks on longer cooldown ↵Andrew Dolgov
intervals, add table to record task execution timestamps, bump schema
2025-05-01add plugin hooks invoked when articles get un/marked or un/publishedAndrew Dolgov
2025-04-14initial attempt to remove mysql-related stuff from tt-rssAndrew Dolgov
2025-04-08if possible, automatically encrypt stored plaintext password for feed on updateAndrew Dolgov
2025-04-08support transparent encryption for feed passwords, bump schema to drop ↵Andrew Dolgov
length limit of ttrss_feeds.auth_pass
2025-04-04Only use valid feed basic info from plugins.wn_
2025-03-04Add and use 'Db::now_comparison_qpart()'.wn_
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-02-25Use the fileinfo module for favicon validation in 'RSSUtils::update_favicon()'.wn_
2025-02-15Only continue filter testing when there are likely more entries to check.wn_
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-01-26Reduce use of legacy 'Config::ICONS_DIR'.wn_
Also some minor cleanup in 'API#_get_config()'.
2024-11-24Use PHP 8 'str_' functions.wn_
A few more characters in some places, but helps with readability.
2024-11-23Use native union types in most places.wn_
2024-11-18Eliminate use of deprecated 'get_pref()' and 'set_pref()'.wn_
2024-10-01drop opentelemetryAndrew Dolgov
2024-07-05Don't reuse the '$matches' array in 'RSSUtils::decode_srcset()'.wn_
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-06-19add some time-related debugging output for feeds and usersAndrew Dolgov
2024-06-18 * pass arbitrary CLI arguments to update daemon via updater.sh entrypointAndrew Dolgov
* 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-03-26Make implicit nullable parameters explicitly nullable.wn_
This is to address a deprecation planned for PHP 8.4. https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
2024-02-06Fix passing auth credentials to plugins for HOOK_FETCH_FEED.wn_
2024-01-20Use FeedEnclosure throughout RSSUtils.wn_
2024-01-08Clean up some unused variables.wn_
This is essentially https://gitlab.tt-rss.org/wn/tt-rss/-/commit/1ccc0c8c1af04dd9654b585c6d07e3a75d944a0c without the renames and some other things related to Psalm.
2023-12-30Update all UrlHelper::fetch() calls to use the associative array approach.wn_
The other approach (passing in individual params) was marked as deprecated a few years ago.
2023-10-25move to psr-4 autoloaderAndrew Dolgov