| Age | Commit message (Collapse) | Author |
|
With MySQL support removed (b154bc7a10e46dc9fa0406996507c4fd410366da) this constant is unnecessary.
|
|
With MySQL support dropped this function is just an unnecessary layer of abstraction.
|
|
|
|
length limit of ttrss_feeds.auth_pass
|
|
|
|
|
|
* Pass in the profile so some preferences can be retrieved correctly.
* Consistently use the owner UID that gets passed in (previously some session var uses).
|
|
This introduces a helper to build a query part comparing a field against a past datetime (determined by '$now - $some_interval'), eliminating certain boilerplate code.
|
|
There's no point in passing '$long' unless '$no_smart_dt' is set to 'true'.
|
|
|
|
A few more characters in some places, but helps with readability.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Before this change curly braces wrapped the keyword and its value, making the pair get treated as leftover words.
Also make the search query modification and CSV parsing a bit clearer with some comments and minor refactoring.
|
|
messages and output
|
|
|
|
message.
The escape param is in the process of being eliminated, with PHP 8.4 deprecating passing anything but an empty string as its value.
For some reason they're leaving the default value (a backslash) as-is, meaning the default will cause a deprecation message.
This commit avoids that by setting the escape param to an empty string (see references below).
* https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_proprietary_csv_escaping_mechanism
* https://www.php.net/manual/en/function.str-getcsv.php
* https://old.reddit.com/r/PHP/comments/1eyum8c/new_deprecation_notices_in_php84_with_csv/
* https://nyamsprod.com/blog/csv-and-php8-4/
|
|
Displaying auxiliary info when there's nothing to load is being handled in 'Feeds::_format_headlines_list()'.
|
|
|
|
Also, prevent opening that dialog from modifying the URL.
|
|
YouTube, for some reason, puts theirs in 'body'.
|
|
This is to address a deprecation planned for PHP 8.4.
https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
|
|
This is essentially https://gitlab.tt-rss.org/wn/tt-rss/-/commit/1ccc0c8c1af04dd9654b585c6d07e3a75d944a0c without the renames and some other things related to Psalm.
|
|
The other approach (passing in individual params) was marked as deprecated a few years ago.
|
|
Related to the PSR-4 move via 865ecc87963dc3b26e66296616eef2a1cc41ac3f
|
|
|