aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
AgeCommit message (Collapse)Author
2018-02-28Feed parsing: use author email when there's no author name (#1801)Gravatar perrinjerome
This is especially useful because when author is given as `<author>Author Name</author>` ( as in this example https://cyber.harvard.edu/rss/rss.html#ltauthorgtSubelementOfLtitemgt ), SimplePie will expose *Author Name* as `email`.
2018-01-02Replace "keep history" magic value by a constant (#1759)Gravatar Alexis Degrugillier
I think the use of a magic value repeated many times in the code is prone to have some errors made by people not knowing its meaning. Using a constant is a bit more safe. Judging by some comments in the code, I am not the only one.
2018-01-01Add mute strategy configuration (#1750)Gravatar Alexis Degrugillier
2017-12-17Remove warning for CURLOPT_FOLLOWLOCATION with open_basedir (#1734)Gravatar Alexandre Alapetite
For PHP 5.6.0- http://www.php.net/ChangeLog-5.php#5.6.0 https://bugs.php.net/bug.php?id=65646 https://github.com/FreshRSS/FreshRSS/pull/1733 https://github.com/FreshRSS/FreshRSS/pull/1657 https://github.com/FreshRSS/FreshRSS/issues/1655
2017-12-10Log rotation, use Minz_Log, new log constantsGravatar Alexandre Alapetite
ADMIN_LOG, API_LOG, PSHB_LOG
2017-10-08CURLOPT_FOLLOWLOCATION open_basedir bug (#1657)Gravatar Alexandre Alapetite
CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set https://github.com/FreshRSS/FreshRSS/issues/1655#issuecomment-334999448 https://stackoverflow.com/questions/6918623/curlopt-followlocation-cannot-be-activated
2017-10-07Remove SimplePie name from HTTP User-Agent stringGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1622#issuecomment-334928486 https://github.com/FreshRSS/FreshRSS/issues/1627 https://github.com/FreshRSS/FreshRSS/issues/1607
2017-09-24Quick fix PSHB encoding after Travis refactoringGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/1619 Related to https://github.com/FreshRSS/FreshRSS/pull/1633
2017-09-22Quick fix small bug from 1619 (#1633)Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/1619
2017-09-22[ci] Add Travis (#1619)Gravatar Frans de Jonge
* [ci] Add Travis * Exclude some libs * Semi-auto whitespace fixes * line length in SQLite * Exclude tests from line length * Feed.php line length * Feed.php: get rid of unnecessary concat * Feed.php: line length * bootstrap.php: no newline at end of file * Allow concatenating across multiple lines * Add Travis badge * do-install line length * update-or-create-user line length * cli/create-user line length * tests/app/Models/SearchTest.php fix indentation * tests/app/Models/UserQueryTest.php fix indentation * tests/app/Models/CategoryTest.php fix indentation * [fix] PHP 5.3 on precise * cli/do-install no spaces * cli/list-users line length * cli/reconfigure line length * empty catch statements * api/index line length nonsense * spaces before semicolon * app/Models/EntryDAO bunch of indentation * extra blank lines * spaces before comma in function call * testing tabwidth * increase to 10 * comment out tabwidth line * try older phpcs version 3.0.0RC4 * line length exception for app/install.php * proper spaces * stray spaces in i18n * Minz/ModelPdo line length * Minz whitespace * greader line length * greader elseif placement * app/Models/Feed.php spacing in function argument * ignore php 5.3 * app/Models/ConfigurationSetter.php stray whitespace * EntryDAOSQLite line length * I vote for higher max line length =P * ignore SQL * remove classname complaint * line length/more legible SQL * ignore line length nonsense * greader line length * feedController issues * uppercase TRUE, FALSE, NULL * revert * importExportController lowercase null * Share.php default value not necessary because ! is_array () a few lines down * CategoryDAO constants should be UPPERCASE * EntryDAO reduce line length * contentious autofix * Allow failures on all versions of PHP except 7.1 because reasons
2017-08-19Author HTML to textGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1590#issuecomment-313914174 https://github.com/FreshRSS/FreshRSS/pull/1592#issuecomment-320290049
2017-05-28SimplePie: Do not generate hash instead of GUIDGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1552
2017-05-07Fix download regressionGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1236#issuecomment-299732610
2017-05-07Download icon 💾 for other MIME typesGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1236#issuecomment-299627105
2017-04-10PSHB better unsubscribeGravatar Alexandre Alapetite
Cases when a user is deleted, or when a feed is deleted. Removed random key do reduce the risk of subscribing several times to the same PSHB feed.
2017-02-25Missing checkUsername and const pattenGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/1423 https://github.com/YunoHost-Apps/freshrss_ynh/issues/27#issuecomment-279792363
2016-10-22CLI list-users and create-userGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1095 https://github.com/FreshRSS/FreshRSS/issues/1090
2016-10-12Finalize cron refresh faviconsGravatar Alexandre Alapetite
2016-10-12Cron refresh faviconsGravatar Alexandre Alapetite
Related to https://github.com/FreshRSS/FreshRSS/issues/1181 https://github.com/FreshRSS/FreshRSS/issues/1298
2016-10-08W3C resource-priorities have been abandonnedGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1222
2016-10-05Take better advantage of other users refreshGravatar Alexandre Alapetite
2016-09-25API add feed bug with PSHBGravatar Alexandre Alapetite
2016-09-24Refactor controller add feedGravatar Alexandre Alapetite
2016-09-04Change style for podcast downloadGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1236
2016-09-03💾 in paragraphGravatar Alexandre Alapetite
2016-09-03Download icon 💾 for podcastsGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1236
2016-08-28SimplePie error message XML PCREGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1227
2016-08-28PSHB base_url bugGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1227 Bug if base_url does not end with /
2016-01-24PubSubHubbub unsubscribe requestGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1058
2015-08-04PubSubHubbub prevent subscribing too often in case of errorGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/939
2015-05-23PubSubHubbub: remove white listGravatar Alexandre Alapetite
The tests so far are good. Ready to test more broadly. https://github.com/FreshRSS/FreshRSS/pull/831 https://github.com/FreshRSS/FreshRSS/issues/312
2015-05-17PubSubHubbub better gestion of errorsGravatar Alexandre Alapetite
Do not assume that PubSubHubbub works until the first successul push https://github.com/FreshRSS/FreshRSS/issues/312#issuecomment-102706500
2015-05-16More PubSubHubbubGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/312 Show whether PubSubHubbub is enabled in the Web interface of feed configuration. When PubSubHubbub is used, do not pull refresh so often (hard-coded to max once per 24h for now). Improved logic for lease renewal, and some detection of lease problems. Updated read-me and changelog.
2015-05-15Change some error messagesGravatar Alexandre Alapetite
2015-05-15First alpha of PubSubHubbubGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/312 Using a white list limited to http://push-pub.appspot.com/feed for alpha testing.
2015-05-15First draft of PubSubHubbubGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/312 Requires setting base_url in config.php. Currently using the filesystem (no change to the database)
2015-05-10Merge branch 'Alkarex/Logging'Gravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/815
2015-05-09SQL: more robust purgeGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/798 https://github.com/FreshRSS/FreshRSS/issues/493
2015-04-04SQL: detection of updates, and preparation for better burgeGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/798 https://github.com/FreshRSS/FreshRSS/issues/493 SQLite not yet tested. Only MySQL tested so far.
2015-03-22SimplePie sanitize URLs for syslogGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/711 https://github.com/FreshRSS/FreshRSS/pull/715
2015-03-21SimplePie option to restaure syslog of HTTP requestsGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29Use url_remove_credentials to log URLGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29Remove calls to syslog()Gravatar Marien Fressinaud
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-06BREAKING FEATURE: Remove general in configGravatar Marien Fressinaud
General attribute has been removed from system config. Now subattributes (e.g. environment, salt, title, etc.) are directly accessible. YOU HAVE TO FIX YOUR ./data/config.php file! - Remove the general array - Values inside this array must be kept - To see what it must look like, please have a look to ./data/config.default.php (but keep your values!!). See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-05New configuration system (not working yet)Gravatar Marien Fressinaud
- Use only Minz_Configuration - register() method to load a new configuration file - get() to get a configuration - new exceptions related to configuration - fix a list configuration calls to have FRSS working Current problems to resolve: - How to handle configuration param verifications (i.e. check auth_type is a value from none, http_auth, persona or form) - We must use $conf = Minz_Configuration::get('system'); $general_conf = $conf->general; to access global system configuration which is quite annoying. How to change that? See https://github.com/FreshRSS/FreshRSS/issues/730
2014-11-12force_feed optionGravatar Alexandre Alapetite
By adding #force_feed at the end of the URL of a feed sent with a wrong content-type (mime) https://github.com/FreshRSS/FreshRSS/issues/456
2014-10-28SimplePie: cache feeds with errorsGravatar Alexandre Alapetite
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-05SimplePie enclosure bug workaroundGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/504
2014-08-19Error when feed does not existGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/579
2014-08-02Experimental: Removed lazyload.js and use postpone attribute insteadGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/316 The performance of lazyload.js was not good enough, and not really needed anyway. This change mostly affects mainly situations when the content of articles is shown by default, not so much when they are collapsed Using HTML5 lazyload and postpone attributes by default on all img, audio, iframe, video. http://www.w3.org/TR/resource-priorities/#attr-postpone Postpone attribute is removed by JavaScript if the user does not want the lazyload behaviour. In the case when users do want the lazyload behaviour, in normal view with articles hidden, we furthermore use the data-original approach to be sure to support current browsers. +Corrected some bugs with enclosures, and some images not appearing before the first scroll. +Now faster regex processing img and iframe at once (was not practical with lazyload.js)