975 Commits

Author SHA1 Message Date
supahgreg
5770cc51ba
More ternary operator and ORM usage, assorted tweaks.
Among the 'assorted tweaks' is consistently converting a param to an array of integers.
2025-11-24 03:35:42 +00:00
supahgreg
dab918a426
Switch links from the GitHub project wiki to 'tt-rss.org'. 2025-11-19 02:06:54 +00:00
LaurentGH
1a1cec689c
Replace e-mail and mail by email 2025-11-04 17:20:26 +01:00
supahgreg
5bec70065a
Assorted array-related (or nearby) tweaks.
Move away from 'array_push', simplify various things (e.g. eliminate low value intermediate vars), etc.
2025-11-01 23:47:00 +00:00
supahgreg
912162ad81
Fix 'is shared' color display with the Share plugin. 2025-10-30 17:10:01 +00:00
Niels Gandraß
2241990b1f
Use privacy friendlier YouTube embedding (youtube-nocookie) with af_youtube_embed 2025-10-25 16:13:39 +02:00
Niels Gandraß
462ecf1de4
Update af_youtube_embed iframe attributes to match current YouTube embed codes 2025-10-25 13:19:48 +02:00
supahgreg
7c432749ef
Rector rule 'TernaryToNullCoalescingRector'.
https://getrector.com/rule-detail/ternary-to-null-coalescing-rector
2025-10-18 01:46:40 +00:00
supahgreg
1da5a6ef1e
Rector rule 'TernaryToElvisRector'.
https://getrector.com/rule-detail/ternary-to-elvis-rector
2025-10-18 01:45:21 +00:00
supahgreg
8480b14746
Rector rule 'LongArrayToShortArrayRector'.
https://getrector.com/rule-detail/long-array-to-short-array-rector
2025-10-18 01:24:59 +00:00
supahgreg
fbdf35d134
Rector rule 'ListToArrayDestructRector'.
https://getrector.com/rule-detail/list-to-array-destruct-rector
2025-10-18 01:20:32 +00:00
supahgreg
3e6a6654fa
Remove PHPStan excludes related to DOMElement/DOMNode. 2025-10-17 02:40:14 +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
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
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
2d880e6c7d
Add some DOMElement hints to help PHPStan. 2025-10-11 01:41:56 +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
vjkcxl
c914d0710f Fix Danby Draws 2025-09-02 11:15:21 -05:00
vjkcxl
17bd835530 Revert whitespace changes 2025-09-02 10:59:59 -05:00
vjkcxl
17c6d7af8d Hopefully fix PHPStan 2025-09-01 14:42:00 -05:00
vjkcxl
6c0bcd90ed Try to add types 2025-09-01 14:32:23 -05:00
vjkcxl
efe6fbd3fa Update ComicPress logic
This updates the logic to work across a variety of additional sites.
Additionally, it grabs the author's comments from comics, such as the text on Buttersafe.

This does not update the list of supported comics.
There are too many comic sites to enumerate all of them anyway.
2025-09-01 14:06:10 -05:00
wn_
ecef0ae951 Tweak the 'Feeds::_get_title()' param order to make PHP happy.
Required params need to go before optional.
2025-08-29 12:28:05 +00:00
wn_
e5c5a1bf42 Make 'owner_uid' required for 'Feeds::_get_title()' and 'Feeds::_get_cat_title()'. 2025-08-29 12:19:04 +00: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
0688e6dadd
cache_starred_images - make scheduled tasks intervals configurable 2025-05-27 08:27:49 +03:00
Andrew Dolgov
eab69f8796 Merge branch 'feature/orm-and-misc' into 'master'
Use ORM in more places, deprecate const SUBSTRING_FOR_DATE, some minor fixes

See merge request tt-rss/tt-rss!135
2025-05-19 08:06:56 +03:00
wn_
a164790268 Improve media detection in 'cache_starred_images'.
This was mostly a copy from 'RSSUtils::cache_media()'.
2025-05-19 02:17:41 +00:00
wn_
2fa54cc627 Deprecate and remove use of the 'SUBSTRING_FOR_DATE' constant.
With MySQL support removed (b154bc7a10e46dc9fa0406996507c4fd410366da) this constant is unnecessary.
2025-05-18 14:26:05 +00:00
Andrew Dolgov
aa58ab1ce0
drop gocomics and other inactive af_comics filters - third time the charm 2025-05-17 08:03:09 +03:00
Andrew Dolgov
2e50f96901
Revert "drop gocomics and other inactive af_comics filters"
This reverts commit 5f064b4477e74f5de24bdb22a8cb499f2ab03805.
2025-05-17 08:02:42 +03:00
Andrew Dolgov
5f064b4477
drop gocomics and other inactive af_comics filters 2025-05-17 08:00:04 +03:00
Andrew Dolgov
a931b91099
af_comics - fix penny arcade to new markup 2025-05-17 07:57:39 +03:00
Andrew Dolgov
fc059fc0fc
expose scheduled tasks to plugins, switch cache_starred_images plugin to use them instead of housekeeping hook 2025-05-04 17:50:03 +03:00
Andrew Dolgov
f80187e05f
Merge branch 'master' into rip-mysql 2025-04-25 18:54:29 +03:00
Andrew Dolgov
be82663ac9
cache_starred_images: disable chmod() on cache directory, it doesn't seem to be necessary anymore and breaks on S3 cache implementation 2025-04-17 17:25:13 +03:00
Andrew Dolgov
945690fffc
add some type hints 2025-04-14 15:28:57 +03:00
Andrew Dolgov
3c138a71a1
add deprecation notice for sql_random_function() 2025-04-14 15:27:58 +03:00
Andrew Dolgov
7e403aae92
further mysql/DB_TYPE related cleanup 2025-04-14 15:21:10 +03:00
wn_
7cef3a5ac2 Use the correct suffix for GoComics permalinks. 2025-04-04 17:40:24 +00:00
wn_
c4788023a4 Handle changes to GoComics. 2025-04-04 17:33:05 +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
d373c1f978
add Config::DISABLE_LOGIN_FORM to allow limiting logins to SSO providers 2025-03-14 11:43:25 +03: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
Nathan Neulinger
ebe080dfe4 Add processing of dumbingofage.com images 2025-01-05 12:27:37 -06:00