Commit Graph

46 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece f46314d8c4
Improve accuracy of generics. 2022-05-31 06:41:35 -05:00
Buster "Silver Eagle" Neece 6278bbd53d
Add support for per-streamer custom artwork. 2022-05-30 23:23:03 -05: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 ba10526c94
Update OpenAPI generator to improve attributes. 2021-12-28 12:26:41 -06:00
Buster "Silver Eagle" Neece a2eb5d0471
Move entity OpenAPI annotations to attributes. 2021-12-19 12:50:37 -06:00
Buster "Silver Eagle" Neece fc8a2aea08
Move Doctrine EntityNormalizer and batch utilities to external libraries. 2021-11-07 02:20:52 -06:00
Buster "Silver Eagle" Neece 058f306c15
Make entity functions line up with propertyaccess. 2021-11-06 23:02:44 -06:00
Buster "Silver Eagle" Neece f6c1fbf79c
Update OpenAPI spec, use fixed example timestamp. 2021-09-04 18:27:46 -05:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece a320c1a6a0
More code cleanup. 2021-06-09 22:22:13 -05:00
Buster "Silver Eagle" Neece 26d9a5e66a
Fix __clone signature pattern on Entities. 2021-06-09 19:34:11 -05:00
Buster "Silver Eagle" Neece 94bdc3acef
Fixes #4262 -- Fix bugs with and expand functionality of Station Cloning. 2021-06-09 18:28:44 -05:00
Buster "Silver Eagle" Neece 50d1840826
Update entities to handle Doctrine 2.9.1's prop type rollback. 2021-06-08 20:38:18 -05:00
Buster "Silver Eagle" Neece 3f23efa076
PHP code style fixes. 2021-06-08 01:40:49 -05:00
Buster "Silver Eagle" Neece b620c378a0
Move namespace of DeepNormalize attribute. 2021-05-31 16:30:40 -05:00
Buster "Silver Eagle" Neece 00c4afae50
Move AuditLog classes around and clean up AuditLog handler. 2021-05-30 20:15:34 -05:00
Buster "Silver Eagle" Neece 668724fe1a
Implement Doctrine ORM Annotations (#4233) 2021-05-30 13:55:26 -05:00
Buster "Silver Eagle" Neece 55087ccb07
Fix validation order of operations on StationStreamer. 2021-04-21 03:41:31 -05:00
Buster "Silver Eagle" Neece 21bcb0dc98
Fixes #4033 -- Add pre-DB duplicate entity validation to entities. 2021-04-21 02:37:47 -05:00
Buster "Silver Eagle" Neece 3d5fbe5a2c
Hide PhpStorm inspection on Doctrine entities. 2020-12-08 12:40:33 -06:00
Buster "Silver Eagle" Neece e7fee785a0
Entity Manager cleanup tasks.
- Make the "refresh" method of the decorated EM a part of a new Reloadable interface and add "refreshAsReference"
 - Make all classes use the "IDENTITY" generatedvalue strategy and have nullable IDs
2020-12-05 01:39:05 -06:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece a42fd321a5
Code quality improvements. 2020-10-05 01:27:12 -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 994d5b2986
Switch from Cakephp/Chronos to CarbonImmutable. 2020-07-08 18:50:44 -05:00
Buster "Silver Eagle" Neece 94e66f894b
Minor entity class refactor. 2020-03-29 02:16:41 -05:00
Buster "Silver Eagle" Neece a9d8da0b86
#2511 -- Don't log password changes for streamers. 2020-03-15 00:00:29 -05:00
Buster "Silver Eagle" Neece 33d2ed64ae
Implement Streamer Schedules, Schedule Enforcement and new Scheduled Items Panel on Profile (#2422)
* Commit new Schedule entity changes and new API endpoints.

* Fix possible cause of API POST errors.

* Fix syntax with JSON return slashes.

* Add "Schedule View" and "Enforce Schedule" settings to Streamers.

* Add "Scheduled" panel to Profile.
2020-02-17 22:32:14 -06:00
Buster "Silver Eagle" Neece ca9c5db39d
New feature: Track broadcasts and record them. (#2353)
* Add form entries and LS config writing for live stream recording.

* Create new Broadcast entity; implement new djon/djoff handling.

* Rework record command procedure and add Station relation to Broadcast.

* Run code reformat on JS to add semicolons back.

* Properly save recording path on entity.

* Initial commit of new streamers Vue component.

* Finish frontend Vue dev and add necessary API endpoints.

* Add loader to Datatable; update npm deps; polish on components.
2020-01-28 20:23:55 -06:00
Buster "Silver Eagle" Neece d7819a6993
Migrate Doctrine repositories to composited, DI-friendly classes. 2019-09-29 02:50:24 -05:00
Buster "Silver Eagle" Neece 513d04f7d2
Code cleanup! 2019-09-04 13:00:51 -05:00
Buster "Silver Eagle" Neece 37c69afe85
Implement Audit Log (#1859)
Add a new "Audit Logs" table (and corresponding administrative page) that tracks inserts, updates and deletes to important database entries, along with tracking the user who made the change.
2019-08-14 18:50:53 -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 4f68512b43
#1281 #1282 -- Add remotes/mount point API. 2019-04-09 23:46:51 -05:00
Buster Neece aff86b23c8
Begin switching to Symfony validators for API parity. 2019-04-08 01:43:08 -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 c32a7188ea Use strict entity formatting; other minor fixes. 2018-12-21 18:01:04 -06:00
Buster "Silver Eagle" Neece 2d7725f2ef Update Doctrine mapping to use the stricter @ORM\ prefix. 2018-12-20 05:33:49 -06:00
Buster "Silver Eagle" Neece 8d3eb1554a Minor semantic changes to PR #900. 2018-10-26 19:23:22 -05:00
Vaalyn 014af954f9 Deactivate streamer on manual disconnect - implements #898 (#900)
* Add reactivate_at to station_streamers table

* Add reactivate_at property to StationStreamer

* Add deactivate streamer on disconnect config field

* Add disconnect deactivate streamer config

* Add disconnect_deactivate_streamer to station table

* Fix formatting

* Add parameter and return types

* Add return type

* Deactivate current streamer on manual disconnect

* Add ReactivateStreamer task to task runner

* Create ReactivateStreamer.php

* Add fetching of deactivated streamers for reactivation
2018-10-26 19:14:32 -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
Buster Silver dcd3ed0859 Move "src/" to "app/src/" and reintroduce modularization for easy plugin-style extension. 2017-04-08 03:05:33 -05:00
Buster Silver 4467b16e50 Second run of PSR-1/2 formatting and include updated AzuraCore code. 2017-01-23 18:35:16 -06:00
Buster Silver 5164d5184b Revert "Optimize imports and enforce PSR-1 and PSR-2 formatting standards."
This reverts commit 7cdba9a90b.
2017-01-23 18:17:50 -06:00
Buster Silver 7cdba9a90b Optimize imports and enforce PSR-1 and PSR-2 formatting standards. 2017-01-22 14:58:40 -06:00
Buster Silver 270e6370d9 Move Entity, Migration and AzuraCast classes into a PSR-friendly "src/" folder, move Entity Repositories into their own classes, and update AzuraCore to reflect this change. 2017-01-17 02:46:43 -06:00