summaryrefslogtreecommitdiff
path: root/classes/Feeds.php
AgeCommit message (Collapse)Author
2025-04-14initial attempt to remove mysql-related stuff from tt-rssAndrew Dolgov
2025-04-08support transparent encryption for feed passwords, bump schema to drop ↵Andrew Dolgov
length limit of ttrss_feeds.auth_pass
2025-03-19allow setting update interval in subcribe to feed dialogAndrew Dolgov
2025-03-18Support using phrases in searches (PostgreSQL only).wn_
2025-03-15Some improvements in 'Feeds::_search_to_sql()'.wn_
* 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-04Add and use 'Db::now_comparison_qpart()'.wn_
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.
2024-12-15Don't bother passing unused arguments to 'TimeHelper::make_local_datetime()'.wn_
There's no point in passing '$long' unless '$no_smart_dt' is set to 'true'.
2024-12-15Consistently handle the 'smart' display of default/never dates.wn_
2024-11-24Use PHP 8 'str_' functions.wn_
A few more characters in some places, but helps with readability.
2024-11-24Use match expressions in some places.wn_
2024-11-23Use native union types in most places.wn_
2024-11-19Fix array key warning in 'Feeds::_get_headlines()'.wn
2024-11-18Eliminate use of deprecated 'get_pref()' and 'set_pref()'.wn_
2024-11-12Move 'IVirtualFeed' checks into 'PluginHost::get_feed_handler()'.wn_
2024-11-12Remove some PHPStan ignores and make others rule-specific.wn_
2024-11-12Address PHPStan findings as of 2.0.1wn_
2024-10-20Feeds::_search_to_sql(): updates for clarity and SQL quoting.wn_
2024-10-20Fix keyword searches with a quoted string value.wn_
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-15properly support search queries in viewfeed debugger, improve some debugging ↵Andrew Dolgov
messages and output
2024-10-01drop opentelemetryAndrew Dolgov
2024-08-24Set 'str_getcsv' escape param to empty string to avoid PHP 8.4 deprecation ↵wn_
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-14Remove unused 'dashboard feed' code.wn_
Displaying auxiliary info when there's nothing to load is being handled in 'Feeds::_format_headlines_list()'.
2024-08-04Replace basic 'isset()' cases with the null coalescing operator.wn_
2024-05-16Add option to debug feeds in 'Feeds with update errors' dialog.wn_
Also, prevent opening that dialog from modifying the URL.
2024-05-09Check 'head' and 'body' when searching HTML for feed links.wn_
YouTube, for some reason, puts theirs in 'body'.
2024-03-26Make implicit nullable parameters explicitly nullable.wn_
This is to address a deprecation planned for PHP 8.4. https://wiki.php.net/rfc/deprecate-implicitly-nullable-types
2024-01-08Clean up some unused variables.wn_
This is essentially https://gitlab.tt-rss.org/wn/tt-rss/-/commit/1ccc0c8c1af04dd9654b585c6d07e3a75d944a0c without the renames and some other things related to Psalm.
2023-12-30Update all UrlHelper::fetch() calls to use the associative array approach.wn_
The other approach (passing in individual params) was marked as deprecated a few years ago.
2023-10-26Fix class names in some more places.wn_
Related to the PSR-4 move via 865ecc87963dc3b26e66296616eef2a1cc41ac3f
2023-10-25move to psr-4 autoloaderAndrew Dolgov