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 2026/07/17 14:29:07 UTC
(allura) branch db/webp created (now 81208e12f)
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a change to branch db/webp
in repository https://gitbox.apache.org/repos/asf/allura.git
at 81208e12f enable webp screenshots & attachments
This branch includes the following new commits:
new 81208e12f enable webp screenshots & attachments
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(allura) 01/01: enable webp screenshots & attachments
Posted by br...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch db/webp
in repository https://gitbox.apache.org/repos/asf/allura.git
commit 81208e12f8d36e5ff2a06034de9dcf965144a8c5
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Fri Jul 17 10:28:54 2026 -0400
enable webp screenshots & attachments
---
Allura/allura/controllers/attachments.py | 1 +
Allura/allura/model/filesystem.py | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Allura/allura/controllers/attachments.py b/Allura/allura/controllers/attachments.py
index 1552ecb91..bf87eb5ce 100644
--- a/Allura/allura/controllers/attachments.py
+++ b/Allura/allura/controllers/attachments.py
@@ -37,6 +37,7 @@
'image/bmp',
'image/tiff',
'image/x-icon',
+ 'image/webp',
)
diff --git a/Allura/allura/model/filesystem.py b/Allura/allura/model/filesystem.py
index 7926cb68a..a56ff6fb4 100644
--- a/Allura/allura/model/filesystem.py
+++ b/Allura/allura/model/filesystem.py
@@ -44,7 +44,9 @@
'image/png',
'image/x-png',
'image/gif',
- 'image/bmp'}
+ 'image/bmp',
+ 'image/webp',
+}
class File(MappedClass):