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
Boy132
6916b89638
Fill startup & image from egg if missing in request ( #384 )
2024-06-13 15:48:36 +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
8f2261f6cd
add alias for node sftp address
2024-06-04 09:17:36 +02:00
Exotical
7674ee0e2b
Make deploy.locations optional in the api ( #295 )
2024-05-29 18:54:07 -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
Boy132
4dd833562b
Add CPU limit to node ( #239 ) to resolve #233
...
* add node cpu limit to backend
* update makenodecommand
* add node cpu limit to frontend
* add migration and update mysql schema
* run pint
* fix typo in mysql schema
* forgot this assert
* forgot to setCpu here
* run pint
* adjust migration
* Fix db migration
* make cpu optional
* set default value for cpu in node deployment
* update mysql schema
---------
Co-authored-by: notCharles <charles@pelican.dev>
2024-05-22 02:34:43 -04:00
Lance Pioch
b579f14f3f
Backwards compatibility
2024-05-21 22:04:12 -04:00
Boy132
b1f99ca8a3
Add api for mounts ( #160 )
...
* add application api endpoints for mounts
* run pint
* add mounts resource to api key
* add includes to mount transformer
* forgot delete route for mount itself
* add migration for "r_mounts" column
* add mounts to testcase api key
2024-05-19 08:50:15 -07:00
Boy132
afd9f2eb0e
Add api for database hosts ( #159 )
...
* add application api endpoints for database hosts
* run pint
* forgot to lint this one
* Update app/Http/Controllers/Api/Application/DatabaseHosts/DatabaseHostController.php
Co-authored-by: Devonte W <devnote.dev75@gmail.com>
* Update routes/api-application.php
Co-authored-by: Devonte W <devnote.dev75@gmail.com>
* rename all "databaseHost" to "database_host"
---------
Co-authored-by: Devonte W <devnote.dev75@gmail.com>
2024-05-15 07:37:38 -07:00
Charles
f7e7864dfe
Merge pull request #216 from Boy132/update/storeschedulerequest
...
Add missing fields to StoreScheduleRequest
2024-05-13 19:14:51 -04:00
Boy132
703e5480ff
add missing fields to StoreScheduleRequest
2024-05-13 18:55:59 +02:00
Boy132
f02eb5bfba
rename "oom_disabled" to "oom_killer" and invert logic
2024-05-12 22:21:22 +02:00
notCharles
54eaf8ab0f
Change colums
...
Closes https://github.com/pelican-dev/panel/issues/3
2024-04-13 21:51:22 -04:00
Lance Pioch
e9ea5b1cae
Even more static analysis!
2024-03-17 13:16:39 -04:00
Lance Pioch
3cea8ca979
Better static analysis
2024-03-17 12:52:22 -04:00
Lance Pioch
e4cee4d69d
Remove locations
2024-03-14 02:23:30 -04:00
Lance Pioch
a296084d6e
Remove nests
2024-03-14 01:27:50 -04:00
Lance Pioch
c83dd86a41
Switch namespace back to App
2024-03-12 22:39:16 -04:00
Matthew Penner
1d38b4f0e2
Laravel 10 ( #4706 )
2023-02-23 12:30:16 -07:00
Devonte W
b746c3ead1
fix(api/client): add validation for backup request body ( #4704 )
2023-02-23 12:23:12 -07:00
Matthew Penner
2b14e46eec
api: fix sequence_id
being ignored in server task API
...
Closes #4434
2023-01-24 15:57:24 -07:00
Lance Pioch
a4f6870518
server: track reinstall failures differently from initial install failures ( #4531 )
2022-11-21 13:53:54 -07:00
Boy132
032e4f2e31
Apply node maintenance mode to servers ( #4421 )
2022-11-06 16:02:30 -07:00
Lance Pioch
4032481a4f
Update validation rules for remote activity logs ( #4526 )
2022-11-06 15:42:48 -07:00
Boy132
f2095e815e
Allow users to change the server description ( #4420 )
2022-10-31 10:20:53 -06:00
Matthew Penner
cbcf62086f
Upgrade to Laravel 9 ( #4413 )
...
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00
Devonte
9b531d5fd9
Include oom_disabled
in application API request ( #4262 )
2022-10-04 20:12:46 -06:00
Matthew Penner
2dcc46ecd6
backups: support Cloudflare R2 by listing uploaded parts from Wings
2022-09-26 11:15:52 -06:00
DaneEveritt
1eee55b27c
Add endpoint needed for recieving and processing activity
2022-07-09 17:45:38 -04:00
DaneEveritt
7224ca81de
Fix bug preventing the creation of API keys with CIDR ranges
2022-06-18 14:21:20 -04:00
Boy132
025e1a21ae
fix validator import ( #4094 )
2022-05-30 10:24:59 -04:00
DaneEveritt
c14c7b436e
Pass along new fields to Wings instance when endpoint is used; closes #4048
2022-05-28 13:45:23 -04:00
DaneEveritt
b051718afe
Fix up API handling logic for keys and set a prefix on all keys
2022-05-22 19:03:51 -04:00
DaneEveritt
e9c633fd03
Update transformers and controllers to no longer pull an API key attribute
2022-05-22 15:37:39 -04:00
DaneEveritt
e313dff674
Massively simplify API binding logic
...
Changes the API internals to use normal Laravel binding which automatically supports nested-models and can determine their relationships. This removes a lot of confusingly complex internal logic and replaces it with standard Laravel code.
This also removes a deprecated "getModel" method and fully replaces it with a "parameter" method that does stricter type-checking.
2022-05-22 14:10:01 -04:00
DaneEveritt
a9364061c1
Store keys in standard format; query with fingerprint not public key
2022-05-15 16:41:15 -04:00
DaneEveritt
412ac5ef39
Have the panel handle all of the authorization for both public key and password based attempts
2022-05-15 16:00:08 -04:00
DaneEveritt
12927a3202
Update SFTP authentication endpoint to support returning user public keys
2022-05-15 15:37:58 -04:00
DaneEveritt
6554164252
Add test coverage for the SSH key endpoints
2022-05-14 18:08:48 -04:00
DaneEveritt
97280a62a2
Add support for storing SSH keys on user accounts
2022-05-14 17:31:53 -04:00
DaneEveritt
c8faf64059
Support naming docker images on eggs; closes #4052
...
Bumps PTDL_v1 export images to PTDL_v2, updates the Minecraft specific eggs to use named images.
2022-05-07 17:45:22 -04:00
DaneEveritt
c751ce7f44
Allow more values for remote field when creating a database; closes #3842
2022-05-07 14:17:10 -04:00
Dane Everitt
2b3303c46b
Fix changing a user password to not incorrectly handle logging out old sessions; closes #3531
2021-08-15 17:37:12 -07:00
Matthew Penner
970f281859
backups: default is_successful to false ( #3522 )
...
* backups: default is_successful to false
* backups: properly query backups
2021-08-03 19:45:25 -07:00
Dane Everitt
5d5e4ca7b1
Add support for locking backups to prevent any accidental deletions
2021-05-03 21:26:09 -07:00
Dane Everitt
663143de0b
Merge branch 'develop' into dane/restore-backups
2021-01-25 19:16:40 -08:00
Dane Everitt
c449ca5155
Use more standardized phpcs
2021-01-23 12:33:34 -08:00
Dane Everitt
87371901c0
Add base logic to support sending a request to restore a backup for a server
2021-01-17 17:51:09 -08:00
Dane Everitt
ff21d83e2d
Add endpoint to get all nodes meeting memory & disk requirements for a server; closes #1012
2021-01-10 13:08:43 -08:00