summaryrefslogtreecommitdiff
path: root/plugins/cache_starred_images
AgeCommit message (Collapse)Author
2022-12-19 * bring back cache-busting for feed icons based on timestampAndrew Dolgov
* DiskCache: use singleton pattern to create less cache object instances * DiskCache: implement ETag
2022-11-24deprecate DiskCache->touch()Andrew Dolgov
2022-08-12Replace use of 'array_merge' with the spread operator and 'array_push' in ↵wn_
various places. This isn't supported for arrays with string keys until PHP 8.1. https://wiki.php.net/rfc/spread_operator_for_array
2022-01-16Fix starred images not being deletedPhilip Klempin
2021-11-18 * base plugin class: correct description of hook_house_keeping()Andrew Dolgov
* cache_starred_images: keep status files in a separate cache directory
2021-11-14deal with phpstan warnings in plugins/cache_starred_images.phpAndrew Dolgov
2021-11-14normalize some mismatching hook function definitions to match base Plugin classAndrew Dolgov
2021-03-01hide version for bundled plugins because it's meaningless; for everything ↵Andrew Dolgov
else support showing version using git (if about[0] is null)
2021-02-22migrate the rest into Config::Andrew Dolgov
2021-02-17cache_starred_images: don't try to use undefined array indexAndrew Dolgov
2021-02-17cache_starred_images: minor fixesAndrew Dolgov
2021-02-15diskcache: unify namingAndrew Dolgov
2021-02-08remove PHPMD.UnusedFormalParameterAndrew Dolgov
2020-10-01hide uninteresting errors in several DOMDocument->loadHTML() invocationsAndrew Dolgov
2020-09-22remove a lot of stuff from global context (functions.php), add a few helper ↵Andrew Dolgov
classes instead
2019-08-14consistency: use DiskCache->exists() to check for present filesAndrew Dolgov
2019-08-14retire MIN_CACHE_FILE_SIZEAndrew Dolgov
2019-08-14DiskCache: more strict checking for input filenames, getUrl() is no longer ↵Andrew Dolgov
static
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-06-20move more globals to more appropriate placesAndrew Dolgov
set libxml to always use internal errors
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
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-30cache_starred_articles: limit maximum amount of download attempts ↵Andrew Dolgov
per-article, consider cache operation a success even if all images were too small (prevents repeated requests)
2018-05-20implement hard limits on downloaded data size for general fetching and cache ↵Andrew Dolgov
plugins: MAX_DOWNLOAD_FILE_SIZE & MAX_CACHE_FILE_SIZE
2017-12-03plugins/cache_starred_images: use PDOAndrew Dolgov
2017-10-08remove apache-specific x-sendfile stuffAndrew Dolgov
implement a hook (HOOK_SEND_LOCAL_FILE) which plugins may use to send files via httpd-specific implementation to increase performance typically on larger files
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-04-26update phpmd ruleset to use (subset) of cleancodeAndrew Dolgov
fix various minor issues reported by static analysis remove redundant php closing tag from several more files
2017-02-04image cache: do not try to cache data: schema urls; add caching of html5 ↵Andrew Dolgov
video content (similar to cache_starred_images plugin)
2016-01-06cache_starred_images: set filename when sending cached imageAndrew Dolgov
2015-07-07cache_starred_images: also handle html5 mp4 video filesAndrew Dolgov
2015-02-25cache_starred_images: route images to public.phpAndrew Dolgov
2014-08-21remove ob_clean/flush shit as unneeded hacks from cached image output routinesAndrew Dolgov
2013-10-05discard gzipped buffer in cache starred image sender methodAndrew Dolgov
2013-09-06cache starred: only try to chmod cache directory if it is not writableAndrew Dolgov
2013-08-02make cache starred plugin use hook_house_keepingAndrew Dolgov
2013-08-02add plugin to cache images in starred articles; pass article_id toAndrew Dolgov
sanitize