Ver código fonte

15.4.2 release

David Benson [draw.io] 3 anos atrás
pai
commit
6930623db1
75 arquivos alterados com 3742 adições e 3382 exclusões
  1. 11 0
      ChangeLog
  2. 1 1
      VERSION
  3. 1258 1255
      src/main/webapp/js/app.min.js
  4. 25 2
      src/main/webapp/js/diagramly/App.js
  5. 57 33
      src/main/webapp/js/diagramly/EditorUi.js
  6. 3 2
      src/main/webapp/js/diagramly/Menus.js
  7. 101 127
      src/main/webapp/js/grapheditor/EditorUi.js
  8. 23 18
      src/main/webapp/js/grapheditor/Format.js
  9. 19 1
      src/main/webapp/js/grapheditor/Graph.js
  10. 12 5
      src/main/webapp/js/grapheditor/Menus.js
  11. 968 967
      src/main/webapp/js/viewer-static.min.js
  12. 968 967
      src/main/webapp/js/viewer.min.js
  13. 1 1
      src/main/webapp/mxgraph/mxClient.js
  14. 2 0
      src/main/webapp/plugins/cConf-1-4-8.js
  15. 5 0
      src/main/webapp/resources/dia.txt
  16. 5 0
      src/main/webapp/resources/dia_am.txt
  17. 5 0
      src/main/webapp/resources/dia_ar.txt
  18. 5 0
      src/main/webapp/resources/dia_bg.txt
  19. 5 0
      src/main/webapp/resources/dia_bn.txt
  20. 5 0
      src/main/webapp/resources/dia_bs.txt
  21. 5 0
      src/main/webapp/resources/dia_ca.txt
  22. 5 0
      src/main/webapp/resources/dia_cs.txt
  23. 5 0
      src/main/webapp/resources/dia_da.txt
  24. 5 0
      src/main/webapp/resources/dia_de.txt
  25. 5 0
      src/main/webapp/resources/dia_el.txt
  26. 5 0
      src/main/webapp/resources/dia_eo.txt
  27. 5 0
      src/main/webapp/resources/dia_es.txt
  28. 5 0
      src/main/webapp/resources/dia_et.txt
  29. 5 0
      src/main/webapp/resources/dia_eu.txt
  30. 5 0
      src/main/webapp/resources/dia_fa.txt
  31. 5 0
      src/main/webapp/resources/dia_fi.txt
  32. 5 0
      src/main/webapp/resources/dia_fil.txt
  33. 5 0
      src/main/webapp/resources/dia_fr.txt
  34. 5 0
      src/main/webapp/resources/dia_gl.txt
  35. 5 0
      src/main/webapp/resources/dia_gu.txt
  36. 5 0
      src/main/webapp/resources/dia_he.txt
  37. 5 0
      src/main/webapp/resources/dia_hi.txt
  38. 5 0
      src/main/webapp/resources/dia_hr.txt
  39. 5 0
      src/main/webapp/resources/dia_hu.txt
  40. 5 0
      src/main/webapp/resources/dia_i18n.txt
  41. 5 0
      src/main/webapp/resources/dia_id.txt
  42. 5 0
      src/main/webapp/resources/dia_it.txt
  43. 5 0
      src/main/webapp/resources/dia_ja.txt
  44. 5 0
      src/main/webapp/resources/dia_kn.txt
  45. 5 0
      src/main/webapp/resources/dia_ko.txt
  46. 5 0
      src/main/webapp/resources/dia_lt.txt
  47. 5 0
      src/main/webapp/resources/dia_lv.txt
  48. 5 0
      src/main/webapp/resources/dia_ml.txt
  49. 5 0
      src/main/webapp/resources/dia_mr.txt
  50. 5 0
      src/main/webapp/resources/dia_ms.txt
  51. 5 0
      src/main/webapp/resources/dia_my.txt
  52. 5 0
      src/main/webapp/resources/dia_nl.txt
  53. 5 0
      src/main/webapp/resources/dia_no.txt
  54. 5 0
      src/main/webapp/resources/dia_pl.txt
  55. 5 0
      src/main/webapp/resources/dia_pt-br.txt
  56. 5 0
      src/main/webapp/resources/dia_pt.txt
  57. 5 0
      src/main/webapp/resources/dia_ro.txt
  58. 5 0
      src/main/webapp/resources/dia_ru.txt
  59. 5 0
      src/main/webapp/resources/dia_si.txt
  60. 5 0
      src/main/webapp/resources/dia_sk.txt
  61. 5 0
      src/main/webapp/resources/dia_sl.txt
  62. 5 0
      src/main/webapp/resources/dia_sr.txt
  63. 5 0
      src/main/webapp/resources/dia_sv.txt
  64. 5 0
      src/main/webapp/resources/dia_sw.txt
  65. 5 0
      src/main/webapp/resources/dia_ta.txt
  66. 5 0
      src/main/webapp/resources/dia_te.txt
  67. 5 0
      src/main/webapp/resources/dia_th.txt
  68. 5 0
      src/main/webapp/resources/dia_tr.txt
  69. 5 0
      src/main/webapp/resources/dia_uk.txt
  70. 5 0
      src/main/webapp/resources/dia_vi.txt
  71. 5 0
      src/main/webapp/resources/dia_zh-tw.txt
  72. 5 0
      src/main/webapp/resources/dia_zh.txt
  73. 1 1
      src/main/webapp/service-worker.js
  74. 1 1
      src/main/webapp/service-worker.js.map
  75. 1 1
      src/main/webapp/styles/grapheditor.css

