Commit Graph

71 Commits (7ab99f0c327ce069b36d349c0abfdc56c58a70b0)

Author SHA1 Message Date
Andrew Dolgov 6914ad1f74 retire MIN_CACHE_FILE_SIZE 5 years ago
Andrew Dolgov 84974c60a7 RSSUtils::cache_media, cache_enclosures: use DiskCache 5 years ago
Andrew Dolgov fdb6066bf6 * HOOK_ENCLOSURE_ENTRY: pass article_id to handler
* 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
5 years ago
Andrew Dolgov 19b9b27662 expire_cached_files to DiskCache::expire() 5 years ago
Andrew Dolgov 088fcf8131 move more globals to more appropriate places
set libxml to always use internal errors
5 years ago
Andrew Dolgov 4fa9aee4e7 move several more global functions to more appropriate classes 5 years ago
Andrew Dolgov 9423d72f6c parser: force libxml error messages to valid utf8 6 years ago
Andrew Dolgov c936cc3a1f use DEFAULT_SEARCH_LANGUAGE to generate tsvector index if per-feed language is not specified, also use it as default value on search form for convenience 6 years ago
Andrew Dolgov 671f4cee65 domdocument: remove old meta charset unicode hacks, replace with shorter xml preamble utf8 hack (on loadhtml where it makes sense)
af_readability: better (?) charset hack for non-unicode pages
6 years ago
Andrew Dolgov 33a2d5f8e4 update_rss_feed: set basic feed info if site_url is blank 6 years ago
Andrew Dolgov 69a691f4e1 cleanup old feed browser cache 6 years ago
Andrew Dolgov 0b74db5ad7 remove feedbrowser (other feeds) 6 years ago
Andrew Dolgov 38e01270d8 archived feeds: expire old entries (schema bump) 6 years ago
Andrew Dolgov 13e7e775a3 update_rss_feed: mark_unread_on_update should take into account catchup filter action and entry_force_catchup 6 years ago
Andrew Dolgov 949bfa3457 add minor clean()-ing on some rss feed values 6 years ago
Andrew Dolgov eedd402807 rssutils: don't gzdecode() stuff 6 years ago
Andrew Dolgov a5517fe857 fetch_file_contents: decompress gzipped data
af_readability: remove utf8 preamble hack
6 years ago
Andrew Dolgov 958fbfedb6 rssutils: check if returned data is in gzip format before trying to decode it 6 years ago
JustAMacUser 4b2f3039d2 Properly report filter plugin time (re-fixes PR 98). 6 years ago
JustAMacUser 53602096b9 Fixed misplaced bracket. 6 years ago
Andrew Dolgov f3737c0b24 update_rss_feed: add log message if article is filtered out
combine filters: fix crash on missing global function
6 years ago
Andrew Dolgov 1e3a53c037 do not try to update filter triggers if nothing was triggered (properly this time) 6 years ago
Andrew Dolgov 5780a5d501 do not try to update filter triggers if nothing was triggered 6 years ago
Andrew Dolgov 3e4326e34d add ttrss_filters2.last_triggered (bump schema version) 6 years ago
Andrew Dolgov a01c33d654 add HOOK_FILTER_TRIGGERED (for filter debugging) 6 years ago
Andrew Dolgov 3ad9944d5e fix missing sprintf() argument 6 years ago
Andrew Dolgov c10a43069e debug logging system rework:
* support various logging levels per-message
 * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
 * _debug() is kept as a compatibility shim for plugins
6 years ago
Andrew Dolgov 2d54eb1a87 remove cache/simplepie 6 years ago
Andrew Dolgov 2c940c4861 better handle PDOExceptions during open transaction in feed update 6 years ago
Andrew Dolgov 665495b94b cache_media: only touch() local file if it's writable 6 years ago
Andrew Dolgov 62d0060aa1 update_daemon_common: do not abort entire batch if PDOException happens when processing individual feeds 6 years ago
fox 8ab77d19ef Merge branch 'pullreq-enclosure-content-type' of tkappe/tt-rss into master 6 years ago
Tobias Kappé ac8a0e7dc6 Differentiate enclosures based on content type.
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).
6 years ago
Andrew Dolgov 163b50b15f cache_media: only show downloading debug message when actually downloading 6 years ago
Andrew Dolgov 069aea5989 remove FEED_CRYPT_KEY and everything related to it
always assume auth_pass_encrypted is false
6 years ago
Tobias Kappé 3bbaf902ab Sanitize language obtained for an entry. 6 years ago
Tobias Kappé 22a866edb5 Store language of entries as indicated by the feed. 6 years ago
BtbN 2b8afd4942 Only strip utf8mb4 if mysql_charset != utf8mb4
If a user has fixed their database properly utf8mb4 works just fine allowing emoji and other 4 byte unicode characters to work.
6 years ago
Andrew Dolgov 6e6c3a878d update_rss_feed: limit maximum length of tsvector data because of pgsql limitations 6 years ago
Andrew Dolgov 66fe33e769 bump date_updated when updated article data is saved to exclude it from purging (because it is still present in the originating feed) 7 years ago
Andrew Dolgov 963c22646b pass tsvector data as a named parameter on article update, remove escaping hacks 7 years ago
Andrew Dolgov 5edf4b73a4 add a workaround to support numeric tags 7 years ago
Andrew Dolgov 7f4a404566 include: convert some spaces to tabs 7 years ago
Andrew Dolgov 102a01354b strip utf8mb4 characters in enclosures on mysql 7 years ago
jsoares 26ad257de5 Fixed time stamping of new unmarked/unpublished articles 7 years ago
Andrew Dolgov d4c05d0be2 update_rss_feed: don't try to use quoted NOW() in query 7 years ago
Richard Mortimer aa16334f1f Include NOW() in prepared SQL for rssutils.php 7 years ago
Andrew Dolgov e6532439d6 force strip_tags() on all user input unless explicitly allowed 7 years ago
Andrew Dolgov 7c6f7bb0aa fix some minor issues found by code analyzer 7 years ago
Andrew Dolgov 342e8a9eeb move feeds cache directory to cache/feeds 7 years ago