supahgreg
dab918a426
Switch links from the GitHub project wiki to 'tt-rss.org'.
2025-11-19 02:06:54 +00:00
supahgreg
681d04032a
Minor cleanup in 'Pref_Prefs::_get_updated_plugins()'
2025-11-16 16:40:10 +00:00
supahgreg
fbd062a739
Handle plugin update check failures better.
...
'Pref_Prefs::_plugin_needs_update()' can return null if a plugin directory is a git repo but an issue occurs (e.g. not on an allowed branch, not able to fetch from origin).
Closes tt-rss/tt-rss#171 .
2025-11-16 16:17:07 +00:00
supahgreg
63daf4693f
Don't copy default-only preferences when cloning the default profile.
...
Related to tt-rss/tt-rss#154 and tt-rss/tt-rss#155 .
2025-11-13 02:34:18 +00:00
supahgreg
36bbba2eb0
Allow cloning the default profile.
2025-11-13 00:10:21 +00:00
LaurentGH
e63ba6b30f
Old table ttrss_user_prefs still used in Pref_Prefs.php
...
The table ttrss_user_prefs was replaced by ttrss_user_prefs2 in database version 141.
However, the profile cloning feature still uses twice the old table name, so nothing is really cloned.
The getProfiles() function also uses this old table, so the attribute "initialized" is always false, so there is always "(empty)" at the end of cloned profile names.
2025-11-12 23:07:31 +01:00
LaurentGH
9cd7164e5c
Update PHP website url in the help message for date format
2025-11-04 18:19:28 +01: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
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
8480b14746
Rector rule 'LongArrayToShortArrayRector'.
...
https://getrector.com/rule-detail/long-array-to-short-array-rector
2025-10-18 01:24:59 +00:00
supahgreg
98a92e2c08
Rector rule 'ClosureToArrowFunctionRector',
...
https://getrector.com/rule-detail/closure-to-arrow-function-rector
2025-10-18 01:15:05 +00:00
supahgreg
b33900ffe1
Rector rule 'ClassOnObjectRector'.
...
https://getrector.com/rule-detail/class-on-object-rector
2025-10-18 01:11:09 +00:00
supahgreg
040a3bc4c9
Get the timezone list via DateTimeZone vs static text file.
2025-10-17 18:26:55 +00:00
supahgreg
bd1e066402
Fix using 'strlen' with 'array_filter', remove PHPStan ignore.
2025-10-17 02:28:26 +00:00
supahgreg
0d9a033e3e
Switch to the friendly URL for 'plugins.json'.
2025-10-16 12:16:42 +00:00
supahgreg
050141676f
Reactivate the plugin installer using new JSON source. Closes tt-rss/tt-rss#3 .
...
* The JSON is built using https://github.com/tt-rss/tt-rss/blob/main/.github/workflows/update-plugins-json.yml
* The aforementioned workflow pushes the JSON to https://github.com/tt-rss/tt-rss/blob/gh-pages/plugins.json
* GitHub Pages then makes the JSON available at https://tt-rss.github.io/tt-rss/plugins.json
2025-10-16 03:45:28 +00:00
supahgreg
f85559735b
Remove 'App.byId()', which was essentially an alias of 'document.getElementById()'.
2025-10-14 23:23:01 +00:00
supahgreg
72426e42dd
Fix supporting master+main in plugin management. Fixes tt-rss/tt-rss#17
2025-10-08 20:21:59 +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
664f37ae71
Appeasing PHPStan.
...
The two if statements involved are related to calls to 'tt-rss.org' that are intentionally disabled.
2025-10-04 21:20:32 +00:00
supahgreg
d7a91de140
Initial attempt to support both 'main' and 'master' branches.
2025-10-03 22:03:52 +00:00
supahgreg
5e99eb41ec
Remove references to, and integrations with, 'tt-rss.org'.
2025-10-03 21:00:43 +00:00
Andrew Dolgov
b154bc7a10
initial attempt to remove mysql-related stuff from tt-rss
2025-04-14 12:59:00 +03: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
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
wn_
64a36970d6
Bump 'chillerlan/php-qrcode' to 5.0.x.
...
* Maintains PHP `7.4` compatibility and adds PHP `8.4` compatibility
* The `4.4.x` branch does the same, but I didn't see any reason not to go to `5.0.x`.
* https://github.com/chillerlan/php-qrcode/releases
2024-11-21 17:34:32 +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
wn_
d17f90b96f
Fix some broken links and make minor wording tweaks.
2024-08-21 17:59:35 +00:00
wn_
9dd4102c7f
Replace basic 'isset()' cases with the null coalescing operator.
2024-08-04 15:42:11 +00:00
Andrew Dolgov
283ad4ebea
Merge branch 'feature/unused-var-cleanup' into 'master'
...
Clean up some unused variables.
See merge request tt-rss/tt-rss!19
2024-01-13 18:29:30 +00:00
Andrew Dolgov
de214a01d2
shorten DIGEST_MIN_SCORE help text
2024-01-09 12:38:25 +03:00
Andrew Dolgov
bcdfedeb8a
* mark get_pref/set_pref wrappers as deprecated
...
* add per-user preference for minimal score required for digest
2024-01-09 11:45:40 +03:00
wn_
8727fb3ba8
Clean up some unused variables.
...
This is essentially 1ccc0c8c1a without the renames and some other things related to Psalm.
2024-01-08 22:46:13 +00:00
Andrew Dolgov
a1a2fe40f6
add a separate interface for auth modules w/ change_password() method
2023-10-27 22:29:03 +03:00
Andrew Dolgov
5920ac814c
replace some dirname horrors with a separate unit-tested method
2023-10-27 22:07:28 +03:00
Andrew Dolgov
865ecc8796
move to psr-4 autoloader
2023-10-25 12:55:09 +03:00