summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)Author
2025-03-30use server-side localized formatting for matching rule to display as a ↵Andrew Dolgov
tooltip (for now)
2025-03-30stop sending matched content twice for the tooltip, use smaller objects ↵Andrew Dolgov
containing only regular expression and rule type
2025-03-29Strip '[\r\n\t]' from entry content during filter test.wn_
This is to help get the content and regex match strings a bit closer.
2025-03-28enforce maximum length on resulting rule regexp match, highlight based on ↵Andrew Dolgov
strings with stripped tags
2025-03-28 * fix filter test not returning anything for filters set for specificAndrew Dolgov
feed ID * show content preview after first matched rule, not article beginning * show meaningful preview for filters matching on article link, tags, and author
2025-03-28add limited highlighting of filter test results based on matched rulesAndrew Dolgov
2025-03-27filter test dialog improvements:Andrew Dolgov
- properly return results for filter rules matching specific feeds or categories - fix test results never returned for Uncategorized - show tooltip with specific word match and matched rule on resulting item hover
2025-03-19allow setting update interval in subcribe to feed dialogAndrew Dolgov
2025-03-18Support using phrases in searches (PostgreSQL only).wn_
2025-03-15Some improvements in 'Feeds::_search_to_sql()'.wn_
* Pass in the profile so some preferences can be retrieved correctly. * Consistently use the owner UID that gets passed in (previously some session var uses).
2025-03-14add Config::DISABLE_LOGIN_FORM to allow limiting logins to SSO providersAndrew Dolgov
2025-03-08Merge branch 'feature/time-comparison-gen' into 'master'Andrew Dolgov
Add and use 'Db::past_comparison_qpart()'. See merge request tt-rss/tt-rss!105
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-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