Browse Source

10.4.4 release

Former-commit-id: 9c7881b67b1d0725e48bc4b858b6a7b6edb3d8dd
Gaudenz Alder 6 years ago
parent
commit
519ff55dcf

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+12-MAR-2019: 10.4.4
+
+- Adds blob.core.windows.net to known CORS urls
+- Fixes loading of Visio templates via proxy
+
 12-MAR-2019: 10.4.3
 
 - Uses mxGraph 4.0.1 beta 1

+ 1 - 1
VERSION

@@ -1 +1 @@
-10.4.3
+10.4.4

+ 1 - 1
src/main/webapp/cache.manifest

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 03/12/2019 09:54 AM
+# 03/12/2019 02:49 PM
 
 app.html
 index.html?offline=1

File diff suppressed because it is too large
+ 8 - 8
src/main/webapp/js/app.min.js


+ 1 - 1
src/main/webapp/js/diagramly/App.js

@@ -3223,7 +3223,7 @@ App.prototype.loadTemplate = function(url, onload, onerror, templateFilename)
 			
 			if (/(\.v(dx|sdx?))($|\?)/i.test(filterFn) || this.isVisioData(data))
 			{
-				this.importVisio(this.base64ToBlob(data.substring(data.indexOf(',') + 1)), function(xml)
+				this.importVisio(this.base64ToBlob(responseData.substring(responseData.indexOf(',') + 1)), function(xml)
 				{
 					onload(xml);
 				}, onerror, filterFn);

+ 1 - 1
src/main/webapp/js/diagramly/Editor.js

@@ -940,7 +940,6 @@
 	    return a;
 	};
 
-	//TODO This function is a replica of EditorUi one, it is planned to replace all calls to EditorUi one to point to this one
 	/**
 	 * Returns true if the given URL is known to have CORS headers.
 	 */
@@ -955,6 +954,7 @@
 			url.substring(0, 34) === 'https://raw.githubusercontent.com/' ||
 			url.substring(0, 23) === 'https://cdn.rawgit.com/' ||
 			url.substring(0, 19) === 'https://rawgit.com/' ||
+			/^https?:\/\/[^\/]*\.blob.core.windows.net\//.test(url) ||
 			/^https?:\/\/[^\/]*\.iconfinder.com\//.test(url) ||
 			/^https?:\/\/[^\/]*\.draw\.io\/proxy/.test(url) ||
 			/^https?:\/\/[^\/]*\.github\.io\//.test(url);

File diff suppressed because it is too large
+ 6 - 6
src/main/webapp/js/viewer.min.js