21 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
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
da5bb77dc1
Describe array shapes in some more places. 2025-11-01 04:12:20 +00:00
supahgreg
a8320ab9cf
Use first-class callable syntax.
Also tweak 'clean()' a bit in the process.

https://wiki.php.net/rfc/first_class_callable_syntax
2025-10-23 16:59:27 +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
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_
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
b154bc7a10
initial attempt to remove mysql-related stuff from tt-rss 2025-04-14 12:59:00 +03:00
Andrew Dolgov
eedc1460e5
support transparent encryption for feed passwords, bump schema to drop length limit of ttrss_feeds.auth_pass 2025-04-08 09:36:04 +03:00
wn_
f9b2291c28 Don't bother passing unused arguments to 'TimeHelper::make_local_datetime()'.
There's no point in passing '$long' unless '$no_smart_dt' is set to 'true'.
2024-12-15 18:39:03 +00:00
Andrew Dolgov
e473d8ecc5
show amount of stored article in prefs feed tree 2024-12-14 11:37:58 +03:00
wn_
667528d5b9 Use PHP 8 'str_' functions.
A few more characters in some places, but helps with readability.
2024-11-24 13:59:29 +00:00
wn_
154abc61a0 Eliminate use of deprecated 'get_pref()' and 'set_pref()'. 2024-11-18 21:59:45 +00:00
wn_
a784305cc7 Address PHPStan findings as of 2.0.1 2024-11-12 03:15:53 +00:00
Andrew Dolgov
884fd92f13
drop opentelemetry 2024-10-01 16:00:34 +03:00
wn_
9743f0efcd Support doing a prefs page search via Enter. 2024-03-23 15:19:58 +00:00
Andrew Dolgov
ff4248b09e
add wip UI/backend stuff to filter feed tree 2023-11-03 08:33:35 +03:00
Andrew Dolgov
865ecc8796
move to psr-4 autoloader 2023-10-25 12:55:09 +03:00