Commit Graph

12015 Commits

Author SHA1 Message Date
Andrew Dolgov
b4962b670d stop sending matched content twice for the tooltip, use smaller objects containing only regular expression and rule type 2025-03-30 20:21:06 +03:00
wn_
10c488e1d0 Strip '[\r\n\t]' from entry content during filter test.
This is to help get the content and regex match strings a bit closer.
2025-03-29 10:36:08 +00:00
Andrew Dolgov
043162b0eb enforce maximum length on resulting rule regexp match, highlight based on strings with stripped tags 2025-03-28 18:36:11 +03:00
Andrew Dolgov
42ea2ebec0 * fix filter test not returning anything for filters set for specific
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-28 16:51:15 +03:00
Andrew Dolgov
8986a3e7ee add limited highlighting of filter test results based on matched rules 2025-03-28 07:59:46 +03:00
Andrew Dolgov
49766ab01f filter test dialog improvements:
- 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-27 22:22:34 +03:00
Andrew Dolgov
c1e6a5ff63 enable ta translation 2025-03-26 09:40:54 +03:00
Andrew Dolgov
4b677f10e4 Merge branch 'weblate-integration' into 'master'
Translated using Weblate (Tamil)

See merge request tt-rss/tt-rss!110
2025-03-26 06:39:42 +00:00
Andrew Dolgov
d04fc6f26d add integration runner tag 2025-03-26 09:24:41 +03:00
Edgars Andersons
ee81566f5e Translated using Weblate (Latvian)
Currently translated at 100.0% (695 of 695 strings)

Translation: TinyTinyRSS/webui
Translate-URL: https://hosted.weblate.org/projects/tt-rss/webui/lv/
2025-03-21 17:11:23 +01:00
தமிழ்நேரம்
b8b475cdf6 Translated using Weblate (Tamil)
Currently translated at 100.0% (695 of 695 strings)

Translation: TinyTinyRSS/webui
Translate-URL: https://hosted.weblate.org/projects/tt-rss/webui/ta/
2025-03-20 20:24:42 +01:00
தமிழ்நேரம்
e01dc2e0d8 Translated using Weblate (Tamil)
Currently translated at 55.2% (384 of 695 strings)

Translation: TinyTinyRSS/webui
Translate-URL: https://hosted.weblate.org/projects/tt-rss/webui/ta/
2025-03-19 18:49:07 +01:00
Andrew Dolgov
5dcb8db933 allow setting update interval in subcribe to feed dialog 2025-03-19 12:47:10 +03:00
Andrew Dolgov
5d69120056 Merge branch 'feature/search-to-sql-phrases' into 'master'
Support phrases in searches (PostgreSQL only)

See merge request tt-rss/tt-rss!109
2025-03-19 09:33:56 +00:00
wn_
434da183e7 Support using phrases in searches (PostgreSQL only). 2025-03-18 00:31:23 +00:00
Andrew Dolgov
6f9429f405 Merge branch 'feature/search-to-sql-tweaks' into 'master'
Some improvements in 'Feeds::_search_to_sql()'.

See merge request tt-rss/tt-rss!108
2025-03-17 17:28:44 +00:00
wn_
4053af899f Some improvements in 'Feeds::_search_to_sql()'.
* 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-15 22:37:17 +00:00
Andrew Dolgov
28cb97ddc5 Merge branch 'weblate-integration' into 'master'
Added translation using Weblate (Tamil)

See merge request tt-rss/tt-rss!107
2025-03-14 15:41:16 +00:00
Andrew Dolgov
1dc0c98c51 allow app passwords via auth_internal even if DISABLE_LOGIN_FORM is set 2025-03-14 11:57:48 +03:00
Andrew Dolgov
405cae963b Merge branch 'protected/DISABLE_LOGIN_FORM' into 'master'
add Config::DISABLE_LOGIN_FORM to allow limiting logins to SSO providers

See merge request tt-rss/tt-rss!106
2025-03-14 08:44:17 +00:00
Andrew Dolgov
d373c1f978 add Config::DISABLE_LOGIN_FORM to allow limiting logins to SSO providers 2025-03-14 11:43:25 +03:00
தமிழ்நேரம்
3563a517a6 Added translation using Weblate (Tamil) 2025-03-09 22:43:32 +01:00
Andrew Dolgov
1fc4eed6cd Merge branch 'feature/time-comparison-gen' into 'master'
Add and use 'Db::past_comparison_qpart()'.

See merge request tt-rss/tt-rss!105
2025-03-08 11:58:11 +00:00
Andrew Dolgov
9983954bf1 Merge branch 'bugfix/user-language' into 'master'
Get rid of the 'language' session variable.

