notCharles
582b9bc0ac
Merge branch 'main' into filament-v4
2025-08-11 17:18:11 -04:00
Charles
b03d2cf919
composer update + update jwt ( #1587 )
2025-08-11 16:57:59 -04:00
Boy132
49e9440e0f
Fix server creation without deployment ( #1569 )
2025-08-07 11:16:32 +02:00
notCharles
90a3f38750
Merge branch 'main' into filament-v4
2025-07-19 16:45:20 -04:00
Lance Pioch
986063dce4
Use default startup variable value when creating server via api ( #1518 )
...
Co-authored-by: Boy132 <mail@boy132.de>
2025-07-19 13:58:04 -04:00
Boy132
e0697d3288
Cleanup & fix server deployment ( #1497 )
2025-07-18 08:23:48 +02:00
Charles
d4da111a14
Merge branch 'main' into filament-v4
...
Oh man, this is a disaster.
2025-07-10 08:40:56 -04:00
pelican-vehikl
de4cb38766
Refactor Providers
to be a singleton ( #1327 )
2025-07-01 21:33:11 -04:00
Charles
4f0b6c888e
Merge remote-tracking branch 'origin/main' into filament-v4
2025-06-26 07:18:48 -04:00
JoanFo
dca37ccc95
Server Without Allocations ( #1432 )
...
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
2025-06-25 19:49:43 -04:00
Walter van der Broek
7731f16b0f
Fix: Search for tags in correct variable ( #1461 )
2025-06-25 19:48:39 -04:00
Charles
ea19202609
Disaster Recovery v3 + filament v4b8
2025-06-23 08:54:51 -04:00
Boy132
0ba497a2eb
Add separate port field for node connections ( #1423 )
2025-06-03 14:33:57 +02:00
Boy132
35ce1d34ab
Permission check fixes ( #1406 )
2025-05-27 19:30:30 +02:00
Boy132
2296e41a8b
Add button to view install logs ( #1356 )
...
Co-authored-by: notCharles <charles@pelican.dev>
2025-05-09 21:03:32 +02:00
pelican-vehikl
8407547574
Add back Egg Features ( #1271 )
...
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
Co-authored-by: Lance Pioch <git@lance.sh>
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
2025-04-24 18:24:18 -04:00
Boy132
ed88ce9ae3
cleanup panel
config file ( #1198 )
2025-04-02 21:44:33 -04:00
Boy132
9c3f47590c
Fix server transfer backend ( #1139 )
...
* fix notify in transfer service
* remove magical array
* fix phpstan
* better validation for allocation_additional and better docs generation
* update transfer ui
* update request body
2025-04-01 11:19:14 +02:00
Lance Pioch
875dca54f5
Switch inserts to proper creates ( #1190 )
...
* Switch inserts to proper creates
* Push `$token` to `$tokens[]` in `ToggleTwoFactorService`
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
2025-03-30 21:56:49 -04:00
Lance Pioch
0179ade557
Add Laravel Data package, also some small fixes ( #1065 )
...
* Simplify
* Update these
* Add Laravel Data
* Remove unused imports
* Quick fix
* Fix double array
* Update app/Console/Commands/Egg/CheckEggUpdatesCommand.php
2025-03-08 19:56:06 -05:00
MartinOscar
5512c10ee1
Use daemonRepository
instead of BuildModificationService
( #1053 )
2025-03-04 00:48:22 +01:00
Lance Pioch
da195fd2fe
PHPstan updates ( #1047 )
...
* Not found property rule
* Make these “better”
* Day 1
* Day 2
* Day 3
* Dat 4
* Remove disabled check
* Day 4 continued
* Run pint
* Final changes hopefully
* Pint fixes
* Fix again
* Reset these
* Update app/Filament/Admin/Pages/Health.php
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
* Update app/Traits/CheckMigrationsTrait.php
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
---------
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
2025-03-03 14:41:19 -05:00
MartinOscar
839be53231
Use BuildModificationService
on EditServer
( #1042 )
...
* Use `BuildModificationService` on `EditServer` & make it throw if we can't reach wings
* Use Node name on `EditServer` & `EditNode`
2025-03-03 19:49:42 +01:00
MartinOscar
cba4cf11aa
Fix Admin Area
translations
( #991 )
...
* Fix button
* Replace array with index
* Fix Server ToggleInstallService
* FiNodeVersionsCheck
* Fix CreateWebhookConfiguration
* Fixdatabasehost post_help > port_help
* Fix User CreateServer
* Fix Profile language_help
* Fix Role permission UserResource
* Remove debug & Pint
2025-02-10 10:28:14 -05:00
Boy132
03eaddb126
Fix server access for admins without subuser ( #919 )
...
* fix server access for admins without subuser
* add permission checks to power buttons
* add permission check for console command sending
* fix tests
* fix websocket token permissions
* fix sftp access
* fix server api + small cleanup
* it's "update", not "edit"...
* fix tests
* fix permission const for "activity read"
* fix activity subuser permission
2025-01-17 23:04:22 +01:00
Boy132
c93a836ad8
Remove DaemonConnectionException
( #885 )
...
* remove DaemonConnectionException
* update tests
2025-01-07 22:58:04 +01:00
MartinOscar
77fd54fdc2
Fix/suspend server offline node ( #871 )
...
* Use handle instead of toggle & use const isnstead of string
* Avoid rollback if node is unreachable
* Use Enum & remove default action
* Remove useless test
2025-01-06 03:07:06 +01:00
Lance Pioch
133c1a511f
Replace some guzzle exceptions and fix server creation failures ( #848 )
...
* Replace guzzle exceptions
* Pint fixes
* Fix test
* Remove unused imports
* Catch & Notify the user instead of 500
* Update app/Filament/Admin/Resources/ServerResource/Pages/CreateServer.php
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
2025-01-01 15:20:16 -05:00
Boy132
026494c353
Catch correct Exceptions when updating/ deleting subusers ( #828 )
2024-12-12 17:32:39 +01:00
Boy132
d555c42644
Update all dependencies ( #712 )
...
* update composer.lock
* run pint
* fix phpstan
* update migrations (sqlite `dropForeign`)
* fix migrations
* Reset these back for now
* Alphabetize the rules
* run `php artisan filament:upgrade`
---------
Co-authored-by: Lance Pioch <git@lance.sh>
2024-11-22 09:27:57 +01:00
Lance Pioch
6125b07afa
Remove old admin area ( #648 )
...
* Remove old admin
* Remove controller test
* Remove unused exceptions
* Remove unused files
* More small tweaks
* Fix doc block
* Remove unused service
* Restore these
* Add back autoDeploy
* Revert "Add back autoDeploy"
This reverts commit 630c1e08acf8056ce8e612f376fcd00c23d90aea.
* Add these back
* Add back exception
* Remove ApiController again
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
Co-authored-by: Boy132 <mail@boy132.de>
Co-authored-by: notCharles <charles@pelican.dev>
2024-11-13 17:05:48 -05:00
Lance Pioch
64943aa50c
Merge branch 'main' into lance/pint-fixes
2024-10-20 11:53:10 -04:00
Lance Pioch
deb6603840
Revert "Add concat_space rule"
...
This reverts commit 96acd268bee7005fe1691b572a4674575604d437.
2024-10-19 21:14:41 -04:00
Lance Pioch
c7a307af6e
Enforce return and parameter types
2024-10-19 21:02:49 -04:00
Lance Pioch
1bf6a880fb
Add nullable_type_declaration_for_default_null_value rule
2024-10-19 18:41:08 -04:00
Lance Pioch
96acd268be
Add concat_space rule
2024-10-19 18:30:34 -04:00
Lance Pioch
c0a41acf1f
Add class_attributes_separation
2024-10-19 18:29:44 -04:00
Boy132
fc643f57f9
Admin Roles ( #502 )
...
* add spatie/permissions
* add policies
* add role resource
* add root admin role handling
* replace some "root_admin" with function
* add model specific permissions
* make permission selection nicer
* fix user creation
* fix tests
* add back subuser checks in server policy
* add custom model for role
* assign new users to role if root_admin is set
* add api for roles
* fix phpstan
* add permissions for settings page
* remove "restore" and "forceDelete" permissions
* add user count to list
* prevent deletion if role has users
* update user list
* fix server policy
* remove old `root_admin` column
* small refactor
* fix tests
* forgot can checks here
* forgot use
* disable editing own roles & disable assigning root admin
* don't allow to rename root admin role
* remove php bombing exception handler
* fix role assignment when creating a user
* fix disableOptionWhen
* fix missing `root_admin` attribute on react frontend
* add permission check for bulk delete
* rename viewAny to viewList
* improve canAccessPanel check
* fix admin not displaying for non-root admins
* make sure non root admins can't edit root admins
* fix import
* fix settings page permission check
* fix server permissions for non-subusers
* fix settings page permission check v2
* small cleanup
* cleanup config file
* move consts from resouce into enum & model
* Update database/migrations/2024_08_01_114538_remove_root_admin_column.php
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
* fix config
* fix phpstan
* fix phpstan 2.0
---------
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
2024-09-21 12:27:41 +02:00
Boy132
2e094605e9
Round memory, swap and disk limits for wings ( #523 )
2024-08-04 22:21:23 +02:00
Boy132
6916b89638
Fill startup & image from egg if missing in request ( #384 )
2024-06-13 15:48:36 +02:00
Boy132
cd4fc1a95d
Add config variable to change between MiB
and MB
( #374 )
2024-06-13 08:22:29 +02:00
Lance Pioch
44f5ea567f
Merge branch 'main' into charles/rework-server
...
# Conflicts:
# app/Filament/Resources/ServerResource/Pages/EditServer.php
2024-06-02 17:46:45 -04:00
notCharles
0b0952650e
Remove labels/mounts if empty.
2024-06-02 13:43:25 -04:00
kubi
b804878d7b
Fix labels position in server config
2024-06-01 20:42:44 +00:00
notCharles
118977c8c5
Merge branch 'main' into charles/rework-server
2024-06-01 15:54:03 -04:00
notCharles
c31b7b8c6a
Correctly save labels on create
2024-06-01 15:52:13 -04:00
notCharles
a6d07ede5a
Soon-TM
2024-05-29 19:18:09 -04:00
Boy132
f6325c07c4
Fix overallocation -1
and close #268 ( #283 )
2024-05-29 18:57:30 -04:00
notCharles
dec1cf8e74
Rework Edit Server Page
...
a WIP, Also functional
2024-05-27 20:02:13 -04:00
Lance Pioch
51460782cc
Merge branch 'main' into issue/222
...
# Conflicts:
# app/Http/Controllers/Api/Application/Nodes/NodeDeploymentController.php
# app/Http/Requests/Api/Application/Nodes/GetDeployableNodesRequest.php
# app/Services/Deployment/FindViableNodesService.php
# app/Services/Servers/ServerCreationService.php
# tests/Integration/Services/Deployment/FindViableNodesServiceTest.php
2024-05-22 02:47:37 -04:00