Warning!
Disabling two step confirmation reduces security (as anyone can easily delete anything) and increases
the risk of accidental actions. This is not recommended for production servers.
From 959966ad310992c300f52090e03cc5be932d1d36 Mon Sep 17 00:00:00 2001
From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com>
Date: Fri, 8 Nov 2024 16:43:40 +0100
Subject: [PATCH 32/35] fix from name and from address can not be saved
---
app/Livewire/SettingsEmail.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/Livewire/SettingsEmail.php b/app/Livewire/SettingsEmail.php
index 0ab5754f2..61f720b3a 100644
--- a/app/Livewire/SettingsEmail.php
+++ b/app/Livewire/SettingsEmail.php
@@ -63,6 +63,8 @@ class SettingsEmail extends Component
$this->settings->smtp_username = $this->smtpUsername;
$this->settings->smtp_password = $this->smtpPassword;
$this->settings->smtp_timeout = $this->smtpTimeout;
+ $this->settings->smtp_from_address = $this->smtpFromAddress;
+ $this->settings->smtp_from_name = $this->smtpFromName;
$this->settings->resend_enabled = $this->resendEnabled;
$this->settings->resend_api_key = $this->resendApiKey;
From 0bc646e7a753262c1a313462f6d75314982c297e Mon Sep 17 00:00:00 2001
From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com>
Date: Fri, 8 Nov 2024 17:04:37 +0100
Subject: [PATCH 33/35] fix instance backup page
---
app/Livewire/SettingsBackup.php | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/app/Livewire/SettingsBackup.php b/app/Livewire/SettingsBackup.php
index 6dc5d6ab3..1b0599ffe 100644
--- a/app/Livewire/SettingsBackup.php
+++ b/app/Livewire/SettingsBackup.php
@@ -99,6 +99,14 @@ class SettingsBackup extends Component
$this->database->refresh();
$this->backup->refresh();
$this->s3s = S3Storage::whereTeamId(0)->get();
+
+ $this->uuid = $this->database->uuid;
+ $this->name = $this->database->name;
+ $this->description = $this->database->description;
+ $this->postgres_user = $this->database->postgres_user;
+ $this->postgres_password = $this->database->postgres_password;
+ $this->executions = $this->backup->executions;
+
} catch (\Exception $e) {
return handleError($e, $this);
}
From 754053acc10fa86f7300bf4ebe4669089329a2eb Mon Sep 17 00:00:00 2001
From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com>
Date: Fri, 8 Nov 2024 17:44:12 +0100
Subject: [PATCH 34/35] fix ghost
---
bootstrap/helpers/docker.php | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/bootstrap/helpers/docker.php b/bootstrap/helpers/docker.php
index 2e583b94d..40eacf5c8 100644
--- a/bootstrap/helpers/docker.php
+++ b/bootstrap/helpers/docker.php
@@ -359,8 +359,11 @@ function fqdnLabelsForTraefik(string $uuid, Collection $domains, bool $is_force_
$https_label = "https-{$loop}-{$uuid}-{$service_name}";
}
if (str($image)->contains('ghost')) {
- $labels->push("traefik.http.middlewares.redir-ghost.redirectregex.regex=^{$path}/(.*)");
- $labels->push('traefik.http.middlewares.redir-ghost.redirectregex.replacement=/$1');
+ $labels->push("traefik.http.middlewares.redir-ghost-{$uuid}.redirectregex.regex=^{$path}/(.*)");
+ $labels->push("traefik.http.middlewares.redir-ghost-{$uuid}.redirectregex.replacement=/$1");
+ $labels->push("caddy_{$loop}.handle_path.{$loop}_redir-ghost-{$uuid}.handler=rewrite");
+ $labels->push("caddy_{$loop}.handle_path.{$loop}_redir-ghost-{$uuid}.rewrite.regexp=^{$path}/(.*)");
+ $labels->push("caddy_{$loop}.handle_path.{$loop}_redir-ghost-{$uuid}.rewrite.replacement=/$1");
}
$to_www_name = "{$loop}-{$uuid}-to-www";
From 15c00bcdd72fbc9de85a505e5b74b096382ef9e3 Mon Sep 17 00:00:00 2001
From: Andras Bacsai
Date: Fri, 8 Nov 2024 18:07:40 +0100
Subject: [PATCH 35/35] fix: serverTimezone update
---
resources/views/livewire/server/show.blade.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/views/livewire/server/show.blade.php b/resources/views/livewire/server/show.blade.php
index be351cd66..818412f57 100644
--- a/resources/views/livewire/server/show.blade.php
+++ b/resources/views/livewire/server/show.blade.php
@@ -124,7 +124,7 @@
-