mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Compare commits
10 Commits
v1.0.0-bet
...
v1.0.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a4fa5e67a | ||
|
|
a65469b33b | ||
|
|
d587cf3ee5 | ||
|
|
2cd9fa2cde | ||
|
|
d735e858a2 | ||
|
|
317fa46894 | ||
|
|
e589f972fb | ||
|
|
266e3779d5 | ||
|
|
4652680a7b | ||
|
|
e99f7179c6 |
@@ -518,12 +518,12 @@ class CreateServer extends CreateRecord
|
||||
->hidden(fn (Get $get) => $get('unlimited_cpu'))
|
||||
->label(trans('admin/server.cpu_limit'))->inlineLabel()
|
||||
->suffix('%')
|
||||
->hintIcon('tabler-question-mark', trans('admin/server.cpu_helper'))
|
||||
->default(0)
|
||||
->required()
|
||||
->columnSpan(2)
|
||||
->numeric()
|
||||
->minValue(0)
|
||||
->helperText(trans('admin/server.cpu_helper')),
|
||||
->minValue(0),
|
||||
]),
|
||||
Grid::make()
|
||||
->columns(4)
|
||||
|
||||
@@ -258,6 +258,7 @@ class EditServer extends EditRecord
|
||||
->hidden(fn (Get $get) => $get('unlimited_cpu'))
|
||||
->label(trans('admin/server.cpu_limit'))->inlineLabel()
|
||||
->suffix('%')
|
||||
->hintIcon('tabler-question-mark', trans('admin/server.cpu_helper'))
|
||||
->required()
|
||||
->columnSpan(2)
|
||||
->numeric()
|
||||
|
||||
@@ -286,7 +286,7 @@ class UserResource extends Resource
|
||||
return;
|
||||
}
|
||||
$actions = [];
|
||||
foreach ($user->oauth as $schema => $_) {
|
||||
foreach ($user->oauth ?? [] as $schema => $_) {
|
||||
$schema = $oauthService->get($schema);
|
||||
if (!$schema) {
|
||||
return;
|
||||
|
||||
@@ -43,7 +43,18 @@ class UpdateWidget extends FormWidget
|
||||
->iconColor('warning')
|
||||
->schema([
|
||||
TextEntry::make('info')
|
||||
->hiddenLabel()
|
||||
->state(trans('admin/dashboard.sections.intro-update-available.content', ['latestVersion' => $this->softwareVersionService->latestPanelVersion()])),
|
||||
Section::make(trans('admin/dashboard.sections.intro-update-available.button_changelog'))
|
||||
->icon('tabler-script')
|
||||
->collapsible()
|
||||
->collapsed()
|
||||
->schema([
|
||||
TextEntry::make('changelog')
|
||||
->hiddenLabel()
|
||||
->state($this->softwareVersionService->latestPanelVersionChangelog())
|
||||
->markdown(),
|
||||
]),
|
||||
])
|
||||
->headerActions([
|
||||
Action::make('update')
|
||||
|
||||
@@ -236,7 +236,7 @@ class EditProfile extends BaseEditProfile
|
||||
->columnSpanFull(),
|
||||
])
|
||||
->headerActions([
|
||||
Action::make('create')
|
||||
Action::make('create_api_key')
|
||||
->label(trans('filament-actions::create.single.modal.actions.create.label'))
|
||||
->disabled(fn (Get $get) => empty($get('description')))
|
||||
->successRedirectUrl(self::getUrl(['tab' => 'api-keys::data::tab'], panel: 'app'))
|
||||
@@ -325,7 +325,7 @@ class EditProfile extends BaseEditProfile
|
||||
->live(),
|
||||
])
|
||||
->headerActions([
|
||||
Action::make('create')
|
||||
Action::make('create_ssh_key')
|
||||
->label(trans('filament-actions::create.single.modal.actions.create.label'))
|
||||
->disabled(fn (Get $get) => empty($get('name')) || empty($get('public_key')))
|
||||
->successRedirectUrl(self::getUrl(['tab' => 'ssh-keys::data::tab'], panel: 'app'))
|
||||
|
||||
@@ -121,11 +121,11 @@ class ServerConsole extends Widget
|
||||
|
||||
foreach ($data as $key => $value) {
|
||||
$cacheKey = "servers.{$this->server->id}.$key";
|
||||
$data = cache()->get($cacheKey, []);
|
||||
$cachedStats = cache()->get($cacheKey, []);
|
||||
|
||||
$data[$timestamp] = $value;
|
||||
$cachedStats[$timestamp] = $value;
|
||||
|
||||
cache()->put($cacheKey, $data, now()->addMinute());
|
||||
cache()->put($cacheKey, array_slice($cachedStats, -120), now()->addMinute());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ namespace App\Http\Middleware\Activity;
|
||||
use App\Facades\LogTarget;
|
||||
use App\Models\Server;
|
||||
use Closure;
|
||||
use Filament\Facades\Filament;
|
||||
use Illuminate\Http\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
@@ -21,10 +22,7 @@ class ServerSubject
|
||||
public function handle(Request $request, Closure $next): Response
|
||||
{
|
||||
$server = $request->route()->parameter('server');
|
||||
|
||||
if ($request->route()->hasParameter('tenant')) {
|
||||
$server = Server::find($request->route()->parameter('tenant'));
|
||||
}
|
||||
$server ??= Filament::getTenant();
|
||||
|
||||
if ($server instanceof Server) {
|
||||
LogTarget::setActor($request->user());
|
||||
|
||||
@@ -16,6 +16,7 @@ class AppPanelProvider extends PanelProvider
|
||||
->default()
|
||||
->breadcrumbs(false)
|
||||
->navigation(false)
|
||||
->topbar(true)
|
||||
->userMenuItems([
|
||||
Action::make('to_admin')
|
||||
->label(trans('profile.admin'))
|
||||
|
||||
@@ -35,6 +35,7 @@ abstract class PanelProvider extends BasePanelProvider
|
||||
->brandLogoHeight('2rem')
|
||||
->favicon(config('app.favicon', '/pelican.ico'))
|
||||
->topNavigation(fn () => user()?->getCustomization(CustomizationKey::TopNavigation))
|
||||
->topbar(fn () => user()?->getCustomization(CustomizationKey::TopNavigation))
|
||||
->maxContentWidth(config('panel.filament.display-width', 'screen-2xl'))
|
||||
->profile(EditProfile::class, false)
|
||||
->userMenuItems([
|
||||
|
||||
@@ -41,7 +41,7 @@ class ServerPanelProvider extends PanelProvider
|
||||
->discoverResources(in: app_path('Filament/Server/Resources'), for: 'App\\Filament\\Server\\Resources')
|
||||
->discoverPages(in: app_path('Filament/Server/Pages'), for: 'App\\Filament\\Server\\Pages')
|
||||
->discoverWidgets(in: app_path('Filament/Server/Widgets'), for: 'App\\Filament\\Server\\Widgets')
|
||||
->middleware([
|
||||
->tenantMiddleware([
|
||||
ServerSubject::class,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -7,6 +7,24 @@ use Illuminate\Support\Facades\Http;
|
||||
|
||||
class SoftwareVersionService
|
||||
{
|
||||
public function latestPanelVersionChangelog(): string
|
||||
{
|
||||
$key = 'panel:latest_version_changelog';
|
||||
if (cache()->get($key) === 'error') {
|
||||
cache()->forget($key);
|
||||
}
|
||||
|
||||
return cache()->remember($key, now()->addMinutes(config('panel.cdn.cache_time', 60)), function () {
|
||||
try {
|
||||
$response = Http::timeout(5)->connectTimeout(1)->get('https://api.github.com/repos/pelican-dev/panel/releases/latest')->throw()->json();
|
||||
|
||||
return $response['body'];
|
||||
} catch (Exception) {
|
||||
return 'error';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public function latestPanelVersion(): string
|
||||
{
|
||||
$key = 'panel:latest_version';
|
||||
|
||||
128
composer.lock
generated
128
composer.lock
generated
@@ -8,16 +8,16 @@
|
||||
"packages": [
|
||||
{
|
||||
"name": "achyutn/filament-log-viewer",
|
||||
"version": "v1.5",
|
||||
"version": "v1.5.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/achyutkneupane/filament-log-viewer.git",
|
||||
"reference": "4544440b8866f40c96ec33de2ecf675a951437b1"
|
||||
"reference": "83d8b8cfec4cf3e27ad42364da04823eaf333dad"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/achyutkneupane/filament-log-viewer/zipball/4544440b8866f40c96ec33de2ecf675a951437b1",
|
||||
"reference": "4544440b8866f40c96ec33de2ecf675a951437b1",
|
||||
"url": "https://api.github.com/repos/achyutkneupane/filament-log-viewer/zipball/83d8b8cfec4cf3e27ad42364da04823eaf333dad",
|
||||
"reference": "83d8b8cfec4cf3e27ad42364da04823eaf333dad",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -26,11 +26,13 @@
|
||||
"php": ">=8.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"larastan/larastan": "^3.0",
|
||||
"laravel/pint": "^1.23",
|
||||
"orchestra/testbench": "^10.4",
|
||||
"pestphp/pest": "^3.8",
|
||||
"pestphp/pest-plugin-laravel": "^3.2",
|
||||
"pestphp/pest-plugin-livewire": "^3.0",
|
||||
"phpstan/phpstan": "^2.1",
|
||||
"rector/rector": "^2.1"
|
||||
},
|
||||
"type": "library",
|
||||
@@ -67,7 +69,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/achyutkneupane/filament-log-viewer/issues",
|
||||
"source": "https://github.com/achyutkneupane/filament-log-viewer/tree/v1.5"
|
||||
"source": "https://github.com/achyutkneupane/filament-log-viewer/tree/v1.5.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -83,7 +85,7 @@
|
||||
"type": "patreon"
|
||||
}
|
||||
],
|
||||
"time": "2025-10-07T19:04:10+00:00"
|
||||
"time": "2025-10-09T12:56:48+00:00"
|
||||
},
|
||||
{
|
||||
"name": "anourvalar/eloquent-serialize",
|
||||
@@ -207,16 +209,16 @@
|
||||
},
|
||||
{
|
||||
"name": "aws/aws-sdk-php",
|
||||
"version": "3.356.34",
|
||||
"version": "3.356.37",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/aws/aws-sdk-php.git",
|
||||
"reference": "4dabcc34c34ec3c3ce74373c2ff2fc318099d20b"
|
||||
"reference": "855bcaaa4c486fc67447bf17cfbff9ff75341ad7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/4dabcc34c34ec3c3ce74373c2ff2fc318099d20b",
|
||||
"reference": "4dabcc34c34ec3c3ce74373c2ff2fc318099d20b",
|
||||
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/855bcaaa4c486fc67447bf17cfbff9ff75341ad7",
|
||||
"reference": "855bcaaa4c486fc67447bf17cfbff9ff75341ad7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -298,9 +300,9 @@
|
||||
"support": {
|
||||
"forum": "https://github.com/aws/aws-sdk-php/discussions",
|
||||
"issues": "https://github.com/aws/aws-sdk-php/issues",
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.356.34"
|
||||
"source": "https://github.com/aws/aws-sdk-php/tree/3.356.37"
|
||||
},
|
||||
"time": "2025-10-07T18:05:06+00:00"
|
||||
"time": "2025-10-10T18:50:12+00:00"
|
||||
},
|
||||
{
|
||||
"name": "blade-ui-kit/blade-heroicons",
|
||||
@@ -1403,16 +1405,16 @@
|
||||
},
|
||||
{
|
||||
"name": "filament/actions",
|
||||
"version": "v4.1.6",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filamentphp/actions.git",
|
||||
"reference": "bd54da3378705c246c4a0c2d7f185853295bbcd9"
|
||||
"reference": "d27cb2edc10687104d63ba223ad898722d3068e5"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/filamentphp/actions/zipball/bd54da3378705c246c4a0c2d7f185853295bbcd9",
|
||||
"reference": "bd54da3378705c246c4a0c2d7f185853295bbcd9",
|
||||
"url": "https://api.github.com/repos/filamentphp/actions/zipball/d27cb2edc10687104d63ba223ad898722d3068e5",
|
||||
"reference": "d27cb2edc10687104d63ba223ad898722d3068e5",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1448,20 +1450,20 @@
|
||||
"issues": "https://github.com/filamentphp/filament/issues",
|
||||
"source": "https://github.com/filamentphp/filament"
|
||||
},
|
||||
"time": "2025-10-07T12:45:33+00:00"
|
||||
"time": "2025-10-12T16:21:25+00:00"
|
||||
},
|
||||
{
|
||||
"name": "filament/filament",
|
||||
"version": "v4.1.6",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filamentphp/panels.git",
|
||||
"reference": "d03d2f80f08002e55c9617bb480dc8cd0403892a"
|
||||
"reference": "35dc992a4402ae0fb0fe9e92a0f2f2aea0a6c26f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/filamentphp/panels/zipball/d03d2f80f08002e55c9617bb480dc8cd0403892a",
|
||||
"reference": "d03d2f80f08002e55c9617bb480dc8cd0403892a",
|
||||
"url": "https://api.github.com/repos/filamentphp/panels/zipball/35dc992a4402ae0fb0fe9e92a0f2f2aea0a6c26f",
|
||||
"reference": "35dc992a4402ae0fb0fe9e92a0f2f2aea0a6c26f",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1505,20 +1507,20 @@
|
||||
"issues": "https://github.com/filamentphp/filament/issues",
|
||||
"source": "https://github.com/filamentphp/filament"
|
||||
},
|
||||
"time": "2025-10-08T11:01:55+00:00"
|
||||
"time": "2025-10-12T16:21:29+00:00"
|
||||
},
|
||||
{
|
||||
"name": "filament/forms",
|
||||
"version": "v4.1.6",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filamentphp/forms.git",
|
||||
"reference": "ddfa808665077bccae64242dc763e0434e98183f"
|
||||
"reference": "a0ec199bc173ac9d62052594f28e14b00338b2cb"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/filamentphp/forms/zipball/ddfa808665077bccae64242dc763e0434e98183f",
|
||||
"reference": "ddfa808665077bccae64242dc763e0434e98183f",
|
||||
"url": "https://api.github.com/repos/filamentphp/forms/zipball/a0ec199bc173ac9d62052594f28e14b00338b2cb",
|
||||
"reference": "a0ec199bc173ac9d62052594f28e14b00338b2cb",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1555,20 +1557,20 @@
|
||||
"issues": "https://github.com/filamentphp/filament/issues",
|
||||
"source": "https://github.com/filamentphp/filament"
|
||||
},
|
||||
"time": "2025-10-08T10:40:16+00:00"
|
||||
"time": "2025-10-12T16:21:39+00:00"
|
||||
},
|
||||
{
|
||||
"name": "filament/infolists",
|
||||
"version": "v4.1.6",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filamentphp/infolists.git",
|
||||
"reference": "0817b9c0e5e15e0e19b57e01322083b80cf4b715"
|
||||
"reference": "c6572b83fd6b97105c9f915797c6b2c10fae424d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/filamentphp/infolists/zipball/0817b9c0e5e15e0e19b57e01322083b80cf4b715",
|
||||
"reference": "0817b9c0e5e15e0e19b57e01322083b80cf4b715",
|
||||
"url": "https://api.github.com/repos/filamentphp/infolists/zipball/c6572b83fd6b97105c9f915797c6b2c10fae424d",
|
||||
"reference": "c6572b83fd6b97105c9f915797c6b2c10fae424d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1600,11 +1602,11 @@
|
||||
"issues": "https://github.com/filamentphp/filament/issues",
|
||||
"source": "https://github.com/filamentphp/filament"
|
||||
},
|
||||
"time": "2025-09-29T08:02:20+00:00"
|
||||
"time": "2025-10-12T16:21:24+00:00"
|
||||
},
|
||||
{
|
||||
"name": "filament/notifications",
|
||||
"version": "v4.1.6",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filamentphp/notifications.git",
|
||||
@@ -1651,16 +1653,16 @@
|
||||
},
|
||||
{
|
||||
"name": "filament/schemas",
|
||||
"version": "v4.1.6",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filamentphp/schemas.git",
|
||||
"reference": "21f58ba01bd88e1fca2c1fa9a06ddfa949e9270b"
|
||||
"reference": "16143a73fbf8cec9bacaae98d49fafa9137a5f5d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/filamentphp/schemas/zipball/21f58ba01bd88e1fca2c1fa9a06ddfa949e9270b",
|
||||
"reference": "21f58ba01bd88e1fca2c1fa9a06ddfa949e9270b",
|
||||
"url": "https://api.github.com/repos/filamentphp/schemas/zipball/16143a73fbf8cec9bacaae98d49fafa9137a5f5d",
|
||||
"reference": "16143a73fbf8cec9bacaae98d49fafa9137a5f5d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1692,20 +1694,20 @@
|
||||
"issues": "https://github.com/filamentphp/filament/issues",
|
||||
"source": "https://github.com/filamentphp/filament"
|
||||
},
|
||||
"time": "2025-10-06T08:10:46+00:00"
|
||||
"time": "2025-10-12T16:21:23+00:00"
|
||||
},
|
||||
{
|
||||
"name": "filament/support",
|
||||
"version": "v4.1.6",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filamentphp/support.git",
|
||||
"reference": "e3294c6cd71d0b6c8cba8d20c99d5af651351a86"
|
||||
"reference": "fbd989a4ea8520badaff9e997f39d02c601b1b9f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/filamentphp/support/zipball/e3294c6cd71d0b6c8cba8d20c99d5af651351a86",
|
||||
"reference": "e3294c6cd71d0b6c8cba8d20c99d5af651351a86",
|
||||
"url": "https://api.github.com/repos/filamentphp/support/zipball/fbd989a4ea8520badaff9e997f39d02c601b1b9f",
|
||||
"reference": "fbd989a4ea8520badaff9e997f39d02c601b1b9f",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1750,20 +1752,20 @@
|
||||
"issues": "https://github.com/filamentphp/filament/issues",
|
||||
"source": "https://github.com/filamentphp/filament"
|
||||
},
|
||||
"time": "2025-10-08T10:40:12+00:00"
|
||||
"time": "2025-10-12T16:21:23+00:00"
|
||||
},
|
||||
{
|
||||
"name": "filament/tables",
|
||||
"version": "v4.1.6",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filamentphp/tables.git",
|
||||
"reference": "b3bf48fd079d8abdf6dfb0936f1d1c8c4a4479ab"
|
||||
"reference": "72a25ca036c7307b38582fd1b203efd2d5fee03d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/filamentphp/tables/zipball/b3bf48fd079d8abdf6dfb0936f1d1c8c4a4479ab",
|
||||
"reference": "b3bf48fd079d8abdf6dfb0936f1d1c8c4a4479ab",
|
||||
"url": "https://api.github.com/repos/filamentphp/tables/zipball/72a25ca036c7307b38582fd1b203efd2d5fee03d",
|
||||
"reference": "72a25ca036c7307b38582fd1b203efd2d5fee03d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1795,20 +1797,20 @@
|
||||
"issues": "https://github.com/filamentphp/filament/issues",
|
||||
"source": "https://github.com/filamentphp/filament"
|
||||
},
|
||||
"time": "2025-10-08T11:01:10+00:00"
|
||||
"time": "2025-10-12T16:21:29+00:00"
|
||||
},
|
||||
{
|
||||
"name": "filament/widgets",
|
||||
"version": "v4.1.6",
|
||||
"version": "v4.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/filamentphp/widgets.git",
|
||||
"reference": "f0b009e52737a2f973771928ada952ff577704ba"
|
||||
"reference": "4e3ebbd1b97c14c0a6e440b05717ec9d6b030ebb"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/f0b009e52737a2f973771928ada952ff577704ba",
|
||||
"reference": "f0b009e52737a2f973771928ada952ff577704ba",
|
||||
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/4e3ebbd1b97c14c0a6e440b05717ec9d6b030ebb",
|
||||
"reference": "4e3ebbd1b97c14c0a6e440b05717ec9d6b030ebb",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -1839,7 +1841,7 @@
|
||||
"issues": "https://github.com/filamentphp/filament/issues",
|
||||
"source": "https://github.com/filamentphp/filament"
|
||||
},
|
||||
"time": "2025-10-08T10:39:57+00:00"
|
||||
"time": "2025-10-12T16:21:25+00:00"
|
||||
},
|
||||
{
|
||||
"name": "firebase/php-jwt",
|
||||
@@ -7551,16 +7553,16 @@
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-health",
|
||||
"version": "1.34.7",
|
||||
"version": "1.34.8",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/spatie/laravel-health.git",
|
||||
"reference": "f62a63975e285086a8ef91864484948b7887a819"
|
||||
"reference": "fc0e85ee8e26767ab39420d78cfd31e4aa2d281d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-health/zipball/f62a63975e285086a8ef91864484948b7887a819",
|
||||
"reference": "f62a63975e285086a8ef91864484948b7887a819",
|
||||
"url": "https://api.github.com/repos/spatie/laravel-health/zipball/fc0e85ee8e26767ab39420d78cfd31e4aa2d281d",
|
||||
"reference": "fc0e85ee8e26767ab39420d78cfd31e4aa2d281d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -7632,7 +7634,7 @@
|
||||
"spatie"
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/spatie/laravel-health/tree/1.34.7"
|
||||
"source": "https://github.com/spatie/laravel-health/tree/1.34.8"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@@ -7640,7 +7642,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2025-08-25T07:43:37+00:00"
|
||||
"time": "2025-10-10T08:08:20+00:00"
|
||||
},
|
||||
{
|
||||
"name": "spatie/laravel-package-tools",
|
||||
@@ -13203,11 +13205,11 @@
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan",
|
||||
"version": "2.1.30",
|
||||
"version": "2.1.31",
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/a4a7f159927983dd4f7c8020ed227d80b7f39d7d",
|
||||
"reference": "a4a7f159927983dd4f7c8020ed227d80b7f39d7d",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/ead89849d879fe203ce9292c6ef5e7e76f867b96",
|
||||
"reference": "ead89849d879fe203ce9292c6ef5e7e76f867b96",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -13252,7 +13254,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2025-10-02T16:07:52+00:00"
|
||||
"time": "2025-10-10T14:14:11+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpunit/php-code-coverage",
|
||||
|
||||
@@ -17,6 +17,7 @@ return [
|
||||
'intro-update-available' => [
|
||||
'heading' => 'Update available',
|
||||
'content' => ':latestVersion is now available! Read our documentation to update your Panel.',
|
||||
'button_changelog' => 'What\'s New?',
|
||||
],
|
||||
'intro-no-update' => [
|
||||
'heading' => 'Your Panel is up to date',
|
||||
|
||||
@@ -6,7 +6,6 @@ return [
|
||||
'model_label_plural' => 'Webhooks',
|
||||
'endpoint' => 'Endpoint',
|
||||
'description' => 'Description',
|
||||
'events' => 'Events',
|
||||
'no_webhooks' => 'No Webhooks',
|
||||
'help' => 'Help',
|
||||
'help_text' => 'You have to wrap variable name in between {{ }} for example if you want to get the name from the api you can use {{name}}.',
|
||||
@@ -38,7 +37,6 @@ return [
|
||||
'thumbnail' => 'Thumbnail URL',
|
||||
'embeds' => 'Embeds',
|
||||
'thread_name' => 'Forum Thread Name',
|
||||
'flags' => 'Flags',
|
||||
'allowed_mentions' => 'Allowed Mentions',
|
||||
'roles' => 'Roles',
|
||||
'users' => 'Users',
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
"vite": "6.2.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@xterm/addon-canvas": "^0.7.0",
|
||||
"@xterm/addon-fit": "^0.10.0",
|
||||
"@xterm/addon-search": "^0.15.0",
|
||||
"@xterm/addon-web-links": "^0.11.0",
|
||||
"@xterm/addon-webgl": "^0.18.0",
|
||||
"@xterm/xterm": "^5.5.0",
|
||||
"glob": "^11.0.3",
|
||||
"xterm-addon-search-bar": "^0.2.0"
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
var i=()=>({isSticky:!1,enableSticky(){this.isSticky=this.$el.getBoundingClientRect().top>0},disableSticky(){this.isSticky=!1}});export{i as default};
|
||||
var i=()=>({isSticky:!1,width:0,resizeObserver:null,boundUpdateWidth:null,init(){let e=this.$el.parentElement;e&&(this.updateWidth(),this.resizeObserver=new ResizeObserver(()=>this.updateWidth()),this.resizeObserver.observe(e),this.boundUpdateWidth=this.updateWidth.bind(this),window.addEventListener("resize",this.boundUpdateWidth))},enableSticky(){this.isSticky=this.$el.getBoundingClientRect().top>0},disableSticky(){this.isSticky=!1},updateWidth(){let e=this.$el.parentElement;if(!e)return;let t=getComputedStyle(this.$root.querySelector(".fi-ac"));this.width=e.offsetWidth+parseInt(t.marginInlineStart,10)*-1+parseInt(t.marginInlineEnd,10)*-1},destroy(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.boundUpdateWidth&&(window.removeEventListener("resize",this.boundUpdateWidth),this.boundUpdateWidth=null)}});export{i as default};
|
||||
|
||||
@@ -1 +1 @@
|
||||
(()=>{var d=()=>({isSticky:!1,enableSticky(){this.isSticky=this.$el.getBoundingClientRect().top>0},disableSticky(){this.isSticky=!1}});var m=function(i,e,n){let t=i;if(e.startsWith("/")&&(n=!0,e=e.slice(1)),n)return e;for(;e.startsWith("../");)t=t.includes(".")?t.slice(0,t.lastIndexOf(".")):null,e=e.slice(3);return["",null,void 0].includes(t)?e:["",null,void 0].includes(e)?t:`${t}.${e}`},u=i=>{let e=Alpine.findClosest(i,n=>n.__livewire);if(!e)throw"Could not find Livewire component in DOM tree.";return e.__livewire};document.addEventListener("alpine:init",()=>{window.Alpine.data("filamentSchema",({livewireId:i})=>({handleFormValidationError(e){e.detail.livewireId===i&&this.$nextTick(()=>{let n=this.$el.querySelector("[data-validation-error]");if(!n)return;let t=n;for(;t;)t.dispatchEvent(new CustomEvent("expand")),t=t.parentNode;setTimeout(()=>n.closest("[data-field-wrapper]").scrollIntoView({behavior:"smooth",block:"start",inline:"start"}),200)})},isStateChanged(e,n){if(e===void 0)return!1;try{return JSON.stringify(e)!==JSON.stringify(n)}catch{return e!==n}}})),window.Alpine.data("filamentSchemaComponent",({path:i,containerPath:e,$wire:n})=>({$statePath:i,$get:(t,o)=>n.$get(m(e,t,o)),$set:(t,o,l,a=!1)=>n.$set(m(e,t,l),o,a),get $state(){return n.$get(i)}})),window.Alpine.data("filamentActionsSchemaComponent",d),Livewire.hook("commit",({component:i,commit:e,respond:n,succeed:t,fail:o})=>{t(({snapshot:l,effects:a})=>{a.dispatches?.forEach(r=>{if(!r.params?.awaitSchemaComponent)return;let s=Array.from(i.el.querySelectorAll(`[wire\\:partial="schema-component::${r.params.awaitSchemaComponent}"]`)).filter(c=>u(c)===i);if(s.length!==1){if(s.length>1)throw`Multiple schema components found with key [${r.params.awaitSchemaComponent}].`;window.addEventListener(`schema-component-${i.id}-${r.params.awaitSchemaComponent}-loaded`,()=>{window.dispatchEvent(new CustomEvent(r.name,{detail:r.params}))},{once:!0})}})})})});})();
|
||||
(()=>{var d=()=>({isSticky:!1,width:0,resizeObserver:null,boundUpdateWidth:null,init(){let t=this.$el.parentElement;t&&(this.updateWidth(),this.resizeObserver=new ResizeObserver(()=>this.updateWidth()),this.resizeObserver.observe(t),this.boundUpdateWidth=this.updateWidth.bind(this),window.addEventListener("resize",this.boundUpdateWidth))},enableSticky(){this.isSticky=this.$el.getBoundingClientRect().top>0},disableSticky(){this.isSticky=!1},updateWidth(){let t=this.$el.parentElement;if(!t)return;let e=getComputedStyle(this.$root.querySelector(".fi-ac"));this.width=t.offsetWidth+parseInt(e.marginInlineStart,10)*-1+parseInt(e.marginInlineEnd,10)*-1},destroy(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.boundUpdateWidth&&(window.removeEventListener("resize",this.boundUpdateWidth),this.boundUpdateWidth=null)}});var u=function(t,e,n){let i=t;if(e.startsWith("/")&&(n=!0,e=e.slice(1)),n)return e;for(;e.startsWith("../");)i=i.includes(".")?i.slice(0,i.lastIndexOf(".")):null,e=e.slice(3);return["",null,void 0].includes(i)?e:["",null,void 0].includes(e)?i:`${i}.${e}`},c=t=>{let e=Alpine.findClosest(t,n=>n.__livewire);if(!e)throw"Could not find Livewire component in DOM tree.";return e.__livewire};document.addEventListener("alpine:init",()=>{window.Alpine.data("filamentSchema",({livewireId:t})=>({handleFormValidationError(e){e.detail.livewireId===t&&this.$nextTick(()=>{let n=this.$el.querySelector("[data-validation-error]");if(!n)return;let i=n;for(;i;)i.dispatchEvent(new CustomEvent("expand")),i=i.parentNode;setTimeout(()=>n.closest("[data-field-wrapper]").scrollIntoView({behavior:"smooth",block:"start",inline:"start"}),200)})},isStateChanged(e,n){if(e===void 0)return!1;try{return JSON.stringify(e)!==JSON.stringify(n)}catch{return e!==n}}})),window.Alpine.data("filamentSchemaComponent",({path:t,containerPath:e,$wire:n})=>({$statePath:t,$get:(i,s)=>n.$get(u(e,i,s)),$set:(i,s,a,o=!1)=>n.$set(u(e,i,a),s,o),get $state(){return n.$get(t)}})),window.Alpine.data("filamentActionsSchemaComponent",d),Livewire.hook("commit",({component:t,commit:e,respond:n,succeed:i,fail:s})=>{i(({snapshot:a,effects:o})=>{o.dispatches?.forEach(r=>{if(!r.params?.awaitSchemaComponent)return;let l=Array.from(t.el.querySelectorAll(`[wire\\:partial="schema-component::${r.params.awaitSchemaComponent}"]`)).filter(h=>c(h)===t);if(l.length!==1){if(l.length>1)throw`Multiple schema components found with key [${r.params.awaitSchemaComponent}].`;window.addEventListener(`schema-component-${t.id}-${r.params.awaitSchemaComponent}-loaded`,()=>{window.dispatchEvent(new CustomEvent(r.name,{detail:r.params}))},{once:!0})}})})})});})();
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3,11 +3,11 @@ import { FitAddon } from '@xterm/addon-fit';
|
||||
import { WebLinksAddon } from '@xterm/addon-web-links';
|
||||
import { SearchAddon } from '@xterm/addon-search';
|
||||
import { SearchBarAddon } from 'xterm-addon-search-bar';
|
||||
import { CanvasAddon } from '@xterm/addon-canvas';
|
||||
import { WebglAddon } from '@xterm/addon-webgl';
|
||||
|
||||
window.Xterm = {
|
||||
Terminal,
|
||||
CanvasAddon,
|
||||
WebglAddon,
|
||||
FitAddon,
|
||||
WebLinksAddon,
|
||||
SearchAddon,
|
||||
|
||||
@@ -76,19 +76,19 @@
|
||||
theme: theme
|
||||
};
|
||||
|
||||
const { Terminal, FitAddon, WebLinksAddon, SearchAddon, SearchBarAddon, CanvasAddon } = window.Xterm;
|
||||
const { Terminal, FitAddon, WebLinksAddon, SearchAddon, SearchBarAddon, WebglAddon } = window.Xterm;
|
||||
|
||||
const terminal = new Terminal(options);
|
||||
const fitAddon = new FitAddon();
|
||||
const webLinksAddon = new WebLinksAddon();
|
||||
const searchAddon = new SearchAddon();
|
||||
const searchAddonBar = new SearchBarAddon({ searchAddon });
|
||||
const canvasAddon = new CanvasAddon();
|
||||
const webglAddon = new WebglAddon();
|
||||
terminal.loadAddon(fitAddon);
|
||||
terminal.loadAddon(webLinksAddon);
|
||||
terminal.loadAddon(searchAddon);
|
||||
terminal.loadAddon(searchAddonBar);
|
||||
terminal.loadAddon(canvasAddon);
|
||||
terminal.loadAddon(webglAddon);
|
||||
|
||||
terminal.open(document.getElementById('terminal'));
|
||||
|
||||
|
||||
10
yarn.lock
10
yarn.lock
@@ -415,11 +415,6 @@
|
||||
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.7.tgz#4158d3105276773d5b7695cd4834b1722e4f37a8"
|
||||
integrity sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==
|
||||
|
||||
"@xterm/addon-canvas@^0.7.0":
|
||||
version "0.7.0"
|
||||
resolved "https://registry.yarnpkg.com/@xterm/addon-canvas/-/addon-canvas-0.7.0.tgz#d3a3835f3634e0106e108661315ae14da23e8dd7"
|
||||
integrity sha512-LF5LYcfvefJuJ7QotNRdRSPc9YASAVDeoT5uyXS/nZshZXjYplGXRECBGiznwvhNL2I8bq1Lf5MzRwstsYQ2Iw==
|
||||
|
||||
"@xterm/addon-fit@^0.10.0":
|
||||
version "0.10.0"
|
||||
resolved "https://registry.yarnpkg.com/@xterm/addon-fit/-/addon-fit-0.10.0.tgz#bebf87fadd74e3af30fdcdeef47030e2592c6f55"
|
||||
@@ -435,6 +430,11 @@
|
||||
resolved "https://registry.yarnpkg.com/@xterm/addon-web-links/-/addon-web-links-0.11.0.tgz#f283513b8c713757bad8e3bf04b6becc3b4e585f"
|
||||
integrity sha512-nIHQ38pQI+a5kXnRaTgwqSHnX7KE6+4SVoceompgHL26unAxdfP6IPqUTSYPQgSwM56hsElfoNrrW5V7BUED/Q==
|
||||
|
||||
"@xterm/addon-webgl@^0.18.0":
|
||||
version "0.18.0"
|
||||
resolved "https://registry.yarnpkg.com/@xterm/addon-webgl/-/addon-webgl-0.18.0.tgz#9e927cee10af971595fb2a72fd4c3bc2819f0096"
|
||||
integrity sha512-xCnfMBTI+/HKPdRnSOHaJDRqEpq2Ugy8LEj9GiY4J3zJObo3joylIFaMvzBwbYRg8zLtkO0KQaStCeSfoaI2/w==
|
||||
|
||||
"@xterm/xterm@^5.5.0":
|
||||
version "5.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@xterm/xterm/-/xterm-5.5.0.tgz#275fb8f6e14afa6e8a0c05d4ebc94523ff775396"
|
||||
|
||||
Reference in New Issue
Block a user