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
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
Boy132
032e4f2e31
Apply node maintenance mode to servers ( #4421 )
2022-11-06 16:02:30 -07: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
Boy132
025e1a21ae
fix validator import ( #4094 )
2022-05-30 10:24:59 -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
97280a62a2
Add support for storing SSH keys on user accounts
2022-05-14 17:31:53 -04:00
Dane Everitt
c449ca5155
Use more standardized phpcs
2021-01-23 12:33:34 -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
Dane Everitt
5763493c6c
Allow setting the backup limit via the API; closes #2535
2020-10-17 14:23:00 -07:00
Dane Everitt
8697185900
Fix up database creation and handling code for servers; ref #2447
2020-10-11 11:59:46 -07:00
Dane Everitt
cc6f98c0fd
Replace all instances of 255 as a max length with 191; ref #2421
2020-09-26 16:29:26 -07:00
Dane Everitt
3c7ffaaadb
Remove all references of packs from the Panel
2020-09-13 11:13:37 -07:00
Dane Everitt
2ed3763d21
cs fix
2020-06-28 15:43:44 -07:00
AreYouScared
2561e3e8d5
Add CPU Thread assignments
...
Added CPU Thread assignments for each server
2020-03-29 14:41:55 -04:00
Dane Everitt
b99ea53ca1
Update client API endpoints to not use deprecated function
2019-09-05 21:41:20 -07:00
Dane Everitt
7543ef085d
Format files
2019-09-05 21:32:57 -07:00
Dane Everitt
0d6cf54314
[L6] Update even more areas of codebase using custom model validation logic
2019-09-04 22:26:28 -07:00
Dane Everitt
81143e231a
Merge branch 'master' into develop
2019-08-04 13:49:26 -07:00
Dane Everitt
81409947cf
Default to OOM killer being disabled, add back configuration option per-server
2019-08-03 13:41:24 -07:00
Dane Everitt
2198269a65
Fix allocations requiring an alias when generated via API.
2019-08-03 13:03:54 -07:00
Dane Everitt
a66d7a3417
Merge branch 'develop' into feature/vuejs
2019-03-09 11:19:07 -08:00
Dane Everitt
8253246955
Prevent an exception when creating databases with the same name on multiple hosts.
...
closes #1456
2019-03-02 15:31:25 -08:00
Dane Everitt
91c9cbba6f
[ #1500 ] Correctly require disk_overallocate
2019-03-02 14:48:05 -08:00
Dane Everitt
50c5ab92aa
[ #1500 ] Add support for limits array or base level values
2019-03-02 14:44:59 -08:00
Michael (Parker) Parker
62e68ec66f
Fix for Locations PATCH endpoint ( #1499 )
2019-03-02 13:27:36 -08:00
Dane Everitt
21ffa08d66
Merge branch 'develop' into feature/vuejs
2018-12-16 14:20:35 -08:00
Oreo Oreoniv
04326a0786
Fixed PHPUnit test (Coverage) #1393
2018-12-03 21:09:25 +03:00
Matthew Penner
4ad9b2627b
Fix StoreLocationRequest namespace
2018-11-19 22:03:03 -07:00
Dane Everitt
5ca13839cf
Merge branch 'develop' into feature/vue-serverview
2018-09-05 21:34:59 -07:00
Dane Everitt
f9542c98e2
Fix tests broken by bad namespaces
2018-09-03 15:59:30 -07:00
Dane Everitt
9be2aa4ca9
Push beginning of DB deletion stuff
2018-08-25 14:43:21 -07:00
Jacob Gee-Clarke
d73e5a2274
Fixed my fix to fix the 500 error on /api/application/nodes when not specifying a daemon_base ( #1182 )
2018-06-02 14:34:01 -07:00
Dane Everitt
6967b9ba12
Fix exception thrown due to lack of pre-validation on the model.
...
closes #1158
2018-05-20 17:11:52 -07:00
Lance Pioch
e2dc0638d9
Fix app/ spelling errors
2018-05-13 11:12:41 -04:00
Dane Everitt
dff7e8f734
Fix server creation in UI and API
2018-03-02 23:11:30 -06:00