1231 Commits

Author SHA1 Message Date
supahgreg
f382d2ac89
Gracefully handle a feed icon failing to load. 2025-10-16 17:38:12 +00:00
supahgreg
a47a45d300
Add back App.byId() until it can be replaced in official plugins 2025-10-16 14:56:42 +00:00
supahgreg
e29e0fef7b
Add back 'App.find()' and 'App.findAll()' until official plugins can all be updated. 2025-10-16 14:52:31 +00:00
supahgreg
6223abef08
minor: reduce some duplication, add a comment back 2025-10-15 00:11:28 +00:00
supahgreg
92438716ad
minor: remove classes better in 'Article.setScore()' 2025-10-14 23:41:48 +00:00
supahgreg
3ff3c605b4
Remove 'App.find()', which was essentially an alias of 'document.querySelector()'. 2025-10-14 23:26:46 +00:00
supahgreg
f85559735b
Remove 'App.byId()', which was essentially an alias of 'document.getElementById()'. 2025-10-14 23:23:01 +00:00
supahgreg
6bd52b28c2
Remove 'App.findAll()', which was essentially an alias of 'document.querySelectorAll()'. 2025-10-14 23:18:13 +00:00
supahgreg
6d36197247
Remove various Element and Array prototype extensions (and similar). 2025-10-14 22:43:09 +00:00
supahgreg
e0e0a0fab0
Fix 'App.select_tag()' again.
Not enough coffee.
2025-10-14 16:13:55 +00:00
supahgreg
dc8da35492
Fix default selection for 'App.select_tag()' and 'App.select_hash()'. 2025-10-14 16:02:52 +00:00
supahgreg
8b46ab31a9
Fix some more issues related to ESLint 'eqeqeq' changes (again). 2025-10-14 04:36:36 +00:00
supahgreg
98f0035a95
minor: fix a labels issue introduced in 362e2dc28c9d28bc7644df6694b4de78a116da37 2025-10-14 04:03:24 +00:00
supahgreg
362e2dc28c
Fix some more issues related to ESLint 'eqeqeq' changes. 2025-10-14 03:29:37 +00:00
supahgreg
7d6d321441
Address remaining ESLint 'no-undef' and 'no-unused-vars' occurrences.
* https://eslint.org/docs/latest/rules/no-undef
* https://eslint.org/docs/latest/rules/no-unused-vars
2025-10-13 02:54:36 +00:00
supahgreg
54b69728d0
Fix 'Feed.setActive()' allowing a string 'id'.
This was causing an issue with comparisons elsewhere (e.g. 'Headlines.onLoaded()').
2025-10-12 22:55:43 +00:00
supahgreg
47848d0198
Fix various ESLint 'no-undef' rule instances.
https://eslint.org/docs/latest/rules/no-undef
2025-10-12 22:32:55 +00:00
supahgreg
cde120b3d7
Clean up unnecessary eslint-disable directives (per ESLint). 2025-10-12 22:27:18 +00:00
supahgreg
7211d34684
Add a workaround+note for a FeedTree feed item's 'error' being '[]'.
The backend is sending 'error' as a string (or undefined for cats).
2025-10-12 22:20:13 +00:00
supahgreg
360c552da4
Address rule 'no-redeclare' for 'dojo' and 'dijit' (defined as globals in 'eslint.config.js').
Also take care of 2 'no-prototype-builtins' and a 'no-useless-escape'.

* https://eslint.org/docs/latest/rules/no-redeclare
* https://eslint.org/docs/latest/rules/no-prototype-builtins
* https://eslint.org/docs/latest/rules/no-useless-escape
2025-10-12 21:48:10 +00:00
supahgreg
d442079a72
Address ESLint rule 'no-prototype-builtins'.
https://eslint.org/docs/latest/rules/no-prototype-builtins
2025-10-12 21:38:59 +00:00
supahgreg
39182a76e4
Address ESLint rule 'eqeqeq'.
https://eslint.org/docs/latest/rules/eqeqeq
2025-10-12 21:34:29 +00:00
supahgreg
bb08b0acd5
Improve 'App.getSelectedText()'.
This also drops 'String.prototype.stripTags', which is no longer used.
2025-10-10 23:30:34 +00:00
supahgreg
b888fa1032
Fix a potential double-unescaping issue, tweak 'App.escapeHtml()'. 2025-10-10 22:39:47 +00:00
supahgreg
a7d5566aa9
Switch links to the 'tt-rss' GitHub organization. 2025-10-06 19:02:28 +00:00
supahgreg
ec367b23f4
Switch from 'tt-rss-web-static' links to wiki links. 2025-10-05 20:18:56 +00:00
supahgreg
5e99eb41ec Remove references to, and integrations with, 'tt-rss.org'. 2025-10-03 21:00:43 +00:00
Andrew Dolgov
25f416719b
bump amount of retries when trying to auto-switch theme 2025-08-14 18:34:26 +03:00
wn_
b803f85ec2 Fix default dark mode CSS path in UtilityJS, use configurable default themes in bookmarklets. 2025-08-10 12:27:38 +00:00
Andrew Dolgov
d84260b59d
check if backend is reachable when handling night mode change instead of relying on navigator.onLine 2025-08-08 14:36:52 +03:00
Andrew Dolgov
8eb340c3ca
make default light/dark themes configurable, add support for main application and login form 2025-08-01 17:22:21 +03:00
Andrew Dolgov
bc312b1205
implement special counter display when viewing by published, similar to marked 2025-07-30 19:24:53 +03:00
Andrew Dolgov
524bdeb419
attempt to retry night mode switch if we're offline 2025-07-27 20:07:55 +03:00
wn_
5b99ccf662 Use existing headline info for 'Article.displayUrl()' 2025-07-08 10:54:10 +00:00
wn_
0cd788220d Separate feed type detection from init, don't subscribe on failures.
Also some FeedParser tweaks.
2025-07-06 02:33:18 +00:00
wn_
09c11df764 Clean up displaying subscription error info, log more detailed info to the event log. 2025-06-19 20:37:49 +00:00
wn_
692c7a8949 Remove unused subscription return code 6 2025-06-17 18:02:57 +00:00
wn_
5b0d325733 Escape error content displayed when subscribing fails (as it might contain HTML). 2025-06-17 17:59:10 +00:00
wn_
ef1f3cbcef Show some HTML content as a hover tip when the 'feed URL' returned HTML without feeds.
Also tweak the 'Feeds::_subscribe()' documentation a bit.
2025-06-17 17:52:06 +00:00
Andrew Dolgov
aeca30cb0c
drop SIMPLE_UPDATE_MODE, limit housekeeping and updates to background processes 2025-05-02 13:26:58 +03:00
Andrew Dolgov
8df250f2eb Merge branch 'feature/search-in-hash' into 'master'
Include the search query+language as part of the URL hash

See merge request tt-rss/tt-rss!112
2025-03-31 04:57:52 +00:00
wn_
ca751c10e1 Include the search query+language as part of the URL hash. 2025-03-30 18:05:53 +00:00
Andrew Dolgov
2d041f7d28
use server-side localized formatting for matching rule to display as a tooltip (for now) 2025-03-30 20:41:50 +03:00
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
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
5dcb8db933
allow setting update interval in subcribe to feed dialog 2025-03-19 12:47:10 +03: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
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