Matthew Penner
67bf3e342e
api(application): v2 backport
2022-12-14 17:05:46 -07:00
Lance Pioch
a1a52754ad
chore: add phpstan static analysis minimum ( #4511 )
2022-11-28 09:56:03 -07: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
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
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
2ed3763d21
cs fix
2020-06-28 15:43:44 -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
91c9cbba6f
[ #1500 ] Correctly require disk_overallocate
2019-03-02 14:48:05 -08: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
2ec76d283b
Fix bad API behavior
2018-02-04 15:38:38 -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