Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
18.0.4 release
  • Loading branch information
davidjgraph committed May 14, 2022
1 parent 283d41e commit 4deecee
Show file tree
Hide file tree
Showing 71 changed files with 2,326 additions and 2,254 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
@@ -1,3 +1,11 @@
14-MAY-2022: 18.0.4

- Fixes type error for diffsync with overlays [2808]
- Handles possible error 400 in OneDrive auth flow
- Fixes update of cell metadata in CSV import [2796]
- Applies URL filtering checks to location header in java proxy
- Resolves URL parameters in java proxy before filtering

11-MAY-2022: 18.0.3

- Removes remote cursor options from context menu
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
18.0.3
18.0.4
8 changes: 7 additions & 1 deletion src/main/webapp/electron.js
Expand Up @@ -1884,9 +1884,15 @@ function windowAction(method)
}
}

const allowedUrls = /^(?:https?|mailto|tel|callto):/i;

function openExternal(url)
{
shell.openExternal(url);
//Only open http(s), mailto, tel, and callto links
if (allowedUrls.test(url))
{
shell.openExternal(url);
}
}

function watchFile(path)
Expand Down
1,500 changes: 750 additions & 750 deletions src/main/webapp/js/app.min.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions src/main/webapp/js/diagramly/ElectronApp.js
Expand Up @@ -85,13 +85,15 @@ mxStencilRegistry.allowEval = false;
var oldWindowOpen = window.open;
window.open = async function(url)
{
if (url != null && url.startsWith('http'))
// Only open a native electron window when url is empty. We use this in our code in several places.
if (url == null)
{
await requestSync({action: 'openExternal', url: url});
return oldWindowOpen(url);
}
else
{
return oldWindowOpen(url);
// Open external will filter urls based on their protocol
await requestSync({action: 'openExternal', url: url});
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/js/grapheditor/Graph.js
Expand Up @@ -1664,7 +1664,7 @@ Graph.removePasteFormatting = function(elt)
Graph.sanitizeHtml = function(value, editing)
{
return DOMPurify.sanitize(value, {ADD_ATTR: ['target'], FORBID_TAGS: ['form'],
ALLOWED_URI_REGEXP: /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i});
ALLOWED_URI_REGEXP: /^(?:(?:https?|mailto|tel|callto|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i});
};

/**
Expand Down
1,848 changes: 924 additions & 924 deletions src/main/webapp/js/integrate.min.js

Large diffs are not rendered by default.

314 changes: 157 additions & 157 deletions src/main/webapp/js/stencils.min.js

Large diffs are not rendered by default.

413 changes: 206 additions & 207 deletions src/main/webapp/js/viewer-static.min.js

Large diffs are not rendered by default.

413 changes: 206 additions & 207 deletions src/main/webapp/js/viewer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main/webapp/mxgraph/mxClient.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/main/webapp/resources/dia.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_am.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_ar.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_bg.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_bn.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_bs.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_ca.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_cs.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_da.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_de.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_el.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_eo.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_es.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_et.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_eu.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_fa.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_fi.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_fil.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_fr.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_gl.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_gu.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_he.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_hi.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_hr.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_hu.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_i18n.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=confAFileCleaned
confAFileCleanFailed=confAFileCleanFailed
confACleanOnly=confACleanOnly
brush=brush
openDevTools=openDevTools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_id.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_it.txt
Expand Up @@ -1196,3 +1196,4 @@ confAFileCleaned=Cleaning diagram draft "{1}" done
confAFileCleanFailed=Cleaning diagram draft "{1}" failed
confACleanOnly=Clean Diagram Drafts Only
brush=Brush
openDevTools=Open Developer Tools
1 change: 1 addition & 0 deletions src/main/webapp/resources/dia_ja.txt