From e934d809061623f97eace064b7741b764fa03524 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 6 Aug 2015 18:18:53 +0200 Subject: [PATCH] Add image proxy --- CHANGELOG.md | 1 + com.woltlab.wcf/option.xml | 24 +++++ wcfsetup/install/files/acp/install.php | 12 +++ wcfsetup/install/files/js/WCF.ImageViewer.js | 2 +- .../install/files/js/WoltLab/WCF/Ui/Dialog.js | 7 +- .../lib/action/ImageProxyAction.class.php | 89 +++++++++++++++++++ .../lib/system/bbcode/ImageBBCode.class.php | 37 +++++++- .../cronjob/DailyCleanUpCronjob.class.php | 9 ++ 8 files changed, 173 insertions(+), 8 deletions(-) create mode 100644 wcfsetup/install/files/lib/action/ImageProxyAction.class.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 95c9806abf..f5c767e1ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ * Replaced old user bulk processing with new implementation using the abstract bulk processing system. * `conditionContainers` template event in template `noticeAdd.tpl` added. * Use condition system for user search. +* Image proxy for images included with the image BBCode. * Overhauled Redactor integration * Linebreaks mode instead of using paragraphs, works better with the PHP-side parser which works with linebreaks * Ported the PHP-BBCode parser, massively improves accuracy and ensures validity \ No newline at end of file diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index a08960ffad..2d908677a4 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -204,6 +204,9 @@ message.general + + message.general + message @@ -971,6 +974,27 @@ redis:cache_source_redis_host,!cache_source_memcached_host]]> + + + + + +