+ 11 - 0
ChangeLog

@@ -1,3 +1,14 @@
+05-OCT-2021: 15.4.2
+
+- [conf/jira cloud] Changes theme to Kennedy
+- Adds grid URL parameter https://github.com/jgraph/drawio/issues/1882
+- Adds table actions for child cells in stacks
+- Fixes PDF export with background page in dark mode
+- Adds preview for moved cells with arrow key https://github.com/jgraph/drawio/issues/1146
+- [conf cloud] Adds embed from GitHub
+- Improves CSV import for groups, values and sizing
+- Fixes ignored zoom for arrows keys
+
 01-OCT-2021: 15.4.1
 
 - [gliffy] Hides shapes fully in -ve coord

+ 1 - 1
VERSION

@@ -1 +1 @@
-15.4.1
+15.4.2

Diferenças do arquivo suprimidas por serem muito extensas
+ 1258 - 1255
src/main/webapp/js/app.min.js


+ 25 - 2
src/main/webapp/js/diagramly/App.js

@@ -1760,7 +1760,7 @@ App.prototype.init = function()
 		this.menubar.container.appendChild(this.buttonContainer);
 	}
 
-	if (uiTheme == 'atlas' && this.menubar != null)
+	if ((uiTheme == 'atlas' || urlParams['atlas'] == '1') && this.menubar != null)
 	{
 		if (this.toggleElement != null)
 		{
@@ -1771,7 +1771,7 @@ App.prototype.init = function()
 		this.icon = document.createElement('img');
 		this.icon.setAttribute('src', IMAGE_PATH + '/logo-flat-small.png');
 		this.icon.setAttribute('title', mxResources.get('draw.io'));
-		this.icon.style.padding = '6px';
+		this.icon.style.padding = urlParams['atlas'] == '1'? '7px' : '6px';
 		this.icon.style.cursor = 'pointer';
 		
 		mxEvent.addListener(this.icon, 'click', mxUtils.bind(this, function(evt)
@@ -5743,6 +5743,21 @@ App.prototype.updateButtonContainer = function()
 	{
 		var file = this.getCurrentFile();
 		
+		if (urlParams['embed'] == '1')
+		{
+			if (uiTheme == 'atlas' || urlParams['atlas'] == '1')
+			{
+				this.buttonContainer.style.paddingRight = '12px';
+				this.buttonContainer.style.paddingTop = '6px';
+				this.buttonContainer.style.right = urlParams['noLangIcon'] == '1'? '0' : '25px';
+			}
+			else if (uiTheme != 'min')
+			{
+				this.buttonContainer.style.paddingRight = '38px';
+				this.buttonContainer.style.paddingTop = '6px';
+			}
+		}
+		
 		// Comments
 		if (this.commentsSupported() && urlParams['sketch'] != '1')
 		{
@@ -5765,6 +5780,10 @@ App.prototype.updateButtonContainer = function()
 				{
 					this.commentButton.style.marginTop = '1px';
 				}
+				else if (urlParams['atlas'] == '1')
+				{
+					this.commentButton.style.marginTop = '-2px';
+				}
 				else
 				{
 					this.commentButton.style.marginTop = '-5px';
@@ -5967,6 +5986,10 @@ App.prototype.showNotification = function(notifs, lsReadFlag)
 			this.notificationBtn.style.width = '30px';
 			this.notificationBtn.style.top = '4px';
 		}
+		else if (urlParams['atlas'] == '1')
+		{
+			this.notificationBtn.style.top = '2px';
+		}
 		
 		var notifCount = document.createElement('span');
 		notifCount.className = 'geNotification-count';

+ 57 - 33
src/main/webapp/js/diagramly/EditorUi.js

@@ -3731,8 +3731,8 @@
 
 			Editor.configurationKey = '.sketch-configuration';
 			Editor.settingsKey = '.sketch-config';
-			Graph.prototype.defaultGridEnabled = false;
-			Graph.prototype.defaultPageVisible = false;
+			Graph.prototype.defaultGridEnabled = urlParams['grid'] == '1';
+			Graph.prototype.defaultPageVisible = urlParams['pv'] == '1';
 			Graph.prototype.defaultEdgeLength = 120;
 			Editor.fitWindowBorders = new mxRectangle(60, 30, 30, 30);
 		}
@@ -9225,6 +9225,13 @@
 			{
 				result = {src: result.originalSrc};
 			}
+			else if (resolveReferences && this.themes != null && this.defaultThemeName == 'darkTheme')
+			{
+				var temp = this.stylesheet;
+				this.stylesheet = this.getDefaultStylesheet();
+				result = ui.createImageForPageLink(result.originalSrc);
+				this.stylesheet = temp;
+			}
 
 			return result;
 		};
@@ -12167,18 +12174,6 @@
 							var tmp = document.createElement('span');
 							mxUtils.write(tmp, data.title);
 							
-							if (uiTheme == 'atlas')
-							{
-								this.buttonContainer.style.paddingRight = '12px';
-								this.buttonContainer.style.paddingTop = '6px';
-								this.buttonContainer.style.right = urlParams['noLangIcon'] == '1'? '0' : '25px';
-							}
-							else if (uiTheme != 'min')
-							{
-								this.buttonContainer.style.paddingRight = '38px';
-								this.buttonContainer.style.paddingTop = '6px';
-							}
-	
 							if (this.embedFilenameSpan != null)
 							{
 								this.embedFilenameSpan.parentNode.removeChild(this.embedFilenameSpan);
@@ -12415,7 +12410,7 @@
 			var div = document.createElement('div');
 			div.style.display = 'inline-block';
 			div.style.position = 'absolute';
-			div.style.paddingTop = (uiTheme == 'atlas') ? '2px' : '0px';
+			div.style.paddingTop = (uiTheme == 'atlas' || urlParams['atlas'] == '1') ? '2px' : '0px';
 			div.style.paddingLeft = '8px';
 			div.style.paddingBottom = '2px';
 
@@ -12491,7 +12486,7 @@
 			
 			this.toolbar.container.appendChild(div);
 			this.toolbar.staticElements.push(div);
-			div.style.right = (uiTheme != 'atlas') ? '52px' : '42px';
+			div.style.right = (uiTheme == 'atlas' || urlParams['atlas'] == '1') ? '42px' : '52px';
 		}
 	};
 
@@ -12552,6 +12547,7 @@
 		{
     		var lines = text.split('\n');
     		var allCells = [];
+			var parents = [];
     		var cells = [];
     		var dups = {};
     		
@@ -12567,7 +12563,7 @@
         		var stylename = null;
         		var labelname = null;
         		var labels = null;
-        		var parentstyle = null;
+        		var parentstyle = 'whiteSpace=wrap;html=1;';
         		var identity = null;
         		var parent = null;
         		var namespace = '';
@@ -12855,15 +12851,21 @@
 
 						if (exists)
 						{
-							graph.model.setGeometry(cell, newCell.geometry);
+							graph.model.setValue(cell, newCell.value);
 							graph.model.setStyle(cell, newCell.style);
-							
+
 							if (mxUtils.indexOf(cells, cell) < 0)
 							{
 								cells.push(cell);
 							}
+
+							graph.fireEvent(new mxEventObject('cellsInserted', 'cells', [cell]));
 						}
-						
+						else
+						{
+							graph.fireEvent(new mxEventObject('cellsInserted', 'cells', [newCell]));
+						}
+
 						cell = newCell;
     					
 						if (!exists)
@@ -12882,38 +12884,48 @@
 							graph.setAttributeForCell(cell, link, null);
 						}
 						
-						// Sets the size
-						graph.fireEvent(new mxEventObject('cellsInserted', 'cells', [cell]));
+						// Sets the geometry
 						var size = this.editor.graph.getPreferredSizeForCell(cell);
-						
+						var parent = (parentIndex != null) ? graph.model.getCell(
+							namespace + values[parentIndex]) : null;
+
 						if (cell.vertex)
 						{
+							var originX = (parent != null) ? 0 : x0;
+							var originY = (parent != null) ? 0 : y0;
+
 							if (left != null && cell.getAttribute(left) != null)
 							{
-								cell.geometry.x = x0 + parseFloat(cell.getAttribute(left));
+								cell.geometry.x = originX + parseFloat(cell.getAttribute(left));
 							}
 
 							if (top != null && cell.getAttribute(top) != null)
 							{
-								cell.geometry.y = y0 + parseFloat(cell.getAttribute(top));
+								cell.geometry.y = originY + parseFloat(cell.getAttribute(top));
 							}
-							
-							if (width.charAt(0) == '@' && cell.getAttribute(width.substring(1)) != null)
+
+							var widthValue = (width.charAt(0) == '@') ? cell.getAttribute(width.substring(1)) : null;
+
+							if (widthValue != null && widthValue != 'auto')
 							{
 								cell.geometry.width = parseFloat(cell.getAttribute(width.substring(1)));
 							}
 							else
 							{
-								cell.geometry.width = (width == 'auto') ? size.width + padding : parseFloat(width);
+								cell.geometry.width = (width == 'auto' || widthValue == 'auto') ?
+									size.width + padding : parseFloat(width);
 							}
 
-							if (height.charAt(0) == '@' && cell.getAttribute(height.substring(1)) != null)
+							var heightValue = (height.charAt(0) == '@') ? cell.getAttribute(height.substring(1)) : null;
+
+							if (heightValue != null && heightValue != 'auto')
 							{
-								cell.geometry.height = parseFloat(cell.getAttribute(height.substring(1)));
+								cell.geometry.height = parseFloat(heightValue);
 							}
 							else
 							{
-								cell.geometry.height = (height == 'auto') ? size.height + padding : parseFloat(height);
+								cell.geometry.height = (height == 'auto' || heightValue == 'auto') ?
+									size.height + padding : parseFloat(height);
 							}
 							
 							y += cell.geometry.height + nodespacing;
@@ -12921,14 +12933,13 @@
 						
 						if (!exists)
 						{
-	    					var parent = (parentIndex != null) ? graph.model.getCell(
-	    						namespace + values[parentIndex]) : null;
 							allCells.push(cell);
 	    					
 	    					if (parent != null)
 	    					{
 	    						parent.style = graph.replacePlaceholders(parent, parentstyle, vars);
 	    						graph.addCell(cell, parent);
+								parents.push(parent);
 	    					}
 	    					else
 	    					{
@@ -12946,6 +12957,19 @@
 						}
 	    			}
 
+					// Process parents for autosize
+					for (var i = 0; i < parents.length; i++)
+					{
+						var widthValue = (width.charAt(0) == '@') ? parents[i].getAttribute(width.substring(1)) : null;
+						var heightValue = (height.charAt(0) == '@') ? parents[i].getAttribute(height.substring(1)) : null;
+
+						if ((width == 'auto' || widthValue == 'auto') &&
+							(height == 'auto' || heightValue == 'auto'))
+						{
+							graph.updateGroupBounds([parents[i]], padding, true);
+						}
+					}
+
 					var roots = cells.slice();
 					var select = cells.slice();
 	

+ 3 - 2
src/main/webapp/js/diagramly/Menus.js

@@ -1452,8 +1452,9 @@
 					
 					if (e.keyCode == 13 && term.length > 0)
 					{
-						this.editorUi.openLink('https://www.diagrams.net/search?search=' +
-							encodeURIComponent(term));
+						this.editorUi.openLink('https://www.diagrams.net/search?src=' +
+							EditorUi.isElectronApp? 'DESKTOP' : encodeURIComponent(location.host) + 
+							'&search=' + encodeURIComponent(term));
 						input.value = '';
 						EditorUi.logEvent({category: 'SEARCH-HELP', action: 'search', label: term});
 						

+ 101 - 127
src/main/webapp/js/grapheditor/EditorUi.js

@@ -5099,170 +5099,144 @@ EditorUi.prototype.createKeyHandler = function(editor)
 		return mxEvent.isControlDown(evt) || (mxClient.IS_MAC && evt.metaKey);
 	};
 
-	var queue = [];
 	var thread = null;
 	
 	// Helper function to move cells with the cursor keys
 	function nudge(keyCode, stepSize, resize)
 	{
-		queue.push(function()
+		if (!graph.isSelectionEmpty() && graph.isEnabled())
 		{
-			if (!graph.isSelectionEmpty() && graph.isEnabled())
+			stepSize = (stepSize != null) ? stepSize : 1;
+
+			if (resize)
 			{
-				stepSize = (stepSize != null) ? stepSize : 1;
-	
-				if (resize)
+				// Resizes all selected vertices
+				graph.getModel().beginUpdate();
+				try
 				{
-					// Resizes all selected vertices
-					graph.getModel().beginUpdate();
-					try
+					var cells = graph.getSelectionCells();
+					
+					for (var i = 0; i < cells.length; i++)
 					{
-						var cells = graph.getSelectionCells();
-						
-						for (var i = 0; i < cells.length; i++)
+						if (graph.getModel().isVertex(cells[i]) && graph.isCellResizable(cells[i]))
 						{
-							if (graph.getModel().isVertex(cells[i]) && graph.isCellResizable(cells[i]))
+							var geo = graph.getCellGeometry(cells[i]);
+							
+							if (geo != null)
 							{
-								var geo = graph.getCellGeometry(cells[i]);
+								geo = geo.clone();
 								
-								if (geo != null)
+								if (keyCode == 37)
 								{
-									geo = geo.clone();
-									
-									if (keyCode == 37)
-									{
-										geo.width = Math.max(0, geo.width - stepSize);
-									}
-									else if (keyCode == 38)
-									{
-										geo.height = Math.max(0, geo.height - stepSize);
-									}
-									else if (keyCode == 39)
-									{
-										geo.width += stepSize;
-									}
-									else if (keyCode == 40)
-									{
-										geo.height += stepSize;
-									}
-									
-									graph.getModel().setGeometry(cells[i], geo);
+									geo.width = Math.max(0, geo.width - stepSize);
 								}
+								else if (keyCode == 38)
+								{
+									geo.height = Math.max(0, geo.height - stepSize);
+								}
+								else if (keyCode == 39)
+								{
+									geo.width += stepSize;
+								}
+								else if (keyCode == 40)
+								{
+									geo.height += stepSize;
+								}
+								
+								graph.getModel().setGeometry(cells[i], geo);
 							}
 						}
 					}
-					finally
+				}
+				finally
+				{
+					graph.getModel().endUpdate();
+				}
+			}
+			else
+			{
+				// Moves vertices up/down in a stack layout
+				var cell = graph.getSelectionCell();
+				var parent = graph.model.getParent(cell);
+				var scale = graph.getView().scale;
+				var layout = null;
+
+				if (graph.getSelectionCount() == 1 && graph.model.isVertex(cell) &&
+					graph.layoutManager != null && !graph.isCellLocked(cell))
+				{
+					layout = graph.layoutManager.getLayout(parent);
+				}
+				
+				if (layout != null && layout.constructor == mxStackLayout)
+				{
+					var index = parent.getIndex(cell);
+					
+					if (keyCode == 37 || keyCode == 38)
 					{
-						graph.getModel().endUpdate();
+						graph.model.add(parent, cell, Math.max(0, index - 1));
+					}
+					else if (keyCode == 39 ||keyCode == 40)
+					{
+						graph.model.add(parent, cell, Math.min(graph.model.getChildCount(parent), index + 1));
 					}
 				}
 				else
 				{
-					// Moves vertices up/down in a stack layout
-					var cell = graph.getSelectionCell();
-					var parent = graph.model.getParent(cell);
-					var layout = null;
-	
-					if (graph.getSelectionCount() == 1 && graph.model.isVertex(cell) &&
-						graph.layoutManager != null && !graph.isCellLocked(cell))
+					var handler = graph.graphHandler;
+
+					if (handler.first == null)
 					{
-						layout = graph.layoutManager.getLayout(parent);
+						handler.start(graph.getSelectionCell(),
+							0, 0, graph.getSelectionCells());
 					}
-					
-					if (layout != null && layout.constructor == mxStackLayout)
+
+					if (handler.first != null)
 					{
-						var index = parent.getIndex(cell);
+						var dx = 0;
+						var dy = 0;
 						
-						if (keyCode == 37 || keyCode == 38)
+						if (keyCode == 37)
+						{
+							dx = -stepSize;
+						}
+						else if (keyCode == 38)
+						{
+							dy = -stepSize;
+						}
+						else if (keyCode == 39)
 						{
-							graph.model.add(parent, cell, Math.max(0, index - 1));
+							dx = stepSize;
 						}
-						else if (keyCode == 39 ||keyCode == 40)
+						else if (keyCode == 40)
 						{
-							graph.model.add(parent, cell, Math.min(graph.model.getChildCount(parent), index + 1));
+							dy = stepSize;
 						}
+
+						handler.currentDx += dx * scale;
+						handler.currentDy += dy * scale;
+						handler.checkPreview();
+						handler.updatePreview();
 					}
-					else
-					{
-						var cells = graph.getMovableCells(graph.getSelectionCells());
-						var realCells = [];
-						
-					    for (var i = 0; i < cells.length; i++)
-					    {
-					    	// TODO: Use getCompositeParent
-							var style = graph.getCurrentCellStyle(cells[i]);
-					    	
-							if (mxUtils.getValue(style, 'part', '0') == '1')
-							{
-						        var parent = graph.model.getParent(cells[i]);
-					
-						        if (graph.model.isVertex(parent) && mxUtils.indexOf(cells, parent) < 0)
-						        {
-						            realCells.push(parent);
-						        }
-							}
-							else
-							{
-								realCells.push(cells[i]);
-							}
-					    }
-					    
-					    if (realCells.length > 0)
-					    {
-						    cells = realCells;
-							var dx = 0;
-							var dy = 0;
-							
-							if (keyCode == 37)
-							{
-								dx = -stepSize;
-							}
-							else if (keyCode == 38)
-							{
-								dy = -stepSize;
-							}
-							else if (keyCode == 39)
-							{
-								dx = stepSize;
-							}
-							else if (keyCode == 40)
-							{
-								dy = stepSize;
-							}
-							
-							graph.moveCells(cells, dx, dy);
-					    }
-					}				
 				}
-			}
-		});
-		
-		if (thread != null)
-		{
-			window.clearTimeout(thread);
-		}
-		
-		thread = window.setTimeout(function()
-		{
-			if (queue.length > 0)
-			{
-				graph.getModel().beginUpdate();
+			
+				// Groups move steps in undoable change
+				if (thread != null)
+				{
+					window.clearTimeout(thread);
+				}
 				
-				try
+				thread = window.setTimeout(function()
 				{
-					for (var i = 0; i < queue.length; i++)
+					if (handler.first != null)
 					{
-						queue[i]();
+						var dx = handler.roundLength(handler.currentDx / scale);
+						var dy = handler.roundLength(handler.currentDy / scale);
+						handler.moveCells(handler.cells, dx, dy);
+						handler.reset();
 					}
-					
-					queue = [];
-				}
-				finally
-				{
-					graph.getModel().endUpdate();
-				}
+				}, 400);
 			}
-		}, 200);
+		}
 	};
 	
 	// Overridden to handle special alt+shift+cursor keyboard shortcuts

+ 23 - 18
src/main/webapp/js/grapheditor/Format.js

@@ -1675,14 +1675,8 @@ ArrangePanel.prototype.init = function()
 			this.container.appendChild(this.addAlign(this.createPanel()));
 			this.container.appendChild(this.addDistribute(this.createPanel()));
 		}
-		
-		if (ss.style['childLayout'] == 'stackLayout' ||
-			graph.isTable(ss.vertices[0]) ||
-			graph.isTableRow(ss.vertices[0]) ||
-			graph.isTableCell(ss.vertices[0]))
-		{
-			this.container.appendChild(this.addTable(this.createPanel()));
-		}
+
+		this.container.appendChild(this.addTable(this.createPanel()));
 	}
 	
 	this.container.appendChild(this.addGroupOps(this.createPanel()));
