1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-26 02:52:30 +01:00
Pterodactyl-Panel/app/Models
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
..
Filters Use more standardized phpcs 2021-01-23 12:33:34 -08:00
Objects Use more standardized phpcs 2021-01-23 12:33:34 -08:00
Allocation.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00
ApiKey.php Turns out I hate that huge space formatting, disable that mess 2021-01-27 20:52:11 -08:00
APILog.php Add database list endpoint, add more resource name magic 2018-01-25 21:26:06 -06:00
AuditLog.php Fix missing user agent headers to store an empty string rather than null value 2021-09-11 13:00:53 -07:00
Backup.php Run php-cs-fixer 2021-08-15 17:20:36 -07:00
Database.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00
DatabaseHost.php Turns out I hate that huge space formatting, disable that mess 2021-01-27 20:52:11 -08:00
Egg.php Support naming docker images on eggs; closes #4052 2022-05-07 17:45:22 -04:00
EggMount.php Fix errors with mounts; closes #2374 2020-10-03 12:42:27 -07:00
EggVariable.php Turns out I hate that huge space formatting, disable that mess 2021-01-27 20:52:11 -08:00
Location.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00
Model.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00
Mount.php Turns out I hate that huge space formatting, disable that mess 2021-01-27 20:52:11 -08:00
MountNode.php Cleanup mount code; automatically include the mount in the configuration 2020-09-13 09:59:54 -07:00
MountServer.php Fix 500 error when mounting a mount and fix the actual mount being deleted instead of the relation 2020-10-12 11:11:40 -06:00
Nest.php Turns out I hate that huge space formatting, disable that mess 2021-01-27 20:52:11 -08:00
Node.php node: lowercase fqdn in letsencrypt path (#3890) 2022-01-17 19:56:57 -07:00
Permission.php Reeformat with new rules post merge 2021-01-25 19:20:51 -08:00
RecoveryToken.php Turns out I hate that huge space formatting, disable that mess 2021-01-27 20:52:11 -08:00
Schedule.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00
Server.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00
ServerTransfer.php Turns out I hate that huge space formatting, disable that mess 2021-01-27 20:52:11 -08:00
ServerVariable.php Turns out I hate that huge space formatting, disable that mess 2021-01-27 20:52:11 -08:00
Session.php [L6] Update composer dependencies to support L6 2019-09-04 21:00:34 -07:00
Setting.php Replace all instances of 255 as a max length with 191; ref #2421 2020-09-26 16:29:26 -07:00
Subuser.php Turns out I hate that huge space formatting, disable that mess 2021-01-27 20:52:11 -08:00
Task.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00
TaskLog.php [L6] Update composer dependencies to support L6 2019-09-04 21:00:34 -07:00
User.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00
UserSSHKey.php Massively simplify API binding logic 2022-05-22 14:10:01 -04:00