-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from heremaps/dev
Prepare version 1.9.9
- Loading branch information
Showing
51 changed files
with
1,052 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
__copyright__ = "Copyright 2019, HERE Europe B.V." | ||
|
||
__license__ = "MIT" | ||
__version__ = "1.9.8" | ||
__version__ = "1.9.9" | ||
__maintainer__ = "Minh Nguyen" | ||
__email__ = "[email protected]" | ||
__status__ = "Development" | ||
|
@@ -23,6 +23,7 @@ def classFactory(iface): | |
from . import config | ||
|
||
config.load_external_lib() | ||
|
||
from .plugin import XYZHubConnector | ||
|
||
return XYZHubConnector(iface) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
name=HERE Maps for QGIS | ||
qgisMinimumVersion=3.0 | ||
description=Connect QGIS to Interactive Map Layers in the HERE Platform (https://platform.here.com) and your personal spaces in HERE Data Hub. | ||
version=1.9.8 | ||
version=1.9.9 | ||
author=HERE Europe B.V. | ||
[email protected] | ||
|
||
|
@@ -42,13 +42,15 @@ experimental=False | |
# deprecated flag (applies to the whole plugin, not just a single version) | ||
deprecated=False | ||
|
||
changelog=Version 1.9.8 (2023-07-24) | ||
changelog=Version 1.9.9 (2024-03-12) | ||
|
||
🐛 FIXES 🐛 | ||
* Supports Here Platform login for MacOS | ||
* Fixes issues with login and expired token | ||
* Do not store Here Platform email and token into project files | ||
* Fixes issue that some features are not displayed | ||
* Improves UX and stability | ||
* Updated Platform IML servers | ||
* Set single layering mode as default | ||
* Improved authorization | ||
* Improved stability | ||
* Deprecated Datahub servers | ||
* Fixed OpenGL outdated driver error | ||
* Show confirm dialog before installing dependencies | ||
|
||
* .. more details on Github repos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
__copyright__ = "Copyright 2019, HERE Europe B.V." | ||
|
||
__license__ = "MIT" | ||
__version__ = "1.9.8" | ||
__version__ = "1.9.9" | ||
__maintainer__ = "Minh Nguyen" | ||
__email__ = "[email protected]" | ||
__status__ = "Development" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import base64 | ||
from itertools import cycle | ||
|
||
CRYPTER_STRING = "7JC1bRsq_4UCTZZkoRO5_zEtd48P1lvTvA9xlI_T8WqilSU5FXS51gEawfvsIKvIinE" | ||
|
||
|
||
def encrypt_text(text): | ||
return xor_crypt_string(text, key=CRYPTER_STRING, encode=True) | ||
|
||
|
||
def decrypt_text(text): | ||
return xor_crypt_string(text, key=CRYPTER_STRING, decode=True) | ||
|
||
|
||
def xor_crypt_string(data: str, key="xor_string", encode=False, decode=False): | ||
bdata = data.encode("utf-8") if isinstance(data, str) else data | ||
if decode: | ||
bdata = base64.b64decode(bdata) | ||
xored = bytes(x ^ y for x, y in zip(bdata, cycle(key.encode("utf-8")))) | ||
out = xored | ||
if encode: | ||
out = base64.b64encode(xored) | ||
return out.decode("utf-8").strip() |
Oops, something went wrong.