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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fixes
Andras Bacsai39d37010a387
diff --git a/app/Http/Livewire/Notifications/DiscordSettings.php b/app/Http/Livewire/Notifications/DiscordSettings.phpindex a0c8016778..4e68cff669 100644--- a/app/Http/Livewire/Notifications/DiscordSettings.php+++ b/app/Http/Livewire/Notifications/DiscordSettings.php@@ -10,19 +10,16 @@ use Livewire\Component;class DiscordSettings extends Component{- public Team|Server $model;+ public Team $model;protected $rules = ['model.extra_attributes.discord_active' => 'nullable|boolean','model.extra_attributes.discord_webhook' => 'required|url',];protected $validationAttributes = [- 'model.extra_attributes.discord_webhook' => 'Discord Webhook',+ 'model.extra_attributes.discord_webhook' => '',];- public function mount($model)- {- //- }+public function instantSave(){try {diff --git a/app/Http/Livewire/Notifications/EmailSettings.php b/app/Http/Livewire/Notifications/EmailSettings.phpindex c3d9f987d0..73d7e6c4df 100644--- a/app/Http/Livewire/Notifications/EmailSettings.php+++ b/app/Http/Livewire/Notifications/EmailSettings.php@@ -2,15 +2,12 @@namespace App\Http\Livewire\Notifications;-use App\Models\Server;use App\Models\Team;-use App\Notifications\TestNotification;-use Illuminate\Support\Facades\Notification;use Livewire\Component;class EmailSettings extends Component{- public Team|Server $model;+ public Team $model;protected $rules = ['model.extra_attributes.smtp_active' => 'nullable|boolean',@@ -36,10 +33,6 @@ class EmailSettings extends Component'model.extra_attributes.smtp_password' => '','model.extra_attributes.test_notification_recipients' => '',];- public function mount($model)- {- //- }public function submit(){$this->resetErrorBag();diff --git a/app/Http/Livewire/Notifications/Test.php b/app/Http/Livewire/Notifications/Test.phpindex 74bb8ca418..dadb165f03 100644--- a/app/Http/Livewire/Notifications/Test.php+++ b/app/Http/Livewire/Notifications/Test.php@@ -10,7 +10,7 @@ use Notification;class Test extends Component{- public Team|Server $model;+ public Team $model;public function sendTestNotification(){Notification::send($this->model, new TestNotification);diff --git a/app/Http/Livewire/Project/Application/Deployments.php b/app/Http/Livewire/Project/Application/Deployments.phpindex 3002051d8f..9dd6e96316 100644--- a/app/Http/Livewire/Project/Application/Deployments.php+++ b/app/Http/Livewire/Project/Application/Deployments.php@@ -13,7 +13,7 @@ class Deployments extends Componentpublic string $current_url;public int $skip = 0;public int $default_take = 8;- public bool $show_next = true;+ public bool $show_next = false;public function mount(){@@ -33,8 +33,11 @@ class Deployments extends Component['deployments' => $deployments, 'count' => $count] = Application::find($this->application_id)->deployments($this->skip, $take);$this->deployments = $deployments;$this->deployments_count = $count;- if (count($this->deployments) !== 0 && count($this->deployments) < $take) {- $this->show_next = false;+ if (count($this->deployments) !== 0) {+ $this->show_next = true;+ if (count($this->deployments) < $take) {+ $this->show_next = false;+ }return;}}diff --git a/app/Http/Livewire/Project/Application/Previews.php b/app/Http/Livewire/Project/Application/Previews.phpindex 4a3af6761e..5bbc876907 100644--- a/app/Http/Livewire/Project/Application/Previews.php+++ b/app/Http/Livewire/Project/Application/Previews.php@@ -37,9 +37,14 @@ class Previews extends Component}public function load_prs(){- ['rate_limit_remaining' => $rate_limit_remaining, 'data' => $data] = get_from_git_api($this->application->source, "/repos/{$this->application->git_repository}/pulls");- $this->rate_limit_remaining = $rate_limit_remaining;- $this->pull_requests = $data->sortBy('number')->values();+ try {+ ['rate_limit_remaining' => $rate_limit_remaining, 'data' => $data] = get_from_git_api($this->application->source, "/repos/{$this->application->git_repository}/pulls");+ $this->rate_limit_remaining = $rate_limit_remaining;+ $this->pull_requests = $data->sortBy('number')->values();+ } catch (\Throwable $th) {+ $this->rate_limit_remaining = 0;+ return general_error_handler($th, $this);+ }}public function deploy(int $pull_request_id, string|null $pull_request_html_url = null){diff --git a/app/Http/Livewire/Settings/Email.php b/app/Http/Livewire/Settings/Email.phpdeleted file mode 100644index 3a803d91ef..0000000000--- a/app/Http/Livewire/Settings/Email.php+++ /dev/null@@ -1,41 +0,0 @@-<?php--namespace App\Http\Livewire\Settings;--use App\Models\InstanceSettings;-use Livewire\Component;--class Email extends Component-{- public InstanceSettings $model;-- protected $rules = [- 'model.extra_attributes.from_address' => 'nullable',- 'model.extra_attributes.from_name' => 'nullable',- 'model.extra_attributes.recipients' => 'nullable',- 'model.extra_attributes.smtp_host' => 'nullable',- 'model.extra_attributes.smtp_port' => 'nullable',- 'model.extra_attributes.smtp_encryption' => 'nullable',- 'model.extra_attributes.smtp_username' => 'nullable',- 'model.extra_attributes.smtp_password' => 'nullable',- 'model.extra_attributes.smtp_timeout' => 'nullable',- ];- protected $validationAttributes = [- 'model.extra_attributes.from_address' => 'From Address',- 'model.extra_attributes.from_name' => 'From Name',- 'model.extra_attributes.recipients' => 'Recipients',- 'model.extra_attributes.smtp_host' => 'Host',- 'model.extra_attributes.smtp_port' => 'Port',- 'model.extra_attributes.smtp_encryption' => 'Encryption',- 'model.extra_attributes.smtp_username' => 'Username',- 'model.extra_attributes.smtp_password' => 'Password',- ];- public function mount($model)- {- //- }- public function render()- {- return view('livewire.settings.email');- }-}diff --git a/app/Http/Livewire/SwitchTeam.php b/app/Http/Livewire/SwitchTeam.phpindex 089ccf76b9..109167dfec 100644--- a/app/Http/Livewire/SwitchTeam.php+++ b/app/Http/Livewire/SwitchTeam.php@@ -7,6 +7,11 @@ use Livewire\Component;class SwitchTeam extends Component{+ public string $selectedTeamId = 'default';+ public function updatedSelectedTeamId()+ {+ $this->switch_to($this->selectedTeamId);+ }public function switch_to($team_id){if (!auth()->user()->teams->contains($team_id)) {diff --git a/app/Http/Livewire/Team/Member.php b/app/Http/Livewire/Team/Member.phpnew file mode 100644index 0000000000..98dcd6812f--- /dev/null+++ b/app/Http/Livewire/Team/Member.php@@ -0,0 +1,15 @@+<?php++namespace App\Http\Livewire\Team;++use App\Models\User;+use Livewire\Component;++class Member extends Component+{+ public User $member;+ public function render()+ {+ return view('livewire.team.member');+ }+}diff --git a/app/Models/Team.php b/app/Models/Team.phpindex 9432e19afd..0a703199ad 100644--- a/app/Models/Team.php+++ b/app/Models/Team.php@@ -60,4 +60,8 @@ class Team extends BaseModel implements SendsDiscord, SendsEmail{return $this->hasMany(PrivateKey::class);}+ public function members()+ {+ return $this->belongsToMany(User::class, 'team_user', 'team_id', 'user_id');+ }}diff --git a/database/seeders/TeamSeeder.php b/database/seeders/TeamSeeder.phpindex 975b665b2a..c9e01a7625 100644--- a/database/seeders/TeamSeeder.php+++ b/database/seeders/TeamSeeder.php@@ -42,5 +42,10 @@ class TeamSeeder extends Seeder'user_id' => $normal_user->id,'role' => 'admin',]);+ DB::table('team_user')->insert([+ 'team_id' => $root_user_personal_team->id,+ 'user_id' => $normal_user->id,+ 'role' => 'admin',+ ]);}}diff --git a/database/seeders/UserSeeder.php b/database/seeders/UserSeeder.phpindex 3cc459fe19..a5ab30ddac 100644--- a/database/seeders/UserSeeder.php+++ b/database/seeders/UserSeeder.php@@ -10,11 +10,13 @@ class UserSeeder extends Seederpublic function run(): void{User::factory()->create([- "id" => 0,+ 'id' => 0,+ 'name' => 'Root User','email' => '[email protected]','is_root_user' => true,]);User::factory()->create([+ 'name' => 'Normal User','email' => '[email protected]',]);}diff --git a/package-lock.json b/package-lock.jsonindex d588e33db6..bbeb9a0bcf 100644--- a/package-lock.json+++ b/package-lock.json@@ -5,26 +5,37 @@"packages": {"": {"dependencies": {- "@tailwindcss/typography": "^0.5.9",- "alpinejs": "3.12.0",- "daisyui": "^2.51.6",- "tailwindcss-scrollbar": "^0.1.0"+ "@tailwindcss/typography": "0.5.9",+ "alpinejs": "3.12.2",+ "daisyui": "3.0.0",+ "tailwindcss-scrollbar": "0.1.0"},"devDependencies": {- "@vitejs/plugin-vue": "^4.0.0",+ "@vitejs/plugin-vue": "4.2.3","autoprefixer": "10.4.14",- "axios": "1.3.6",- "laravel-vite-plugin": "0.7.4",- "postcss": "8.4.23",- "tailwindcss": "3.3.1",- "vite": "4.3.1",- "vue": "^3.2.37"+ "axios": "1.4.0",+ "laravel-vite-plugin": "0.7.8",+ "postcss": "8.4.24",+ "tailwindcss": "3.3.2",+ "vite": "4.3.9",+ "vue": "3.3.4"+ }+ },+ "node_modules/@alloc/quick-lru": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"}},"node_modules/@babel/parser": {- "version": "7.21.8",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.8.tgz",- "integrity": "sha512-6zavDGdzG3gUqAdWvlLFfk+36RilI+Pwyuuh7HItyeScCWP3k6i8vKclAQ0bM/0y/Kz/xiwvxhMv9MgTJP5gmA==",+ "version": "7.22.4",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.4.tgz",+ "integrity": "sha512-VLLsx06XkEYqBtE5YGPwfSGwfrjnyPP5oiGty3S8pQLFDFLaS8VwWSIxkTXpcvr5zeYLE6+MBNl2npl/YnfofA==","dev": true,"bin": {"parser": "bin/babel-parser.js"@@ -492,9 +503,9 @@}},"node_modules/@vitejs/plugin-vue": {- "version": "4.2.1",- "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.2.1.tgz",- "integrity": "sha512-ZTZjzo7bmxTRTkb8GSTwkPOYDIP7pwuyV+RV53c9PYUouwcbkIZIvWvNWlX2b1dYZqtOv7D6iUAnJLVNGcLrSw==",+ "version": "4.2.3",+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.2.3.tgz",+ "integrity": "sha512-R6JDUfiZbJA9cMiguQ7jxALsgiprjBeHL5ikpXfJCH62pPHtI+JdJ5xWj6Ev73yXSlYl86+blXn1kZHQ7uElxw==","dev": true,"engines": {"node": "^14.18.0 || >=16.0.0"@@ -505,77 +516,77 @@}},"node_modules/@vue/compiler-core": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.47.tgz",- "integrity": "sha512-p4D7FDnQb7+YJmO2iPEv0SQNeNzcbHdGByJDsT4lynf63AFkOTFN07HsiRSvjGo0QrxR/o3d0hUyNCUnBU2Tig==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.4.tgz",+ "integrity": "sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==","dev": true,"dependencies": {- "@babel/parser": "^7.16.4",- "@vue/shared": "3.2.47",+ "@babel/parser": "^7.21.3",+ "@vue/shared": "3.3.4","estree-walker": "^2.0.2",- "source-map": "^0.6.1"+ "source-map-js": "^1.0.2"}},"node_modules/@vue/compiler-core/node_modules/@vue/shared": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz",- "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz",+ "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==","dev": true},"node_modules/@vue/compiler-dom": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.47.tgz",- "integrity": "sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.4.tgz",+ "integrity": "sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==","dev": true,"dependencies": {- "@vue/compiler-core": "3.2.47",- "@vue/shared": "3.2.47"+ "@vue/compiler-core": "3.3.4",+ "@vue/shared": "3.3.4"}},"node_modules/@vue/compiler-dom/node_modules/@vue/shared": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz",- "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz",+ "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==","dev": true},"node_modules/@vue/compiler-sfc": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.47.tgz",- "integrity": "sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.4.tgz",+ "integrity": "sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==","dev": true,"dependencies": {- "@babel/parser": "^7.16.4",- "@vue/compiler-core": "3.2.47",- "@vue/compiler-dom": "3.2.47",- "@vue/compiler-ssr": "3.2.47",- "@vue/reactivity-transform": "3.2.47",- "@vue/shared": "3.2.47",+ "@babel/parser": "^7.20.15",+ "@vue/compiler-core": "3.3.4",+ "@vue/compiler-dom": "3.3.4",+ "@vue/compiler-ssr": "3.3.4",+ "@vue/reactivity-transform": "3.3.4",+ "@vue/shared": "3.3.4","estree-walker": "^2.0.2",- "magic-string": "^0.25.7",+ "magic-string": "^0.30.0","postcss": "^8.1.10",- "source-map": "^0.6.1"+ "source-map-js": "^1.0.2"}},"node_modules/@vue/compiler-sfc/node_modules/@vue/shared": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz",- "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz",+ "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==","dev": true},"node_modules/@vue/compiler-ssr": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.47.tgz",- "integrity": "sha512-wVXC+gszhulcMD8wpxMsqSOpvDZ6xKXSVWkf50Guf/S+28hTAXPDYRTbLQ3EDkOP5Xz/+SY37YiwDquKbJOgZw==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.4.tgz",+ "integrity": "sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==","dev": true,"dependencies": {- "@vue/compiler-dom": "3.2.47",- "@vue/shared": "3.2.47"+ "@vue/compiler-dom": "3.3.4",+ "@vue/shared": "3.3.4"}},"node_modules/@vue/compiler-ssr/node_modules/@vue/shared": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz",- "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz",+ "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==","dev": true},"node_modules/@vue/reactivity": {@@ -587,83 +598,83 @@}},"node_modules/@vue/reactivity-transform": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.47.tgz",- "integrity": "sha512-m8lGXw8rdnPVVIdIFhf0LeQ/ixyHkH5plYuS83yop5n7ggVJU+z5v0zecwEnX7fa7HNLBhh2qngJJkxpwEEmYA==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz",+ "integrity": "sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==","dev": true,"dependencies": {- "@babel/parser": "^7.16.4",- "@vue/compiler-core": "3.2.47",- "@vue/shared": "3.2.47",+ "@babel/parser": "^7.20.15",+ "@vue/compiler-core": "3.3.4",+ "@vue/shared": "3.3.4","estree-walker": "^2.0.2",- "magic-string": "^0.25.7"+ "magic-string": "^0.30.0"}},"node_modules/@vue/reactivity-transform/node_modules/@vue/shared": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz",- "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz",+ "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==","dev": true},"node_modules/@vue/runtime-core": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.47.tgz",- "integrity": "sha512-RZxbLQIRB/K0ev0K9FXhNbBzT32H9iRtYbaXb0ZIz2usLms/D55dJR2t6cIEUn6vyhS3ALNvNthI+Q95C+NOpA==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.4.tgz",+ "integrity": "sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==","dev": true,"dependencies": {- "@vue/reactivity": "3.2.47",- "@vue/shared": "3.2.47"+ "@vue/reactivity": "3.3.4",+ "@vue/shared": "3.3.4"}},"node_modules/@vue/runtime-core/node_modules/@vue/reactivity": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.47.tgz",- "integrity": "sha512-7khqQ/75oyyg+N/e+iwV6lpy1f5wq759NdlS1fpAhFXa8VeAIKGgk2E/C4VF59lx5b+Ezs5fpp/5WsRYXQiKxQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.4.tgz",+ "integrity": "sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==","dev": true,"dependencies": {- "@vue/shared": "3.2.47"+ "@vue/shared": "3.3.4"}},"node_modules/@vue/runtime-core/node_modules/@vue/shared": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz",- "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz",+ "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==","dev": true},"node_modules/@vue/runtime-dom": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.47.tgz",- "integrity": "sha512-ArXrFTjS6TsDei4qwNvgrdmHtD930KgSKGhS5M+j8QxXrDJYLqYw4RRcDy1bz1m1wMmb6j+zGLifdVHtkXA7gA==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.4.tgz",+ "integrity": "sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==","dev": true,"dependencies": {- "@vue/runtime-core": "3.2.47",- "@vue/shared": "3.2.47",- "csstype": "^2.6.8"+ "@vue/runtime-core": "3.3.4",+ "@vue/shared": "3.3.4",+ "csstype": "^3.1.1"}},"node_modules/@vue/runtime-dom/node_modules/@vue/shared": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz",- "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz",+ "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==","dev": true},"node_modules/@vue/server-renderer": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.47.tgz",- "integrity": "sha512-dN9gc1i8EvmP9RCzvneONXsKfBRgqFeFZLurmHOveL7oH6HiFXJw5OGu294n1nHc/HMgTy6LulU/tv5/A7f/LA==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.4.tgz",+ "integrity": "sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==","dev": true,"dependencies": {- "@vue/compiler-ssr": "3.2.47",- "@vue/shared": "3.2.47"+ "@vue/compiler-ssr": "3.3.4",+ "@vue/shared": "3.3.4"},"peerDependencies": {- "vue": "3.2.47"+ "vue": "3.3.4"}},"node_modules/@vue/server-renderer/node_modules/@vue/shared": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz",- "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz",+ "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==","dev": true},"node_modules/@vue/shared": {@@ -672,9 +683,9 @@"integrity": "sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA=="},"node_modules/alpinejs": {- "version": "3.12.0",- "resolved": "https://registry.npmjs.org/alpinejs/-/alpinejs-3.12.0.tgz",- "integrity": "sha512-YENcRBA9dlwR8PsZNFMTHbmdlTNwd1BkCeivPvOzzCKHas6AfwNRsDK9UEFmE5dXTMEZjnnpCTxV8vkdpWiOCw==",+ "version": "3.12.2",+ "resolved": "https://registry.npmjs.org/alpinejs/-/alpinejs-3.12.2.tgz",+ "integrity": "sha512-wrUZULm9w6DYwWcUtB/anFLgRaF4riSuPgIJ3gcPUS8st9luAJnAxoIgro/Al97d2McSSz/JypWg/NlmKFIJJA==","dependencies": {"@vue/reactivity": "~3.1.1"}@@ -711,6 +722,7 @@"version": "10.4.14","resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz","integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==",+ "dev": true,"funding": [{"type": "opencollective",@@ -740,9 +752,9 @@}},"node_modules/axios": {- "version": "1.3.6",- "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.6.tgz",- "integrity": "sha512-PEcdkk7JcdPiMDkvM4K6ZBRYq9keuVJsToxm2zQIM70Qqo2WHTdJZMXcG9X+RmRp2VPNUQC8W1RAGbgt6b1yMg==",+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz",+ "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==","dev": true,"dependencies": {"follow-redirects": "^1.15.0",@@ -787,6 +799,7 @@"version": "4.21.5","resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz","integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==",+ "dev": true,"funding": [{"type": "opencollective",@@ -822,6 +835,7 @@"version": "1.0.30001467","resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001467.tgz","integrity": "sha512-cEdN/5e+RPikvl9AHm4uuLXxeCNq8rFsQ+lPHTfe/OtypP3WwnVVbjn+6uBV7PaFL6xUFzTh+sSCOz1rKhcO+Q==",+ "dev": true,"funding": [{"type": "opencollective",@@ -870,42 +884,10 @@"node": ">= 6"}},- "node_modules/color": {- "version": "4.2.3",- "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",- "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",- "dependencies": {- "color-convert": "^2.0.1",- "color-string": "^1.9.0"- },- "engines": {- "node": ">=12.5.0"- }- },- "node_modules/color-convert": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",- "dependencies": {- "color-name": "~1.1.4"- },- "engines": {- "node": ">=7.0.0"- }- },- "node_modules/color-name": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="- },- "node_modules/color-string": {- "version": "1.9.1",- "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",- "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",- "dependencies": {- "color-name": "^1.0.0",- "simple-swizzle": "^0.2.2"- }+ "node_modules/colord": {+ "version": "2.9.3",+ "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz",+ "integrity": "sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw=="},"node_modules/combined-stream": {"version": "1.0.8",@@ -953,19 +935,19 @@}},"node_modules/csstype": {- "version": "2.6.21",- "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.21.tgz",- "integrity": "sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==",+ "version": "3.1.2",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz",+ "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==","dev": true},"node_modules/daisyui": {- "version": "2.51.6",- "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-2.51.6.tgz",- "integrity": "sha512-JRqOKayuFCmWe4X4k6Qvx1y7V/VNao8U5eTSOhusOKIzCsYqf56+TCSe4d7zmqGE0V6JiLDYAT8JeoWUeRKFCw==",+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.0.0.tgz",+ "integrity": "sha512-EuNK9JQd5yrPLDynAPQkG/29vjZXFWhBK4HXvM83d9oJU0EmF35UNLLs0cslBFfLK4b+bOuhgoYPJ4BjytOxNQ==","dependencies": {- "color": "^4.2",- "css-selector-tokenizer": "^0.8.0",- "postcss-js": "^4.0.0",+ "colord": "^2.9",+ "css-selector-tokenizer": "^0.8",+ "postcss-js": "^4","tailwindcss": "^3"},"funding": {@@ -973,8 +955,7 @@"url": "https://opencollective.com/daisyui"},"peerDependencies": {- "autoprefixer": "^10.0.2",- "postcss": "^8.1.6"+ "postcss": "^8"}},"node_modules/delayed-stream": {@@ -999,7 +980,8 @@"node_modules/electron-to-chromium": {"version": "1.4.332","resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.332.tgz",- "integrity": "sha512-c1Vbv5tuUlBFp0mb3mCIjw+REEsgthRgNE8BlbEDKmvzb8rxjcVki6OkQP83vLN34s0XCxpSkq7AZNep1a6xhw=="+ "integrity": "sha512-c1Vbv5tuUlBFp0mb3mCIjw+REEsgthRgNE8BlbEDKmvzb8rxjcVki6OkQP83vLN34s0XCxpSkq7AZNep1a6xhw==",+ "dev": true},"node_modules/esbuild": {"version": "0.17.12",@@ -1042,6 +1024,7 @@"version": "3.1.1","resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz","integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",+ "dev": true,"engines": {"node": ">=6"}@@ -1140,6 +1123,7 @@"version": "4.2.0","resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz","integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==",+ "dev": true,"engines": {"node": "*"},@@ -1234,11 +1218,6 @@"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz","integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="},- "node_modules/is-arrayish": {- "version": "0.3.2",- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",- "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="- },"node_modules/is-binary-path": {"version": "2.1.0","resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",@@ -1251,9 +1230,9 @@}},"node_modules/is-core-module": {- "version": "2.11.0",- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",- "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==",+ "version": "2.12.1",+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz",+ "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==","dependencies": {"has": "^1.0.3"},@@ -1297,9 +1276,9 @@}},"node_modules/laravel-vite-plugin": {- "version": "0.7.4",- "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-0.7.4.tgz",- "integrity": "sha512-NlIuXbeuI+4NZzRpWNpGHRVTwuFWessvD7QoD+o2MlyAi7qyUS4J8r4/yTlu1dl9lxcR7iKoYUmHQqZDcrw2KA==",+ "version": "0.7.8",+ "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-0.7.8.tgz",+ "integrity": "sha512-HWYqpQYHR3kEQ1LsHX7gHJoNNf0bz5z5mDaHBLzS+PGLCTmYqlU5/SZyeEgObV7z7bC/cnStYcY9H1DI1D5Udg==","dev": true,"dependencies": {"picocolors": "^1.0.0",@@ -1341,12 +1320,15 @@"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="},"node_modules/magic-string": {- "version": "0.25.9",- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz",- "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==",+ "version": "0.30.0",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz",+ "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==","dev": true,"dependencies": {- "sourcemap-codec": "^1.4.8"+ "@jridgewell/sourcemap-codec": "^1.4.13"+ },+ "engines": {+ "node": ">=12"}},"node_modules/merge2": {@@ -1431,7 +1413,8 @@"node_modules/node-releases": {"version": "2.0.10","resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz",- "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w=="+ "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==",+ "dev": true},"node_modules/normalize-path": {"version": "3.0.0",@@ -1445,6 +1428,7 @@"version": "0.1.2","resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz","integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",+ "dev": true,"engines": {"node": ">=0.10.0"}@@ -1519,9 +1503,9 @@}},"node_modules/postcss": {- "version": "8.4.23",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.23.tgz",- "integrity": "sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==",+ "version": "8.4.24",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz",+ "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==","funding": [{"type": "opencollective",@@ -1546,16 +1530,16 @@}},"node_modules/postcss-import": {- "version": "14.1.0",- "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.1.0.tgz",- "integrity": "sha512-flwI+Vgm4SElObFVPpTIT7SU7R3qk2L7PyduMcokiaVKuWv9d/U+Gm/QAd8NDLuykTWTkcrjOeD2Pp1rMeBTGw==",+ "version": "15.1.0",+ "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",+ "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==","dependencies": {"postcss-value-parser": "^4.0.0","read-cache": "^1.0.0","resolve": "^1.1.7"},"engines": {- "node": ">=10.0.0"+ "node": ">=14.0.0"},"peerDependencies": {"postcss": "^8.0.0"@@ -1580,15 +1564,15 @@}},"node_modules/postcss-load-config": {- "version": "3.1.4",- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz",- "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==",+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz",+ "integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==","dependencies": {"lilconfig": "^2.0.5",- "yaml": "^1.10.2"+ "yaml": "^2.1.1"},"engines": {- "node": ">= 10"+ "node": ">= 14"},"funding": {"type": "opencollective",@@ -1608,11 +1592,11 @@}},"node_modules/postcss-nested": {- "version": "6.0.0",- "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.0.tgz",- "integrity": "sha512-0DkamqrPcmkBDsLn+vQDIrtkSbNkv5AD/M322ySo9kqFkCIYklym2xEmWkwo+Y3/qZo34tzEPNUw4y7yMCdv5w==",+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz",+ "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==","dependencies": {- "postcss-selector-parser": "^6.0.10"+ "postcss-selector-parser": "^6.0.11"},"engines": {"node": ">=12.0"@@ -1626,9 +1610,9 @@}},"node_modules/postcss-selector-parser": {- "version": "6.0.11",- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz",- "integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==",+ "version": "6.0.13",+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz",+ "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==","dependencies": {"cssesc": "^3.0.0","util-deprecate": "^1.0.2"@@ -1667,17 +1651,6 @@}]},- "node_modules/quick-lru": {- "version": "5.1.1",- "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",- "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==",- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },"node_modules/read-cache": {"version": "1.0.0","resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",@@ -1698,11 +1671,11 @@}},"node_modules/resolve": {- "version": "1.22.1",- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz",- "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==",+ "version": "1.22.2",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz",+ "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==","dependencies": {- "is-core-module": "^2.9.0",+ "is-core-module": "^2.11.0","path-parse": "^1.0.7","supports-preserve-symlinks-flag": "^1.0.0"},@@ -1779,23 +1752,6 @@"node": ">=14.0.0"}},- "node_modules/simple-swizzle": {- "version": "0.2.2",- "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",- "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",- "dependencies": {- "is-arrayish": "^0.3.1"- }- },- "node_modules/source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true,- "engines": {- "node": ">=0.10.0"- }- },"node_modules/source-map-js": {"version": "1.0.2","resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",@@ -1804,13 +1760,6 @@"node": ">=0.10.0"}},- "node_modules/sourcemap-codec": {- "version": "1.4.8",- "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",- "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==",- "deprecated": "Please use @jridgewell/sourcemap-codec instead",- "dev": true- },"node_modules/sucrase": {"version": "3.32.0","resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.32.0.tgz",@@ -1844,44 +1793,40 @@}},"node_modules/tailwindcss": {- "version": "3.3.1",- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.1.tgz",- "integrity": "sha512-Vkiouc41d4CEq0ujXl6oiGFQ7bA3WEhUZdTgXAhtKxSy49OmKs8rEfQmupsfF0IGW8fv2iQkp1EVUuapCFrZ9g==",+ "version": "3.3.2",+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.2.tgz",+ "integrity": "sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==","dependencies": {+ "@alloc/quick-lru": "^5.2.0","arg": "^5.0.2","chokidar": "^3.5.3",- "color-name": "^1.1.4","didyoumean": "^1.2.2","dlv": "^1.1.3","fast-glob": "^3.2.12","glob-parent": "^6.0.2","is-glob": "^4.0.3",- "jiti": "^1.17.2",- "lilconfig": "^2.0.6",+ "jiti": "^1.18.2",+ "lilconfig": "^2.1.0","micromatch": "^4.0.5","normalize-path": "^3.0.0","object-hash": "^3.0.0","picocolors": "^1.0.0",- "postcss": "^8.0.9",- "postcss-import": "^14.1.0",- "postcss-js": "^4.0.0",- "postcss-load-config": "^3.1.4",- "postcss-nested": "6.0.0",+ "postcss": "^8.4.23",+ "postcss-import": "^15.1.0",+ "postcss-js": "^4.0.1",+ "postcss-load-config": "^4.0.1",+ "postcss-nested": "^6.0.1","postcss-selector-parser": "^6.0.11","postcss-value-parser": "^4.2.0",- "quick-lru": "^5.1.1",- "resolve": "^1.22.1",- "sucrase": "^3.29.0"+ "resolve": "^1.22.2",+ "sucrase": "^3.32.0"},"bin": {"tailwind": "lib/cli.js","tailwindcss": "lib/cli.js"},"engines": {- "node": ">=12.13.0"- },- "peerDependencies": {- "postcss": "^8.0.9"+ "node": ">=14.0.0"}},"node_modules/tailwindcss-scrollbar": {@@ -1931,6 +1876,7 @@"version": "1.0.10","resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz","integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==",+ "dev": true,"funding": [{"type": "opencollective",@@ -1958,14 +1904,14 @@"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="},"node_modules/vite": {- "version": "4.3.1",- "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.1.tgz",- "integrity": "sha512-EPmfPLAI79Z/RofuMvkIS0Yr091T2ReUoXQqc5ppBX/sjFRhHKiPPF/R46cTdoci/XgeQpB23diiJxq5w30vdg==",+ "version": "4.3.9",+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.9.tgz",+ "integrity": "sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==","dev": true,"dependencies": {"esbuild": "^0.17.5",- "postcss": "^8.4.21",- "rollup": "^3.20.2"+ "postcss": "^8.4.23",+ "rollup": "^3.21.0"},"bin": {"vite": "bin/vite.js"@@ -2019,22 +1965,22 @@}},"node_modules/vue": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.47.tgz",- "integrity": "sha512-60188y/9Dc9WVrAZeUVSDxRQOZ+z+y5nO2ts9jWXSTkMvayiWxCWOWtBQoYjLeccfXkiiPZWAHcV+WTPhkqJHQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.4.tgz",+ "integrity": "sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==","dev": true,"dependencies": {- "@vue/compiler-dom": "3.2.47",- "@vue/compiler-sfc": "3.2.47",- "@vue/runtime-dom": "3.2.47",- "@vue/server-renderer": "3.2.47",- "@vue/shared": "3.2.47"+ "@vue/compiler-dom": "3.3.4",+ "@vue/compiler-sfc": "3.3.4",+ "@vue/runtime-dom": "3.3.4",+ "@vue/server-renderer": "3.3.4",+ "@vue/shared": "3.3.4"}},"node_modules/vue/node_modules/@vue/shared": {- "version": "3.2.47",- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz",- "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==",+ "version": "3.3.4",+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.4.tgz",+ "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==","dev": true},"node_modules/wrappy": {@@ -2043,11 +1989,11 @@"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="},"node_modules/yaml": {- "version": "1.10.2",- "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",- "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz",+ "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==","engines": {- "node": ">= 6"+ "node": ">= 14"}}}diff --git a/package.json b/package.jsonindex 81441de954..a312430148 100644--- a/package.json+++ b/package.json@@ -5,19 +5,19 @@"build": "vite build"},"devDependencies": {- "@vitejs/plugin-vue": "^4.0.0",+ "@vitejs/plugin-vue": "4.2.3","autoprefixer": "10.4.14",- "axios": "1.3.6",- "laravel-vite-plugin": "0.7.4",- "postcss": "8.4.23",- "tailwindcss": "3.3.1",- "vite": "4.3.1",- "vue": "^3.2.37"+ "axios": "1.4.0",+ "laravel-vite-plugin": "0.7.8",+ "postcss": "8.4.24",+ "tailwindcss": "3.3.2",+ "vite": "4.3.9",+ "vue": "3.3.4"},"dependencies": {- "@tailwindcss/typography": "^0.5.9",- "alpinejs": "3.12.0",- "daisyui": "^2.51.6",- "tailwindcss-scrollbar": "^0.1.0"+ "@tailwindcss/typography": "0.5.9",+ "alpinejs": "3.12.2",+ "daisyui": "3.0.0",+ "tailwindcss-scrollbar": "0.1.0"}-}+}\ No newline at end of filediff --git a/resources/css/app.css b/resources/css/app.cssindex a392a3cf23..69b7bffe0a 100644--- a/resources/css/app.css+++ b/resources/css/app.css@@ -39,29 +39,33 @@ select {.breadcrumbs > ul > li::before {@apply text-warning opacity-100;}+.loading {+ @apply w-4 text-warning;+}+button[type="button"] {- @apply btn btn-xs mt-1 bg-coolgray-200 no-animation normal-case text-white rounded;+ @apply hover:bg-coolgray-400 btn h-7 btn-xs border-none bg-coolgray-200 no-animation normal-case text-white rounded;}button[type="submit"] {- @apply btn btn-xs mt-1 no-animation normal-case text-white btn-primary rounded;+ @apply btn btn-xs no-animation h-7 normal-case text-white btn-primary rounded;}button[isWarning] {- @apply text-error;+ @apply bg-error;}button[isHighlighted] {@apply btn-primary text-white;}h1 {- @apply text-3xl font-bold pb-4 text-white;+ @apply text-3xl font-bold text-white;}h2 {- @apply text-2xl font-bold pb-4 text-white;+ @apply text-2xl font-bold text-white;}h3 {- @apply text-xl font-bold py-4 text-white;+ @apply text-xl font-bold text-white;}h4 {- @apply text-base font-bold pb-4 text-white;+ @apply text-base font-bold text-white;}a {@apply text-neutral-400 hover:text-white text-sm link link-hover hover:bg-transparent;diff --git a/resources/views/auth/forgot-password.blade.php b/resources/views/auth/forgot-password.blade.phpindex 8c2366f591..7caec854d2 100644--- a/resources/views/auth/forgot-password.blade.php+++ b/resources/views/auth/forgot-password.blade.php@@ -7,7 +7,7 @@</div><div class="flex items-center gap-2">- <h1 class="pb-0">{{ __('auth.forgot_password') }}</h1>+ <h1>{{ __('auth.forgot_password') }}</h1></div><div class="w-96"><form action="/forgot-password" method="POST" class="flex flex-col gap-2">diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.phpindex 38d8fa07c7..26180093a4 100644--- a/resources/views/auth/login.blade.php+++ b/resources/views/auth/login.blade.php@@ -6,7 +6,7 @@<x-version /></div><div class="flex items-center gap-2">- <h1 class="pb-0">{{ __('auth.login') }}</h1>+ <h1>{{ __('auth.login') }}</h1>@if ($is_registration_enabled)<a href="/register" class="flex justify-center pt-2 hover:no-underline"><buttondiff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.phpindex 7866569c63..80cfca5bb6 100644--- a/resources/views/auth/register.blade.php+++ b/resources/views/auth/register.blade.php@@ -6,7 +6,7 @@<x-version /></div><div class="flex items-center gap-2">- <h1 class="pb-0">{{ __('auth.register') }}</h1>+ <h1>{{ __('auth.register') }}</h1><a href="/login" class="flex justify-center pt-2 hover:no-underline"><buttonclass="normal-case rounded-none btn btn-sm btn-primary bg-coollabs-gradient">{{ __('auth.already_registered') }}</button>diff --git a/resources/views/auth/reset-password.blade.php b/resources/views/auth/reset-password.blade.phpindex 7032893559..1e36786afc 100644--- a/resources/views/auth/reset-password.blade.php+++ b/resources/views/auth/reset-password.blade.php@@ -6,7 +6,7 @@<x-version /></div><div class="flex items-center gap-2">- <h1 class="pb-0">{{ __('auth.reset_password') }}</h1>+ <h1>{{ __('auth.reset_password') }}</h1></div><div><form action="/reset-password" method="POST" class="flex flex-col gap-2">diff --git a/resources/views/components/applications/navbar.blade.php b/resources/views/components/applications/navbar.blade.phpindex 457773e811..87caed2d78 100644--- a/resources/views/components/applications/navbar.blade.php+++ b/resources/views/components/applications/navbar.blade.php@@ -28,7 +28,7 @@class="mt-1 text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">@if (data_get($application, 'fqdn'))<li>- <a class="text-xs hover:no-underline hover:bg-coollabs" target="_blank"+ <a class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs" target="_blank"href="{{ $application->fqdn }}">{{ $application->fqdn }}<x-external-link />@@ -39,8 +39,8 @@@foreach ($application->ports_mappings_array as $port)@if (config('app.env') === 'local')<li>- <a class="text-xs hover:no-underline hover:bg-coollabs" target="_blank"- href="http://localhost:{{ explode(':', $port)[0] }}">Port+ <a class="text-xs text-white rounded-none hover:no-underline hover:bg-coollabs"+ target="_blank" href="http://localhost:{{ explode(':', $port)[0] }}">Port{{ explode(':', $port)[0] }}<x-external-link /></a>diff --git a/resources/views/components/forms/button.blade.php b/resources/views/components/forms/button.blade.phpindex bb1f448a71..09f48b959b 100644--- a/resources/views/components/forms/button.blade.php+++ b/resources/views/components/forms/button.blade.php@@ -9,26 +9,26 @@<div class="tooltip tooltip-warning" data-tip="{{ $tooltip }}">@endisset@if ($type === 'submit')- <button {{ $attributes }} type="submit" @if ($disabled !== null) disabled @endif wire:target="submit"- wire:loading.delay.shorter.class="loading"+ <button {{ $attributes }} type="submit" @if ($disabled !== null) disabled @endif@isset($confirm)x-on:click="toggleConfirmModal('{{ $confirm }}', '{{ explode('(', $confirmAction)[0] }}')"@endisset@isset($confirmAction)x-on:{{ explode('(', $confirmAction)[0] }}.window="$wire.{{ explode('(', $confirmAction)[0] }}"@endisset>+ <span wire:target="submit" wire:loading.delay class="loading loading-spinner"></span>{{ $slot }}</button>@elseif($type === 'button')<button {{ $attributes }} @if ($disabled !== null) disabled @endif type="button"- wire:target="{{ explode('(', $attributes->whereStartsWith('wire:click')->first())[0] }}"- wire:loading.delay.shorter.class="loading"@isset($confirm)x-on:click="toggleConfirmModal('{{ $confirm }}', '{{ explode('(', $confirmAction)[0] }}')"@endisset@isset($confirmAction)x-on:{{ explode('(', $confirmAction)[0] }}.window="$wire.{{ explode('(', $confirmAction)[0] }}"@endisset>+ <span wire:target="{{ explode('(', $attributes->whereStartsWith('wire:click')->first())[0] }}"+ wire:loading.delay class="loading loading-spinner"></span>{{ $slot }}</button>@endifdiff --git a/resources/views/components/loading.blade.php b/resources/views/components/loading.blade.phpindex cab8315c39..fb99b0ff7a 100644--- a/resources/views/components/loading.blade.php+++ b/resources/views/components/loading.blade.php@@ -1,3 +1 @@-<div>- Loading...-</div>+<span class="loading loading-spinner"></span>diff --git a/resources/views/components/naked-modal.blade.php b/resources/views/components/naked-modal.blade.phpindex 0a6fea48df..d6092028a9 100644--- a/resources/views/components/naked-modal.blade.php+++ b/resources/views/components/naked-modal.blade.php@@ -4,13 +4,14 @@'action' => 'delete',])<div x-cloak x-show="{{ $show }}" x-transition class="modal modal-open">- <div class="relative modal-box">+ <div class="relative text-center rounded modal-box bg-coolgray-100"><div class="pb-8 text-base font-bold text-white">{{ $message }}</div>- <div class="flex justify-end gap-4 text-xs">- <x-forms.button wire:click='{{ $action }}' x-on:click="{{ $show }} = false">+ <div class="flex justify-center gap-4 text-xs">+ <x-forms.button class="w-32" isWarning wire:click='{{ $action }}'+ x-on:click="{{ $show }} = false">Yes</x-forms.button>- <x-forms.button x-on:click="{{ $show }} = false">No</x-forms.button>+ <x-forms.button class="w-32" x-on:click="{{ $show }} = false">No</x-forms.button></div></div></div>diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.phpindex 2e2f119907..5e6a5d1177 100644--- a/resources/views/components/navbar.blade.php+++ b/resources/views/components/navbar.blade.php@@ -1,20 +1,22 @@@auth<nav class="main-navbar">- <ul class="gap-2 p-1 pt-2 menu" title="Dashboard">- <li class="{{ request()->is('/') ? 'text-warning' : '' }}">- <a @if (!request()->is('/')) href="/" @endif>- <svg xmlns="http://www.w3.org/2000/svg" class="icon" fill="none" viewBox="0 0 24 24"- stroke="currentColor">+ <ul class="gap-4 menu ">+ <li>+ <a class="hover:bg-transparent" @if (!request()->is('/')) href="/" @endif>+ <svg xmlns="http://www.w3.org/2000/svg" class="{{ request()->is('/') ? 'text-warning icon' : 'icon' }}"+ fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" /></svg></a></li>- <li class="{{ request()->is('server/*') || request()->is('servers') ? 'text-warning' : '' }}" title="Servers">- <a @if (!request()->is('servers')) href="/servers" @endif>- <svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">+ <li title="Servers">+ <a class="hover:bg-transparent" @if (!request()->is('servers')) href="/servers" @endif>+ <svg xmlns="http://www.w3.org/2000/svg"+ class="{{ request()->is('server/*') || request()->is('servers') ? 'text-warning icon' : 'icon' }}"+ viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"+ stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z" /><path d="M15 20h-9a3 3 0 0 1 -3 -3v-2a3 3 0 0 1 3 -3h12" />@@ -24,11 +26,12 @@</svg></a></li>- <li class="{{ request()->is('project/*') || request()->is('projects') ? 'text-warning' : '' }}"- title="Projects">- <a @if (!request()->is('projects')) href="/projects" @endif>- <svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">+ <li title="Projects">+ <a class="hover:bg-transparent" @if (!request()->is('projects')) href="/projects" @endif>+ <svg xmlns="http://www.w3.org/2000/svg"+ class="{{ request()->is('project/*') || request()->is('projects') ? 'text-warning icon' : 'icon' }}"viewBox="0 0 24 24"+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"+ stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M12 4l-8 4l8 4l8 -4l-8 -4" /><path d="M4 12l8 4l8 -4" />@@ -39,20 +42,24 @@@if (auth()->user()->isPartOfRootTeam())- <li class="{{ request()->is('command-center') ? 'text-warning' : '' }}" title="Command Center">- <a @if (!request()->is('command-center')) href="/command-center" @endif>- <svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">+ <li title="Command Center">+ <a class="hover:bg-transparent" @if (!request()->is('command-center')) href="/command-center" @endif>+ <svg xmlns="http://www.w3.org/2000/svg"+ class="{{ request()->is('command-center') ? 'text-warning icon' : 'icon' }}" viewBox="0 0 24 24"+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"+ stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M5 7l5 5l-5 5" /><path d="M12 19l7 0" /></svg></a></li>- <li class="{{ request()->is('settings') ? 'text-warning' : ' ' }}" title="Settings">- <a @if (!request()->is('settings')) href="/settings" @endif>- <svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"- stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">+ <li title="Settings">+ <a class="hover:bg-transparent" @if (!request()->is('settings')) href="/settings" @endif>+ <svg xmlns="http://www.w3.org/2000/svg"+ class="{{ request()->is('settings') ? 'text-warning icon' : 'icon' }}" viewBox="0 0 24 24"+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"+ stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><pathd="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" />@@ -76,10 +83,9 @@</svg></div></label>- <ul tabindex="0"- class="p-2 mt-3 text-white rounded shadow menu menu-compact dropdown-content bg-coolgray-200 w-52">+ <ul tabindex="0" class="p-2 mt-3 rounded shadow menu menu-compact dropdown-content bg-coolgray-200 w-52"><li>- <a class="hover:no-underline hover:bg-coollabs" href="/profile">+ <a class="text-white rounded-none hover:no-underline hover:bg-coollabs" href="/profile"><svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" />@@ -90,7 +96,7 @@</a></li><li>- <a class="hover:no-underline hover:bg-coollabs" href="/profile/team">+ <a class="text-white rounded-none hover:no-underline hover:bg-coollabs" href="/profile/team"><svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" />@@ -106,9 +112,9 @@<form action="/logout" method="POST"><li>@csrf- <button class="text-sm hover:bg-coollabs"> <svg xmlns="http://www.w3.org/2000/svg" class="icon"- viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none"- stroke-linecap="round" stroke-linejoin="round">+ <button class="text-sm text-white rounded-none hover:bg-coollabs"> <svg+ xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5"+ stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M13 12v.01" /><path d="M3 21h18" />diff --git a/resources/views/components/server/navbar.blade.php b/resources/views/components/server/navbar.blade.phpnew file mode 100644index 0000000000..c606023862--- /dev/null+++ b/resources/views/components/server/navbar.blade.php@@ -0,0 +1,22 @@+<div class="pb-6">+ <h1>Server</h1>+ <div class="text-sm breadcrumbs pb-11">+ <ul>+ <li>{{ data_get($server, 'name') }}</li>+ </ul>+ </div>+ <nav class="flex items-center gap-4 py-2 border-b-2 border-solid border-coolgray-200">+ <a class="{{ request()->routeIs('server.show') ? 'text-white' : '' }}"+ href="{{ route('server.show', [+ 'server_uuid' => Route::current()->parameters()['server_uuid'],+ ]) }}">+ <button>General</button>+ </a>+ <a class="{{ request()->routeIs('server.proxy') ? 'text-white' : '' }}"+ href="{{ route('server.proxy', [+ 'server_uuid' => Route::current()->parameters()['server_uuid'],+ ]) }}">+ <button>Proxy</button>+ </a>+ </nav>+</div>diff --git a/resources/views/components/team/navbar.blade.php b/resources/views/components/team/navbar.blade.phpnew file mode 100644index 0000000000..9d84d60f3c--- /dev/null+++ b/resources/views/components/team/navbar.blade.php@@ -0,0 +1,19 @@+<div class="pb-6">+ <h1>Team</h1>+ <div class="text-sm breadcrumbs pb-11">+ <ul>+ <li>{{ session('currentTeam.name') }}</li>+ </ul>+ </div>+ <nav class="flex items-center gap-4 py-2 border-b-2 border-solid border-coolgray-200">+ <a class="{{ request()->routeIs('team.show') ? 'text-white' : '' }}" href="{{ route('team.show') }}">+ <button>Members</button>+ </a>+ <a class="{{ request()->routeIs('team.notifications') ? 'text-white' : '' }}"+ href="{{ route('team.notifications') }}">+ <button>Notifications</button>+ </a>+ <div class="flex-1"></div>+ <livewire:switch-team />+ </nav>+</div>diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.phpindex 0f521ea311..2b6a06c1ec 100644--- a/resources/views/dashboard.blade.php+++ b/resources/views/dashboard.blade.php@@ -1,6 +1,6 @@<x-layout>- <h1>Dashboard</h1>- <div class="">+ <h1 class="pb-2">Dashboard</h1>+ <div class="text-sm ">Something useful will be here.</div></x-layout>diff --git a/resources/views/livewire/force-upgrade.blade.php b/resources/views/livewire/force-upgrade.blade.phpindex ef54723698..83fe28b80d 100644--- a/resources/views/livewire/force-upgrade.blade.php+++ b/resources/views/livewire/force-upgrade.blade.php@@ -1,23 +1,11 @@<div class="flex gap-10 text-xs text-white" x-data="{ visible: @entangle('visible') }">- <button x-cloak x-show="!visible"- class="gap-2 text-white normal-case btn btn-ghost hover:no-underline bg-coollabs hover:bg-coollabs-100"- wire:click='upgrade'>- <svg xmlns="http://www.w3.org/2000/svg" class="icon" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"- fill="none" stroke-linecap="round" stroke-linejoin="round">- <path stroke="none" d="M0 0h24v24H0z" fill="none" />- <path d="M10 20.777a8.942 8.942 0 0 1 -2.48 -.969" />- <path d="M14 3.223a9.003 9.003 0 0 1 0 17.554" />- <path d="M4.579 17.093a8.961 8.961 0 0 1 -1.227 -2.592" />- <path d="M3.124 10.5c.16 -.95 .468 -1.85 .9 -2.675l.169 -.305" />- <path d="M6.907 4.579a8.954 8.954 0 0 1 3.093 -1.356" />- <path d="M12 9l-2 3h4l-2 3" />- </svg>Force Upgrade- </button>+ <x-forms.button x-cloak x-show="!visible" wire:click='upgrade'>+ Force Upgrade+ </x-forms.button><template x-if="visible"><div class="bg-coollabs-gradient">- <svg xmlns="http://www.w3.org/2000/svg" class="w-10 h-10 mx-auto text-pink-500 lds-heart"- viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"- stroke-linejoin="round">+ <svg xmlns="http://www.w3.org/2000/svg" class="w-10 h-10 mx-auto text-pink-500 lds-heart" viewBox="0 0 24 24"+ stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" /><path d="M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg> Upgrading, please wait...diff --git a/resources/views/livewire/notifications/discord-settings.blade.php b/resources/views/livewire/notifications/discord-settings.blade.phpindex 62c2ec69ad..4e053b9651 100644--- a/resources/views/livewire/notifications/discord-settings.blade.php+++ b/resources/views/livewire/notifications/discord-settings.blade.php@@ -1,19 +1,16 @@<div><form wire:submit.prevent='submit' class="flex flex-col"><div class="flex items-center gap-2">- <h3>Discord</h3>- <x-forms.button class="w-16 mt-4" type="submit">+ <h2>Discord</h2>+ <x-forms.button type="submit">Save</x-forms.button></div><div class="flex flex-col gap-2 xl:flex-row w-96"><x-forms.checkbox instantSave id="model.extra_attributes.discord_active" label="Notification Enabled" /></div>- <div class="flex flex-col gap-2 xl:flex-row w-96">- <x-forms.input required id="model.extra_attributes.discord_webhook" label="Webhook" />- </div>- <div>-- </div>+ <x-forms.input type="string"+ helper="Generate a webhook in Discord.<br>Example: https://discord.com/api/webhooks/...." required+ id="model.extra_attributes.discord_webhook" label="Webhook" /></form></div>diff --git a/resources/views/livewire/notifications/email-settings.blade.php b/resources/views/livewire/notifications/email-settings.blade.phpindex 78d831f378..ae69de13ec 100644--- a/resources/views/livewire/notifications/email-settings.blade.php+++ b/resources/views/livewire/notifications/email-settings.blade.php@@ -1,36 +1,43 @@<div>- <form wire:submit.prevent='submit' class="flex flex-col mt-2">+ <form wire:submit.prevent='submit' class="flex flex-col"><div class="flex items-center gap-2">- <h3>E-mail (SMTP)</h3>- <x-forms.button class="w-16 mt-4" type="submit">+ <h2>Email</h2>+ <x-forms.button type="submit">Save</x-forms.button></div><div class="flex flex-col w-96"><x-forms.checkbox instantSave id="model.extra_attributes.smtp_active" label="Notification Enabled" /></div>- <x-forms.input id="model.extra_attributes.test_notification_recipients" label="Test Notification Recipient(s)"- helper="Emails separated by comma." />- <div class="flex flex-col gap-2 xl:flex-row">- <div class="flex flex-col w-96">- <x-forms.input required id="model.extra_attributes.recipients" helper="Emails separated by comma."- label="Recipient(s)" />- </div>++ <div class="flex gap-2">+ <x-forms.input required id="model.extra_attributes.recipients"+ helper="Email list to send the all notifications to, separated by comma." label="Recipient(s)" />+ <x-forms.input id="model.extra_attributes.test_notification_recipients"+ label="Test Notification Recipient(s)"+ helper="Email list to send the test notification to, separated by comma." /></div><div class="flex flex-col gap-2 xl:flex-row"><div class="flex flex-col w-96">- <x-forms.input required id="model.extra_attributes.smtp_host" label="Host" />- <x-forms.input required id="model.extra_attributes.smtp_port" label="Port" />- <x-forms.input id="model.extra_attributes.smtp_encryption" label="Encryption" />+ <x-forms.input required id="model.extra_attributes.smtp_host" helper="SMTP Hostname"+ placeholder="smtp.mailgun.org" label="Host" />+ <x-forms.input required id="model.extra_attributes.smtp_port" helper="SMTP Port" placeholder="587"+ label="Port" />+ <x-forms.input helper="If SMTP through SSL, set it to 'tls'." placeholder="tls"+ id="model.extra_attributes.smtp_encryption" label="Encryption" /></div><div class="flex flex-col w-96">- <x-forms.input id="model.extra_attributes.smtp_username" label="Username" />- <x-forms.input id="model.extra_attributes.smtp_password" label="Password" />- <x-forms.input id="model.extra_attributes.smtp_timeout" label="Timeout" />+ <x-forms.input id="model.extra_attributes.smtp_username" helper="SMTP Username" label="Username" />+ <x-forms.input type="password" helper="SMTP Password" id="model.extra_attributes.smtp_password"+ label="Password" />+ <x-forms.input id="model.extra_attributes.smtp_timeout" helper="Timeout value for sending emails."+ label="Timeout" /></div><div class="flex flex-col w-96">- <x-forms.input required id="model.extra_attributes.from_address" label="From Address" />- <x-forms.input required id="model.extra_attributes.from_name" label="From Name" />+ <x-forms.input required id="model.extra_attributes.from_name" helper="Name used in emails."+ label="From Name" />+ <x-forms.input required id="model.extra_attributes.from_address" helper="Email address used in emails."+ label="From Address" /></div></div></form>diff --git a/resources/views/livewire/notifications/test.blade.php b/resources/views/livewire/notifications/test.blade.phpindex e4c073756e..c962a8ce76 100644--- a/resources/views/livewire/notifications/test.blade.php+++ b/resources/views/livewire/notifications/test.blade.php@@ -1,4 +1,7 @@-<x-forms.button isHighlighted class="mt-4 text-white normal-case btn btn-xs no-animation btn-primary"- wire:click="sendTestNotification">- Send Test Notifications-</x-forms.button>+<div class="flex items-center gap-2">+ <h2>Notifications</h2>+ <x-forms.button isHighlighted class="text-white normal-case btn btn-xs no-animation btn-primary"+ wire:click="sendTestNotification">+ Send Test Notifications+ </x-forms.button>+</div>diff --git a/resources/views/livewire/project/application/danger.blade.php b/resources/views/livewire/project/application/danger.blade.phpindex 7f1d7369c8..c3b1d695ea 100644--- a/resources/views/livewire/project/application/danger.blade.php+++ b/resources/views/livewire/project/application/danger.blade.php@@ -1,9 +1,10 @@<div x-data="{ deleteApplication: false }">- <h2 class="pb-0">Danger Zone</h2>+ <h2>Danger Zone</h2><div class="text-sm">Woah. I hope you know what are you doing.</div>- <h3 class="pb-0">Delete Application</h3>- <div class="text-sm">This will stop your containers, delete all related data, etc. Beware! There is no coming back!+ <h3 class="pt-4">Delete Application</h3>+ <div class="pb-4 text-sm">This will stop your containers, delete all related data, etc. Beware! There is no coming+ back!</div><x-naked-modal show="deleteApplication" />- <x-forms.button x-on:click.prevent="deleteApplication = true">Delete</x-forms.button>+ <x-forms.button x-on:click.prevent="deleteApplication = true">Yes, please, delete it.</x-forms.button></div>diff --git a/resources/views/livewire/project/application/deploy.blade.php b/resources/views/livewire/project/application/deploy.blade.phpindex 2741928e82..85f1a5ea48 100644--- a/resources/views/livewire/project/application/deploy.blade.php+++ b/resources/views/livewire/project/application/deploy.blade.php@@ -8,13 +8,13 @@<ul tabindex="0"class="mt-1 text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200"><li>- <div class="hover:bg-coollabs" wire:click='deploy'>Restart</div>+ <div class="rounded-none hover:bg-coollabs" wire:click='deploy'>Restart</div></li><li>- <div class="hover:bg-coollabs" wire:click='deploy(true)'>Force deploy without cache</div>+ <div class="rounded-none hover:bg-coollabs" wire:click='deploy(true)'>Force deploy without cache</div></li><li>- <div class="hover:bg-red-500" wire:click='stop'>Stop</div>+ <div class="rounded-none hover:bg-red-500" wire:click='stop'>Stop</div></li></ul></div>@@ -29,10 +29,10 @@<ul tabindex="0"class="mt-1 text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200"><li>- <div class="hover:bg-coollabs" wire:click='deploy'>Deploy</div>+ <div class="rounded-none hover:bg-coollabs" wire:click='deploy'>Deploy</div></li><li>- <div class="hover:bg-coollabs" wire:click='deploy(true)'>Deploy without cache</div>+ <div class="rounded-none hover:bg-coollabs" wire:click='deploy(true)'>Deploy without cache</div></li></ul></div>diff --git a/resources/views/livewire/project/application/deployment-logs.blade.php b/resources/views/livewire/project/application/deployment-logs.blade.phpindex 90962c599b..2c26c5da8c 100644--- a/resources/views/livewire/project/application/deployment-logs.blade.php+++ b/resources/views/livewire/project/application/deployment-logs.blade.php@@ -1,6 +1,6 @@-<div>+<div class="pt-4">+ <h2>Logs</h2><livewire:project.application.deployment-navbar :activity="$activity" :application="$application" :deployment_uuid="$deployment_uuid" />- <h3 class="pb-0">Logs</h3>@if (data_get($activity, 'properties.status') === 'in_progress')<div class="pt-2 text-sm">Deployment is<span class="text-warning">{{ Str::headline(data_get($activity, 'properties.status')) }}</span>. Logs willdiff --git a/resources/views/livewire/project/application/deployment-navbar.blade.php b/resources/views/livewire/project/application/deployment-navbar.blade.phpindex 0482c7d8bd..28d0597483 100644--- a/resources/views/livewire/project/application/deployment-navbar.blade.php+++ b/resources/views/livewire/project/application/deployment-navbar.blade.php@@ -1,5 +1,4 @@-<div>- <h3>Actions</h3>+<div class="py-4">@if (data_get($activity, 'properties.status') === 'in_progress')<x-forms.button wire:click.prevent="cancel">Cancel deployment</x-forms.button>@elsediff --git a/resources/views/livewire/project/application/deployments.blade.php b/resources/views/livewire/project/application/deployments.blade.phpindex 9878fb221d..692f5111aa 100644--- a/resources/views/livewire/project/application/deployments.blade.php+++ b/resources/views/livewire/project/application/deployments.blade.php@@ -1,61 +1,62 @@<div class="flex flex-col gap-2" wire:init='load_deployments'@if ($skip == 0) wire:poll.5000ms='reload_deployments' @endif>- <div>- <h3>Actions</h3>+ @if (count($deployments) > 0)+ <h2 class="pt-4">Deployments <span class="text-xs">({{ $deployments_count }})</span></h2>@if ($show_next)- <x-forms.button isHighlighted wire:click="load_deployments({{ $default_take }})">Load Previous- Deployments</x-forms.button>+ <x-forms.button isHighlighted wire:click="load_deployments({{ $default_take }})">Show More+ </x-forms.button>@else- <x-forms.button disabled>No More Deployments</x-forms.button>+ <x-forms.button disabled>Show More+ </x-forms.button>@endif- </div>- <h3>Deployments <span class="text-xs">({{ $deployments_count }})</span></h3>- @foreach ($deployments as $deployment)- <a @class([- 'bg-coolgray-200 p-2 border-l border-dashed transition-colors hover:no-underline',- 'cursor-not-allowed hover:bg-coolgray-200' =>- data_get($deployment, 'status') === 'queued' ||- data_get($deployment, 'status') === 'cancelled by system',- 'border-warning hover:bg-warning hover:text-black' =>- data_get($deployment, 'status') === 'in_progress',- 'border-error hover:bg-error' =>- data_get($deployment, 'status') === 'error',- 'border-success hover:bg-success' =>- data_get($deployment, 'status') === 'finished',- ]) @if (data_get($deployment, 'status') !== 'cancelled by system' && data_get($deployment, 'status') !== 'queued')- href="{{ $current_url . '/' . data_get($deployment, 'deployment_uuid') }}"- @endif- class="hover:no-underline">- <div class="flex flex-col justify-start">- <div>- {{ $deployment->id }} <span class="text-sm text-warning">></span> {{ $deployment->deployment_uuid }} <span- class="text-sm text-warning">></span>- {{ $deployment->status }}- </div>- @if (data_get($deployment, 'pull_request_id'))+ @foreach ($deployments as $deployment)+ <a @class([+ 'bg-coolgray-200 p-2 border-l border-dashed transition-colors hover:no-underline',+ 'cursor-not-allowed hover:bg-coolgray-200' =>+ data_get($deployment, 'status') === 'queued' ||+ data_get($deployment, 'status') === 'cancelled by system',+ 'border-warning hover:bg-warning hover:text-black' =>+ data_get($deployment, 'status') === 'in_progress',+ 'border-error hover:bg-error' =>+ data_get($deployment, 'status') === 'error',+ 'border-success hover:bg-success' =>+ data_get($deployment, 'status') === 'finished',+ ]) @if (data_get($deployment, 'status') !== 'cancelled by system' && data_get($deployment, 'status') !== 'queued')+ href="{{ $current_url . '/' . data_get($deployment, 'deployment_uuid') }}"+ @endif+ class="hover:no-underline">+ <div class="flex flex-col justify-start"><div>- Pull Request #{{ data_get($deployment, 'pull_request_id') }}- @if (data_get($deployment, 'is_webhook'))- (Webhook)- @endif+ {{ $deployment->id }} <span class="text-sm text-warning">></span> {{ $deployment->deployment_uuid }}+ <span class="text-sm text-warning">></span>+ {{ $deployment->status }}</div>- @elseif (data_get($deployment, 'is_webhook'))- <div>Webhook (sha- @if (data_get($deployment, 'commit'))- {{ data_get($deployment, 'commit') }})- @else- HEAD)- @endif+ @if (data_get($deployment, 'pull_request_id'))+ <div>+ Pull Request #{{ data_get($deployment, 'pull_request_id') }}+ @if (data_get($deployment, 'is_webhook'))+ (Webhook)+ @endif+ </div>+ @elseif (data_get($deployment, 'is_webhook'))+ <div>Webhook (sha+ @if (data_get($deployment, 'commit'))+ {{ data_get($deployment, 'commit') }})+ @else+ HEAD)+ @endif+ </div>+ @endif+ <div class="flex flex-col" x-data="elapsedTime('{{ $deployment->deployment_uuid }}', '{{ $deployment->status }}', '{{ $deployment->created_at }}', '{{ $deployment->updated_at }}')">+ <div>Finished <span x-text="measure_since_started()">0s</span> in <span class="font-bold"+ x-text="measure_finished_time()">0s</span></div></div>- @endif- <div class="flex flex-col" x-data="elapsedTime('{{ $deployment->deployment_uuid }}', '{{ $deployment->status }}', '{{ $deployment->created_at }}', '{{ $deployment->updated_at }}')">- <div>Finished <span x-text="measure_since_started()">0s</span> in <span class="font-bold"- x-text="measure_finished_time()">0s</span></div></div>- </div>- </a>+ </a>@endforeach-+ @else+ <span wire:loading.remove wire:target='load_deployments' class="loading loading-spinner"></span>+ @endif<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script><script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/utc.js"></script><script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></script>diff --git a/resources/views/livewire/project/application/destination.blade.php b/resources/views/livewire/project/application/destination.blade.phpindex 6f13fe0934..ed31329893 100644--- a/resources/views/livewire/project/application/destination.blade.php+++ b/resources/views/livewire/project/application/destination.blade.php@@ -1,5 +1,5 @@<div>- <h2 class="pb-0">Destination</h2>+ <h2>Destination</h2><div class="text-sm">The destination server / network where your application will be deployed to.</div><div class="py-4"><p>Server: {{ data_get($destination, 'server.name') }}</p>diff --git a/resources/views/livewire/project/application/environment-variable/all.blade.php b/resources/views/livewire/project/application/environment-variable/all.blade.phpindex e4b958c90c..2cb085566e 100644--- a/resources/views/livewire/project/application/environment-variable/all.blade.php+++ b/resources/views/livewire/project/application/environment-variable/all.blade.php@@ -1,6 +1,6 @@<div class="flex flex-col gap-2"><div>- <h2 class="pb-0">Environment Variables</h2>+ <h2>Environment Variables</h2><div class="text-sm">Environment (secrets) configuration. You can set variables for your Preview Deployments aswellhere.</div>diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.phpindex a84bf1ac95..765c43b692 100644--- a/resources/views/livewire/project/application/general.blade.php+++ b/resources/views/livewire/project/application/general.blade.php@@ -1,7 +1,7 @@<div><form wire:submit.prevent='submit' class="flex flex-col">- <div class="flex gap-2">- <h2 class="pb-0">General</h2>+ <div class="flex items-center gap-2">+ <h2>General</h2><x-forms.button type="submit">Save</x-forms.button>diff --git a/resources/views/livewire/project/application/preview/form.blade.php b/resources/views/livewire/project/application/preview/form.blade.phpindex e29a97b305..2518e44047 100644--- a/resources/views/livewire/project/application/preview/form.blade.php+++ b/resources/views/livewire/project/application/preview/form.blade.php@@ -1,6 +1,6 @@<form wire:submit.prevent='submit'>- <div class="flex gap-2">- <h2 class="pb-0">Previews Deployments</h2>+ <div class="flex items-center gap-2">+ <h2>Previews Deployments</h2><x-forms.button type="submit">Save</x-forms.button><x-forms.button wire:click="resetToDefault">Reset to default</x-forms.button></div>diff --git a/resources/views/livewire/project/application/previews.blade.php b/resources/views/livewire/project/application/previews.blade.phpindex 285fb83b09..f241983722 100644--- a/resources/views/livewire/project/application/previews.blade.php+++ b/resources/views/livewire/project/application/previews.blade.php@@ -2,7 +2,7 @@<livewire:project.application.preview.form :application="$application" /><h3>Pull Requests on Git</h3><div>- <x-forms.button wire:click="load_prs">Load Opened Pull Requests+ <x-forms.button wire:click="load_prs">Load Pull Requests (open)</x-forms.button>@isset($rate_limit_remaining)<div class="pt-1 text-sm">Requests remaning till rate limited by Git: {{ $rate_limit_remaining }}</div>diff --git a/resources/views/livewire/project/application/resource-limits.blade.php b/resources/views/livewire/project/application/resource-limits.blade.phpindex cf1a67c73f..74da509ea1 100644--- a/resources/views/livewire/project/application/resource-limits.blade.php+++ b/resources/views/livewire/project/application/resource-limits.blade.php@@ -1,23 +1,26 @@<div><form wire:submit.prevent='submit' class="flex flex-col">- <div class="flex gap-2">- <h2 class="pb-0">Resource Limits</h2>+ <div class="flex items-center gap-2 ">+ <h2>Resource Limits</h2><x-forms.button type='submit'>Save</x-forms.button></div><div class="text-sm">Limit your container resources by CPU & memory.</div>- <h3>Limit CPUs</h3>- <x-forms.input placeholder="1.5" label="Number of CPUs" id="application.limits_cpus" />- <x-forms.input placeholder="0-2" label="CPU sets to use" id="application.limits_cpuset" />- <x-forms.input placeholder="1024" label="CPU Weight" id="application.limits_cpu_shares" />- <h3>Limit Memory</h3>- <x-forms.input placeholder="69b or 420k or 1337m or 1g" label="Soft Memory Limit"- id="application.limits_memory_reservation" />- <x-forms.input placeholder="69b or 420k or 1337m or 1g" label="Maximum Memory Limit"- id="application.limits_memory" />- <x-forms.input placeholder="69b or 420k or 1337m or 1g" label="Maximum Swap Limit"- id="application.limits_memory_swap" />- <x-forms.input placeholder="0-100" type="number" min="0" max="100" label="Swappiness"- id="application.limits_memory_swappiness" />-+ <h3 class="pt-4">Limit CPUs</h3>+ <div class="flex gap-2">+ <x-forms.input placeholder="1.5" label="Number of CPUs" id="application.limits_cpus" />+ <x-forms.input placeholder="0-2" label="CPU sets to use" id="application.limits_cpuset" />+ <x-forms.input placeholder="1024" label="CPU Weight" id="application.limits_cpu_shares" />+ </div>+ <h3 class="pt-4">Limit Memory</h3>+ <div class="flex gap-2">+ <x-forms.input placeholder="69b or 420k or 1337m or 1g" label="Soft Memory Limit"+ id="application.limits_memory_reservation" />+ <x-forms.input placeholder="69b or 420k or 1337m or 1g" label="Maximum Memory Limit"+ id="application.limits_memory" />+ <x-forms.input placeholder="69b or 420k or 1337m or 1g" label="Maximum Swap Limit"+ id="application.limits_memory_swap" />+ <x-forms.input placeholder="0-100" type="number" min="0" max="100" label="Swappiness"+ id="application.limits_memory_swappiness" />+ </div></form></div>diff --git a/resources/views/livewire/project/application/rollback.blade.php b/resources/views/livewire/project/application/rollback.blade.phpindex 624767bb4b..283b36027d 100644--- a/resources/views/livewire/project/application/rollback.blade.php+++ b/resources/views/livewire/project/application/rollback.blade.php@@ -1,6 +1,6 @@<div x-init="$wire.loadImages">- <div class="flex gap-2">- <h2 class="pb-0">Rollback</h2>+ <div class="flex items-center gap-2">+ <h2>Rollback</h2><x-forms.button isHighlighted wire:click='loadImages'>Reload Available Images</x-forms.button></div><div class="pb-4 text-sm">You can easily rollback to a previously built image quickly.</div>diff --git a/resources/views/livewire/project/application/source.blade.php b/resources/views/livewire/project/application/source.blade.phpindex c99313a3b6..4e5e98885a 100644--- a/resources/views/livewire/project/application/source.blade.php+++ b/resources/views/livewire/project/application/source.blade.php@@ -1,7 +1,7 @@<div><form wire:submit.prevent='submit' class="flex flex-col"><div class="flex items-center gap-2">- <h2 class="pb-0">Source</h2>+ <h2>Source</h2><x-forms.button type="submit">Save</x-forms.button></div><div class="text-sm">Code source of your application.</div>diff --git a/resources/views/livewire/project/application/storages/all.blade.php b/resources/views/livewire/project/application/storages/all.blade.phpindex 866b6ba5c2..be92b5760f 100644--- a/resources/views/livewire/project/application/storages/all.blade.php+++ b/resources/views/livewire/project/application/storages/all.blade.php@@ -1,5 +1,5 @@<div>- <h2 class="pb-0">Storages</h2>+ <h2>Storages</h2><div class="text-sm">Persistent storage to preserve data between deployments.</div><div class="flex flex-col gap-2 py-4">@forelse ($application->persistentStorages as $storage)diff --git a/resources/views/livewire/run-command.blade.php b/resources/views/livewire/run-command.blade.phpindex 8e3f410621..ea7da091a6 100755--- a/resources/views/livewire/run-command.blade.php+++ b/resources/views/livewire/run-command.blade.php@@ -12,7 +12,7 @@@endif@endforeach</x-forms.select>- <x-forms.button class="btn-xl" type="submit">Run</x-forms.button>+ <x-forms.button class="h-8" type="submit">Run</x-forms.button></form><div class="container w-full pt-10 mx-auto"><livewire:activity-monitor />diff --git a/resources/views/livewire/server/form.blade.php b/resources/views/livewire/server/form.blade.phpindex 6215514b82..d3adf08f22 100644--- a/resources/views/livewire/server/form.blade.php+++ b/resources/views/livewire/server/form.blade.php@@ -37,7 +37,7 @@@endif</div></div>- <h3>Quick Actions</h3>+ <h3 class="pt-8 pb-4">Quick Actions</h3><div class="flex items-center gap-2"><x-forms.button wire:click.prevent='validateServer'>@if ($server->settings->is_validated)diff --git a/resources/views/livewire/server/proxy.blade.php b/resources/views/livewire/server/proxy.blade.phpindex 68e46f1d63..c91cbc78b8 100644--- a/resources/views/livewire/server/proxy.blade.php+++ b/resources/views/livewire/server/proxy.blade.php@@ -3,7 +3,7 @@message='Are you sure you would like to stop the proxy? All resources will be unavailable.' />@if ($server->settings->is_validated)<div class="flex items-center gap-2 mb-2">- <h2 class="pb-0">Proxy</h2>+ <h2>Proxy</h2>@if ($server->extra_attributes->proxy_type)<x-forms.button isHighlighted wire:click.prevent="installProxy">Start/Reconfigure Proxy@@ -16,8 +16,6 @@$server->extra_attributes->last_saved_proxy_settings !== $server->extra_attributes->last_applied_proxy_settings)<div class="text-red-500">Configuration out of sync.</div>@endif--</div>@endif@if ($server->extra_attributes->proxy_status === 'running')diff --git a/resources/views/livewire/settings/form.blade.php b/resources/views/livewire/settings/form.blade.phpindex c18747da92..5c5ade4f53 100644--- a/resources/views/livewire/settings/form.blade.php+++ b/resources/views/livewire/settings/form.blade.php@@ -1,12 +1,12 @@<div>- <form wire:submit.prevent='submit' class="flex flex-col">- <div class="flex gap-2">- <h1 class="pb-2">Settings</h1>+ <form wire:submit.prevent='submit' class="flex flex-col pb-8">+ <div class="flex items-center gap-2">+ <h1>Settings</h1><x-forms.button type="submit">Save</x-forms.button></div>- <div class="pb-4 text-sm">Instance wide settings for Coolify.</div>+ <div class="pt-2 pb-4 text-sm">Instance wide settings for Coolify.</div><div class="flex flex-col gap-2"><div class="flex gap-2"><x-forms.input id="settings.fqdn" label="Coolify's Domain" />@@ -28,5 +28,4 @@{{-- <x-forms.checkbox instantSave id="is_https_forced" label="Force https?" /> --}}<x-forms.checkbox instantSave id="do_not_track" label="Do Not Track" /></div>-</div>diff --git a/resources/views/livewire/switch-team.blade.php b/resources/views/livewire/switch-team.blade.phpindex cc2c71261c..e3f68de470 100644--- a/resources/views/livewire/switch-team.blade.php+++ b/resources/views/livewire/switch-team.blade.php@@ -1,9 +1,8 @@-<div class="pt-4">- <h3>Switch Team</h3>- <div class="flex gap-2">- @foreach (auth()->user()->otherTeams() as $team)- <x-forms.button isHighlighted wire:key="{{ $team->id }}" wire:click="switch_to('{{ $team->id }}')">- {{ $team->name }}</x-forms.button>+<div>+ <x-forms.select wire:model="selectedTeamId" class="w-64 select-xs">+ <option value="default" disabled selected>Switch team</option>+ @foreach (auth()->user()->teams as $team)+ <option value="{{ $team->id }}">{{ $team->name }}</option>@endforeach- </div>+ </x-forms.select></div>diff --git a/resources/views/livewire/team/member.blade.php b/resources/views/livewire/team/member.blade.phpnew file mode 100644index 0000000000..5c74e17be8--- /dev/null+++ b/resources/views/livewire/team/member.blade.php@@ -0,0 +1,10 @@+<tr class="border-coolgray-200">+ <th class="text-warning">{{ $member->id }}</th>+ <td>{{ $member->name }}</td>+ <td>{{ $member->email }}</td>+ <td>+ @if ($member->id !== auth()->user()->id)+ <x-forms.button class="border-none">Remove</x-forms.button>+ @endif+ </td>+</tr>diff --git a/resources/views/project/application/configuration.blade.php b/resources/views/project/application/configuration.blade.phpindex f7fa50e80e..2ec068da66 100644--- a/resources/views/project/application/configuration.blade.php+++ b/resources/views/project/application/configuration.blade.php@@ -1,5 +1,5 @@<x-layout>- <h1 class="pb-0">Configuration</h1>+ <h1>Configuration</h1><div class="pb-10 text-sm breadcrumbs"><ul><li><a href="{{ route('project.show', ['project_uuid' => request()->route('project_uuid')]) }}">@@ -43,9 +43,6 @@<a :class="activeTab === 'danger' && 'text-white'"@click.prevent="activeTab = 'danger'; window.location.hash = 'danger'" href="#">Danger Zone</a>- {{-- <a :class="activeTab === 'previews' && 'text-white'"- @click.prevent="activeTab = 'previews'; window.location.hash = 'previews'" href="#">Previews- </a> --}}</div><div class="w-full pl-8"><div x-cloak x-show="activeTab === 'general'" class="h-full">diff --git a/resources/views/project/application/deployments.blade.php b/resources/views/project/application/deployments.blade.phpindex 9ee25c9a4b..3d07cde60b 100644--- a/resources/views/project/application/deployments.blade.php+++ b/resources/views/project/application/deployments.blade.php@@ -1,5 +1,5 @@<x-layout>- <h1 class="pb-0">Deployments</h1>+ <h1>Deployments</h1><div class="pb-10 text-sm breadcrumbs"><ul>`<li><adiff --git a/resources/views/project/resources.blade.php b/resources/views/project/resources.blade.phpindex d6da7c038b..19f5ebf33e 100644--- a/resources/views/project/resources.blade.php+++ b/resources/views/project/resources.blade.php@@ -1,7 +1,7 @@<x-layout><div class="flex flex-col"><div class="flex items-center gap-2">- <h1 class="pb-0">Resources</h1>+ <h1>Resources</h1><livewire:project.delete-environment :environment_id="$environment->id" :resource_count="$environment->applications->count()" /></div><div class="pb-10 text-sm breadcrumbs">diff --git a/resources/views/project/show.blade.php b/resources/views/project/show.blade.phpindex 497db074ee..62ff58f7dc 100644--- a/resources/views/project/show.blade.php+++ b/resources/views/project/show.blade.php@@ -1,6 +1,6 @@<x-layout><div class="flex items-center gap-2">- <h1 class="pb-0">Environments</h1>+ <h1>Environments</h1><livewire:project.delete-project :project_id="$project->id" :resource_count="$project->applications->count()" /></div><div class="pb-10 text-sm breadcrumbs">diff --git a/resources/views/projects.blade.php b/resources/views/projects.blade.phpindex 34f3f95500..f168a21eb3 100644--- a/resources/views/projects.blade.php+++ b/resources/views/projects.blade.php@@ -1,5 +1,5 @@<x-layout>- <h1 class="py-0">Projects</h1>+ <h1>Projects</h1><div class="pb-10 text-sm breadcrumbs"><ul><li>diff --git a/resources/views/server/proxy.blade.php b/resources/views/server/proxy.blade.phpnew file mode 100644index 0000000000..d46c675c24--- /dev/null+++ b/resources/views/server/proxy.blade.php@@ -0,0 +1,4 @@+<x-layout>+ <x-server.navbar :server="$server" />+ <livewire:server.proxy :server="$server" />+</x-layout>diff --git a/resources/views/server/show.blade.php b/resources/views/server/show.blade.phpindex 418c8027ac..8f69518b2b 100644--- a/resources/views/server/show.blade.php+++ b/resources/views/server/show.blade.php@@ -1,25 +1,4 @@<x-layout>- <h1 class="pb-0">Server</h1>- <div class="text-sm breadcrumbs">- <ul>- <li>{{ data_get($server, 'name') }}</li>- </ul>- </div>- <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex pt-10">- <div class="flex flex-col gap-4 min-w-fit">- <a :class="activeTab === 'general' && 'text-white'"- @click.prevent="activeTab = 'general'; window.location.hash = 'general'" href="#">General</a>- <a :class="activeTab === 'proxy' && 'text-white'"- @click.prevent="activeTab = 'proxy'; window.location.hash = 'proxy'" href="#">Proxy- </a>- </div>- <div class="w-full pl-8">- <div x-cloak x-show="activeTab === 'general'">- <livewire:server.form :server_id="$server->id" />- </div>- <div x-cloak x-show="activeTab === 'proxy'">- <livewire:server.proxy :server="$server" />- </div>- </div>- </div>+ <x-server.navbar :server="$server" />+ <livewire:server.form :server_id="$server->id" /></x-layout>diff --git a/resources/views/settings.blade.php b/resources/views/settings.blade.phpindex 9ef54c522b..2d4914f489 100644--- a/resources/views/settings.blade.php+++ b/resources/views/settings.blade.php@@ -3,8 +3,4 @@@if (auth()->user()->isPartOfRootTeam())<livewire:force-upgrade />@endif- <h3 class="pb-0">Notification</h3>- <div class="pb-4 text-sm">Notification (email, discord, etc) settings for Coolify.</div>- <h4>Email</h4>- <livewire:settings.email :model="$settings" /></x-layout>diff --git a/resources/views/team.blade.php b/resources/views/team.blade.phpdeleted file mode 100644index c00cdec57e..0000000000--- a/resources/views/team.blade.php+++ /dev/null@@ -1,12 +0,0 @@-<x-layout>- <h1>Team</h1>- <p>Current Team: {{ session('currentTeam.name') }}</p>- @if (auth()->user()->otherTeams()->count() > 0)- <livewire:switch-team />- @endif- <h2>Notifications</h2>- <livewire:notifications.test :model="session('currentTeam')" />- <livewire:notifications.email-settings :model="session('currentTeam')" />- <livewire:notifications.discord-settings :model="session('currentTeam')" />- <div class="h-12"></div>-</x-layout>diff --git a/resources/views/team/notifications.blade.php b/resources/views/team/notifications.blade.phpnew file mode 100644index 0000000000..43c8a8990d--- /dev/null+++ b/resources/views/team/notifications.blade.php@@ -0,0 +1,19 @@+<x-layout>+ <x-team.navbar :team="session('currentTeam')" />+ {{-- <livewire:notifications.test :model="session('currentTeam')" /> --}}+ <div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'email' }" class="flex h-full">+ <div class="flex flex-col gap-4 min-w-fit">+ <a :class="activeTab === 'email' && 'text-white'"+ @click.prevent="activeTab = 'email'; window.location.hash = 'email'" href="#">Email</a>+ <a :class="activeTab === 'discord' && 'text-white'"+ @click.prevent="activeTab = 'discord'; window.location.hash = 'discord'" href="#">Discord</a>+ </div>+ <div class="w-full pl-8">+ <div x-cloak x-show="activeTab === 'email'" class="h-full">+ <livewire:notifications.email-settings :model="session('currentTeam')" />+ </div>+ <div x-cloak x-show="activeTab === 'discord'">+ <livewire:notifications.discord-settings :model="session('currentTeam')" />+ </div>+ </div>+</x-layout>diff --git a/resources/views/team/show.blade.php b/resources/views/team/show.blade.phpnew file mode 100644index 0000000000..9749f5e50c--- /dev/null+++ b/resources/views/team/show.blade.php@@ -0,0 +1,28 @@+<x-layout>+ <x-team.navbar :team="session('currentTeam')" />+ <h2>Members</h2>+ <div class="overflow-x-auto">+ <table class="table">+ <thead>+ <tr class="text-warning border-coolgray-200">+ <th></th>+ <th>Name</th>+ <th>Email</th>+ <th>Actions</th>+ </tr>+ </thead>+ <tbody>+ @foreach (session('currentTeam')->members as $member)+ <livewire:team.member :member="$member" :wire:key="$member->id" />+ @endforeach+ </tbody>+ </table>+ </div>+ <div class="py-4">+ <h2>Invite a new member</h2>+ <form class="flex items-center gap-2">+ <x-forms.input type="email" name="email" placeholder="Email" />+ <x-forms.button isHighlighted>Invite</x-forms.button>+ </form>+ </div>+</x-layout>diff --git a/routes/web.php b/routes/web.phpindex 042ff19688..686a0ca1b9 100644--- a/routes/web.php+++ b/routes/web.php@@ -130,9 +130,13 @@ Route::middleware(['auth'])->group(function () {'request' => $request,]);})->name('profile');+Route::get('/profile/team', function () {- return view('team');- })->name('team');+ return view('team.show');+ })->name('team.show');+ Route::get('/profile/team/notifications', function () {+ return view('team.notifications');+ })->name('team.notifications');Route::get('/settings', function () {$isRoot = auth()->user()->isPartOfRootTeam();@@ -191,21 +195,39 @@ Route::middleware(['auth'])->group(function () {})->name('source.github.show');});Route::middleware(['auth'])->group(function () {++Route::get('/servers', fn () => view('servers', ['servers' => Server::validated(),]))->name('servers');+Route::get('/server/new', fn () => view('server.new', ['private_keys' => PrivateKey::where('team_id', session('currentTeam')->id)->get(),]))->name('server.new');+Route::get('/server/{server_uuid}', function () {- $server = session('currentTeam')->load(['servers'])->servers->firstWhere('uuid', request()->server_uuid);+ $team_id = session('currentTeam')->id;+ $server = Server::where('team_id', $team_id)->where('uuid', request()->server_uuid)->first();if (!$server) {- abort(404);+ return redirect()->route('dashboard');}return view('server.show', ['server' => $server,]);})->name('server.show');++ Route::get('/server/{server_uuid}/proxy', function () {+ $team_id = session('currentTeam')->id;+ $server = Server::where('team_id', $team_id)->where('uuid', request()->server_uuid)->first();+ if (!$server) {+ return redirect()->route('dashboard');+ }+ return view('server.proxy', [+ 'server' => $server,+ ]);+ })->name('server.proxy');++Route::get('/server/{server_uuid}/private-key', function () {return view('server.private-key');})->name('server.private-key');