diff --git a/README.md b/README.md index e868736..46aa70d 100644 --- a/README.md +++ b/README.md @@ -40,13 +40,16 @@ following command: sudo -u www-data php occ files:scan --all ## Download ## -Current release: [zip](https://github.com/pawelrojek/nextcloud-drawio/releases/download/v.0.9.6/drawio-v0.9.6.zip) or [tar.gz](https://github.com/pawelrojek/nextcloud-drawio/releases/download/v.0.9.6/drawio-v0.9.6.tar.gz) +Current release: [zip](https://github.com/pawelrojek/nextcloud-drawio/releases/download/v.0.9.7/drawio-v0.9.7.zip) or [tar.gz](https://github.com/pawelrojek/nextcloud-drawio/releases/download/v.0.9.7/drawio-v0.9.7.tar.gz) ## Changelog ## +## 0.9.7 +- Changed the default Draw.io URL to embed.diagrams.net (#119) (#118) + ## 0.9.6 - Filename encoding problem (#108) - NC19 compatibility @@ -57,49 +60,6 @@ Current release: [zip](https://github.com/pawelrojek/nextcloud-drawio/releases/d ## v0.9.5 - NC18 compatibility -## v0.9.4 -- NC17 compatibility -- Chinese translation -- Italian translation -- Russian translation -- Minor changes - -## v0.9.3 -- NC16 compatibility -- Minor changes - -## v0.9.2 -- NC15 compatibility (PR #66) -- Duplicated settings fixed (PR #65) -- Added new themes - Minimal, Dark (PR #70) - -## v0.9.1 -- NC14 compatibility (PR #53) -- Fixed missing comma in en_GB language file (PR #55) -- Added OwnCloud 10 support (PR #51) -- Added French translation (PR #49) -- Settings moved to "Additional" section (PR #46) - -## v0.9.0 -- Added German translation (PR #38) -- Added "offline mode" (PR #43) -- Added .drawio file type in addtion to .xml (PR #41) -- Querystring in custom drawioUrl (PR #37) -- Minor other fixes (PR #39) - -## v0.8.9 -- NC13 compatibility (issue #25) -- IE support (PR #27) -- Brazilian Portuguese translation (PR #26) - -## v0.8.8 -- NC12 compatibility (issue #10) -- "Origin" integration issue (issue #9) - -## v0.8.7 -- Edited files are now opened in the same window -- Code changes - [Complete changelog](https://github.com/pawelrojek/nextcloud-drawio/blob/master/drawio/CHANGELOG.md) diff --git a/drawio/CHANGELOG.md b/drawio/CHANGELOG.md index 6ee7b45..8dbfa1d 100644 --- a/drawio/CHANGELOG.md +++ b/drawio/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## 0.9.7 +- Changed the default Draw.io URL to embed.diagrams.net (#119) (#118) + ## 0.9.6 - Filename encoding problem (#108) - NC19 compatibility diff --git a/drawio/appinfo/info.xml b/drawio/appinfo/info.xml index defeb28..0eefab5 100644 --- a/drawio/appinfo/info.xml +++ b/drawio/appinfo/info.xml @@ -6,7 +6,7 @@ AGPL Paweł Rojek - 0.9.6 + 0.9.7 Drawio diff --git a/drawio/lib/appconfig.php b/drawio/lib/appconfig.php index 2ed8039..37fc94c 100644 --- a/drawio/lib/appconfig.php +++ b/drawio/lib/appconfig.php @@ -58,6 +58,8 @@ public function GetDrawioUrl() { $val = $this->config->getAppValue($this->appName, $this->_drawioUrl); if (empty($val)) $val = $this->predefDrawioUrl; + //default URL changed from draw.io to embed.diagrams.net #118 + if (in_array(strtolower($val), array("https://draw.io", "https://www.draw.io", "http://draw.io", "http://www.draw.io") )) $val = $this->predefDrawioUrl; return $val; }