supahgreg
5e99eb41ec
Remove references to, and integrations with, 'tt-rss.org'.
2025-10-03 21:00:43 +00: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
wn_
df28c71641
Improve naming when working with filter actions.
...
Also updated some related typing and documentation.
2025-05-21 18:34:16 +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
wn_
0acaac7115
Remove an outdated check for 'E_DEPRECATED' existence.
2025-05-18 14:09:27 +00:00
wn
4ae17d0f1c
Merge branch 'feature/phpstan-updates' into 'master'
...
PHPStan update and addressing findings
See merge request tt-rss/tt-rss!122
2025-04-30 16:34:52 +00:00
wn_
0961c8bd4c
Remove a PHPStan ignore related to PHP < 8
2025-04-27 14:39:06 +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
c1e6a5ff63
enable ta translation
2025-03-26 09:40:54 +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
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_
abcd0e8ba2
Use native union types in most places.
2024-11-23 17:43:24 +00:00
Andrew Dolgov
c2d0c5a5c9
update usage of deprecated function
2024-11-23 15:59:53 +03:00
Andrew Dolgov
648024eb2e
bump minimum required php version to 8.0 & remove some deprecated code
2024-11-23 15:54:40 +03: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
Andrew Dolgov
cc51487f08
Merge branch 'master' into weblate-integration
2024-06-14 13:47:14 +03:00
wn_
de00a09538
Make implicit nullable parameters explicitly nullable.
...
This is to address a deprecation planned for PHP 8.4.
https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
2024-03-26 16:43:39 +00:00
Andrew Dolgov
66db7dc0ac
drop es_LA, move es_ES to es
2024-03-06 15:24:16 +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
Andrew Dolgov
4d825fa6a6
require PHP to have support for flock()
2023-02-25 19:30:41 +03:00
Andrew Dolgov
c30b24d09f
deal with type errors in batch feed editor properly, un-deprecate PDO wrapper functions and document them for posterity
2022-12-30 19:51:34 +03:00
Andrew Dolgov
a16acd65fc
batch feed editor:
...
- fix some field changes not applying because of DB type errors
- rework to use bound vars instead of sql query concatenation
deprecate: checkbox_to_sql_bool(), bool_to_sql_bool()
2022-12-30 19:07:15 +03:00
Andrew Dolgov
c0e77241d3
update gl translation label (2)
2022-08-22 19:10:06 +03:00
Andrew Dolgov
70f500bee9
update gl translation label
2022-08-22 19:08:59 +03:00
Andrew Dolgov
aca16a3448
enable gl translation (Galician)
2022-08-21 18:42:06 +03:00
wn_
c301053965
Use the null coalescing assignment operator in various places.
2022-08-12 18:21:38 +00:00
Andrew Dolgov
b17b4a4b9e
fix be locale label
2022-04-18 13:04:29 +03:00
Andrew Dolgov
ddb6f4316c
enable Belarusian translation (proper UI label pending)
2022-04-18 10:49:18 +03:00
Andrew Dolgov
77f39d65b5
* Feeds::_get_counters - fix retrieving unread for tags
...
* mark several symbols as @deprecated properly
* replace uses of (deprecated) getFeedUnread() with Feeds::_get_counters()
2022-02-20 11:04:40 +03:00
Andrew Dolgov
a109e89983
mark clean() return value as nullable
2021-11-23 17:01:08 +03:00
Andrew Dolgov
3323ae78ce
* sql_bool_to_bool: make parameter nullable
...
* errorhandler: don't try to truncate null strings
* UrlHelper::rewrite_relative: fix undefined offset warnings for URLs
that lack schema/host (data: etc)
2021-11-20 16:11:44 +03:00
wn_
cc220058e0
Address PHPStan warnings in 'include/functions.php'.
2021-11-11 21:37:34 +00:00
wn_
f704d25ab1
Address PHPStan warnings in 'classes/timehelper.php'.
2021-11-11 20:12:47 +00:00
wn_
03495c11ed
Address PHPStan warnings in 'classes/sanitizer.php'.
...
This also includes some minor tweaks to things that call 'Sanitizer::sanitize()'.
2021-11-11 19:59:25 +00:00
Andrew Dolgov
2c931df77c
remove SELF_USER_AGENT custom constant, replaced with configurable Config::HTTP_USER_AGENT / Config::get_user_agent()
2021-08-23 10:56:31 +03:00
Andrew Dolgov
4e9c3500fb
clarify some @deprecation notices
2021-06-17 11:27:00 +03:00
Andrew Dolgov
dff479af64
feeditem_atom: support xml:base for enclosures and entry content
...
UrlHelper::rewrite_relative: use base URL path if relative url path is not absolute (experimental)
2021-05-21 15:39:41 +03:00
Andrew Dolgov
27ab16b6dc
add Config::LOCAL_OVERRIDE_JS
2021-03-11 07:44:58 +03:00
Andrew Dolgov
4fda5ccd0e
fix a bunch of bookmarklets login forms not leading back
2021-03-04 13:40:54 +03:00
Andrew Dolgov
5eb0f3d640
bring back web dbupdate using new migrations system
2021-03-04 09:22:24 +03:00
Andrew Dolgov
d6629ed188
move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class
2021-03-02 15:03:01 +03:00
Andrew Dolgov
70adfd4a74
* sanitize: never rewrite relative links to our own prefix
...
* use Config::get_self_url() instead of get_self_url_prefix() in a bunch
of places
2021-03-02 08:16:41 +03:00
Andrew Dolgov
6359259dbb
simplify internal authentication code and bump default algo to SSHA-512
2021-03-01 15:24:18 +03:00
Andrew Dolgov
320503dd39
move version-related stuff to Config; fix conditional feed requests
2021-03-01 13:43:37 +03:00
Andrew Dolgov
1e6973307c
we don't need to initialize urlhelper properties
2021-03-01 10:23:44 +03:00
Andrew Dolgov
7ef72fe0dc
move startup checks to Config, set a bunch of @deprecated annotations
2021-03-01 10:20:21 +03:00
Andrew Dolgov
afc7142250
move all $fetch globals to UrlHelper
2021-02-28 10:12:57 +03:00
Andrew Dolgov
c1cd3324e3
bump schema for ttrss_user_labels2 indexes
2021-02-27 11:04:25 +03:00