mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-16 12:27:20 -04:00
* Add FeedsListBeforeActualize hook. Closes #8650 Implement new hook to allow extensions to modify the list of feeds to actualize. How to test the feature manually: 1. Add several feeds from a single site (e.g. reddit and YT). 2. Add feeds to other sites. 3. Add and enable the extension https://github.com/pe1uca/xExtension-Declumping 4. Call `php app/actualize_script.php` to update feeds with a different order. A log like this one is needed to properly see the behavior. ```php foreach ($feeds as $key => $value) { syslog(LOG_INFO, "$key: {$value->name()} ({$value->url()})"); } ``` Sort in alphabetical order. * Implement call to hook * Remove duplicate return * Fix PHPStan error * Update documentation * Sanitize hook response * Markdown cleaning --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Libraries
SimplePie
FreshRSS uses a forked version of SimplePie, with a number of patches.
See the read-me of our fork.
Updating libraries
Some of the libraries in this folder can be updated semi-automatically by invoking:
cd ./FreshRSS/lib/
composer update --no-autoloader
Remember to read the change-logs, proof-read the changes, preserve possible local patches, add irrelevant files to .gitignore (minimal installation), and test before committing.