Commit Graph

25 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 465d9eaab9
Move NowPlaying API entries into subfolder. 2021-08-11 10:31:02 -05:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece f117644649
Apply PHP8-specific improvements. 2021-04-23 00:24:12 -05:00
Buster "Silver Eagle" Neece fff8124409
Create new "API Generator" classes and use them systemwide. 2020-10-19 05:41:15 -05:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 4bcfad3eb5
Updates preparing for Doctrine 3.0
- Switch to EntityManagerInterface for EM uses
 - Wrap EntityManager in close-resilient wrapper
 - Close/clear/reopen EM with every request
 - Rework tests to be em->clear() resilient.
2020-06-26 15:22:53 -05:00
Buster "Silver Eagle" Neece f1025d52f7
Unify all station profile API calls into a single response. 2020-04-02 06:30:00 -05:00
Buster "Silver Eagle" Neece 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -06:00
Buster "Silver Eagle" Neece 8e08b7b798
Remove now-redundant PHPDoc blocks that don't add context. 2019-12-07 17:42:23 -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 23a47ac341
Code quality and IDE inspection fixes. 2019-12-06 18:57:50 -06:00
Buster "Silver Eagle" Neece bd42b64de0
Add spaces to phpdoc blocks and optimize imports. 2019-09-20 11:44:38 -05:00
Buster Neece 2f8ab5544a
Switch back to Request/Response decorators. 2019-08-09 10:00:21 -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 0382ef9870
Make API classes only need a base UriInterface, not the router. 2019-07-25 11:21:04 -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 "Silver Eagle" Neece 10970517ac Provide a dynamic openapi.yml manifest, fix OpenAPI markup on several sections; update Swagger UI. 2018-12-24 02:47:45 -06:00
Buster "Silver Eagle" Neece 5d1cc60b2d Shift API namespace to allow for entities to be in the OpenAPI docs. 2018-12-22 11:27:41 -06:00
Buster "Silver Eagle" Neece 750b393eb3 Broaden return type hint on all controllers for IDE compliance. 2018-11-17 09:30:28 -06:00
Buster "Silver Eagle" Neece 4360ffe6fc Switch all in-system URLs to use a PSR-7 compliant URI for at-endpoint modification
This fixes one significant issue in the AzuraCast system where NowPlaying responses don't respect the "always use HTTPS" or "prefer browser URL" settings.
2018-10-04 18:12:12 -05:00
Buster "Silver Eagle" Neece 989bbd39a1 #802 -- Update to OpenAPI 3.0 spec 2018-09-18 09:09:48 -05:00
Buster "Silver Eagle" Neece 9ee5f7af48
Split relays into a standalone feature (#782)
* Separate mount points and remote relays to allow local AND remote broadcasting from one station.

* Allow a different port/mount for the outbound AutoDJ from the statistics connection.
2018-09-09 13:23:03 -05:00
Buster "Silver Eagle" Neece 91cd379bca API code cleanup. 2018-08-19 05:40:05 -05:00
Buster "Silver Eagle" Neece 98ff8f69cf
Core code restructure (#697)
* Initial renaming to a single global App\ namespace.
* Move CSRF/Flash under Session, move Session under Request
* Use new Request Station helper
* Unify App/Acl and App/Acl/StationAcl
* Alphabetize composer.json
2018-08-04 17:05:14 -05:00