Commit Graph

22 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece 8042fa9025
Part 1 of OpenAPI transition to Attributes. 2021-12-12 05:01:53 -06:00
Buster "Silver Eagle" Neece 1c814fc4c2
Code fixes and deprecated 8.1 fixes. 2021-12-10 21:48:19 -06:00
Buster "Silver Eagle" Neece f24c695afe
Fixes #4615 -- Slightly harden role deletion via API. 2021-11-19 15:09:57 -06:00
Buster "Silver Eagle" Neece 91a744b244
Use ReloadableEntityManager across API controllers. 2021-10-29 01:16:26 -05:00
Buster "Silver Eagle" Neece 7931fac251
#4601 -- Avoid a single flush removing/adding the same records. 2021-09-21 07:44:07 -05:00
Buster "Silver Eagle" Neece dd07f982b5
Move Roles/Permissions component to Vue. 2021-09-19 08:16:53 -05:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece e893a93981
Routine PHP 8 code inspection sweep
- Removing explicit calls to default values
 - Add strict parameter arguments
 - Use PHP8 built-in functions when possible
2021-04-23 17:12:47 -05:00
Buster "Silver Eagle" Neece f117644649
Apply PHP8-specific improvements. 2021-04-23 00:24:12 -05:00
Vaalyn 7fa7ca781d
Make ACL permissions extendable by plugins via event dispatching (#3309) 2020-10-22 02:18:05 -05:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 42c2676789
Standardize API controllers to PSR standards, rename functions. 2020-02-22 14:27:14 -06:00
Buster "Silver Eagle" Neece 1a6d1d620d
Add PHP 7.4 type hinting everywhere except Entities. 2019-12-07 06:19:49 -06:00
Buster "Silver Eagle" Neece 513d04f7d2
Code cleanup! 2019-09-04 13:00:51 -05:00
Buster "Silver Eagle" Neece 639dddf989
Slim PHP Framework 4 Update (#1822)
Implement an upgrade of the codebase to use Slim Framework version 4, which includes the following changes:
 - Updating to Slim version 4 and the corresponding AzuraCore updates.
 - Making all objects PSR-7 Request/Response agnostic (and creating RequestHelper and ResponseHelper objects to interact with the PSR-7 Req/Resp objects).
 - Moving to PHP-DI as a DI container and implementing its autowiring support.
2019-08-06 23:33:55 -05:00
Buster Neece f09af58594
Rename API base controllers; make stations use a base CRUD controller. 2019-04-13 22:19:24 -05:00
Buster Neece bbe1690843
General API cleanup and closes #1277 -- Add streamer/DJs API endpoint. 2019-04-07 03:40:55 -05:00
Buster Neece e1f976be96 Static analysis fixes. 2019-03-07 20:07:48 -06:00
Buster "Silver Eagle" Neece 9ebe793b8c Fix function signature on Roles API endpoint. 2019-02-17 18:57:23 -06:00
Vaalyn 251fbfa26b Fix issues found with PHPStan (#1127)
* Fix access to an undefined property

* Fix usage of undefined variable

* Fix undefined class Throwable error

* Fix undefined class Throwable error

* Fix undefined class Throwable error

* Fix class not found error and remove unused class import

* Remove usage and instantiation of non-existent controller

* Remove implicit declaration of property that is not used
2019-01-30 13:30:47 -06:00
Buster "Silver Eagle" Neece 872145342d Permission optimization to avoid unnecessary DI. 2019-01-05 09:25:20 -06:00
Buster "Silver Eagle" Neece 7a74e6c14f Add role and permission management API endpoints. 2019-01-05 06:02:49 -06:00