See merge request tt-rss/tt-rss!104
2025-03-04 19:11:53 +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_
7e335de7b8 Get rid of the 'language' session variable.
It had issues (no profile usage, only set at login), so it's cleanest to just replace its one usage with 'Prefs::get()'.
2025-03-04 02:27:28 +00:00
Andrew Dolgov
532570ca17 Merge branch 'feature/favicon-mime-type-detection' into 'master'
Use the fileinfo module for favicon validation in 'RSSUtils::update_favicon()'.

See merge request tt-rss/tt-rss!103
2025-02-26 04:33:39 +00:00
wn_
f8198933b1 Use the fileinfo module for favicon validation in 'RSSUtils::update_favicon()'. 2025-02-25 20:23:17 +00:00
Andrew Dolgov
bfdfea88b9 Merge branch 'weblate-integration' into 'master'
Translated using Weblate (Czech)

See merge request tt-rss/tt-rss!102
2025-02-20 14:37:03 +00:00
Andrew Dolgov
85929b5d67 Merge branch 'feature/efficient-filter-testing' into 'master'
Only continue filter testing when there are likely more entries to check.

See merge request tt-rss/tt-rss!101
2025-02-20 13:13:51 +00:00
wn_
777c2b4c97 Move filter test results HTML building to the frontend. 2025-02-15 20:39:35 +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
Patrik Coch
b85330096e Translated using Weblate (Czech)
Currently translated at 98.2% (683 of 695 strings)

Translation: TinyTinyRSS/webui
Translate-URL: https://hosted.weblate.org/projects/tt-rss/webui/cs/
2025-02-11 22:02:00 +01:00
Andrew Dolgov
169ff6de34 Merge branch 'feature/filter-test-cleanup' into 'master'
Clean up 'Pref_Filters::testFilterDo()'.

See merge request tt-rss/tt-rss!100
2025-02-08 17:19:20 +00:00
wn_
708563acd4 Indicate filters might have matched more than the test found.
Due to the limits set when testing a filter it's possible more results (some of which the user may be expecting to see) aren't displayed.
2025-02-08 16:55:39 +00:00
wn_
a34927d184 Clean up 'Pref_Filters::testFilterDo()'.
Use ORM, drop the '5 rule' limit, etc.
2025-02-08 16:53:12 +00:00
Andrew Dolgov
59b94a9e45 Merge branch 'feed-icons-misc' into 'master'
Feed icons cleanup

See merge request tt-rss/tt-rss!99
2025-01-27 05:39:13 +00:00
wn_
d361c1c65d Remove now-unused 'Config::ICONS_URL'. 2025-01-26 17:21:12 +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_
117d210c8a Include 'cache/feed-icons' in the default backup process.
This is worthwhile since custom icons might've been uploaded and post-restore icon fetches might take a while.
2025-01-26 16:56:34 +00:00
Andrew Dolgov
0eb4571c19 Merge branch 'weblate-integration' into 'master'
Translated using Weblate (Finnish)

See merge request tt-rss/tt-rss!98
2025-01-22 19:20:39 +00:00
Andrew Dolgov
f1b1320438 fix extra comma 2025-01-22 22:18:20 +03:00
Andrew Dolgov
f0687060d7 shorten_expanded: add simple event debounce 2025-01-22 22:14:33 +03:00
Ricky Tigg
ffe47821e0 Translated using Weblate (Finnish)
Currently translated at 100.0% (695 of 695 strings)

Translation: TinyTinyRSS/webui
Translate-URL: https://hosted.weblate.org/projects/tt-rss/webui/fi/
2025-01-17 07:51:59 +01:00
Andrew Dolgov
a071edaa9d Merge branch 'feature/copy-filter' into 'master'
Add the ability to clone an existing filter.

See merge request tt-rss/tt-rss!97
2025-01-09 08:58:44 +00:00
wn_
5a93056c1c Fix setting a custom title when cloning a single filter. 2025-01-06 16:04:27 +00:00
wn_
e546e73914 Use 'clone' wording for filter duplication. 2025-01-06 15:49:40 +00:00
wn_
2eb3c150c2 Fix a return type warning in 'Pref_Filters'.
'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-06 14:30:57 +00:00
wn_
0da9ef81bd Prompt for the new filter name when only copying one.
This also reworks 'Pref_Filters' a bit so it's easier to retrieve filter titles.
2025-01-06 14:17:38 +00:00
wn_
91496a0d24 Add the ability to copy an existing filter. 2025-01-06 00:33:18 +00:00