Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

updates

Andras Bacsai19a83bb2c0b9
diff --git a/app/Http/Livewire/Team/InviteLink.php b/app/Http/Livewire/Team/InviteLink.php
index a557ea3d54..1a46c21999 100644
--- a/app/Http/Livewire/Team/InviteLink.php
+++ b/app/Http/Livewire/Team/InviteLink.php
@@ -19,6 +19,7 @@ class InviteLink extends Component
public function viaEmail()
{
$this->generate_invite_link(isEmail: true);
+ $this->emit('message', 'Invitation sent via email successfully.');
}
private function generate_invite_link(bool $isEmail = false)
{
@@ -61,7 +62,6 @@ class InviteLink extends Component
$user->first()->notify(new InvitationLinkEmail());
}
$this->emit('refreshInvitations');
- $this->emit('message', 'Invitation sent successfully.');
} catch (\Throwable $e) {
$error_message = $e->getMessage();
if ($e->getCode() === '23505') {
@@ -73,5 +73,6 @@ class InviteLink extends Component
public function inviteByLink()
{
$this->generate_invite_link();
+ $this->emit('message', 'Invitation link generated.');
}
}
diff --git a/resources/views/components/settings/navbar.blade.php b/resources/views/components/settings/navbar.blade.php
index bce6bcb16b..53843b5036 100644
--- a/resources/views/components/settings/navbar.blade.php
+++ b/resources/views/components/settings/navbar.blade.php
@@ -7,7 +7,7 @@
<button>Configuration</button>
</a>
<a class="{{ request()->routeIs('settings.emails') ? 'text-white' : '' }}" href="{{ route('settings.emails') }}">
- <button>Emails</button>
+ <button>SMTP</button>
</a>
<div class="flex-1"></div>
</nav>
diff --git a/resources/views/livewire/project/new/github-private-repository.blade.php b/resources/views/livewire/project/new/github-private-repository.blade.php
index 1e0e19a4c1..85c1a94514 100644
--- a/resources/views/livewire/project/new/github-private-repository.blade.php
+++ b/resources/views/livewire/project/new/github-private-repository.blade.php
@@ -31,8 +31,7 @@
@endif
@endforeach
</x-forms.select>
- <x-forms.button class="h-8 hover:bg-coolgray-400 bg-coolgray-200"
- wire:click.prevent="loadBranches"> Check
+ <x-forms.button wire:click.prevent="loadBranches"> Check
repository</x-forms.button>
</div>
@endif
diff --git a/resources/views/livewire/run-command.blade.php b/resources/views/livewire/run-command.blade.php
index 409967b81a..d9bc3a9d9f 100644
--- a/resources/views/livewire/run-command.blade.php
+++ b/resources/views/livewire/run-command.blade.php
@@ -10,7 +10,7 @@
@endif
@endforeach
</x-forms.select>
- <x-forms.button type="submit" class="h-8 hover:bg-coolgray-400 bg-coolgray-200">Execute Command
+ <x-forms.button type="submit">Execute Command
</x-forms.button>
</form>
<div class="container w-full pt-10 mx-auto">
diff --git a/resources/views/livewire/settings/configuration.blade.php b/resources/views/livewire/settings/configuration.blade.php
index d417b96e96..306aadf73d 100644
--- a/resources/views/livewire/settings/configuration.blade.php
+++ b/resources/views/livewire/settings/configuration.blade.php
@@ -14,10 +14,10 @@
<x-forms.input id="settings.default_redirect_404" label="Default Redirect 404"
helper="All urls that has no service available will be redirected to this domain.<span class='text-helper'>You can set to your main marketing page or your social media link.</span>" />
</div>
- <div class="flex gap-2 ">
+ {{-- <div class="flex gap-2 ">
<x-forms.input type="number" id="settings.public_port_min" label="Public Port Min" />
<x-forms.input type="number" id="settings.public_port_max" label="Public Port Max" />
- </div>
+ </div> --}}
</div>
</form>
diff --git a/resources/views/livewire/settings/email.blade.php b/resources/views/livewire/settings/email.blade.php
index 1e0511de2b..52dd46973f 100644
--- a/resources/views/livewire/settings/email.blade.php
+++ b/resources/views/livewire/settings/email.blade.php
@@ -6,7 +6,7 @@
Save
</x-forms.button>
</div>
- <div class="pt-2 pb-4 text-sm">SMTP settings for password reset, invitation, etc.</div>
+ <div class="pt-2 pb-4 text-sm">SMTP settings for password resets, invitations, etc.</div>
<div class="flex items-end gap-2">
<x-forms.input id="settings.extra_attributes.smtp_test_recipients" label="Test Recipient(s)"
helper="Email list to send a test email to, separated by comma." />
diff --git a/resources/views/team/show.blade.php b/resources/views/team/show.blade.php
index 778122cd4e..b2e6d56237 100644
--- a/resources/views/team/show.blade.php
+++ b/resources/views/team/show.blade.php
@@ -29,12 +29,17 @@
</div>
@else
<div class="py-4">
- <h3>Invite a new member</h3>
- <div class="pb-4 text-xs text-warning">You need to configure SMTP settings before you can invite a new
- member
- via
- email.
- </div>
+ @if (!is_transactional_emails_active())
+ <h3>Invite a new member</h3>
+ <div class="pb-4 text-xs text-warning">You need to configure SMTP settings before you can invite a
+ new
+ member
+ via
+ email.
+ </div>
+ @else
+ <h3 class="pb-4">Invite a new member</h3>
+ @endif
<livewire:team.invite-link />
</div>