@@ -1728,13 +1722,21 @@ ArrangePanel.prototype.addTable = function(div)
 	panel.style.width = '220px';
 	panel.className = 'geToolbarContainer';
 
-	var isStack = ss.style['childLayout'] == 'stackLayout';
-	var showCols = true;
-	var showRows = true;
+	var isTable = graph.isTable(ss.vertices[0]) ||
+		graph.isTableRow(ss.vertices[0]) ||
+		graph.isTableCell(ss.vertices[0]);
+	var isStack = graph.isStack(ss.vertices[0]) ||
+		graph.isStackChild(ss.vertices[0]);
+
+	var showCols = isTable;
+	var showRows = isTable;
 
 	if (isStack)
 	{
-		showRows = ss.style['horizontalStack'] == '0';
+		var style = (graph.isStack(ss.vertices[0])) ? ss.style :
+			graph.getCellStyle(graph.model.getParent(ss.vertices[0]));
+
+		showRows = style['horizontalStack'] == '0';
 		showCols = !showRows;
 	}
 
@@ -1744,7 +1746,7 @@ ArrangePanel.prototype.addTable = function(div)
 	{
 		btns = btns.concat([
 			ui.toolbar.addButton('geSprite-insertcolumnbefore', mxResources.get('insertColumnBefore'),
-			 mxUtils.bind(this, function()
+			mxUtils.bind(this, function()
 			{
 				try
 				{
@@ -1862,13 +1864,16 @@ ArrangePanel.prototype.addTable = function(div)
 				}
 			}), panel)]);
 	}
-	
-	this.styleButtons(btns);
-	div.appendChild(panel);
 
-	if (btns.length > 3)
+	if (btns.length > 0)
 	{
-		btns[2].style.marginRight = '10px';
+		this.styleButtons(btns);
+		div.appendChild(panel);
+
+		if (btns.length > 3)
+		{
+			btns[2].style.marginRight = '10px';
+		}
 	}
 	
 	return div;

+ 19 - 1
src/main/webapp/js/grapheditor/Graph.js

@@ -1886,7 +1886,7 @@ Graph.prototype.defaultPageVisible = true;
 /**
  * Specifies if the page should be visible for new files. Default is true.
  */
-Graph.prototype.defaultGridEnabled = true;
+Graph.prototype.defaultGridEnabled = urlParams['grid'] != '0';
 
 /**
  * Specifies if the app should run in chromeless mode. Default is false.
@@ -5854,6 +5854,24 @@ Graph.prototype.isTable = function(cell)
 	return style != null && style['childLayout'] == 'tableLayout';
 };
 
+/**
+ * Returns true if the given cell is a table.
+ */
+Graph.prototype.isStack = function(cell)
+{
+	var style = this.getCellStyle(cell);
+	 
+	return style != null && style['childLayout'] == 'stackLayout';
+};
+
+/**
+ * Returns true if the given cell is a table row.
+ */
+Graph.prototype.isStackChild = function(cell)
+{
+	return this.model.isVertex(cell) && this.isStack(this.model.getParent(cell));
+};
+
 /**
  * Updates the row and table heights.
  */

+ 12 - 5
src/main/webapp/js/grapheditor/Menus.js

@@ -648,18 +648,25 @@ Menus.prototype.addInsertTableCellItem = function(menu, parent)
 	var cell = graph.getSelectionCell();
 	var style = graph.getCurrentCellStyle(cell);
 
-	var isStack = style['childLayout'] == 'stackLayout';
-	var showCols = true;
-	var showRows = true;
+	var isTable = graph.isTable(cell) ||
+		graph.isTableRow(cell) ||
+		graph.isTableCell(cell);
+	var isStack = graph.isStack(cell) ||
+		graph.isStackChild(cell);
+
+	var showCols = isTable;
+	var showRows = isTable;
 
 	if (isStack)
 	{
+		var style = (graph.isStack(cell)) ? style :
+			graph.getCellStyle(graph.model.getParent(cell));
+
 		showRows = style['horizontalStack'] == '0';
 		showCols = !showRows;
 	}
 
-	if (parent != null || (!isStack && !graph.isTableCell(cell)) &&
-		!graph.isTableRow(cell) && !graph.isTable(cell))
+	if (parent != null || (!isTable && !isStack))
 	{
 		this.addInsertTableItem(menu, mxUtils.bind(this, function(evt, rows, cols, title, container)
 		{

Diferenças do arquivo suprimidas por serem muito extensas
+ 968 - 967
src/main/webapp/js/viewer-static.min.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 968 - 967
src/main/webapp/js/viewer.min.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
src/main/webapp/mxgraph/mxClient.js


+ 2 - 0
src/main/webapp/plugins/cConf-1-4-8.js

@@ -1484,6 +1484,8 @@ Draw.loadPlugin(function(ui)
 										
 										if (this.sync != null)
 										{
+											//Reduce number of retials since we already retry in AC.saveDraftWithFileDesc
+											this.sync.maxCatchupRetries = 2;
 											this.savingFile = true;
 											
 											this.sync.fileConflict(desc, mxUtils.bind(this, function()

+ 5 - 0
src/main/webapp/resources/dia.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_am.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_ar.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_bg.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_bn.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_bs.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_ca.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_cs.txt

@@ -1155,3 +1155,8 @@ notionToken=Token pojmu
 selectDB=Vybrat databázi
 noDBs=Žádné databáze
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_da.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_de.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_el.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Επιλογή Βάσης Δεδομένων
 noDBs=Δεν υπάρχουν Βάσεις Δεδομένων
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_eo.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_es.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_et.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_eu.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Hautatu datubasea
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_fa.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_fi.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_fil.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_fr.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_gl.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_gu.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_he.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_hi.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_hr.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_hu.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_i18n.txt

@@ -1155,3 +1155,8 @@ notionToken=notionToken
 selectDB=selectDB
 noDBs=noDBs
 diagramEdited=diagramEdited
+confDraftPermissionErr=confDraftPermissionErr
+confDraftTooBigErr=confDraftTooBigErr
+owner=owner
+repository=repository
+branch=branch

+ 5 - 0
src/main/webapp/resources/dia_id.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_it.txt

@@ -1155,3 +1155,8 @@ notionToken=Token di Notion
 selectDB=Seleziona database
 noDBs=Nessun database
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_ja.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_kn.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_ko.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_lt.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_lv.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_ml.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_mr.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_ms.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_my.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_nl.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_no.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_pl.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_pt-br.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_pt.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_ro.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_ru.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion токен
 selectDB=Выберите базу данных
 noDBs=Нет баз данных
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_si.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_sk.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_sl.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_sr.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_sv.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_sw.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_ta.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_te.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_th.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_tr.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_uk.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_vi.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_zh-tw.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

+ 5 - 0
src/main/webapp/resources/dia_zh.txt

@@ -1155,3 +1155,8 @@ notionToken=Notion Token
 selectDB=Select Database
 noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
+confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
+confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
+owner=Owner
+repository=Repository
+branch=Branch

Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
src/main/webapp/service-worker.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
src/main/webapp/service-worker.js.map


+ 1 - 1
src/main/webapp/styles/grapheditor.css

@@ -293,7 +293,7 @@
 }
 .geMenubar a.geStatus {
 	color:#888888;
-	padding-top:3px;
+	padding-top:5px;
 	padding-left:8px;
 	display:inline-block;
 	cursor:default !important;