Boy132
82fd547484
replace encrypt/ decrypt with encrypted casting
2024-05-28 15:24:20 +02:00
Boy132
e715e92f9d
correctly transform eggs that use inheritance (application api) ( #217 )
2024-05-25 20:47:27 -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
eadaec1b30
Simplify now that keys are fixed
2024-05-21 21:48:16 -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
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
d58496a355
Replace with helper
2024-03-19 05:11:41 -04:00
Lance Pioch
4cc123aed5
Styling fix
2024-03-17 14:04:12 -04:00
Lance Pioch
37094ffc1f
Best of both worlds because of mockery
2024-03-17 13:59:21 -04:00
Lance Pioch
861aeb0c5c
More static analysis
2024-03-17 13:03:04 -04:00
Lance Pioch
3cea8ca979
Better static analysis
2024-03-17 12:52:22 -04:00
Lance Pioch
f7c2c1a84c
Formatting
2024-03-17 00:40:18 -04:00
Lance Pioch
095bc89aee
Basic fixes from phpstan
2024-03-16 14:19:40 -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
cbcf62086f
Upgrade to Laravel 9 ( #4413 )
...
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00
DaneEveritt
bf2456d0fc
Ensure eggs endpoint always returns an object, even when empty
...
closes #4296
2022-09-17 11:36:41 -07:00
DaneEveritt
b3a57bd0ad
fix includes for client API keys on admin accounts; closes #4164
2022-06-26 13:23:22 -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
5705d7dbdd
Run php-cs-fixer
2022-05-14 16:03:50 -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
4252014d18
Update includes definition to match updated package requirements
2022-05-04 19:11:42 -04:00
Dane Everitt
5fdb0a5909
Correctly expose OOM disable state for a server
2021-09-13 21:02:12 -07:00
Dane Everitt
be26921fcc
Merge branch 'develop' into dane/restore-backups
2021-01-30 10:10:29 -08:00
Dane Everitt
5515871b2f
Turns out I hate that huge space formatting, disable that mess
2021-01-27 20:52:11 -08:00
Dane Everitt
b00def2537
Switch to JSON from TEXT when storing denylist items for an egg; closes #3034
2021-01-26 21:08:53 -08: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
a043071e3c
Update to Laravel 8
...
Co-authored-by: Matthew Penner <me@matthewp.io>
2021-01-23 12:12:54 -08:00
Dane Everitt
b38b8f6465
Mark some fields as deprecated in the API
2021-01-17 16:02:11 -08:00
Dane Everitt
a75a347d65
Remove suspended & installing fields, replace with single status field
2021-01-17 15:51:56 -08:00
Dane Everitt
239984f92c
Add internal support for file denylist on eggs; closes #569
2021-01-10 17:02:14 -08:00
Matthew Penner
e6c4a68e4a
Update logic for tracking a server's transfer state
2020-12-17 10:35:54 -07:00
Dane Everitt
78c4ac80bc
Basic implemention of multiple selectable images for an egg
...
The admin side of this is quite ugly when creating/editing a server, but I'm not putting effort into that right now with React Admin soon™
2020-12-13 09:53:17 -08:00
Dane Everitt
f9ea96f45d
Less strict type; closes #2681
2020-12-06 14:17:54 -08:00
Stepan Fedotov
7c2888641f
Fix application API's ServerVariableTransformer
2020-12-04 19:56:44 +02:00
Dane Everitt
0908830003
Fix error when loading nodes
2020-09-17 20:44:33 -07:00
Dane Everitt
c9883b5caf
Include resource total allocations; closes #1518
2020-09-17 20:44:24 -07:00
Dane Everitt
3c7ffaaadb
Remove all references of packs from the Panel
2020-09-13 11:13:37 -07:00
Dane Everitt
2278927fb6
Update allocations to support ids; protect endpoints; support notes
2020-07-09 20:36:08 -07:00
Dane Everitt
be91913f23
Return a null resource if an allocation has no server; closes #2117
2020-06-13 09:56:40 -07:00
Dane Everitt
f1c3762f4d
Add base support for definining the number of backups that can be created for a server
2020-04-26 12:12:29 -07:00
AreYouScared
f0e4764a11
Add Max Concurrent Connections for database users
...
Closes #1849
Allows database users to be limited to a number of concurrent connections to prevent one user from connecting hundreds of time and bottlenecking the MySQL server.
2020-04-22 06:00:04 -04:00
AreYouScared
b351c07d34
Fix server transformer
...
Properly pass the value to wings
2020-03-29 16:55:06 -04:00
Dane Everitt
51defae917
Merge branch 'master' into develop
2019-12-28 11:49:08 -08:00
Dane Everitt
66ead2f682
Update subuser API output to work correctly
2019-12-28 11:39:44 -08:00
Stepan Fedotov
5f60a6c735
Fix the resource key for subusers
2019-12-28 13:53:33 +02:00