summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
AgeCommit message (Collapse)Author
2019-11-25cache media: set referrer to source URL when fetching imagesAndrew Dolgov
2019-11-20tag-related fixesAndrew Dolgov
1. move tag sanitization to feedparser common item class 2. enforce length limit on tags when parsing 3. support multiple tags passed via one dc:subject and other such elements, parse them as a comma-separated list 4. sort resulting tag list to prevent different order between feed updates 5. remove some duplicate code related to tag validation 6. allow + symbol in tags
2019-11-17reset domain hit quota on feed update startAndrew Dolgov
2019-11-14update_rss_feed: add specific logging for HOOK_FETCH_FEED, ↵Andrew Dolgov
HOOK_FEED_FETCHED, HOOK_FEED_PARSED handlers
2019-11-12is_gzipped: don't try to strpos() over entire bufferAndrew Dolgov
2019-10-25allow article filters to modify num_commentsAndrew Dolgov
2019-09-30update_rss_feed: force cast initial timestamp value to integerAndrew Dolgov
2019-09-11rework previous to pass unformatted timestamp to plugin, and deal with ↵Andrew Dolgov
formatting later also, move timestamp-related debugging output after plugin handler
2019-09-11pass formatted entry timestamp to article filters and allow them to modify itAndrew Dolgov
2019-08-14retire MIN_CACHE_FILE_SIZEAndrew Dolgov
2019-08-14RSSUtils::cache_media, cache_enclosures: use DiskCacheAndrew Dolgov
2019-08-13* HOOK_ENCLOSURE_ENTRY: pass article_id to handlerAndrew Dolgov
* DiskCache: multiple fixes; support isWritable() for cache entries, set content-disposition for send() * public/cached_url: allow selecting files from sub-caches other than images * plugins/Cache_Starred_Images: rework to use DiskCache, can be enabled per-user, properly handles article enclosures, etc
2019-08-13expire_cached_files to DiskCache::expire()Andrew Dolgov
2019-06-20move more globals to more appropriate placesAndrew Dolgov
set libxml to always use internal errors
2019-06-20move several more global functions to more appropriate classesAndrew Dolgov
2019-05-12parser: force libxml error messages to valid utf8Andrew Dolgov
2019-04-10use DEFAULT_SEARCH_LANGUAGE to generate tsvector index if per-feed language ↵Andrew Dolgov
is not specified, also use it as default value on search form for convenience
2019-03-21domdocument: remove old meta charset unicode hacks, replace with shorter xml ↵Andrew Dolgov
preamble utf8 hack (on loadhtml where it makes sense) af_readability: better (?) charset hack for non-unicode pages
2019-03-15update_rss_feed: set basic feed info if site_url is blankAndrew Dolgov
2019-03-06cleanup old feed browser cacheAndrew Dolgov
2019-03-06remove feedbrowser (other feeds)Andrew Dolgov
2019-03-06archived feeds: expire old entries (schema bump)Andrew Dolgov
2019-02-06update_rss_feed: mark_unread_on_update should take into account catchup ↵Andrew Dolgov
filter action and entry_force_catchup
2018-12-26add minor clean()-ing on some rss feed valuesAndrew Dolgov
2018-12-21rssutils: don't gzdecode() stuffAndrew Dolgov
2018-12-21fetch_file_contents: decompress gzipped dataAndrew Dolgov
af_readability: remove utf8 preamble hack
2018-12-14rssutils: check if returned data is in gzip format before trying to decode itAndrew Dolgov
2018-12-12Properly report filter plugin time (re-fixes PR 98).JustAMacUser
2018-12-12Fixed misplaced bracket.JustAMacUser
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