Commit Graph

46 Commits

Author SHA1 Message Date
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 3f23efa076
PHP code style fixes. 2021-06-08 01:40:49 -05:00
Buster "Silver Eagle" Neece 668724fe1a
Implement Doctrine ORM Annotations (#4233) 2021-05-30 13:55:26 -05:00
Buster "Silver Eagle" Neece f59fd8a9ba
#4104 -- Rename on SFTP upload, handle SFTP renames/deletes directly. 2021-05-06 10:08:57 -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 f792019bb1
#3893 -- Heavily optimize media processing synchronized task. 2021-04-09 20:25:35 -05:00
Buster "Silver Eagle" Neece 286786978c
Split Flysystem extensions into their own standalone library. 2021-04-05 18:31:29 -05:00
Buster "Silver Eagle" Neece c5352c42be
Update to Flysystem V2 (#3956) 2021-03-31 11:42:24 -05:00
Buster "Silver Eagle" Neece e8111cb88c
AutoDJ queue checking improvements.
Instruct the AutoDJ to use its own generated queue for playback checking instead of SongHistory (the public playback timeline) for more accurate history.
2021-03-12 00:28:04 -06:00
Buster "Silver Eagle" Neece 350d3ce97c
Fixes #3813 -- Remove file from filesystem in `DELETE` call to Files API. 2021-02-13 17:42:36 -06:00
Buster "Silver Eagle" Neece 9f7cd00653
Add "reprocess" batch media command. 2021-01-01 14:44:37 -06:00
Buster "Silver Eagle" Neece bb97376a2e
#3618 -- Fix shared media between stations. 2020-12-31 17:18:45 -06:00
Buster "Silver Eagle" Neece e4472b3adb
Ensure all paths are uniform across tables that have them. 2020-12-30 19:39:50 -06:00
Buster "Silver Eagle" Neece 16a77d5e01
Fix bug with setting the same playlist on a song removing it instead. 2020-12-13 17:31:53 -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
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 f159799edf
#3458 -- Fix issues with directly queueing media from batch operations. 2020-11-25 00:19:56 -06:00
Buster "Silver Eagle" Neece daecbe7476
#3458 -- Switch "Queue" button from creating request to enqueueing directly. 2020-11-24 23:59:25 -06:00
Buster "Silver Eagle" Neece 26e53bd980
More file operations refactoring; change "file" param to "currentDirectory" where relevant. 2020-11-23 00:38:49 -06:00
Buster "Silver Eagle" Neece 11cf2918f0
Refactor batch operations to improve performance and fix behavior bugs. 2020-11-22 00:57:24 -06:00
Buster "Silver Eagle" Neece 6de636f475
Unified Filesystem Overhaul (#3341)
This migration adds "Storage Locations", managed via a new System Administration panel, that can hold Station Media data, live broadcast recordings, and backups. These storage locations can be local (as they are by default) or remote via any S3-compatible service.
2020-11-09 21:06:48 -06:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece b31f892658
#3270 -- Fix batch "Move" command. 2020-10-12 23:50:21 -05:00
Buster "Silver Eagle" Neece 5eafa64326
Avoid resetting playback queues entirely when adding/removing a track. 2020-10-08 03:52:09 -05:00
Buster "Silver Eagle" Neece bfc937b5f6
#3221 -- Add checks to filesystem deletes. 2020-09-30 10:21:58 -05:00
Buster "Silver Eagle" Neece aa5d2b3da1
#3221 -- Fix errors reported with recent additions. 2020-09-29 22:49:16 -05:00
Buster "Silver Eagle" Neece ac0dc6e41c
#3203 -- Remove related file paths in the media sync task as well. 2020-09-29 11:59:05 -05:00
Buster "Silver Eagle" Neece 949ac7940a
#3203 -- Clean up album art and waveforms (with an added sync check). 2020-09-29 11:45:50 -05:00
Buster "Silver Eagle" Neece f8737b5f0b
#3117 -- Double-flush entitymanager to avoid unpersisted entities warning. 2020-08-28 21:49:10 -05:00
Buster "Silver Eagle" Neece 23af29f953
#3016 -- Pass proper IP to StationRequest constructor. 2020-07-12 18:33:55 -05:00
Buster "Silver Eagle" Neece 9efa5a651e
Replace Bernard message queue with Symfony Messenger 5 2020-06-28 11:29:22 -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 85991b7546
Preemptive changes to prepare for Doctrine ORM 3.0. 2020-06-25 13:44:26 -05:00
Buster "Silver Eagle" Neece 769de19d00
Big Visual Waveform Editor Overhaul
- Refactor Flysystem to use constants instead of magic strings for URL prefixes
 - Add audiowaveform installation to both Docker and Ansible installations
 - Use audiowaveform to generate waveforms saved to disk for every track
 - Load these waveforms when visiting the visual waveform editor page instead of using the browser to calculate them
 - Add volume control and use app-wide storage of default volume
 - Remove "beta" tag from waveform editor header
2020-05-11 19:32:41 -05:00
Buster "Silver Eagle" Neece fc70b13951
LS and Station Request handling refactor (and minor LS code change). 2020-03-21 19:29:07 -05:00
Buster "Silver Eagle" Neece 944bb228ba
#2394 -- Don't add sequential playlists to auto-assign folders. 2020-02-07 21:21:51 -06:00
Buster "Silver Eagle" Neece 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -06:00
Buster "Silver Eagle" Neece 41edc21987
Add ability to add folders to playlists and auto-assign contents. 2020-01-30 15:48:34 -06:00
Buster "Silver Eagle" Neece 921ef29b69
#2195 -- Fix error when doing batch functions that succeed. 2019-12-05 14:19:12 -06:00
Buster "Silver Eagle" Neece 542491608c
Immediately exit Batch tasks if the EntityManager closes. 2019-11-16 16:24:03 -06:00
Buster "Silver Eagle" Neece e17c7a2a87
Minor fix for deleting unprocessed files. 2019-11-16 13:44:49 -06:00
Buster "Silver Eagle" Neece 6a9d351d64
Switch to message queue playlist writing for all playlist changes. 2019-10-29 15:58:55 -05:00
Buster "Silver Eagle" Neece 0112568041
#2068 -- Move "write playlist to disk" task to the message queue. 2019-10-29 14:49:03 -05:00
Buster "Silver Eagle" Neece 1d2ed5fa55
Move file routes to API endpoints and add inline renaming. 2019-10-09 21:13:04 -05:00