wn_
2fa54cc627
Deprecate and remove use of the 'SUBSTRING_FOR_DATE' constant.
...
With MySQL support removed (b154bc7a10
) this constant is unnecessary.
2025-05-18 14:26:05 +00:00
wn_
c472f00445
Get rid of 'Db::past_comparison_qpart()'.
...
With MySQL support dropped this function is just an unnecessary layer of abstraction.
2025-05-17 19:08:15 +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
Andrew Dolgov
5dcb8db933
allow setting update interval in subcribe to feed dialog
2025-03-19 12:47:10 +03:00
wn_
434da183e7
Support using phrases in searches (PostgreSQL only).
2025-03-18 00:31:23 +00:00
wn_
4053af899f
Some improvements in 'Feeds::_search_to_sql()'.
...
* 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).
2025-03-15 22:37:17 +00:00
wn_
89b0332d38
Add and use 'Db::now_comparison_qpart()'.
...
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.
2025-03-04 18:34:35 +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_
119c7f13dc
Consistently handle the 'smart' display of default/never dates.
2024-12-15 17:47:27 +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_
9b0baf9b32
Use match expressions in some places.
2024-11-24 13:45:26 +00:00
wn_
abcd0e8ba2
Use native union types in most places.
2024-11-23 17:43:24 +00:00
wn
486c92240a
Fix array key warning in 'Feeds::_get_headlines()'.
2024-11-19 23:13:10 +00:00
wn_
154abc61a0
Eliminate use of deprecated 'get_pref()' and 'set_pref()'.
2024-11-18 21:59:45 +00:00
wn_
5a200755b8
Move 'IVirtualFeed' checks into 'PluginHost::get_feed_handler()'.
2024-11-12 03:49:58 +00:00
wn_
dca2ae60a1
Remove some PHPStan ignores and make others rule-specific.
2024-11-12 03:38:45 +00:00
wn_
a784305cc7
Address PHPStan findings as of 2.0.1
2024-11-12 03:15:53 +00:00
wn_
842e9af4cf
Feeds::_search_to_sql(): updates for clarity and SQL quoting.
2024-10-20 17:57:32 +00:00
wn_
142ca20cb0
Fix keyword searches with a quoted string value.
...
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.
2024-10-20 16:08:20 +00:00
Andrew Dolgov
5ea96397c0
properly support search queries in viewfeed debugger, improve some debugging messages and output
2024-10-15 19:58:52 +03:00
Andrew Dolgov
884fd92f13
drop opentelemetry
2024-10-01 16:00:34 +03:00
wn_
207d3dd48d
Set 'str_getcsv' escape param to empty string to avoid PHP 8.4 deprecation 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/
2024-08-24 14:22:12 +00:00
wn_
d167d5803f
Remove unused 'dashboard feed' code.
...
Displaying auxiliary info when there's nothing to load is being handled in 'Feeds::_format_headlines_list()'.
2024-08-14 01:05:11 +00:00
wn_
9dd4102c7f
Replace basic 'isset()' cases with the null coalescing operator.
2024-08-04 15:42:11 +00:00
wn_
5e7713a658
Add option to debug feeds in 'Feeds with update errors' dialog.
...
Also, prevent opening that dialog from modifying the URL.
2024-05-16 15:48:21 +00:00
wn_
7a5ea2a2b9
Check 'head' and 'body' when searching HTML for feed links.
...
YouTube, for some reason, puts theirs in 'body'.
2024-05-09 00:00:51 +00: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
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
wn_
90e7bf7cc3
Update all UrlHelper::fetch() calls to use the associative array approach.
...
The other approach (passing in individual params) was marked as deprecated a few years ago.
2023-12-30 15:39:17 +00:00
wn_
c7e1caf223
Fix class names in some more places.
...
Related to the PSR-4 move via 865ecc8796
2023-10-26 15:01:43 +00:00
Andrew Dolgov
865ecc8796
move to psr-4 autoloader
2023-10-25 12:55:09 +03:00