allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [allura] 01/01: [#8295] always compress (concat really) easywidgets css/js output, for consistency with live sites; upgrade EW for utf8 fix
Date Tue, 04 Jun 2019 16:56:01 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit b53a5a9e0ea92da588c29d6d7262e8035606856c
Author: Dave Brondsema <dave@brondsema.net>
AuthorDate: Tue Jun 4 12:55:53 2019 -0400

    [#8295] always compress (concat really) easywidgets css/js output, for consistency with
live sites; upgrade EW for utf8 fix
---
 Allura/allura/config/middleware.py | 3 +--
 requirements.txt                   | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Allura/allura/config/middleware.py b/Allura/allura/config/middleware.py
index b2373c4..df3815b 100644
--- a/Allura/allura/config/middleware.py
+++ b/Allura/allura/config/middleware.py
@@ -159,8 +159,7 @@ def _make_core_app(root, global_conf, full_stack=True, **app_conf):
     # Setup resource manager, widget context SOP
     app = ew.WidgetMiddleware(
         app,
-        compress=not asbool(global_conf['debug']),
-        # compress=True,
+        compress=True,
         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 71ea5bb..6ec3224 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
+EasyWidgets==0.3.1
 faulthandler==2.1
 feedparser==5.1.3
 FormEncode==1.2.4


Mime
View raw message