Alexandre Alapetite
ba0e690235
SimplePie 1.5.8 manual upgrade ( #4113 )
...
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4011
Instead of https://github.com/FreshRSS/FreshRSS/pull/4102
* bea5de77af
* 5aab77e105
* 76be63e72e
2022-01-02 18:11:42 +01:00
Alexandre Alapetite
b21fe199ed
Manual update SimplePie ( #4011 )
...
* 417a1661b2
* ebdd0643ee
* 941412027a
* f58a23730f
2021-12-01 23:24:18 +01:00
Alexandre Alapetite
224b20edd1
Merge upstream SimplePie PR details ( #3614 )
...
https://github.com/simplepie/simplepie/pull/681
https://github.com/simplepie/simplepie/pull/680
https://github.com/simplepie/simplepie/pull/675
2021-05-08 00:56:54 +02:00
Alexandre Alapetite
d0d5f1ce3f
Merge SimplePie changes ( #3588 )
...
Related to https://github.com/simplepie/simplepie/pull/676
from https://github.com/FreshRSS/FreshRSS/pull/1087
2021-04-17 18:10:47 +02:00
Alexandre Alapetite
a57fa9975a
Fix wrong SimplePie type hint ( #3578 )
...
`SimplePie_Cache` also exists but is something else.
2021-04-08 23:34:21 +02:00
Alexandre Alapetite
eeff1a17b0
Suport standard HTTP 410 Gone ( #3561 )
...
When a feed returns an HTTP 410 Gone, mute the corresponding feed, i.e. stop refreshing it.
Example of such feed, Les Décodeurs (Libération) https://rss.liberation.fr/rss/100893/
2021-03-26 19:13:23 +01:00
Alexandre Alapetite
b7fdfbb894
SimplePie prevent cache pollution ( #3502 )
...
* SimplePie prevent cache polution
#fix https://github.com/FreshRSS/FreshRSS/pull/3367#issuecomment-766250249
#fix https://github.com/FreshRSS/FreshRSS/pull/3494#issuecomment-790113663
* Fix bug
* Minor improvement
* Update cache filename in FreshRSS (1/2)
* cacheFilename temp
* New SimplePie get_cache_filename()
* Fix typos
* Update lib/SimplePie/SimplePie.php
Typo
* Include user-agent and timeout
* fix array_merge
* Declaration
* force_feed was lost in a commit
2021-03-09 08:41:47 +01:00
Alexandre Alapetite
75711c3647
Manual update to SimplePie 1.5.6 ( #3469 )
...
* Manual update to SimplePie 1.5.6
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/3206 (1.5.5)
Differences
692e8bc19b...155cfcfacd
Related to https://github.com/FreshRSS/FreshRSS/pull/3416 ,
https://github.com/FreshRSS/FreshRSS/pull/3404
* Typo
2021-02-20 23:38:36 +01:00
Kiblyn11
0e6ad01dbf
Fix: handle very big feed ( #3416 )
...
* fix: handle big xml files which cause out of memory exceptions by working with chunks in cleanMd5 function (because of preg_replace) and parse (because of xml_parse)
* Review
* Fixes in error handling (case of the last call to xml_parse, case of
error during fopen, break in case of XML error...)
* Takes advantage of the chunking for computing the cache hash
* Larger chunks of 1MB
Co-authored-by: e <bokes74743@tjuln.com >
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2021-02-17 21:50:25 +01:00
Alexandre Alapetite
23c43b1fbf
Fix return type for broken feeds ( #3423 )
...
Fix a rare error when an invalid feed is forced to be added again.
FreshRSS code (not upstream)
2021-02-06 00:58:51 +01:00
Alexandre Alapetite
8ec2b257df
Update SimplePie (PHP8) ( #3206 )
...
Contributes to https://github.com/FreshRSS/FreshRSS/issues/3082
Includes https://github.com/FreshRSS/FreshRSS/pull/3180
Differences:
aaad78e6da...692e8bc19b
2020-10-03 15:18:44 +02:00
Alexandre Alapetite
9997acd611
Minor SimplePie merge ( #2870 )
...
https://github.com/FreshRSS/FreshRSS/pull/2852 was merged upstream
https://github.com/simplepie/simplepie/pull/643
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2814
2020-04-01 22:42:32 +02:00
Alexandre Alapetite
e424f45b8c
SimplePie use distint cache for force_feed ( #2852 )
...
#fix https://github.com/FreshRSS/FreshRSS/issues/2524
In general, we should avoid using the same cache for feeds that are fetched with distinct parameters / settings..
PR upstream to SimplePie https://github.com/simplepie/simplepie/pull/643
2020-03-28 20:24:31 +01:00
Alexandre Alapetite
9716071918
SimplePie 1.5.4 ( #2814 )
...
https://github.com/simplepie/simplepie/compare/1.5.3..a72e1dfafe7870affdae3edf0d9a494e4fa31bc6
Follow up of the update to 1.5.3
https://github.com/FreshRSS/FreshRSS/pull/2702
Requires PHP 5.6+
https://github.com/FreshRSS/FreshRSS/pull/2527#issuecomment-592952451
2020-02-29 22:29:52 +01:00
Craig Andrews
ecd00854be
Manual update to SimplePie 1.5.3 ( #2702 )
2019-12-06 18:10:06 +01:00
Alexandre Alapetite
c9e46dce86
Manual update to SimplePie 1.5.2 ( #2136 )
2018-11-18 11:36:35 +01:00
Alexandre Alapetite
7ab4a2609a
Support for media: tags ( #1920 )
...
* Support for media: tags
https://github.com/FreshRSS/FreshRSS/issues/944
E.g. YouTube
* Fix for medium attribute
* Changelog 944
https://github.com/FreshRSS/FreshRSS/issues/944
https://github.com/FreshRSS/FreshRSS/pull/1920
* enclosure styling
* Compatibility old enclosure content
2018-06-06 21:29:22 +02:00
Alexandre Alapetite
dd65cb0f9c
Manual merge upstream SimplePie
2017-05-28 02:02:21 +02:00
Jonas Östanbäck
e825822ba0
Add syslog_enabled in one more file create call
2017-05-09 19:16:57 +02:00
Jonas Östanbäck
d6bd90a801
Add syslog_enabled when creating new simplepie_file
2017-05-09 17:55:01 +02:00
Alexandre Alapetite
cc235c6af3
SimplePie light manual update
2017-03-26 15:02:35 +02:00
Alexandre Alapetite
531f6ada99
SimplePie better message
2016-08-28 16:37:35 +02:00
Alexandre Alapetite
ccecebc2b4
SimplePie error message XML PCRE
...
https://github.com/FreshRSS/FreshRSS/issues/1227
2016-08-28 16:35:54 +02:00
Alexandre Alapetite
8ae96d000a
SimplePie trim
...
https://github.com/FreshRSS/FreshRSS/issues/1142
2016-04-30 23:53:23 +02:00
Alexandre Alapetite
685c0ad2f8
SimplePie HTTPS updated comments
...
https://github.com/FreshRSS/FreshRSS/issues/1083
2016-02-29 17:20:23 +01:00
Alexandre Alapetite
9711f02db7
SimplePie Force HTTPS custom list domains
...
Load from data/force-https.default.txt and data/force-https.txt
Efficient tree structure to search the domains
https://github.com/FreshRSS/FreshRSS/pull/1087
2016-02-28 21:34:54 +01:00
Alexandre Alapetite
cb114a341b
Merge some pull requests from upstream
...
silent Warning cast with PHP 5.3.3 (RHEL-6)
https://github.com/simplepie/simplepie/pull/258
Use rss:pubDate over atom:updated when determining the posting date
https://github.com/simplepie/simplepie/pull/288
Update Item.php: add support for media thumbnails
https://github.com/simplepie/simplepie/pull/340
Remove PHP Notices https://github.com/simplepie/simplepie/pull/353
And removed "FreshRSS" annotations for pull requests submitted upstream
Fixed a typo in Date.php (wrong number for September)
https://github.com/simplepie/simplepie/pull/374
Remove duplicate case https://github.com/simplepie/simplepie/pull/406
Added set_curl_options method to allow custom options
https://github.com/simplepie/simplepie/pull/407
Improved error message https://github.com/simplepie/simplepie/pull/412
2015-07-12 00:35:31 +02:00
Alexandre Alapetite
ad9fe52f5a
SimplePie sanitize URLs for syslog
...
https://github.com/FreshRSS/FreshRSS/issues/711
https://github.com/FreshRSS/FreshRSS/pull/715
2015-03-22 22:54:29 +01:00
Alexandre Alapetite
1a35e2271d
SimplePie option to restaure syslog of HTTP requests
...
https://github.com/FreshRSS/FreshRSS/issues/711
2015-03-21 18:20:36 +01:00
Marien Fressinaud
59ea9f2a3b
Remove calls to syslog()
...
Temporary fix:
- Change syslog by Minz_Log::notice in most of the files
- Logs are stored in USERS_PATH/_/log.txt for actualize_script.php
- Simply comment syslog in SimplePie
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29 10:14:45 +01:00
Alexandre Alapetite
56ac35095a
Better error message for inaccessible feeds
...
https://github.com/FreshRSS/FreshRSS/issues/456
2014-11-12 22:23:59 +01:00
Alexandre Alapetite
00127f07c5
SimplePie: cache feeds with errors
...
Before the cache system was not used for feeds with errors, which was
problematic especially if several users have this feed.
Furthermore, there was no protection against repetitive refresh.
Bonus: slightly better performance by avoiding some superfluous
file_exists().
Warning: needs a bit of testing
https://github.com/marienfressinaud/FreshRSS/issues/681
2014-10-28 23:52:46 +01:00
Alexandre Alapetite
63c9c47a76
SimplePie HTTP 301 Moved Permanently
...
Add support for HTTP 301 Moved Permanently in SimplePie
FreshRSS will automatically update the address of a feed, only in this
case.
2014-07-01 23:30:01 +02:00
Alexandre Alapetite
17a603b333
SimplePie patch accepted
...
Merged into master branch of SimplePie
https://github.com/simplepie/simplepie/pull/352
2014-05-17 12:08:47 +02:00
Alexandre Alapetite
d51048196b
Revert "SimplePie : tolérance caractères UTF-8 invalides"
...
This reverts commit 7e66db7782 .
2014-02-17 00:15:42 +01:00
Alexandre Alapetite
0d387081df
SimplePie: Update to 1.4-dev
...
Manual merge of SimplePie master (1.4-dev)
Preparation to ease submitting patches upstream.
2014-02-17 00:12:56 +01:00
Alexandre Alapetite
7e66db7782
SimplePie : tolérance caractères UTF-8 invalides
...
Meilleure implémentation de
f5251384c4
pour corriger https://github.com/marienfressinaud/FreshRSS/issues/419
Revert partiel de
316778ef47 (diff-d8be58dcfea709da6131af81563c5c9fR1350)
2014-02-16 21:34:30 +01:00
Alexandre Alapetite
9aab83af11
SimplePie : Meilleur cache des flux avec signature MD5
...
Contribue à
https://github.com/marienfressinaud/FreshRSS/issues/351#issuecomment-31755012
Pour les flux qui ne supportent pas les requêtes conditionnelles.
Filtre les tags et commentaires gênants avant la signature (style
<lastBuildDate> qui change tout le temps sans que le contenu change,
<slash:comments>, ainsi que les commentaires XML qui détruisent le cache
comme <!-- généré en X secondes -->)
Il reste quelques flux à débogger dont le cache n'est pas encore
optimal. C'est pour cela qu'il reste quelques syslog(LOG_DEBUG, ...).
Au passage, évite que SimplePie fasse une double requête pour vérifier
le cache si le serveur est un peu lent.
Un jour, il faudra nettoyer les changements faits à SimplePie et leur
remonter les patchs les plus intéressants.
2014-02-02 22:09:16 +01:00
Alexandre Alapetite
02d1dac0bb
Rafraîchissement des flux en cache compatible multi-utilisateurs
...
Compatibilité multi-utilisateurs pour la mise à jour rapide des flux
avec cache
Correction de
cf8ee6bd48 (commitcomment-5247478)
Contribue à
https://github.com/marienfressinaud/FreshRSS/issues/351#issuecomment-31755012
2014-02-01 20:13:42 +01:00
Alexandre Alapetite
cf8ee6bd48
Rafraîchissement des flux en cache super rapide
...
Contribue à
https://github.com/marienfressinaud/FreshRSS/issues/351#issuecomment-31755012
Les flux non-modifiés et en cache ne coûtent maintenant presque plus
rien (304, ou délai de cache SimplePie non expiré), alors qu'avant
toutes les entrées étaient rechargées
2014-02-01 14:04:37 +01:00
Alexandre Alapetite
7e6d2eb6f4
Encore plus de flux tolérés avec leurs erreurs
...
Corrige https://github.com/marienfressinaud/FreshRSS/issues/332
2013-12-25 14:21:29 +01:00
Alexandre Alapetite
25fa654529
Resource-priorities
...
Prépare http://www.w3.org/TR/resource-priorities/
https://github.com/marienfressinaud/FreshRSS/issues/316
https://github.com/marienfressinaud/FreshRSS/issues/313
Continue https://github.com/marienfressinaud/FreshRSS/issues/188
e45357a91b
2013-12-05 19:18:28 +01:00
Alexandre Alapetite
316778ef47
Un morceau de tolérance XML oublié
2013-11-07 19:27:52 +01:00
Marien Fressinaud
a88e61ca1e
Màj de la librairie SimplePie, fix bug #48
2013-04-10 21:35:10 +02:00