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

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit 5235933232411c0b5bc05f483c30b2b6d21f0a7c
Author: Greg Stein <[email protected]>
AuthorDate: Sat Feb 21 21:15:14 2026 -0600

    Serve third-party content from our own servers.
    
    Sortable is MIT licensed: safe to copy/serve.
    
    Update the fetching script. Add the JS. Update vote-on with the new
    link and correct integrity value.
---
 v3/server/bin/fetch-thirdparty.sh   | 4 ++--
 v3/server/static/js/Sortable.min.js | 2 ++
 v3/server/templates/vote-on.ezt     | 4 ++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/v3/server/bin/fetch-thirdparty.sh 
b/v3/server/bin/fetch-thirdparty.sh
index 47e6859..0b09639 100755
--- a/v3/server/bin/fetch-thirdparty.sh
+++ b/v3/server/bin/fetch-thirdparty.sh
@@ -29,9 +29,9 @@ I_VERSION="1.13.1"
 I_DIST="bootstrap-icons-${I_VERSION}"
 
I_URL="https://github.com/twbs/icons/releases/download/v${I_VERSION}/${I_DIST}.zip";
 
-S_VERSION="1.15.0"
+S_VERSION="1.15.7"
 S_DIST="Sortable-${S_VERSION}"
-S_URL="https://github.com/SortableJS/Sortable/releases/download/${S_VERSION}/${S_DIST}.zip";
+S_URL="https://github.com/SortableJS/Sortable/archive/refs/tags/${S_VERSION}.zip";
 
 THIS_DIR=$(dirname "`realpath $0`")
 PARENT_DIR=$(dirname "$THIS_DIR")
diff --git a/v3/server/static/js/Sortable.min.js 
b/v3/server/static/js/Sortable.min.js
new file mode 100644
index 0000000..8148b9d
--- /dev/null
+++ b/v3/server/static/js/Sortable.min.js
@@ -0,0 +1,2 @@
+/*! Sortable 1.15.7 - MIT | git://github.com/SortableJS/Sortable.git */
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof 
module?module.exports=e():"function"==typeof 
define&&define.amd?define(e):(t=t||self).Sortable=e()}(this,function(){"use 
strict";function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var 
n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function 
i(t,e,n){return(e=function(t){t=function(t,e){if("object"!=typeof t||!t)return 
t;var n=t[Symbol.toPrimitive];if(void 
0===n)return("string"===e?String:Number)(t);e=n.call(t,e||"default");if("o [...]
\ No newline at end of file
diff --git a/v3/server/templates/vote-on.ezt b/v3/server/templates/vote-on.ezt
index 6bee370..2fe4457 100644
--- a/v3/server/templates/vote-on.ezt
+++ b/v3/server/templates/vote-on.ezt
@@ -319,8 +319,8 @@
 
 
 <!-- SortableJS -->
-<script 
src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.15.2/Sortable.min.js";
-        
integrity="sha512-Re8HTXL7IfXyPBPlWJMOFsUhxDJQkFMb1fTRhDHXbSon5NHKKVgUj0FIZEEMjJd0P9AhBRY+J6FfrqeGHmZQ=="
+<script src="/static/js/Sortable.min.js"
+        
integrity="sha384-DgmC6Xe2bSN2WjTDXzWYbUbxyhNP+NNkGDR/g78pCXV7E7rcVTGxVg0uIVCUUcBc"
         crossorigin="anonymous" referrerpolicy="no-referrer"></script>
 
 <script>

Reply via email to