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
758752684c
cache_starred_articles: limit maximum amount of download attempts per-article, consider cache operation a success even if all images were too small (prevents repeated requests)
6 years ago
Andrew Dolgov
b14f6d58b4
implement hard limits on downloaded data size for general fetching and cache plugins: MAX_DOWNLOAD_FILE_SIZE & MAX_CACHE_FILE_SIZE
7 years ago
Andrew Dolgov
96930889dd
plugins/cache_starred_images: use PDO
7 years ago
Andrew Dolgov
8b73bd28d8
remove apache-specific x-sendfile stuff
...
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
7 years ago
Andrew Dolgov
6fd0399694
tunables:
...
* 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
8 years ago
Andrew Dolgov
21ce7d9ec0
update phpmd ruleset to use (subset) of cleancode
...
fix various minor issues reported by static analysis
remove redundant php closing tag from several more files
8 years ago
Andrew Dolgov
5edd605ae1
image cache: do not try to cache data: schema urls; add caching of html5 video content (similar to cache_starred_images plugin)
8 years ago
Andrew Dolgov
c203486e04
cache_starred_images: set filename when sending cached image
9 years ago
Andrew Dolgov
88bf000f8d
cache_starred_images: also handle html5 mp4 video files
9 years ago
Andrew Dolgov
95ebe737bd
cache_starred_images: route images to public.php
10 years ago
Andrew Dolgov
849c66b783
remove ob_clean/flush shit as unneeded hacks from cached image output routines
10 years ago
Andrew Dolgov
ae3851b1b5
discard gzipped buffer in cache starred image sender method
11 years ago
Andrew Dolgov
f5967cf825
cache starred: only try to chmod cache directory if it is not writable
11 years ago
Andrew Dolgov
4e5ddeafa6
make cache starred plugin use hook_house_keeping
11 years ago
Andrew Dolgov
910592b49a
add plugin to cache images in starred articles; pass article_id to
...
sanitize
11 years ago