summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
AgeCommit message (Collapse)Author
2021-02-15article: unify namingAndrew Dolgov
2021-02-15feeds: unify namingAndrew Dolgov
2021-02-12force _ENABLED_PLUGINS to string when passed to pluginhostAndrew Dolgov
2021-02-08remove PHPMD.UnusedFormalParameterAndrew Dolgov
2021-02-08rewrite a few more hooksAndrew Dolgov
2021-02-08move some old-style handlers to new callback onesAndrew Dolgov
2021-02-08pluginhost: rework run_hooks() to be shorter, add callback variant; ↵Andrew Dolgov
implement exception handling for both
2021-02-08oops, remove unneeded warningsAndrew Dolgov
2021-02-08jimIcon: hide GD warningAndrew Dolgov
2021-02-06fix several warnings reported by phpstanAndrew Dolgov
2021-02-06fix a few more warningsAndrew Dolgov
2021-02-05initial WIP for php8; bump php version requirement to 7.0Andrew Dolgov
2021-01-17Archive cleanup:Andrew Dolgov
- remove code to manually archive/unarchive articles - remove ttrss_archived_feeds/orig_feed_id handling - the whole thing was implemented for this data to be kept indefinitely; it doesn't make a lot of sense to deal with this stuff now that it is expired after one month anyway (same reasons as feed browser being removed - privacy) - remove "originally from"-related stuff because of the above - also remove unused remaining frontend/backend code related to feed browser (rip)
2021-01-15pluginhost: load plugin data automatically (also marks load_data method as ↵Andrew Dolgov
private)
2020-12-20update_rss_feed: fix BLACKLISTED_TAGS not working properly, simplify ↵Andrew Dolgov
tag-related code
2020-10-29Fix incorrect parenthesis placement in `count()`.JustAMacUser
2020-10-18mark feed as having an error if update task fails (and no last error is ↵Andrew Dolgov
already stored for this feed)
2020-10-01when auto disabling feeds based on DAEMON_UNSUCCESSFUL_DAYS_LIMIT only ↵Andrew Dolgov
consider feeds with recent attempts to update (to prevent clashes with not recently logged users, etc)
2020-10-01hide uninteresting errors in several DOMDocument->loadHTML() invocationsAndrew Dolgov
2020-09-30add DAEMON_UNSUCCESSFUL_DAYS_LIMIT tunable (defaults to 30 days)Andrew Dolgov
2020-09-30set ttrss_feeds.last_successful_update as neededAndrew Dolgov
2020-09-29housekeeping: add task to cleanup orphan feed iconsAndrew Dolgov
2020-09-29Logger::log - allow specifying errnoAndrew Dolgov
bump severity of PDO exception log messages to E_USER_WARNING
2020-09-28update_rss_feed: fallback to previous method if passthru() is not availableAndrew Dolgov
2020-09-28accept -1 as a valid exit code for per-feed update processesAndrew Dolgov
2020-09-28don't mention last_updated in non-zero failure error message because that's ↵Andrew Dolgov
not what it means
2020-09-28improve logging for per-feed update task failuresAndrew Dolgov
2020-09-27update_rss_feed: don't return as if failed on http 304Andrew Dolgov
2020-09-27update-feed: exit with non-zero exit code if update_rss_feed() failedAndrew Dolgov
daemon: log if per-feed update task terminated with non-zero exit code
2020-09-27lock per-feed update processes based on feed ID to reduce possibiltyAndrew Dolgov
of concurrent updates
2020-09-27update individual feed in a separate process to prevent PHP fatal errorsAndrew Dolgov
(for example, OOM) from stopping the entire batch this should also slightly increase memory budget for update processes
2020-09-22fix updater never scheduling feeds for update if they never been updated ↵Andrew Dolgov
before while having default update interval set
2020-09-22use self:: in some places to invoke static methods from the same classAndrew Dolgov
2020-09-22remove a lot of stuff from global context (functions.php), add a few helper ↵Andrew Dolgov
classes instead
2020-09-21clarify some URL validation-related error messagesAndrew Dolgov
2020-09-21update_rss_feed: log effective URL after fetchingAndrew Dolgov
validate_url: treat scheme as case-insensitive
2020-09-17replace FALSE with false so that static analyzer shuts up about itAndrew Dolgov
2020-09-17don't try to update manually disabled feeds even if they haven't been ↵Andrew Dolgov
updated before or are marked for a manual update
2020-06-24core: pass found enclosures to HOOK_ARTICLE_FILTERAndrew Dolgov
af_redditimgur: remove enclosures if we found something to embed because it's going to be a low-res thumbnail
2020-06-15better support for image srcset attributes as discussed in ↵Andrew Dolgov
https://community.tt-rss.org/t/problem-with-img-srcset/3519
2020-05-17calculate_article_hash: don't die() on previous, woopsAndrew Dolgov
2020-05-17calculate_article_hash: ignore some useless or read-only fields (i.e. GUID) ↵Andrew Dolgov
when calculating hash
2020-05-17* store UID in article hashed GUID separately so it could be migrated ↵Andrew Dolgov
cleanly to a different instance * store resulting GUID as a JSON object so it could be extended easier if needed
2020-04-29DiskCache: properly deal with srcset attributesAndrew Dolgov
2020-04-29remove unneeded var_dump()Andrew Dolgov
2020-04-29* add HOOK_ENCLOSURE_IMPORTEDAndrew Dolgov
* pass feed id to HOOK_FEED_PARSED
2020-03-12add support for video[@src] in media cachelllusion3418
it's a valid alternative to a source[@src] child element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
2020-03-12actually download <video> posters to media cachelllusion3418
video[@poster] is already supported in the rewriting logic but never actually downloaded
2020-02-28add validationtextarea control, use it for filter match editorAndrew Dolgov
2020-01-24scrap counter cache system; rework counters to sum() booleans insteadAndrew Dolgov