diff --git a/CHANGELOG.md b/CHANGELOG.md index 291a6b32d..41e834a2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,15 @@ This file is a running track of new features and fixes to each version of the pa This project follows [Semantic Versioning](http://semver.org) guidelines. +## v0.5.3 (Bodacious Boreopterus) +### Fixed +* Fixed an error that occurred when viewing a node listing when no nodes were created yet due to a mis-declared variable. Also fixes a bug that would have all nodes trying to connect to the daemon using the same secret token on the node listing, causing only the last node to display properly. +* Fixes a bug that displayed the panel version rather than the daemon version when viewing a node. +* Fixes a multiplicator being applied to an overallocation field rather than a storage space field when adding a node. + +### Changed +* Added a few new configuration variables for nodes to the default config, as well as a variable that will be used in future versions of the daemon. + ## v0.5.2 (Bodacious Boreopterus) ### Fixed * Time axis on server graphs is corrected to show the minutes rather than the current month. diff --git a/resources/views/admin/nodes/index.blade.php b/resources/views/admin/nodes/index.blade.php index ea3752433..26a9fe98d 100644 --- a/resources/views/admin/nodes/index.blade.php +++ b/resources/views/admin/nodes/index.blade.php @@ -51,7 +51,7 @@ @foreach ($nodes as $node) - + {{ $node->name }} {{ $node->a_locationName }} {{ $node->memory }} MB @@ -76,7 +76,7 @@ $(document).ready(function () { type: 'GET', url: $(element).data('location'), headers: { - 'X-Access-Token': '{{ $node->daemonSecret }}' + 'X-Access-Token': $(element).data('secret'), }, timeout: 5000 }).done(function (data) { diff --git a/resources/views/admin/nodes/new.blade.php b/resources/views/admin/nodes/new.blade.php index 952850cb3..08c8e7bfe 100644 --- a/resources/views/admin/nodes/new.blade.php +++ b/resources/views/admin/nodes/new.blade.php @@ -99,7 +99,7 @@
- + %
@@ -117,7 +117,7 @@
- + MB
diff --git a/resources/views/admin/nodes/view.blade.php b/resources/views/admin/nodes/view.blade.php index a200bc74a..79203f153 100644 --- a/resources/views/admin/nodes/view.blade.php +++ b/resources/views/admin/nodes/view.blade.php @@ -71,7 +71,7 @@ Daemon Version - (Latest: {{ Version::getPanel() }}) + (Latest: {{ Version::getDaemon() }}) System Information @@ -276,6 +276,7 @@
{
     "web": {
+        "host": "0.0.0.0",
         "listen": {{ $node->daemonListen }},
         "ssl": {
             "enabled": {{ $node->scheme === 'https' ? 'true' : 'false' }},
@@ -292,6 +293,10 @@
         "port": {{ $node->daemonSFTP }},
         "container": "ptdl-sftp"
     },
+    "query": {
+        "kill_on_fail": false,
+        "fail_limit": 5
+    },
     "logger": {
         "path": "logs/",
         "src": false,
@@ -300,6 +305,7 @@
         "count": 3
     },
     "remote": {
+        "base": "{{ config('app.url') }}",
         "download": "{{ route('remote.download') }}",
         "installed": "{{ route('remote.install') }}"
     },