allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: [#6342] bump markdown version, invalidate markdown cache, for small fix.
Date Thu, 12 Oct 2017 16:47:41 GMT
Repository: allura
Updated Branches:
  refs/heads/db/6342 [created] 27c46d4fc


[#6342] bump markdown version, invalidate markdown cache, for small fix.

Would be good to upgrade much further, but there are various regressions,
mostly with markdown internal placeholders showing up in the output, which is
no good.  This starts at 2.3 and perhaps is because of our own extensions
needing update, but also I think due to handling invalid markdown (e.g.
markdown within html) differently -- but I don't want that to break.  More info
at https://github.com/Python-Markdown/markdown/issues/458 and
https://github.com/Python-Markdown/markdown/issues/222


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/27c46d4f
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/27c46d4f
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/27c46d4f

Branch: refs/heads/db/6342
Commit: 27c46d4fc1c395928820351311278bdd82934802
Parents: 875f714
Author: Dave Brondsema <dave@brondsema.net>
Authored: Thu Oct 12 12:46:09 2017 -0400
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Thu Oct 12 12:46:09 2017 -0400

----------------------------------------------------------------------
 Allura/allura/lib/app_globals.py | 2 +-
 requirements.txt                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/27c46d4f/Allura/allura/lib/app_globals.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/app_globals.py b/Allura/allura/lib/app_globals.py
index 749edda..883634d 100644
--- a/Allura/allura/lib/app_globals.py
+++ b/Allura/allura/lib/app_globals.py
@@ -105,7 +105,7 @@ class ForgeMarkdown(markdown.Markdown):
                 field_name, artifact.__class__.__name__)
             return self.convert(source_text)
 
-        bugfix_rev = 3  # increment this if we need all caches to invalidated (e.g. xss in
markdown rendering fixed)
+        bugfix_rev = 4  # increment this if we need all caches to invalidated (e.g. xss in
markdown rendering fixed)
         md5 = None
         # If a cached version exists and it is valid, return it.
         if cache.md5 is not None:

http://git-wip-us.apache.org/repos/asf/allura/blob/27c46d4f/requirements.txt
----------------------------------------------------------------------
diff --git a/requirements.txt b/requirements.txt
index 7eb11fd..eba6442 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -20,7 +20,7 @@ html5lib==0.999
 httplib2==0.7.4
 iso8601==0.1.4
 Jinja2==2.9.6
-Markdown==2.2.0
+Markdown==2.2.1
 Ming==0.5.5
 oauth2==1.5.170
 # tg2 dep PasteDeploy must specified before TurboGears2, to avoid a version/allow-hosts problem


Mime
View raw message