Buster "Silver Eagle" Neece
ad3d2b2c69
Adapter simplification:
...
- Remove the stub "None"/"Remote" adapters; return null for disabled adapters
- Add capability checks to adapter enums
- Remove the Remote proxy
2022-06-21 20:48:32 -05:00
Buster "Silver Eagle" Neece
80400dc28f
Improve restart flagging for stations.
2022-06-21 10:45:42 -05:00
Buster "Silver Eagle" Neece
cc07caf818
Revert "Roll back Nginx code changes."
...
This reverts commit b0aedf66fe
.
2022-05-28 19:30:12 -05:00
Buster "Silver Eagle" Neece
b0aedf66fe
Roll back Nginx code changes.
2022-05-27 22:46:33 -05:00
Buster "Silver Eagle" Neece
fce5f4c173
Implement nginx dynamic config.
2022-05-27 04:40:42 -05:00
Buster "Silver Eagle" Neece
693e4378f0
Switch to strings for request params.
2022-05-24 00:50:43 -05:00
Buster "Silver Eagle" Neece
4b0139e3cb
Modify ControllerInvoker and all controllers; other code cleanup.
2022-05-22 02:39:00 -05:00
Buster "Silver Eagle" Neece
2ffbcba510
Merge commit 'db4a662f8f7b43ddf2a1fc1d60e433ab999d2982'
2022-05-21 19:27:28 -05:00
Buster "Silver Eagle" Neece
a9f066602c
Code quality cleanup sweep.
2022-05-08 13:05:02 -05:00
Buster "Silver Eagle" Neece
be0e9a8912
Show errors during attempted station start/restart.
2022-03-15 23:11:51 -05:00
Buster "Silver Eagle" Neece
8055056d1d
Clear unplayed queues during restarts.
2022-03-15 03:38:32 -05:00
Buster "Silver Eagle" Neece
aa9ecbbe15
Separate soft-reload and hard-restart options.
2022-02-24 18:00:49 -06:00
Buster "Silver Eagle" Neece
37c3df2494
Use refs for common API responses.
2022-01-10 22:31:24 -06:00
Buster "Silver Eagle" Neece
09e3c57b3c
Slightly restructure AutoDJ classes; use message queue to avoid blocking LS.
2021-12-29 23:43:34 -06:00
Buster "Silver Eagle" Neece
38cd3945e2
Use constants in API definitions; update Swagger UI.
2021-12-29 15:19:34 -06:00
Buster "Silver Eagle" Neece
cc6753ae81
Move main controller API annotations into Attributes.
2021-12-28 23:36:30 -06:00
Buster "Silver Eagle" Neece
fe3dd94e75
PhpStan fixes.
2021-12-12 09:18:07 -06:00
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