From 2d3f465d689a81d953aafc1823d8c7c4c200405f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gergely=20M=C3=A9sz=C3=A1ros=2C=20Ph=2ED?= Date: Tue, 7 Sep 2021 22:36:09 +0200 Subject: [PATCH 1/7] Cloud support / Dropbox OAuth reference client (#659) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * bioms shouldn't be masked or the style selection box is useless * fix: misleading comment * Fix: calculating absolute flux from precipitation normal-value. * Fix: River automatic rerender on regeneration. * Dropbox OAuth implementation and Cloud framework * add some space * removing unnecessary logs, defer script load Created by: Mészáros Gergely --- dropbox.html | 46 ++++++++++++++ index.html | 32 +++++----- modules/cloud.js | 141 ++++++++++++++++++++++++++++++++++++++++++ modules/load.js | 38 +++++++++--- modules/save.js | 41 +++--------- modules/ui/options.js | 15 ++++- 6 files changed, 256 insertions(+), 57 deletions(-) create mode 100644 dropbox.html create mode 100644 modules/cloud.js diff --git a/dropbox.html b/dropbox.html new file mode 100644 index 00000000..64d578e7 --- /dev/null +++ b/dropbox.html @@ -0,0 +1,46 @@ + + + + + + FMG Dropbox Auth + + + + + diff --git a/index.html b/index.html index 1773ba6c..43eb39d7 100644 --- a/index.html +++ b/index.html @@ -1995,7 +1995,7 @@
Temperature:
- , like in + , like in
@@ -3490,26 +3490,29 @@

Maps are saved in .map format, that can be loaded back via 'Load' in menu. Please keep noted that we do not keep any data on our side. There is no way to restore the progress if .map file is lost. Please keep old .map files on your machine or cloud storage as backups.

-

Saving to Dropbox may not be allowed for big files. In this case open Dropbox, download the .map file and upload it manually.

- -
- Create sharable link - - -
-

GeoJSON format is used in GIS tools such as QGIS. Check out wiki-page for guidance

- -

Generator uses pop-up window to download files. Please ensure your browser does not block popups.

- -

It's also possible to export map to Foundry VTT, see the module.

+

GeoJSON format is used in GIS tools such as QGIS. Check out wiki-page for guidance.

+

Generator uses pop-up window to download files. Please ensure your browser does not block popups.

+

It's also possible to export map to Foundry VTT, see the module.

-

Maps are saved in .map format, that can be loaded back via 'Load' in menu. Please keep noted that we do not keep any data on our side. There is no way to restore the progress if .map file is lost. Please keep old .map files on your machine or cloud storage as backups.

+

Maps are saved in .map format, that can be loaded back via the Load in menu. There is no way to restore the progress if file is lost. Please keep old .map files on your machine or cloud storage as backups.

-
-

From your Dropbox account:

- +
+ From your Dropbox account + - +