aboutsummaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
2025-03-04Get rid of the 'language' session variable.wn_
It had issues (no profile usage, only set at login), so it's cleanest to just replace its one usage with 'Prefs::get()'.
2025-02-25Use the fileinfo module for favicon validation in 'RSSUtils::update_favicon()'.wn_
2025-02-15Move filter test results HTML building to the frontend.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-02-08Clean up 'Pref_Filters::testFilterDo()'.wn_
Use ORM, drop the '5 rule' limit, etc.
2025-01-26Remove now-unused 'Config::ICONS_URL'.wn_
2025-01-26Reduce use of legacy 'Config::ICONS_DIR'.wn_
Also some minor cleanup in 'API#_get_config()'.
2025-01-06Fix setting a custom title when cloning a single filter.wn_
2025-01-06Use 'clone' wording for filter duplication.wn_
2025-01-06Fix a return type warning in 'Pref_Filters'.wn_
'Pref_Filters#get_details()' gets passed the ID of an existing filter, so we don't need to handle some edge case of it not existing.
2025-01-06Prompt for the new filter name when only copying one.wn_
This also reworks 'Pref_Filters' a bit so it's easier to retrieve filter titles.
2025-01-06Add the ability to copy an existing filter.wn_
2024-12-16Merge branch 'feature/php-misc' into 'master'Andrew Dolgov
More native typing, use some new PHP stuff See merge request tt-rss/tt-rss!88
2024-12-15Don't bother passing unused arguments to 'TimeHelper::make_local_datetime()'.wn_
There's no point in passing '$long' unless '$no_smart_dt' is set to 'true'.
2024-12-15Consistently handle the 'smart' display of default/never dates.wn_
2024-12-15minor PHPDoc cleanup in PluginHostwn_
2024-12-15Clean up some virtual feed stuff in PluginHost.wn_
Among other things, this makes 'PluginHost->add_feed()' return false if the feed was not added.
2024-12-15Deal with FeedEnclosure property accessed before initialization.wn_
2024-12-15Revert some stuff based upon feedbackwn_
2024-12-14Use a native DNF type for 'PluginHost->get_feed_handler()'.wn_
2024-12-14Use native typing in more places and clean up 'FeedEnclosure' a bit.wn_
2024-12-14Remove use of 'ReturnTypeWillChange'.wn_
'ReturnTypeWillChange' was a workaround needed until we reached PHP 8.0, which introduced union types and allowed alignment with 'SessionHandlerInterface'.
2024-12-14Use the spread operator instead of 'array_merge' in more places.wn_
PHP 8.1 introduced support for merging string-key arrays (last array with a wins).
2024-12-14show amount of stored article in prefs feed treeAndrew Dolgov
2024-12-09Bump the minimum required PHP version to 8.2.0.wn_
Discussion: https://gitlab.tt-rss.org/tt-rss/tt-rss/-/merge_requests/85
2024-11-26Add+use FeedParser::FEED_UNKNOWNwn_
2024-11-26Fix RDF feed support in FeedParser.wn_
2024-11-25API: allow catchup for search results (bumps api level to 22)Andrew Dolgov
2024-11-24Use PHP 8 'str_' functions.wn_
A few more characters in some places, but helps with readability.
2024-11-24Use match expressions in some places.wn_
2024-11-24allow nullable password in auto_create_user for backwards compatibilityAndrew Dolgov
2024-11-24Merge branch 'getfiltertree-eldritch-horrors' into 'master'Andrew Dolgov
getfiltertree: switch to ORM and simplify code See merge request tt-rss/tt-rss!79
2024-11-24make filter search properly case-insensitiveAndrew Dolgov
2024-11-23Use native union types in most places.wn_
2024-11-23simplify resulting tree root objectAndrew Dolgov
2024-11-23getfiltertree: switch to ORM and simplify codeAndrew Dolgov
2024-11-23collapse actions summary list in filter tree if 'toggle rule display' is ↵Andrew Dolgov
disabled, remove label-specific icon display, simplify markup
2024-11-23fix text-muted being set to default text foreground color in light mode, ↵Andrew Dolgov
adjust styling of filter actions list
2024-11-23show cumulative score adjustment (if any) and up to 3 actions total in ↵Andrew Dolgov
filter tree
2024-11-23bump minimum required php version to 8.0 & remove some deprecated codeAndrew Dolgov
2024-11-23use select_many() without _exprAndrew Dolgov
2024-11-23adjust indentAndrew Dolgov
2024-11-23switch filters _get_rules_list() to ORMAndrew Dolgov
2024-11-23pass resulting action description through gettextAndrew Dolgov
2024-11-23set type hint for $action_descriptionsAndrew Dolgov
2024-11-23fix _get_name failing on filters without any rules because of wrong type of JOINAndrew Dolgov
2024-11-23get filter action descriptions on pref_filters class init instead of doing ↵Andrew Dolgov
it all the time, use ORM in _get_action_name
2024-11-23pref_filters - refactor _get_name to use ORM, show cumulative score in tree ↵Andrew Dolgov
filter description
2024-11-21Bump 'chillerlan/php-qrcode' to 5.0.x.wn_
* Maintains PHP `7.4` compatibility and adds PHP `8.4` compatibility * The `4.4.x` branch does the same, but I didn't see any reason not to go to `5.0.x`. * https://github.com/chillerlan/php-qrcode/releases
2024-11-19Fix array key warning in 'Feeds::_get_headlines()'.wn