Skip to content

Commit

Permalink
v2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
demel42 committed Oct 16, 2023
1 parent 0201a6e commit e84adf6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .style
Submodule .style updated 1 files
+1 −1 .php-cs-fixer.php
12 changes: 8 additions & 4 deletions GoogleMaps/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ class GoogleMaps extends IPSModule

private static $STATICMAP_URL_MAXLEN = 8192;

private $ModuleDir;

public function __construct(string $InstanceID)
{
parent::__construct($InstanceID);

$this->ModuleDir = __DIR__;
$this->CommonContruct(__DIR__);
}

public function __destruct()
{
$this->CommonDestruct();
}

public function Create()
Expand All @@ -27,7 +30,8 @@ public function Create()

$this->RegisterPropertyString('api_key', '');

$this->RegisterAttributeString('UpdateInfo', '');
$this->RegisterAttributeString('UpdateInfo', json_encode([]));
$this->RegisterAttributeString('ModuleStats', json_encode([]));
}

private function CheckModuleConfiguration()
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ Für die Karten muss man die benötigten API's (siehe unten) aktivieren und ggfs

## 7. Versions-Historie

- 2.7 @ 19.09.2023 09:25
- Neu: Ermittlung von Speicherbedarf und Laufzeit (aktuell und für 31 Tage) und Anzeige im Panel "Information"
- update submodule CommonStubs

- 2.6 @ 04.07.2023 14:44
- Vorbereitung auf IPS 7 / PHP 8.2
- update submodule CommonStubs
Expand Down
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"compatibility": {
"version": "6.2"
},
"version": "2.6",
"version": "2.7",
"build": 0,
"date": 1688474692
"date": 1695108305
}
2 changes: 1 addition & 1 deletion libs/CommonStubs
Submodule CommonStubs updated 3 files
+10 −0 README.md
+329 −30 common.php
+10 −0 translation.json

0 comments on commit e84adf6

Please sign in to comment.