David Benson [draw.io] пре 4 година
родитељ
комит
e8ae557a1d

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+26-OCT_2020: 13.8.3
+
+- Gliffy import improvements
+- Updates Spanish translations
+
+
 24-OCT-2020: 13.8.2
 
 - Lucidchart import improvements

+ 1 - 1
VERSION

@@ -1 +1 @@
-13.8.2
+13.8.3

Разлика између датотеке није приказан због своје велике величине
+ 2 - 2
src/main/webapp/js/app.min.js


+ 15 - 5
src/main/webapp/js/diagramly/Devel.js

@@ -14,10 +14,13 @@ if (!mxIsElectron && location.protocol !== 'http:')
 			// storage.googleapis.com is needed for workbox-service-worker
 			'script-src %script-src% \'self\' https://viewer.diagrams.net https://storage.googleapis.com ' +
 				'https://apis.google.com https://*.pusher.com https://code.jquery.com ' +
-				// Bootstrap script in index.html (checked for changes in App.main
-				// in dev mode to avoid deployment without updating this SHA)
+				// Below are the SHAs of the two script blocks in index.html.
+				// These must be updated here and in the CDN after changes.
+				//----------------------------------------------------------//
+				//------------- Bootstrap script in index.html -------------//
+				//----------------------------------------------------------//
+				// Version 13.8.2
 				'\'sha256-1k6pyjDIKgd1KTCRcmDfV6Yc9vgQexHRTiO4zUBoKg8=\' ' +
-				'\'sha256-vS/MxlVD7nbY7AnV+0t1Ap338uF7vrcs7y23KjERhKc=\' ' +
 				// Version 13.8.1
 				'\'sha256-/fZb/J4FQmI/TwyxqJbvALWSyGVEvnTrlj4ZTzZNKzI=\' ' +
 				// Version 13.7.9
@@ -26,10 +29,17 @@ if (!mxIsElectron && location.protocol !== 'http:')
 				'\'sha256-+CrvFhadGyk1VjhHM/t3R88LNSEKManW3TGSZi9fmHQ=\' ' +
 				// Versions before 13.7.5
 				'\'sha256-JqdgAC+ydIDMtmQclZEqgbw94J4IeABIfXAxwEJGDJs=\' ' +
-				// App.main script in index.html
+				//---------------------------------------------------------//
+				//------------- App.main script in index.html -------------//
+				//---------------------------------------------------------//
+				// Version 13.8.2
+				'\'sha256-vS/MxlVD7nbY7AnV+0t1Ap338uF7vrcs7y23KjERhKc=\' ' +
+				// Version 13.7.5
 				'\'sha256-dIEi9UhRQPcyoE9/RPfkIPLe2mSS8oQzwabGMLAZzGE=\' ' +
 				// Versions before 13.7.5
-				'\'sha256-4Dg3/NrB8tLC7TUSCbrtUDWD/J6bSLka01GHn+qtNZ0=\'; ' +
+				'\'sha256-4Dg3/NrB8tLC7TUSCbrtUDWD/J6bSLka01GHn+qtNZ0=\' ' +
+				//---------------------------------------------------------//
+				'; ' +
 			'connect-src %connect-src% \'self\' https://*.draw.io https://*.diagrams.net ' +
 				'https://*.googleapis.com wss://*.pusher.com https://*.pusher.com ' +
 				'https://api.github.com https://raw.githubusercontent.com https://gitlab.com ' +

+ 2 - 2
src/main/webapp/js/diagramly/Extensions.js

@@ -12398,11 +12398,11 @@ LucidImporter = {};
 	
 	function handleTextRotation(v, p)
 	{
-		if (p.Text_TRotation)
+		if (p.Text_TRotation || p.TextRotation)
 		{
 			try
 			{
-				var deg = mxUtils.toDegree(p.Text_TRotation);
+				var deg = mxUtils.toDegree(p.Text_TRotation) +  mxUtils.toDegree(p.TextRotation);
 				
 				if (deg != 0 && v.value)
 				{

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

@@ -17,7 +17,7 @@ window.isSvgBrowser = window.isSvgBrowser || navigator.userAgent == null ||
 	navigator.userAgent.indexOf('MSIE') < 0 || document.documentMode >= 9;
 
 // CUSTOM_PARAMETERS - URLs for save and export
-window.DRAWIO_BASE_URL = window.DRAWIO_BASE_URL || ((/.*\.draw\.io$/.test(window.location.hostname)) ?
+window.DRAWIO_BASE_URL = window.DRAWIO_BASE_URL || ((/.*\.draw\.io$/.test(window.location.hostname)) || (/.*\.diagrams\.net$/.test(window.location.hostname)) ?
 	window.location.protocol + '//' + window.location.hostname : 'https://app.diagrams.net');
 window.DRAWIO_LIGHTBOX_URL = window.DRAWIO_LIGHTBOX_URL || 'https://viewer.diagrams.net';
 window.EXPORT_URL = window.EXPORT_URL || 'https://exp.draw.io/ImageExport4/export';

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
src/main/webapp/js/viewer-static.min.js


Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
src/main/webapp/js/viewer.min.js


+ 1 - 1
src/main/webapp/service-worker.js

@@ -6,7 +6,7 @@ if (workbox)
 	workbox.precaching.precacheAndRoute([
   {
     "url": "js/app.min.js",
-    "revision": "0e87c7a99826a5fb32b4c7694376f69d"
+    "revision": "7ebbf9c7172e768bc0263302beaf6b17"
   },
   {
     "url": "js/extensions.min.js",