Commit Graph

34 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 cdc3495e6d
Add live-reload support for Icecast frontends. 2021-11-16 07:13:43 -06:00
Buster "Silver Eagle" Neece ab44e41d23
Remove legacy Liquidsoap 1.0 additions to Skip functionality. 2021-11-11 19:30:35 -06:00
Buster "Silver Eagle" Neece 09b5e1d06d
Add needs-restart/has-started to profile API info. 2021-09-21 21:56:29 -05:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Vaalyn dcde7ff089
Update zircote/swagger-php and fix openapi errors (#4363) 2021-06-28 20:03:59 -05:00
Buster "Silver Eagle" Neece 3f23efa076
PHP code style fixes. 2021-06-08 01:40:49 -05:00
Buster "Silver Eagle" Neece f117644649
Apply PHP8-specific improvements. 2021-04-23 00:24:12 -05:00
Buster "Silver Eagle" Neece 4ccddeb5f3
Refactor adapters; move some static functions to be non-static and implement a better change tracking system. 2021-01-19 11:52:45 -06:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 63e0040e8f
Bump static analysis level and make strict type fixes. 2020-08-31 17:32:30 -05:00
Buster "Silver Eagle" Neece 2abb8bf623
Routine code cleanup. 2020-07-08 02:03:50 -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 b4ab44580d
Queue next song in request queue when skipping song. 2020-03-20 21:54:20 -05: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 bd42b64de0
Add spaces to phpdoc blocks and optimize imports. 2019-09-20 11:44:38 -05:00
Buster "Silver Eagle" Neece 630d0cb099
Add "Exception" to all exception names. 2019-09-10 11:40:31 -05:00
Buster "Silver Eagle" Neece db8a5f4581
Update to using PHP-DI bridge and its function invocation method. 2019-09-09 21:30:05 -05:00
Buster "Silver Eagle" Neece 513d04f7d2
Code cleanup! 2019-09-04 13:00:51 -05:00
Buster Neece 0953182033
Localization Overhaul
- Replace several "add %s", "remove %s", "manage %s" strings with dedicated strings for each action
- Make API responses locale-aware and translated
- Make CLI locale-aware and translated
- Add initial support for Turkish language
2019-08-21 17:34:05 -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 bbe1690843
General API cleanup and closes #1277 -- Add streamer/DJs API endpoint. 2019-04-07 03:40:55 -05:00
Buster Neece b5e2583945
Clarify API docs to indicate skip/disconnect are valid backend service actions. 2019-04-06 19:06:39 -05:00
Buster "Silver Eagle" Neece 73547b5c55 Significantly improve the service restart process; add live service status check on profile. 2019-01-16 08:53:04 -06:00
Buster "Silver Eagle" Neece 7e37823834 Bring OpenAPI into full spec compliance so it can be imported into Postman. 2019-01-03 05:35:38 -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
Vaalyn a640a484d2 Fix disconnectStreamer() missing argument (#897) 2018-10-25 22:25:13 -05:00
Buster "Silver Eagle" Neece ace90f074c Radio adapter overhaul
- Make all radio adapters station-idempotent (no longer having the Station hard-coded in, allowing for reuse and removing several possible error cases)
 - Make the Liquidsoap annotation and configuration building step event-driven for easy plugin overriding
 - Make the "get next song" process event-driven
2018-09-22 06:52:43 -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 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