瀏覽代碼

20.2.3 release

David Benson 3 年之前
父節點
當前提交
a9c448a8f7

+ 9 - 0
ChangeLog

@@ -1,3 +1,12 @@
+03-AUG-2022: 20.2.3
+
+- [conf cloud] Fixes adding diagrams to unsaved global templates [DID-5761]
+
+26-JUL-2022: 20.2.2
+
+- Uses proxy for loading from template URL [DND-629]
+- [conf cloud] Fixes issue in page update of pageIDs import [DID-5641]
+
 26-JUL-2022: 20.2.1
 
 - Adds statistics to realtime CF worker

+ 1 - 1
VERSION

@@ -1 +1 @@
-20.2.1
+20.2.3

文件差異過大導致無法顯示
+ 54 - 54
src/main/webapp/js/app.min.js


+ 1 - 1
src/main/webapp/js/diagramly/Dialogs.js

@@ -4036,7 +4036,7 @@ var NewDialog = function(editorUi, compact, showName, callback, createOnly, canc
 			{
 				if (fileUrl != null && fileUrl.length > 0)
 				{
-					editorUi.editor.loadUrl(fileUrl, function(data)
+					editorUi.editor.loadUrl(editorUi.editor.getProxiedUrl(fileUrl), function(data)
 					{
 						templateXml = data;
 						templateLibs = null;

+ 5 - 2
src/main/webapp/js/diagramly/Editor.js

@@ -2512,11 +2512,14 @@
 	};
 
 	/**
-	 * Returns an URL that is proxied if the given URL is blocked.
+	 * Returns an URL that is proxied if the given URL is blocked. Uses
+	 * direct URL if no CSP is used as proxy blocks unknown text content.
 	 */
 	Editor.prototype.getProxiedUrl = function(url)
 	{
-		if (!this.isCorsEnabledForUrl(url))
+		if ((/test\.draw\.io$/.test(window.location.hostname) ||
+			/app\.diagrams\.net$/.test(window.location.hostname)) &&
+			!this.isCorsEnabledForUrl(url))
 		{
 			var isVisioFilename = /(\.v(dx|sdx?))($|\?)/i.test(url) ||
 				/(\.vs(x|sx?))($|\?)/i.test(url);

+ 1 - 8
src/main/webapp/js/diagramly/EditorUi.js

@@ -2295,14 +2295,7 @@
 		
 		if (desc.url != null && desc.url.length > 0)
 		{
-			var url = desc.url;
-
-			// Bypass proxy if no CSP is used as it blocks unknown text content
-			if ((/test\.draw\.io$/.test(window.location.hostname)) ||
-				(/app\.diagrams\.net$/.test(window.location.hostname)))
-			{
-				url = this.editor.getProxiedUrl(url);
-			}
+			var url = this.editor.getProxiedUrl(desc.url);
 			
             // LATER: Remove cache-control header
             this.editor.loadUrl(url, mxUtils.bind(this, function(data)

文件差異過大導致無法顯示
+ 512 - 512
src/main/webapp/js/integrate.min.js


文件差異過大導致無法顯示
+ 32 - 32
src/main/webapp/js/viewer-static.min.js


文件差異過大導致無法顯示
+ 32 - 32
src/main/webapp/js/viewer.min.js


文件差異過大導致無法顯示
+ 1 - 1
src/main/webapp/mxgraph/mxClient.js


+ 17 - 17
src/main/webapp/resources/dia_nl.txt

@@ -485,7 +485,7 @@ microsoftWord=Microsoft Word
 middle=Midden
 minimal=Minimaal
 misc=Overige
-mockups=Modellen
+mockups=Prototypen
 modificationDate=Aanpassingsdatum
 modifiedBy=Aangepast door
 more=Meer
@@ -537,7 +537,7 @@ oneDrive=OneDrive
 online=Online
 opacity=Ondoorzichtigheid
 open=Openen
-openArrow=Open Pijl
+openArrow=Open pijl
 openExistingDiagram=Bestaand diagram openen
 openFile=Bestand openen
 openFrom=Openen van
@@ -683,7 +683,7 @@ sendYourFeedback=Stuur uw opmerkingen
 serviceUnavailableOrBlocked=Dienst niet beschikbaar of geblokkeerd
 sessionExpired=Uw sessie is verlopen. Ververs het browservenster.
 sessionTimeoutOnSave=Uw sessie is verlopen en uw verbinding met Google Drive is verbroken. Druk op OK om in te loggen en op te slaan.
-setAsDefaultStyle=Als Standaardstijl Instellen
+setAsDefaultStyle=Als standaardstijl Instellen
 shadow=Schaduw
 shape=Vorm
 shapes=Vormen
@@ -693,7 +693,7 @@ shareLink=Link voor gedeeld bewerken
 sharingAvailable=Delen van Google Drive- en OneDrive-bestanden.
 sharp=Rechthoekig
 show=Tonen
-showRemoteCursors=Show Remote Mouse Cursors
+showRemoteCursors=Muiscursor buiten beeld tonen
 showStartScreen=Startscherm tonen
 sidebarTooltip=Klik om uit te breiden. Sleep en plaats vormen in het diagram. Shift+klik om selectie te wijzigen. Alt+klik om in te voegen en te verbinden.
 signs=Tekens
@@ -803,7 +803,7 @@ engineering=Elektrisch
 flowcharts=Stroomschema's
 gmdl=Materiaalontwerp
 mindmaps=Mindmaps
-mockups=Modellen
+mockups=Prototypen
 networkdiagrams=Netwerkdiagrammen
 nothingIsSelected=Niets geselecteerd
 other=Overige
@@ -1196,15 +1196,15 @@ confAFileCleaned=Oude versies opgeschoond van diagram concept "{1}"
 confAFileCleanFailed=Oude versies opschonen van diagram concept "{1}" mislukt
 confACleanOnly=Alleen diagram concepten opschonen
 brush=Kwast
-openDevTools=Open Developer Tools
-autoBkp=Automatic Backup
-confAIgnoreCollectErr=Ignore collecting current pages errors
-drafts=Drafts
-draftSaveInt=Draft save interval [sec] (0 to disable)
-pluginsDisabled=External plugins disabled.
-extExpNotConfigured=External image service is not configured
-pathFilename=Path/Filename
-confAHugeInstances=Very Large Instances
-confAHugeInstancesDesc=If this instance includes 100,000+ pages, it is faster to request the current instance pages list from Atlassian. Please contact our support for more details.
-choosePageIDsFile=Choose current page IDs csv file
-chooseDrawioPsgesFile=Choose pages with draw.io diagrams csv file
+openDevTools=Ontwikkelgereedschap opnenen
+autoBkp=Automatische back-up
+confAIgnoreCollectErr=Verzameling van fouten op huidige pagina negeren
+drafts=Ontwerpen
+draftSaveInt=Ontwerp-opgeslagen interval [sec] (0 om uit te schakelen)
+pluginsDisabled=Externe plug-ins uitgeschakeld
+extExpNotConfigured=Externe afbeeldingendienst is niet geconfigureerd
+pathFilename=Pad/Bestandsnaam
+confAHugeInstances=Zeer grote exemplaren
+confAHugeInstancesDesc=Als dit exemplaar meer dan 100.000 pagina's bevat, is het sneller om de huidige lijst met instantpagina's op te vragen bij Atlassian. Neem contact op met onze ondersteuning voor meer details.
+choosePageIDsFile=Kies het huidige pagina-ID's csv-bestand
+chooseDrawioPsgesFile=Kies pagina's met draw.io diagrammen csv-bestand

文件差異過大導致無法顯示
+ 1 - 1
src/main/webapp/service-worker.js


文件差異過大導致無法顯示
+ 1 - 1
src/main/webapp/service-worker.js.map