Lance Pioch
4f5e9a6c30
Merge branch 'main' into issue/68
...
# Conflicts:
# app/Filament/Resources/NodeResource/RelationManagers/AllocationsRelationManager.php
# app/Filament/Resources/ServerResource/Pages/CreateServer.php
# app/Filament/Resources/ServerResource/Pages/EditServer.php
# app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php
# app/Filament/Resources/UserResource/Pages/EditProfile.php
# app/Models/Node.php
# app/Models/Objects/DeploymentObject.php
# app/Services/Allocations/AssignmentService.php
# app/Services/Servers/ServerCreationService.php
# app/Services/Servers/TransferServerService.php
# pint.json
2024-10-20 15:14:08 -04: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
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
Lance Pioch
54ea55d426
Enforce DI
2024-10-19 17:22:03 -04:00
Lance Pioch
5353d38302
Merge branch 'main' into issue/68
...
# Conflicts:
# app/Filament/Resources/NodeResource/Pages/CreateNode.php
# app/Filament/Resources/NodeResource/RelationManagers/AllocationsRelationManager.php
# app/Filament/Resources/NodeResource/RelationManagers/NodesRelationManager.php
# app/Filament/Resources/ServerResource/Pages/CreateServer.php
# app/Filament/Resources/ServerResource/Pages/EditServer.php
# app/Filament/Resources/ServerResource/Pages/ListServers.php
# app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php
# app/Filament/Resources/UserResource/RelationManagers/ServersRelationManager.php
# app/Transformers/Api/Client/ServerTransformer.php
# composer.lock
# config/panel.php
2024-10-18 21:18:48 -04:00
Boy132
f357c9501f
Auto-check eggs for update ( #620 )
...
* add command to check eggs for update
* add "update" button to ListEggs
* fix "unset"
* rename class
* add confirmation modal to update button
2024-10-15 22:54:06 +02:00
Boy132
b003404aea
Collection of small admin area changes ( #604 )
...
* enable tags for nodes
* update icon for cpu column
* disable inline for "force outgoing ip" label
* change label for database hosts resource
* add custom empty state for database hosts & api keys
* add icons to egg tabs
* fix typo
* rename node "Automatic Allocation" to avoid confusion
* run code cleanup
* remove regex for node name
* only check count for application api keys
* replace "New" with "Create"
* change sidebar width to fit "Database Hosts"
2024-10-04 01:15:08 +02:00
Charles
e78f7bc054
Just some houseKeeping ( #593 )
...
* Just some houseKeeping
* ... pint
2024-10-01 04:37:21 -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
Lance Pioch
0a6b846230
Merge branch 'main' into issue/68
...
# Conflicts:
# app/Filament/Resources/ServerResource/Pages/CreateServer.php
# app/Filament/Resources/ServerResource/Pages/EditServer.php
# app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php
# app/Services/Allocations/AssignmentService.php
# database/Seeders/eggs/minecraft/egg-bungeecord.json
# database/Seeders/eggs/minecraft/egg-forge-minecraft.json
# database/Seeders/eggs/minecraft/egg-paper.json
# database/Seeders/eggs/minecraft/egg-sponge-sponge-vanilla.json
# database/Seeders/eggs/minecraft/egg-vanilla-minecraft.json
# database/Seeders/eggs/rust/egg-rust.json
# database/Seeders/eggs/source-engine/egg-counter-strike-global-offensive.json
# database/Seeders/eggs/source-engine/egg-custom-source-engine-game.json
# database/Seeders/eggs/source-engine/egg-garrys-mod.json
# database/Seeders/eggs/source-engine/egg-insurgency.json
# database/Seeders/eggs/source-engine/egg-team-fortress2.json
# database/Seeders/eggs/voice-servers/egg-mumble-server.json
# database/Seeders/eggs/voice-servers/egg-teamspeak3-server.json
2024-09-18 22:21:55 -04:00
Boy132
c2b1a98d29
Convert variable "rules" to array ( #507 )
...
* convert variable "rules" to array
* allow importing eggs with string rules
* fix tests
* update stock eggs to rules array
2024-08-19 08:33:53 +02:00
Boy132
1864fff04f
Update default image for new eggs ( #540 )
2024-08-16 22:44:12 +02:00
notCharles
3158bdfef8
Fix Single Egg Import
2024-08-10 18:20:21 -04:00
notCharles
8662806dfd
Fix 500 if update url is blank
2024-07-20 18:51:38 -04:00
Boy132
8a3d67ada0
Fix update egg from url ( #492 )
2024-07-17 13:00:54 +02:00
notCharles
8ba15538a9
Fix ToolTip
2024-07-03 16:33:32 -04:00
Charles
160ea1ed50
Enable Update URL
...
Since importing an egg via url was added, we can enable this.
2024-07-03 10:27:57 -04:00
Lance Pioch
5b468c21ae
Merge branch 'main' into issue/68
...
# Conflicts:
# app/Filament/Resources/DatabaseHostResource/Pages/CreateDatabaseHost.php
# app/Filament/Resources/DatabaseHostResource/Pages/EditDatabaseHost.php
# app/Filament/Resources/EggResource/RelationManagers/ServersRelationManager.php
# app/Filament/Resources/NodeResource.php
# app/Filament/Resources/NodeResource/RelationManagers/AllocationsRelationManager.php
# app/Filament/Resources/NodeResource/RelationManagers/NodesRelationManager.php
# app/Filament/Resources/ServerResource/Pages/CreateServer.php
2024-07-01 14:54:12 -04:00
Charles
82c0568129
Reduce Reuse ( #443 )
...
* Reduce Reuse
Reduce the repetitiveness of \Form\Component\Blah along with all the others...
* PHPStan Fix
2024-06-29 17:38:18 -04:00
Lance Pioch
45fcc2a09a
Merge branch 'main' into issue/68
...
# Conflicts:
# app/Filament/Resources/DatabaseHostResource/Pages/CreateDatabaseHost.php
# app/Filament/Resources/DatabaseHostResource/Pages/EditDatabaseHost.php
# app/Filament/Resources/ServerResource/Pages/CreateServer.php
# app/Filament/Resources/ServerResource/Pages/EditServer.php
# app/Filament/Resources/ServerResource/Pages/ListServers.php
# app/Http/Requests/Admin/Node/AllocationFormRequest.php
# app/Http/Requests/Api/Application/Allocations/StoreAllocationRequest.php
# app/Models/AuditLog.php
# app/Models/Server.php
2024-06-26 21:52:05 -04:00
Lance Pioch
f459987458
Allow manual (force) updates to eggs ( #427 )
...
* Update labels
* Add force imports
* Not multiple
* pint + changes
---------
Co-authored-by: Charles <charles@pelican.dev>
2024-06-25 15:37:12 -04:00
MartinOscar
aa08e774a1
Fix varchar(191) by replacing with 255 #135 ( #376 )
...
* Add Nullable
* Edit filament & AppServiceProvider
* Pint
* Patch tests
* Actually patching tests
* Actually patching tests
* Remove length
* Remove defaultStringLength
* Let’s see the differences
---------
Co-authored-by: Lance Pioch <git@lance.sh>
2024-06-16 13:56:18 -04:00
notCharles
482e8ed6b2
Add Databases to Edit Server
2024-06-16 13:50:28 -04:00
Lance Pioch
0bd2935885
Merge branch 'main' into issue/68
...
# Conflicts:
# app/Filament/Resources/EggResource/RelationManagers/ServersRelationManager.php
# app/Filament/Resources/NodeResource/RelationManagers/AllocationsRelationManager.php
# app/Filament/Resources/NodeResource/RelationManagers/NodesRelationManager.php
# app/Filament/Resources/ServerResource/Pages/CreateServer.php
# app/Filament/Resources/ServerResource/Pages/ListServers.php
# app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php
# app/Filament/Resources/UserResource/RelationManagers/ServersRelationManager.php
# app/Models/Allocation.php
# app/Models/ApiKey.php
# app/Models/Server.php
# app/Models/User.php
2024-06-15 05:21:58 -04:00
Lance Pioch
36e2fa8e2b
Wip
2024-06-13 11:31:58 -04:00
Boy132
7c829fb9cf
Fix egg export ( #380 )
2024-06-12 18:18:24 +02:00
Boy132
61f3e965ba
Refactor egg services ( #358 )
...
* combine importer and updateimport
* integrate egg parser into importer
* remove EggCreationService and EggUpdateService
* run pint
* revert change to composer.json
* use egg exporter directly instead of old admin route
2024-06-11 21:01:31 +02:00
Djordy Koert
1d66d4c320
PHPStan workflow + PHPStan fixes ( #339 )
...
* add PHPStan to workflow
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
Co-authored-by: Djordy <djordy@lap-0394-djordy-koert.local>
Co-authored-by: Lance Pioch <lancepioch@gmail.com>
2024-06-11 15:00:51 -04:00
Boy132
1047e8f948
Make egg list searchable and sortable ( #359 )
...
* make egg list searchable and sortable
* run pint
2024-06-10 09:11:12 -04:00
Boy132
cc1ac1eba1
Allow importing eggs via url ( #344 )
...
* allow importing eggs via url
* refactor
* run pint
* turn back into one button
* fix empty check
* small cleanup
* removed container for tabs
* Update URL function
* Use sys temp
---------
Co-authored-by: notCharles <charles@pelican.dev>
2024-06-07 17:31:34 -04:00
notCharles
5344d99a40
Update Mobile View
2024-05-18 17:47:33 -04:00
Lance Pioch
b513366f35
Merge branch 'main' of github.com:pelican-dev/panel
2024-05-15 13:24:44 -04:00
notCharles
35ac1f863a
Move save buttons to the top.
2024-05-13 19:58:01 -04:00
notCharles
f79dac2d13
Show associated servers on edit egg page
2024-05-13 19:39:28 -04:00
notCharles
1f5217a9d9
Add Egg ID to page
2024-05-12 16:16:13 -04:00
Lance Pioch
3609873c4c
These are emails
2024-05-11 23:44:59 -04:00
notCharles
af18a3704f
Fix Creating Eggs
2024-05-11 22:02:57 -04:00
notCharles
e286100197
Fix migrations to work with SQLite without needing SQLite CLI
2024-05-11 20:09:22 -04:00
notCharles
c0ca189536
Update CreateEgg to match EditEgg
...
Creating Eggs still broken.
2024-05-11 18:42:24 -04:00
notCharles
1481338eb9
Fix Egg delete button logic
2024-05-11 17:21:06 -04:00
notCharles
44e9da93b6
Add variable permission to edit/create egg + export
2024-05-10 17:53:16 -04:00
notCharles
29e1bd4757
Color Export link
2024-05-10 17:01:39 -04:00
Lance Pioch
6468f85cb0
Fix #164 and bypass the casting issue
...
https://github.com/filamentphp/filament/issues/12116#issuecomment-2097408424
2024-05-07 00:10:46 -04:00
notCharles
04675a73fd
Make pretty
2024-05-06 22:05:03 -04:00
Lance Pioch
abbf2038a7
Fix pint issue
2024-05-05 15:14:04 -04:00
Lance Pioch
52026ca9e4
Update egg creation process
2024-05-04 18:45:26 -04:00
Lance Pioch
0b0c4bb434
Switch to select
2024-05-04 15:26:08 -04:00
Lance Pioch
22aa56d306
Rearrange these
2024-05-04 15:25:52 -04:00