Lance Pioch
da195fd2fe
PHPstan updates ( #1047 )
...
* Not found property rule
* Make these “better”
* Day 1
* Day 2
* Day 3
* Dat 4
* Remove disabled check
* Day 4 continued
* Run pint
* Final changes hopefully
* Pint fixes
* Fix again
* Reset these
* Update app/Filament/Admin/Pages/Health.php
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
* Update app/Traits/CheckMigrationsTrait.php
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
---------
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
2025-03-03 14:41:19 -05:00
Boy132
e1308cb04d
Small api docs improvements ( #1032 )
...
* update scramble
* cleanup application api endpoints
* cleanup client api endpoints
* fix security schema and make docs homepage nicer
* remove duplicate myclabs/deep-copy
* style(api-docs): use Blade template and Tailwind for styling
* Publish scramble view
* Use localStorage theme instead of config
* Update routes/docs.php
Co-authored-by: Lance Pioch <git@lance.sh>
---------
Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com>
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
Co-authored-by: Lance Pioch <git@lance.sh>
2025-02-26 16:12:19 +01:00
Boy132
f6325c07c4
Fix overallocation -1
and close #268 ( #283 )
2024-05-29 18:57:30 -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
Lance Pioch
f9aa8cf218
Simplify viable nodes service
2024-05-21 21:44:49 -04:00
Lance Pioch
da698a3666
Remove exception
2024-05-21 21:02:11 -04:00
Lance Pioch
1d96ed8869
Replace service
2024-03-19 15:48:11 -04:00
Lance Pioch
7c0a46deaa
Yet more static analysis
2024-03-17 13:46:01 -04:00
Lance Pioch
e4cee4d69d
Remove locations
2024-03-14 02:23:30 -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
634b80ed42
Add support for filtering allocations to determine if they're assigned or not; closes #3872
2022-05-07 16:16:11 -04:00
DaneEveritt
530558b0f8
Update deprecated JSON response creation and unnecessary middleware
2022-05-04 19:23:01 -04:00
Dane Everitt
48ad8f538e
Always allow specifying a page size with the API; closes #3218
2021-03-26 09:03:51 -07: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
d8c338df3e
Update all remaining code pathways to use new search tooling
2020-09-13 12:21:44 -07:00
Dane Everitt
f0e18ba6f7
Code cleanup
2020-07-06 20:05:42 -07:00
Dane Everitt
fda88940f7
Fix up node autodeployment
2020-04-12 17:20:09 -07:00
Dane Everitt
7543ef085d
Format files
2019-09-05 21:32:57 -07:00
Dane Everitt
7c73f21b30
Fix Node daemon secret not being reset, closes #1390
2018-12-02 13:40:12 -08:00
Matthew Penner
afe128042f
Wait a second, that method doesn't return an array
2018-11-19 21:54:15 -07:00
Dane Everitt
3bb9bf04e5
Pass the updated model through for updating node config, rather than old model, ref #1237
2018-09-03 14:54:50 -07:00
Dane Everitt
40c74ae1e7
Add validation to prevent invalid ports, closes #1034
2018-03-10 13:10:40 -06:00
Dane Everitt
2e693067b8
Add search to API endpoints
2018-02-07 21:33:44 -06:00
Dane Everitt
97ee95b4da
Fix some error handling
2018-01-27 13:26:43 -06:00
Dane Everitt
8afced3410
Add nests & eggs
...
Cleanup middleware handling and parameters on controllers...
2018-01-27 12:38:56 -06:00
Dane Everitt
a497a3d153
Make server listing and single server view API endpoints work
2018-01-19 21:47:06 -06:00
Dane Everitt
0e7f8cedf0
Reorganize API files
2018-01-19 19:58:57 -06:00