summaryrefslogtreecommitdiff
path: root/classes/PluginHost.php
AgeCommit message (Collapse)Author
2025-05-04expose scheduled tasks to plugins, switch cache_starred_images plugin to use ↵Andrew Dolgov
them instead of housekeeping hook
2025-05-02move scheduled tasks to a separate class, add some try-catches, ↵Andrew Dolgov
improve/shorten logging and descriptions
2025-05-02rename article mark/publish hooksAndrew Dolgov
2025-05-02add workaround for due tasks because housekeeping is not run every minute, ↵Andrew Dolgov
fix last_run not updated to NOW() in the db
2025-05-02fix tasks_run never incrementedAndrew Dolgov
2025-05-02record task duration in secondsAndrew Dolgov
2025-05-02split housekeeping jobs to separate scheduled tasks on longer cooldown ↵Andrew Dolgov
intervals, add table to record task execution timestamps, bump schema
2025-05-01add plugin hooks invoked when articles get un/marked or un/publishedAndrew Dolgov
2025-04-27Remove unused 'PluginHost::HOOK_FORMAT_ARTICLE_CDM'.wn_
PHPStan 'method.notFound'.
2024-12-15minor PHPDoc cleanup in PluginHostwn_
2024-12-15Clean up some virtual feed stuff in PluginHost.wn_
Among other things, this makes 'PluginHost->add_feed()' return false if the feed was not added.
2024-12-15Revert some stuff based upon feedbackwn_
2024-12-14Use a native DNF type for 'PluginHost->get_feed_handler()'.wn_
2024-12-14Use the spread operator instead of 'array_merge' in more places.wn_
PHP 8.1 introduced support for merging string-key arrays (last array with a wins).
2024-11-23Use native union types in most places.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-01drop opentelemetryAndrew Dolgov
2024-08-04Replace basic 'isset()' cases with the null coalescing operator.wn_
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-02-21add HOOK_VALIDATE_SESSIONAndrew Dolgov
2023-10-27Merge branch 'master' of gitlab.tt-rss.org:tt-rss/tt-rssAndrew Dolgov
2023-10-27replace some dirname horrors with a separate unit-tested methodAndrew Dolgov
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