summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
AgeCommit message (Collapse)Author
2018-12-08update_rss_feed: add log message if article is filtered outAndrew Dolgov
combine filters: fix crash on missing global function
2018-12-06do not try to update filter triggers if nothing was triggered (properly this ↵Andrew Dolgov
time)
2018-12-06do not try to update filter triggers if nothing was triggeredAndrew Dolgov
2018-12-06add ttrss_filters2.last_triggered (bump schema version)Andrew Dolgov
2018-12-06add HOOK_FILTER_TRIGGERED (for filter debugging)Andrew Dolgov
2018-11-30fix missing sprintf() argumentAndrew Dolgov
2018-11-30debug logging system rework:Andrew Dolgov
* support various logging levels per-message * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc * _debug() is kept as a compatibility shim for plugins
2018-11-23remove cache/simplepieAndrew Dolgov
2018-11-03better handle PDOExceptions during open transaction in feed updateAndrew Dolgov
2018-09-10cache_media: only touch() local file if it's writableAndrew Dolgov
2018-09-03update_daemon_common: do not abort entire batch if PDOException happens when ↵Andrew Dolgov
processing individual feeds
2018-08-21Merge branch 'pullreq-enclosure-content-type' of tkappe/tt-rss into masterfox
2018-08-18Differentiate enclosures based on content type.Tobias Kappé
Some RSS feeds contain multiple enclosures with the same URL. When the first of these is not recognized as an image, later entries are not added to the database as rows in ttrss_enclosures. This change differentiates enclosures based on their content type, so an entry can have multiple enclosure types with the same URL (but possibly a different content type).
2018-08-16cache_media: only show downloading debug message when actually downloadingAndrew Dolgov
2018-08-13remove FEED_CRYPT_KEY and everything related to itAndrew Dolgov
always assume auth_pass_encrypted is false
2018-08-12Sanitize language obtained for an entry.Tobias Kappé
2018-08-12Store language of entries as indicated by the feed.Tobias Kappé
2018-08-04Only strip utf8mb4 if mysql_charset != utf8mb4BtbN
If a user has fixed their database properly utf8mb4 works just fine allowing emoji and other 4 byte unicode characters to work.
2018-07-10update_rss_feed: limit maximum length of tsvector data because of pgsql ↵Andrew Dolgov
limitations
2018-05-20bump date_updated when updated article data is saved to exclude it from ↵Andrew Dolgov
purging (because it is still present in the originating feed)
2018-04-03pass tsvector data as a named parameter on article update, remove escaping hacksAndrew Dolgov
2018-02-11add a workaround to support numeric tagsAndrew Dolgov
2018-01-30include: convert some spaces to tabsAndrew Dolgov
2018-01-29strip utf8mb4 characters in enclosures on mysqlAndrew Dolgov
2018-01-22Fixed time stamping of new unmarked/unpublished articlesjsoares
2017-12-18update_rss_feed: don't try to use quoted NOW() in queryAndrew Dolgov
2017-12-10Include NOW() in prepared SQL for rssutils.phpRichard Mortimer
2017-12-03force strip_tags() on all user input unless explicitly allowedAndrew Dolgov
2017-12-03fix some minor issues found by code analyzerAndrew Dolgov
2017-12-03move feeds cache directory to cache/feedsAndrew Dolgov
2017-12-03force article content/etc to string when updating to avoid failing null ↵Andrew Dolgov
constraint check
2017-12-03rssutils: forbid question marks in tsvector data, PDO gets confused ↵Andrew Dolgov
sometimes even by quoted ?s
2017-12-03main classes: remove sql_bool_to_bool() kludgeAndrew Dolgov
2017-12-02update_rss_feed: transaction lock article processingAndrew Dolgov
2017-12-02rssutils: PDOAndrew Dolgov
2017-12-02rssutils: start PDO switchAndrew Dolgov
2017-11-30enforce unconditional requests every 6 hours even if server claims data is ↵Andrew Dolgov
not modified
2017-10-30fetch_file_contents: improve error handlingAndrew Dolgov
1. if request fails get error string from http response status line 2. do not override http error with possible CURL/php specific last error 3. fix silent php error generated while processing response headers to get last modified value
2017-10-09allows favicons to be in Windows PC BMP formatGilles Grandou
2017-09-26Only require an array of basic info from 'HOOK_FEED_BASIC_INFO'.wn_
Removes the need for the plugin to provide feed content. Gives plugins a chance to provide 'title' and 'site_url' basic info. Falls back to attempting retrieval+parsing of the fetch URL if needed.
2017-09-24Add 'HOOK_FEED_BASIC_INFO' to enable plugins to provide basic feed info.wn_
It's expected the plugin will return content parsable by FeedParser, which will act as an interface to the basic feed info. In the case of a plugin that also uses 'HOOK_FETCH_FEED', both might return the same content. The hook signature was made somewhat similar to 'HOOK_FETCH_FEED'.
2017-08-17add support for http 304 not modified (no timestamp calculation bullshit ↵Andrew Dolgov
like last time)
2017-08-06rssutils: include comment count when calculating article hashAndrew Dolgov
2017-07-02Revert "Revert "filters: support matching on multiple feeds/categories""Andrew Dolgov
This reverts commit f5d174bda96ddc41aa3828bf372a2a3d99cc4460.
2017-07-02Revert "filters: support matching on multiple feeds/categories"Andrew Dolgov
This reverts commit 0bf7e007bb3a7039ea11601c7f93c6da33604228.
2017-07-02filters: support matching on multiple feeds/categoriesAndrew Dolgov
opml: update filter export/import for new format
2017-06-13update_daemon_common: do not escape feed_url twice, remove some comments and ↵Andrew Dolgov
stuff
2017-05-29tunables:Andrew Dolgov
* add CACHE_MAX_DAYS as a tunable generic expiry interval for various cached files * add some comments to tunables in functions.php * rename _MIN_CACHE_FILE_SIZE to MIN_CACHE_FILE_SIZE * respect MIN_CACHE_FILE_SIZE setting in a few more places where content is cached
2017-05-16remove pubsubhubbub: deadAndrew Dolgov
2017-05-06fix DAEMON_SLEEP_INTERVAL not being defined when usedAndrew Dolgov
enforce minimum 60 sec spawn/sleep interval in update processes