Buster "Silver Eagle" Neece
8042fa9025
Part 1 of OpenAPI transition to Attributes.
2021-12-12 05:01:53 -06:00
Buster "Silver Eagle" Neece
a7fc961679
Move detailed info into StationQueueDetailed.
2021-11-14 05:14:53 -06:00
Buster "Silver Eagle" Neece
ff3c13b40e
Overhaul AutoDJ queue management to allow Liquidsoap to hold its own queue.
...
Explanation: The upgrade to Liquidsoap 2.0 now means that Liquidsoap itself can hold more than one song in its upcoming queue, which allows us to make functionality like "skip song" work as expected for the first time, but also meant that our previous methods of tracking what songs were and weren't queued didn't work well at all. This overhauls the queue builder by adding a new "is_played" status to each queue entry and treating the entire "unplayed" queue (whether sent to the AutoDJ or not) as the "upcoming" queue, fixing a number of issues.
2021-11-14 02:47:18 -06:00
Buster "Silver Eagle" Neece
91a744b244
Use ReloadableEntityManager across API controllers.
2021-10-29 01:16:26 -05:00
Buster "Silver Eagle" Neece
8d3cab6e76
Add ability to clear upcoming song queue with single click.
2021-09-05 17:46:33 -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
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
Buster "Silver Eagle" Neece
14c8c6fb24
Add queue log view into Upcoming Song Queue page.
2021-02-09 18:29:43 -06:00
Buster "Silver Eagle" Neece
2529c241d8
Fix bug in Queue API endpoint.
2021-02-09 13:59:08 -06:00
Buster "Silver Eagle" Neece
85e9905af8
Make Station Queue view a Vue component.
2021-02-09 13:57:25 -06:00
Buster "Silver Eagle" Neece
731f16a494
Update raw DQL queries across the system to improve readability.
2020-12-01 18:36:09 -06:00
Buster "Silver Eagle" Neece
fff8124409
Create new "API Generator" classes and use them systemwide.
2020-10-19 05:41:15 -05:00
Vaalyn
8139d17669
Fix station upcoming song queue return type ( #3286 )
2020-10-16 20:06:04 -05:00
Vaalyn
9a94e6a178
Add PHPCS for code style checks ( #3273 )
2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece
c81ff62b5c
Remove the `Song` entity and restructure dependent tables accordingly ( #3231 )
...
* Song database and entity overhaul, part 1.
* Remove Songs table from a number of qeries and reports.
* Fix references to Songs table; rewrite StationMedia processing.
* Remove song reference in queue page.
* Allow custom log level via environment variable.
2020-10-04 17:35:41 -05:00
Buster "Silver Eagle" Neece
23f2172488
Scheduler/StationQueue Rework ( #3087 )
...
Create a new "StationQueue" entity that contains the upcoming song queue, and split the important AutoDJ functionality across multiple classes (Annotations, Queue and Scheduler).
2020-08-16 09:54:01 -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
3e3ba90048
Finish modifying queue functionality.
2020-04-15 11:44:29 -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
81d7ae8509
Have APIs return relative URIs for internal calls (to avoid URI issues).
2020-02-22 14:15:02 -06: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
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
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
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
d60b2fc0fe
Refactor all Doctrine queries to support PHPStorm's DQL highlighting.
2019-03-23 16:43:22 -05:00
Buster Neece
541b9c3b46
Update queue delete endpoint description in PHPDoc blocks.
2019-02-28 20:32:06 -06:00
Buster "Silver Eagle" Neece
8a6701403a
Code and PHPDoc cleanup to green-light level 2 static analysis.
2019-01-31 11:54:17 -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
d3186debd8
Fix schema references.
2018-12-25 04:59:14 -06: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
e21a23ef35
More refinements to common controllers; remove need for POST endpoint for Bootgrid.
2018-12-23 17:26:15 -06:00
Buster "Silver Eagle" Neece
07dc8514a2
Fix case sensitivity problem with Queue API endpoint.
2018-12-14 15:32:23 -06:00
Buster "Silver Eagle" Neece
676927b024
Fix issues with queueing songs, add queue API endpoints and queue viewer page.
2018-12-12 03:01:03 -06:00