Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

Commit 8dc7193

Browse files
committed
21.4.0 release
1 parent 6ca233f commit 8dc7193

15 files changed

+6478
-6520
lines changed

.github/workflows/preprod-worker.yml

-18
This file was deleted.

ChangeLog

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1+
14-JUN-2023: 21.4.0
2+
3+
- [jira cloud] Uses dark mode status from host in editor
4+
- [conf cloud] Uses dark mode status from host in editor
5+
- [conf cloud] Adds drawio-sketch macro support for page IDs import and re-indexing
6+
- Fixes possible NPE in fitDiagramToWindow
7+
- Fixes reset of view state after creating new files
8+
- [conf cloud] Hide support link in anon views
9+
- [conf cloud] Fixes link fixing of page IDs import [DID-5141]
10+
- Adds pass-through for user request error in GitHub
11+
- Fixes paste of HTML-formatted text [drawio-3666]
12+
- Fixes https://huntr.dev/bounties/ce75aa04-e4d6-4e0a-9db0-ae84c46ae9e2/
13+
14+
13-JUN-2023: 21.3.9
15+
16+
- Release rejected, failed to deploy to stage
17+
118
08-JUN-2023: 21.3.8
219

3-
- C[conf cloud] Fixed page anchor of imported pages when it has spaces [DID-8417]
20+
- [conf cloud] Fixed page anchor of imported pages when it has spaces [DID-8417]
421
- Fixes auto dark mode option after dark mode change
522
- Fixes editing for Mermaid declaration with comment
623
- Fixes ignored selection in fitWindow [drawio-3647]

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
21.3.8
1+
21.4.0

src/main/webapp/js/app.min.js

+1,717-1,710
Large diffs are not rendered by default.

src/main/webapp/js/diagramly/Dialogs.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -2152,8 +2152,7 @@ var ParseDialog = function(editorUi, title, defaultType)
21522152
diagramType = diagramType.substring(0, sp > 0 ? sp : diagramType.length);
21532153
var inDrawioFormat = typeof mxMermaidToDrawio !== 'undefined' &&
21542154
type == 'mermaid2drawio' && diagramType != 'gantt' &&
2155-
diagramType != 'pie' && diagramType != 'timeline' &&
2156-
diagramType != 'quadrantchart' && diagramType != 'c4context';
2155+
diagramType != 'pie' && diagramType != 'timeline';
21572156

21582157
var graph = editorUi.editor.graph;
21592158

@@ -2434,7 +2433,6 @@ var ParseDialog = function(editorUi, title, defaultType)
24342433

24352434
var edge = new mxCell((values.length > 2) ? values[1] : '', new mxGeometry());
24362435
edge.edge = true;
2437-
edge.geometry.relative = true;
24382436
source.insertEdge(edge, true);
24392437
target.insertEdge(edge, false);
24402438
cells.push(edge);
@@ -3312,9 +3310,7 @@ var NewDialog = function(editorUi, compact, showName, callback, createOnly, canc
33123310
var type = ((typeSelect.value != '') ? (' (' + mxUtils.trim(
33133311
mxUtils.getTextContent(typeSelect.options[
33143312
typeSelect.selectedIndex])) + ')') : '');
3315-
var useMermaidFormat = typeSelect.value == 'gantt' || typeSelect.value == 'pie' ||
3316-
typeSelect.value == 'timeline' || typeSelect.value == 'quadrantchart' ||
3317-
typeSelect.value == 'c4context';
3313+
var useMermaidFormat = typeSelect.value == 'gantt' || typeSelect.value == 'pie';
33183314
var title = description.value + type;
33193315

33203316
if (typeof mxMermaidToDrawio !== 'undefined')

src/main/webapp/js/diagramly/EditorUi.js

-1
Original file line numberDiff line numberDiff line change
@@ -14682,7 +14682,6 @@
1468214682
*/
1468314683
EditorUi.prototype.pasteXml = function(xml, pasteAsLabel, compat, evt, html)
1468414684
{
14685-
html = (html != null) ? html : true;
1468614685
var graph = this.editor.graph;
1468714686
var cells = null;
1468814687

src/main/webapp/js/grapheditor/Graph.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14524,7 +14524,7 @@ if (typeof mxVertexHandler !== 'undefined')
1452414524
if (this.specialHandle != null)
1452514525
{
1452614526
this.specialHandle.node.style.display = (this.graph.isEnabled() &&
14527-
this.graph.getSelectionCount() <= this.graph.graphHandler.maxCells) ?
14527+
this.graph.getSelectionCount() < this.graph.graphHandler.maxCells) ?
1452814528
'' : 'none';
1452914529
}
1453014530

@@ -14757,7 +14757,7 @@ if (typeof mxVertexHandler !== 'undefined')
1475714757
if (this.labelShape != null)
1475814758
{
1475914759
this.labelShape.node.style.display = (this.graph.isEnabled() &&
14760-
this.graph.getSelectionCount() <= this.graph.graphHandler.maxCells) ?
14760+
this.graph.getSelectionCount() < this.graph.graphHandler.maxCells) ?
1476114761
'' : 'none';
1476214762
}
1476314763
});

