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
818781ca66
Fix isViable for Nodes with "unlimited" resources ( #559 )
2024-08-22 22:19:56 +02: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
a58e159478
Settings page ( #486 )
...
* remove old settings stuff
* add basic settings page
* add some settings
* add "test mail" button
* fix mail fields not updating
* fix phpstan
* fix default for "top navigation"
* force toggle buttons to be bool
* force toggle to be bool
* add class to view to allow customization
* add mailgun settings
* add notification settings
* add timeout settings
* organize tabs into sub-functions
* add more settings
* add backup settings
* add sections to mail settings
* add setting for trusted_proxies
* fix unsaved data alert not showing
* fix clear action
* Fix clear action v2
TagsInput expects an array, not a string, fails on saving when using `''`
* Add App favicon
* Remove defaults, collapse misc sections
* Move Save btn, Add API rate limit
* small cleanup
---------
Co-authored-by: notCharles <charles@pelican.dev>
2024-07-29 12:14:24 +02:00
Boy132
2c2e52b18a
fix phpstan ( #503 )
2024-07-23 11:32:32 +02:00
Boy132
bb7c0e0e66
Add "Delete files" task ( #470 )
...
* started "delete files" task
* add logic to DeleteFilesService
* add frontend
* make nicer
* move description to right place
2024-07-10 09:25:15 +02:00
Boy132
447e889a4f
Fix default timestamp for activity logs ( #468 )
...
* fix default timestamp for activity logs
* fix phpstan
2024-07-10 08:36:24 +02:00
Lance Pioch
aff9f4ea37
Don’t need this anymore
2024-07-04 18:56:28 -04:00
Lance Pioch
f2754c3cb1
Fix mappings
2024-07-04 13:50:48 -04:00
Lance Pioch
8b86707150
Wip
2024-07-04 13:11:13 -04:00
Lance Pioch
233fd50b2b
Don’t include this by default
2024-07-04 10:24:46 -04:00
Lance Pioch
a9c7eeddde
Add the any ip address
2024-07-03 12:13:25 -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
notCharles
bebc410eda
Update these
2024-07-02 19:36:53 -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
Boy132
133b94ab08
Add missing user timezone stuff ( #446 )
2024-06-29 23:42:46 +02: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
19c7b4d044
Clean up
2024-06-26 21:44:06 -04:00
Lance Pioch
efb834c8f7
Combine Server states and statuses and resolve #362 ( #417 )
...
* Simplify states and statuses and resolve #362
# Conflicts:
# app/Models/Server.php
* Move Random button...
Moves button to the info tab
---------
Co-authored-by: notCharles <charles@pelican.dev>
2024-06-25 20:30:06 -04:00
Lance Pioch
cf37994c3b
Allow user to switch time zones ( #332 )
...
* Description not required
* Overwrite to use user’s time zone
* Allow users to change time zones
* Update app/Filament/Resources/UserResource/Pages/EditProfile.php
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* Pint fix
---------
Co-authored-by: Charles <charles@pelican.dev>
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
2024-06-25 20:17:08 -04:00
Boy132
70c31eef8f
Refactor UserTransformers ( #423 )
...
* remove AccountTransformer and update UserTransformer (client api) to match UserTransformer (application api)
* rename "toVueObject"
* fix tests
* forgot to rename this
* backwards compat
* fix tests
2024-06-23 16:33:18 +02:00
Boy132
7813b6060c
Make oauth nullable & remove middleware from oauth callback ( #418 )
...
* make oauth nullable
* fix oauth callback middleware
2024-06-18 22:05:08 +02:00
Lance Pioch
d4484f5254
Handle nulls
2024-06-18 10:59:50 -04:00
Lance Pioch
958e8fac8a
Simplify states and statuses and resolve #362
2024-06-17 18:18:48 -04:00
Lance Pioch
7986505b99
Don’t report status anymore
2024-06-17 18:15:56 -04:00
Lance Pioch
ba5b81cf2d
Show localhost
2024-06-17 18:15:45 -04:00
MartinOscar
276b51f477
Remove locationId in MakeNodeCommand ( #405 )
...
* Concat + Default
* Concat + Default + Enforce scheme
* fix typo
---------
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
2024-06-17 08:51:04 -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
Lance Pioch
738707b251
Add validation rule
2024-06-16 12:30:28 -04:00
Lance Pioch
a8699704de
Fix return
2024-06-16 11:56:21 -04:00
Lance Pioch
f57232bc23
Fix tests
2024-06-16 11:50:08 -04:00
Lance Pioch
44e0dd3e09
Remove final refs
2024-06-15 06:01:40 -04:00
Lance Pioch
8ea57bc46b
Remove unused audit logs
2024-06-15 05:53:29 -04:00
Lance Pioch
459d90e8d1
Revert this
2024-06-15 05:44:53 -04:00
Lance Pioch
a97341f6f2
Cast to int
2024-06-15 05:40:25 -04:00
Lance Pioch
375a64a38e
Remove these relationships
2024-06-15 05:40:21 -04:00
Lance Pioch
7c25fc2a9d
Revert these doc blocks
2024-06-15 05:39:53 -04:00
Lance Pioch
bcb7240ed2
Pint fixes
2024-06-15 05:24:19 -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
4cba1540ac
Add endpoints
2024-06-15 05:14:54 -04:00
Lance Pioch
e15d515f71
Wip
2024-06-14 07:54:07 -04:00
Boy132
5a3c606627
Add OAuth backend ( #386 )
...
* add socialite backend
* fix redirect url
* small cleanup
* fix "oauth" type
* changes from review
2024-06-13 21:06:31 +02:00
Lance Pioch
36e2fa8e2b
Wip
2024-06-13 11:31:58 -04:00
Boy132
0c0b468525
Change allowed_ips
to non-nullable ( #373 )
...
* change `allowed_ips` to non nullable
* fix default value
* show "allowed_ips" input
2024-06-13 08:21:56 +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
Lance Pioch
4319f24f51
Merge branch 'main' into issue/68
...
# Conflicts:
# app/Filament/Resources/ServerResource/Pages/CreateServer.php
# app/Models/Node.php
2024-06-09 15:42:49 -04:00
Lance Pioch
f3501d8b14
Merge pull request #343 from Boy132/phpstan-fixes
...
Fix remaining phpstan issues for #339
2024-06-09 15:13:44 -04:00
Boy132
6b249b9545
fix tests
2024-06-07 09:17:10 +02:00
Boy132
f43fb985a2
fix phpstan in Node and EditProfile
2024-06-07 08:59:00 +02:00
Lance Pioch
b16a11c365
No longer reserved
2024-06-06 15:49:33 -04:00