Gaudenz Alder 7 anni fa
parent
commit
3734029abf

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+18-SEP-2018: 9.1.6
+
+- Updates connection arrows and handle colors
+
 17-SEP-2018: 9.1.5
 
 - Fixes folder picker callback

+ 1 - 1
VERSION

@@ -1 +1 @@
-9.1.5
+9.1.6

+ 1 - 0
src/main/java/com/mxgraph/io/gliffy/model/GliffyObject.java

@@ -208,6 +208,7 @@ public class GliffyObject implements PostDeserializable
 		SHAPES_COORD_FIX.put("com.gliffy.shape.uml.uml_v2.deployment.device_node", new double[]{0, -10, 10, 10});
 		SHAPES_COORD_FIX.put("com.gliffy.shape.uml.uml_v2.deployment.execution_environment_node", new double[]{0, -10, 10, 10});
 		SHAPES_COORD_FIX.put("com.gliffy.shape.flowchart.flowchart_v1.default.data_storage", new double[]{0, 0, 0.115, 0});
+		SHAPES_COORD_FIX.put("com.gliffy.shape.flowchart.flowchart_v1.default.database", new double[]{0, 0, 0, 0.15});
 		//these shapes cannot be resized (width is fixed) in Gliffy 
 		SHAPES_COORD_FIX.put("com.gliffy.stencil.entity_lifeline.uml_v2", new double[]{10, 0, -20, 0});
 		SHAPES_COORD_FIX.put("com.gliffy.stencil.boundary_lifeline.uml_v2", new double[]{35, 0, -70, 0});

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

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 09/17/2018 05:10 PM
+# 09/18/2018 06:12 PM
 
 app.html
 index.html?offline=1

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


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


File diff suppressed because it is too large
+ 55 - 59
src/main/webapp/js/atlas.min.js


+ 0 - 14
src/main/webapp/js/diagramly/Editor.js

@@ -4,20 +4,6 @@
  */
 (function()
 {
-	// Getting feedback for new connect arrows
-	(function()
-	{
-		if (urlParams['arrows'] == 'new')
-		{
-			var fill = '#29b6f2';
-		    HoverIcons.prototype.triangleUp = Graph.createSvgImage(18, 38, '<path d="m 6 36 L 12 36 L 12 12 L 18 12 L 9 1 L 1 12 L 6 12 z" stroke="#fff" fill="' + fill + '"/>');
-		    HoverIcons.prototype.triangleRight = Graph.createSvgImage(36, 18, '<path d="m 1 6 L 24 6 L 24 1 L 36 9 L 24 18 L 24 12 L 1 12 z" stroke="#fff" fill="' + fill + '"/>');
-		    HoverIcons.prototype.triangleDown = Graph.createSvgImage(18, 36, '<path d="m 6 1 L 6 24 L 1 24 L 9 36 L 18 24 L 12 24 L 12 1 z" stroke="#fff" fill="' + fill + '"/>');
-		    HoverIcons.prototype.triangleLeft = Graph.createSvgImage(38, 18, '<path d="m 1 9 L 12 1 L 12 6 L 36 6 L 36 12 L 12 12 L 12 18 z" stroke="#fff" fill="' + fill + '"/>');
-		    HoverIcons.prototype.roundDrop = Graph.createSvgImage(26, 26, '<circle cx="13" cy="13" r="12" stroke="#fff" fill="' + fill + '"/>');
-		}
-	})();
-	
 	/**
 	 * Specifies the app name. Default is document.title.
 	 */

+ 0 - 4
src/main/webapp/js/diagramly/ElectronApp.js

@@ -671,10 +671,6 @@ FeedbackDialog.feedbackUrl = 'https://log.draw.io/email';
 			this.fileObject.type = 'utf-8';
 			this.save(false, success, error);
 		}
-        else if (error != null)
-		{
-			error();
-		}
 	};
 
 	App.prototype.saveFile = function(forceDialog)

+ 0 - 19
src/main/webapp/js/diagramly/Minimal.js

@@ -265,28 +265,9 @@ EditorUi.initMinimalTheme = function()
     mxWindow.prototype.closeImage = Graph.createSvgImage(18, 10, '<path d="M 5 1 L 13 9 M 13 1 L 5 9" stroke="#C0C0C0" stroke-width="2"/>').src;
     mxWindow.prototype.minimizeImage = Graph.createSvgImage(14, 10, '<path d="M 3 7 L 7 3 L 11 7" stroke="#C0C0C0" stroke-width="2" fill="#ffffff"/>').src;
     mxWindow.prototype.normalizeImage = Graph.createSvgImage(14, 10, '<path d="M 3 3 L 7 7 L 11 3" stroke="#C0C0C0" stroke-width="2" fill="#ffffff"/>').src;
