summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
AgeCommit message (Collapse)Author
2023-04-13fix 881f8805bd behaving improperlyAndrew Dolgov
2023-04-09even more tracingAndrew Dolgov
2023-04-06filters: allow matching on tags if there are no tagsAndrew Dolgov
2023-02-17Handle fetch issues in 'RSSUtils::update_basic_info'.wn_
2023-02-03Minor tweak to favicon avg color debug log message.wn_
2023-02-03Don't set 'favicon_avg_color' on feed obj unless it's valid.wn_
2023-02-03Fix logging favicon-related bools in 'RSSUtils::update_rss_feed()'.wn_
2023-02-03Persist failure to detect favicon average color.wn_
Previously, an empty string returned by '\Colors\calculate_avg_color()' would be set as the 'favicon_avg_color' value, resulting in always reattempting average color calculation.
2023-02-03Ensure custom favicon color detection happens.wn_
2022-12-19 * bring back cache-busting for feed icons based on timestampAndrew Dolgov
* DiskCache: use singleton pattern to create less cache object instances * DiskCache: implement ETag
2022-12-02fix cleanup_feed_icons unlinking nonexistant files, limit it to actual feed ↵Andrew Dolgov
icons
2022-11-24migrate favicons directly to new cacheAndrew Dolgov
2022-11-24rework favicon storage to use DiskCacheAndrew Dolgov
2022-11-24DiskCache: tweak how expiration is invokedAndrew Dolgov
2022-11-24deprecate DiskCache->touch()Andrew Dolgov
2022-11-23update_rss_feed: use DiskCache to store feed dataAndrew Dolgov
2022-08-12Replace use of 'array_merge' with the spread operator and 'array_push' in ↵wn_
various places. This isn't supported for arrays with string keys until PHP 8.1. https://wiki.php.net/rfc/spread_operator_for_array
2022-08-12Use arrow functions in some places.wn_
2022-07-31update phpstan to 1.8.2Andrew Dolgov
2022-07-13some very minor php8.1 warnings fixedAndrew Dolgov
2022-06-09throttle updates if received HTTP 429 (Too Many Requests)Andrew Dolgov
2022-05-29fix custom-set site URLs never used while updating feedsAndrew Dolgov
2022-05-28when determining feed-specific favicon, instead of using first match or ↵Andrew Dolgov
generic fallback, go through entire list of determined favicon URLs
2022-02-17rewrite_relative: whitelist specific schemes for URLs with 'known' ↵Andrew Dolgov
content-types i.e. specified for enclosures
2022-02-03Replace deprecated `strftime`Felix Eckhofer
2022-01-25fix filter last_triggered not updatingAndrew Dolgov
2022-01-13update_rss_feed: juxtapose pdo and ORM commit on timestamp updateRichard Tollerton
If for whatever reason $pdo holds a DDL lock on ttrss_entries, it could block ORM's save, leading to a deadlock. To work around this, call $pdo->commit() before ORM::for_table()->save().
2021-12-20rssutils: rewrite several invocations of (deprecated) rewrite_relative_url() ↵Andrew Dolgov
to UrlHelper::rewrite_relative()
2021-12-20filters:Andrew Dolgov
* add filter action to ignore feed-provided tags * simplify handling of various filter-provided tags * bump schema to 146
2021-12-01Revert "replace strftime with date"Andrew Dolgov
This reverts commit 72e21f89ce2465fafc08a92dc2d216b55f355f28.
2021-11-30replace strftime with dateDavid Edler
2021-11-17Minor correction to RSSUtils::cache_enclosures() $enclosures param type.wip-phpstan-level6wn_
All FeedEnclosure values are currently strings, even though the numeric things get converted to int before getting inserted in 'ttrss_enclosures'.
2021-11-15Address PHPStan warnings in FeedItem classes.wn_
2021-11-11Address PHPStan warnings in 'classes/rssutils.php'.wn_
This also includes a minor tweak in 'update.php' to account for 'getopt()' potentially returning false (indicating failure).
2021-11-10add two helper account access levels:Andrew Dolgov
- read only - can't subscribe to more feeds, feed updates are skipped - disabled - can't login define used access levels as UserHelper constants and refactor code to use them instead of hardcoded numbers
2021-06-19Rewrite feed entry link as href contentPhilip Klempin
2021-04-12functions_enabled: trim spaces from disable_functions php ini settingAndrew Dolgov
2021-03-17Switch 'RSSUtils::update_basic_info' to ORMwn_
2021-03-09add another coalesce for rule inverseAndrew Dolgov
2021-03-09get_article_filters: set coalesce values for inverse and match_any_ruleAndrew Dolgov
2021-03-06general cleanup, set some type hintsAndrew Dolgov
2021-03-06fix some leftover variablesAndrew Dolgov
2021-03-06 * don't try to update custom set feed faviconsAndrew Dolgov
* cleanup update_rss_feed() a bit, use ORM
2021-03-05rename unfairly prefixed get_enclosures() in feeditemAndrew Dolgov
2021-03-04bring back web dbupdate using new migrations systemAndrew Dolgov
2021-03-02move dbupdater to db/updater; move base SCHEMA_VERSION constant inside ↵Andrew Dolgov
db/updater class
2021-03-02revise behavior of Feeds::_cat_ofAndrew Dolgov
2021-03-01revert back load_filters-related changesAndrew Dolgov
2021-03-01use orm for a bunch of short feed/cat queriesAndrew Dolgov
2021-03-01move version-related stuff to Config; fix conditional feed requestsAndrew Dolgov