From 2b16472cd23caebb25846e0be22212abfaf647f7 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 28 Nov 2016 13:37:36 -0500 Subject: [PATCH 1/5] Fix data multiplicator on wrong field. --- resources/views/admin/nodes/new.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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
From 5c20d0a748c456c2d1edc1a2a11a284701a92e3e Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 28 Nov 2016 13:41:26 -0500 Subject: [PATCH 2/5] Fix daemon version displaying panel version; closes #184 --- resources/views/admin/nodes/view.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/admin/nodes/view.blade.php b/resources/views/admin/nodes/view.blade.php index a200bc74a..b54da125f 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 From 3549abd5ae14e69826a2dcba7ae5312bec3c0cec Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 28 Nov 2016 13:51:18 -0500 Subject: [PATCH 3/5] Fix error page when no nodes exist. --- resources/views/admin/nodes/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { From b4bcc7247fa8bbd306f7f7a7787ba0fc95e7eb04 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 28 Nov 2016 13:55:02 -0500 Subject: [PATCH 4/5] Add some things to node config block that will be useful to some --- resources/views/admin/nodes/view.blade.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/views/admin/nodes/view.blade.php b/resources/views/admin/nodes/view.blade.php index b54da125f..79203f153 100644 --- a/resources/views/admin/nodes/view.blade.php +++ b/resources/views/admin/nodes/view.blade.php @@ -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') }}"
     },

From 8f1419b93171c3174ea73bc48676b883a498b992 Mon Sep 17 00:00:00 2001
From: Dane Everitt 
Date: Mon, 28 Nov 2016 14:00:33 -0500
Subject: [PATCH 5/5] Update changelog

---
 CHANGELOG.md | 9 +++++++++
 1 file changed, 9 insertions(+)

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.