-    mxVertexHandler.prototype.handleImage = Graph.createSvgImage(16, 16, '<circle cx="8" cy="8" r="5" stroke="' + stroke + '" fill="' + fill + '"/>');
-    mxEdgeHandler.prototype.handleImage = mxVertexHandler.prototype.handleImage;
-    mxEdgeHandler.prototype.terminalHandleImage = Graph.createSvgImage(16, 16, '<circle cx="8" cy="8" r="5" stroke="' + stroke + '" fill="' + fill + '"/><circle cx="8" cy="8" r="3" stroke="' + stroke + '" fill="' + fill + '"/>');
-    mxEdgeHandler.prototype.fixedHandleImage = Graph.createSvgImage(16, 16, '<circle cx="8" cy="8" r="5" stroke="' + stroke + '" fill="' + fill + '"/><path d="m 6 6 L 10 10 M 6 10 L 10 6" stroke="' + stroke + '"/>');
     mxConstraintHandler.prototype.pointImage = Graph.createSvgImage(5, 5, '<path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke="' + fill + '"/>');
-    HoverIcons.prototype.triangleUp = Graph.createSvgImage(18, 38, '<path d="m 6 36 L 12 36 L 12 12 L 18 12 L 9 1 L 1 12 L 6 12 z" stroke="#fff" fill="' + fill + '"/>');
-    HoverIcons.prototype.triangleRight = Graph.createSvgImage(36, 18, '<path d="m 1 6 L 24 6 L 24 1 L 36 9 L 24 18 L 24 12 L 1 12 z" stroke="#fff" fill="' + fill + '"/>');
-    HoverIcons.prototype.triangleDown = Graph.createSvgImage(18, 36, '<path d="m 6 1 L 6 24 L 1 24 L 9 36 L 18 24 L 12 24 L 12 1 z" stroke="#fff" fill="' + fill + '"/>');
-    HoverIcons.prototype.triangleLeft = Graph.createSvgImage(38, 18, '<path d="m 1 9 L 12 1 L 12 6 L 36 6 L 36 12 L 12 12 L 12 18 z" stroke="#fff" fill="' + fill + '"/>');
-    HoverIcons.prototype.roundDrop = Graph.createSvgImage(26, 26, '<circle cx="13" cy="13" r="12" stroke="#fff" fill="' + fill + '"/>');
     HoverIcons.prototype.arrowSpacing = 0;
     mxOutline.prototype.sizerImage = null;
-
-    if (window.Sidebar != null)
-    {
-        Sidebar.prototype.triangleUp = HoverIcons.prototype.triangleUp;
-        Sidebar.prototype.triangleRight = HoverIcons.prototype.triangleRight;
-        Sidebar.prototype.triangleDown = HoverIcons.prototype.triangleDown;
-        Sidebar.prototype.triangleLeft = HoverIcons.prototype.triangleLeft;
-        Sidebar.prototype.refreshTarget = HoverIcons.prototype.refreshTarget;
-        Sidebar.prototype.roundDrop = HoverIcons.prototype.roundDrop;
-    }
     
     mxConstants.VERTEX_SELECTION_COLOR = '#C0C0C0';
     mxConstants.EDGE_SELECTION_COLOR = '#C0C0C0';

File diff suppressed because it is too large
+ 47 - 46
src/main/webapp/js/embed-static.min.js


File diff suppressed because it is too large
+ 21 - 11
src/main/webapp/js/mxgraph/Graph.js


File diff suppressed because it is too large
+ 47 - 46
src/main/webapp/js/reader.min.js


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


+ 2 - 1
src/main/webapp/plugins/tickets.js

@@ -105,7 +105,8 @@ Draw.loadPlugin(function(ui)
 		var dl = deskDomain.length;
 		
 		return config != null && link.substring(0, dl) == deskDomain &&
-			link.substring(dl, dl + 18) == '/helpdesk/tickets/';
+			(link.substring(dl, dl + 18) == '/helpdesk/tickets/' ||
+			link.substring(dl, dl + 11) == '/a/tickets/');
 	};
 	
 	function getIdForDeskLink(link)