Skip to content

Commit

Permalink
21.0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Mar 3, 2023
1 parent e1d5edf commit bbe89f6
Show file tree
Hide file tree
Showing 95 changed files with 11,769 additions and 11,896 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
03-MAR-2023: 21.0.2

- Fixes BPMN event attachment [draw-3342]
- Removes testing code for no branches [drawio-3396]

02-MAR-2023: 21.0.1

- Changes behaviour of default styling [drawio-3312]
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.0.1
21.0.2
6,819 changes: 3,420 additions & 3,399 deletions src/main/webapp/js/app.min.js

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions src/main/webapp/js/diagramly/EditorUi.js
Original file line number Diff line number Diff line change
Expand Up @@ -16597,7 +16597,7 @@
this.handleError(e);
}
}
}), null, null, null, null, function(buttons, input)
}), null, null, null, null, mxUtils.bind(this, function(buttons, input)
{
var copyBtn = mxUtils.button(mxResources.get('copy'), mxUtils.bind(this, function()
{
Expand Down Expand Up @@ -16630,7 +16630,7 @@
copyBtn.setAttribute('title', 'copy');
copyBtn.className = 'geBtn';
buttons.appendChild(copyBtn);
}, true, null, null, 'https://www.diagrams.net/doc/faq/apply-layouts');
}), true, null, null, 'https://www.diagrams.net/doc/faq/apply-layouts');

this.showDialog(dlg.container, 620, 460, true, true);
dlg.init();
Expand Down Expand Up @@ -18516,11 +18516,7 @@
}
else if (error != null)
{
error(e);
}
else if (window.console != null)
{
console.error(e);
error(new Error('IndexedDB not supported'));
}
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/js/diagramly/GitHubClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ GitHubClient.prototype.showGitHubDialog = function(showFiles, fn, hideNoFilesErr
}), '4px'));
}

var branches = [];//JSON.parse(req.getText());
var branches = JSON.parse(req.getText());

if (branches == null || branches.length == 0)
{
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/js/diagramly/GitLabClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ GitLabClient.prototype.showGitLabDialog = function(showFiles, fn, hideNoFilesErr

div.appendChild(createLink('../ [Up]', mxUtils.bind(this, function()
{
if (path == '')
if (path == '' || path == null)
{
path = null;
selectRepo();
Expand Down
8 changes: 4 additions & 4 deletions src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@
s * 130, s * 130, 'AWS Cloud', null, null, null, this.getTagsForStencil(gn, 'cloud', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'group;grIcon=' + gn + '.group_region;strokeColor=#147EBA;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#147EBA;dashed=1;',
s * 130, s * 130, 'Region', null, null, null, this.getTagsForStencil(gn, 'region', dt).join(' ')),
this.createVertexTemplateEntry('fillColor=none;strokeColor=#147EBA;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#147EBA;',
this.createVertexTemplateEntry('fillColor=none;strokeColor=#147EBA;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#147EBA;whiteSpace=wrap;html=1;',
s * 130, s * 130, 'Availability Zone', null, null, null, this.getTagsForStencil(gn, 'availability zone', dt).join(' ')),
this.createVertexTemplateEntry('fillColor=none;strokeColor=#DD3522;verticalAlign=top;fontStyle=0;fontColor=#DD3522;',
this.createVertexTemplateEntry('fillColor=none;strokeColor=#DD3522;verticalAlign=top;fontStyle=0;fontColor=#DD3522;whiteSpace=wrap;html=1;',
s * 130, s * 130, 'Security group', null, null, null, this.getTagsForStencil(gn, 'security', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'groupCenter;grIcon=' + gn + '.group_auto_scaling_group;grStroke=1;strokeColor=#D86613;fillColor=none;verticalAlign=top;align=center;fontColor=#D86613;dashed=1;spacingTop=25;',
s * 130, s * 130, 'Auto Scaling group', null, null, null, this.getTagsForStencil(gn, 'auto scaling', dt).join(' ')),
Expand Down Expand Up @@ -248,9 +248,9 @@
s * 130, s * 130, 'AWS Iot\nGreengrass\nDeployment', null, null, null, this.getTagsForStencil(gn, 'iot internet of things greengrass deployment', dt).join(' ')),
this.createVertexTemplateEntry(n4 + 'group;grIcon=' + gn + '.group_iot_greengrass;strokeColor=#3F8624;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#3F8624;dashed=0;',
s * 130, s * 130, 'AWS Iot\nGreengrass', null, null, null, this.getTagsForStencil(gn, 'iot internet of things greengrass', dt).join(' ')),
this.createVertexTemplateEntry('fillColor=none;strokeColor=#5A6C86;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#5A6C86;',
this.createVertexTemplateEntry('fillColor=none;strokeColor=#5A6C86;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#5A6C86;whiteSpace=wrap;html=1;',
s * 130, s * 130, 'Generic group', null, null, null, this.getTagsForStencil(gn, 'generic', dt).join(' ')),
this.createVertexTemplateEntry('fillColor=#EFF0F3;strokeColor=none;dashed=0;verticalAlign=top;fontStyle=0;fontColor=#232F3D;',
this.createVertexTemplateEntry('fillColor=#EFF0F3;strokeColor=none;dashed=0;verticalAlign=top;fontStyle=0;fontColor=#232F3D;whiteSpace=wrap;html=1;',
s * 130, s * 130, 'Generic group', null, null, null, this.getTagsForStencil(gn, 'generic', dt).join(' '))
]);
};
Expand Down
Loading

0 comments on commit bbe89f6

Please sign in to comment.