You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2019/06/07 16:36:12 UTC

[allura] 01/03: [#8302] followup to [b53a5a] upgrade EW so files reload during development, even with compress(concat) on

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8302
in repository https://gitbox.apache.org/repos/asf/allura.git

commit d9e0935d41d66bc289a60f9c59a35579219d7a18
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Fri Jun 7 12:31:30 2019 -0400

    [#8302] followup to [b53a5a] upgrade EW so files reload during development, even with compress(concat) on
---
 Allura/allura/config/middleware.py | 1 +
 requirements.txt                   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Allura/allura/config/middleware.py b/Allura/allura/config/middleware.py
index 4cb3e41..6ddd6fc 100644
--- a/Allura/allura/config/middleware.py
+++ b/Allura/allura/config/middleware.py
@@ -160,6 +160,7 @@ def _make_core_app(root, global_conf, full_stack=True, **app_conf):
     app = ew.WidgetMiddleware(
         app,
         compress=True,
+        use_cache=not asbool(global_conf['debug']),
         script_name=app_conf.get('ew.script_name', '/_ew_resources/'),
         url_base=app_conf.get('ew.url_base', '/_ew_resources/'),
         extra_headers=eval(app_conf.get('ew.extra_headers', 'None')),
diff --git a/requirements.txt b/requirements.txt
index 6ec3224..91c1767 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9,7 +9,7 @@ Creoleparser==0.7.3
 decorator==3.3.2
 # dep of pypeline, sphinx
 docutils==0.12
-EasyWidgets==0.3.1
+EasyWidgets==0.3.2
 faulthandler==2.1
 feedparser==5.1.3
 FormEncode==1.2.4