src/main/webapp/js/grapheditor/Sidebar.js

-2
Original file line numberDiff line numberDiff line change
@@ -1850,8 +1850,6 @@ Sidebar.prototype.addUmlPalette = function(expand)
18501850
}),
18511851
this.createVertexTemplateEntry('shape=providedRequiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;', 20, 20, '', 'Provided/Required Interface', null, null, 'uml provided required interface lollipop notation'),
18521852
this.createVertexTemplateEntry('shape=requiredInterface;html=1;verticalLabelPosition=bottom;sketch=0;', 10, 20, '', 'Required Interface', null, null, 'uml required interface lollipop notation'),
1853-
this.addDataEntry('uml lollipop notation provided required interface', 20, 20, 'Required Interface',
1854-
'jVNNb6MwEP01XCsCYu8NaXvZlSr1sNujCxPsreNBw5CQ/vrOYDcJbaNdySC/Nx+237Ozst5ND2R6+wtb8Fl5l5U1IXKc7aYavM+K3LVZucmKIpcvK+6vRFdzNO8NQeD/KShiwd74ESITiYGPPhGEY2hB8/OsXCOxxQ6D8T8ReyFXQv4F5uOTe9MKMzIKZXnnUxRCe0uEB4HW+G3tqNHeyt8771Nj2TAd/yi4qT7g8wVsU/8fggYmfIXfrmWb1hhegRubWm0xcMpeFYKbkfbzATQzng/aDhaSsaEOkmTlVxXnrCThA+AOZHeSQuANu/2ylRki7E55p9JHdNKxyKekfhUrjhFWy/oBR2oglZw9lMnFHs7U7Oz3Lpf/dlkKXD+oLQfrGJ5602jkIDdz6abxrgsyb0QbICWGHhqVaesmVXm9FVNr9CjBTcAAJ8M+kQSDezMv8w7Utl5POp+9WstQ44ta/9VGh9y9kb0L0iaEuGJ+8nMPxDBdfQRX7DukG6QZ8Z3kFlxnecl9Z+jCjbP0As+PNzp1+bbfAQ=='),
18551853
this.addEntry('uml lollipop notation provided required interface', function()
18561854
{
18571855
return sb.createVertexTemplateFromData('zVRNT8MwDP01uaLSMu6sfFxAmrQDcAytaQJZXLnu2u7XkzQZXTUmuIA4VIqf/ZzkvdQiyzf9HclaPWAJRmQ3IssJkcNq0+dgjEgTXYrsWqRp4j6R3p7Ino/ZpJYEln9CSANhK00LAQlAw4OJAGFrS/D1iciWSKywQivNPWLtwHMHvgHzsNY7z5Ato4MUb0zMgi2viLBzoUULAbnVxsSWzTtwofYBtlTACkhvgIHWtSy0rWKSJVXAJ5Lh4FBWMNMicAJ0cSzPWBW1uQN0fWlwJQRGst7OW8kmhNVn3Sd1hdp1TJMhVCzmhHipUDO54RYHm07Q6NHXfmV/65eS5jXXVJhj15yCNDz54GyxD58PwjL2v/SmMuE7POqSVdxj5vm/cK6PG4X/5deNvPjeSEfQdeOV75Rm8K/dZzo3LOaGSaMr69aF0wbIA00NhZfpVff+JSwJGr2TL2Nnr3jtbzDeabEUi2v/Tlo22kKO1gbq0Z8ZDwzE0J+cNidM2ROinF18CR6KeivQleI59pVrM8knfV04Dc1gx+FM/QA=',

0 commit comments

Comments
 (0)