Commit Graph

145 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece b805f6c0c6
More tests and fixing minor issues with station spinup/down. 2021-06-13 23:49:17 -05:00
Buster "Silver Eagle" Neece f1d33f4104
Add more functional and unit tests. 2021-06-13 22:30:17 -05:00
Buster "Silver Eagle" Neece f7f2755f58
Add some more functional tests. 2021-06-13 18:31:39 -05:00
Buster "Silver Eagle" Neece 5da0f4e3cb
Add more API unit tests; fix bugs identified by new tests. 2021-06-12 22:57:10 -05:00
Buster "Silver Eagle" Neece 4a529c9003
Unprefix tests and fix mount point test. 2021-06-12 03:40:01 -05:00
Buster "Silver Eagle" Neece 2dc41d080a
Switch Settings to be a flat single entity to use EntityManager built-in functions. (#4045) 2021-04-21 16:15:52 -05:00
Buster "Silver Eagle" Neece c5352c42be
Update to Flysystem V2 (#3956) 2021-03-31 11:42:24 -05:00
Buster "Silver Eagle" Neece 69cc051489
Fix test suites. 2021-03-19 09:11:42 -05:00
Buster "Silver Eagle" Neece eac1d46d62
Ignore generated test-related files. 2021-03-10 20:39:33 -06:00
Buster "Silver Eagle" Neece cabeeb5cc0
Move "Enable Advanced Settings" to DB and make it actually work. 2021-02-02 22:17:57 -06:00
Buster "Silver Eagle" Neece 686f480d7c
Add Support for Remote Album Art on APIs and Media Uploads (#3680) 2021-01-18 23:44:15 -06:00
Buster "Silver Eagle" Neece 7862c6d515
Dashboard Overhaul (#3651) 2021-01-10 20:41:58 -06:00
Buster "Silver Eagle" Neece 30657b7647
Remove test for duplicate report as it's folded into media manager. 2021-01-03 00:25:29 -06:00
Buster "Silver Eagle" Neece 5ff1f442b3
Make the media list API endpoint return a standardized API response. 2021-01-02 03:05:44 -06:00
Ben Benesh c4279608e8
#3552 Fixes Sound Exchange Media Query (#3554)
* Fixes media query. Fixes album name not being pulled in due to incorrect IDs being used.

* Change to DQL, add a functional test that can catch this sort of thing in the future.
2020-12-14 12:15:07 -06:00
Buster "Silver Eagle" Neece 4ca8ce0bc6
Split Utilities apart into individual categories. 2020-12-10 20:43:58 -06:00
Buster "Silver Eagle" Neece 4aa1902dae
#3525 -- Rework settings to be fetched on-demand to avoid collisions. 2020-12-10 16:46:03 -06:00
Buster "Silver Eagle" Neece 0a8c41542d
Make environment immutable and strictly use function calls. 2020-12-06 05:57:39 -06:00
Buster "Silver Eagle" Neece 2eac4d3cb4
Make sync tasks a long-running logged process like backups. 2020-12-05 13:34:13 -06:00
Buster "Silver Eagle" Neece 969789aa05
Code style fixes. 2020-12-04 06:42:15 -06:00
Buster "Silver Eagle" Neece aed854a17c
Settings overhaul, part 2
Make Settings a controlled entity.
2020-12-04 02:41:55 -06:00
Buster "Silver Eagle" Neece 5727f12b6f
Settings refactor part 1: Rename App\Settings to App\Environment.
Previously AzuraCast had two very similar `$settings` variables, one that was from environment and the other from the database. This refactor distinguishes the two much more clearly.
2020-12-02 22:18:06 -06:00
Buster "Silver Eagle" Neece 5724b78073
Composer dependency update and code style fixes from new test suites. 2020-12-01 07:45:01 -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
Buster "Silver Eagle" Neece 6df42a73be
Update unit tests to reflect new standalone StationProfile component. 2020-10-16 04:48:26 -05:00
Buster "Silver Eagle" Neece aa02522ff3
Fix time unit test. 2020-10-10 02:10:28 -05:00
Buster "Silver Eagle" Neece 5e29c2f043
Fix tests with pull requests. (#3187)
* Remove redundant test log.
* Set function return type on tests.
* Don't manage translations on branch/PR requests.
* Separate locale and static asset steps.
* Make sure npm ci runs even when translations don't run.
2020-09-20 12:49:41 -05:00
Vaalyn 2a3f715a9d
Add frontend test case to check if user based locale is working correctly (#3160)
* Fixed user based locale not working bug due to calling initLocale() before getting user

* Add frontend test case to check if user based locale works correctly

* Look for logged in user's e-mail instead of the word "Logged In" in tests.

* Don't overwrite the LANG env var with user locale.

Co-authored-by: Buster "Silver Eagle" Neece <buster@busterneece.com>
2020-09-20 12:10:05 -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 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 6f66ff072b
Make Auth and Customization PSR-7 lifecycle friendly. 2020-07-09 23:15:27 -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 2561fa0eae
Update several dependencies to newer releases. 2020-06-27 16:55:35 -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 0dea2de081
Update to Doctrine Migrations 3.x. 2020-06-25 03:47:49 -05:00
Buster "Silver Eagle" Neece fc41b4ad5f
Fix leading slash issue in API upload and use new API format in func tests. 2020-06-16 06:00:16 -05:00
Buster "Silver Eagle" Neece ae4972f15b
Composer dependency update and minor functional test tweaks. 2020-06-06 05:14:50 -05:00
Buster "Silver Eagle" Neece 2d7c6a211c
Fix unit test which now requires a full URI. 2020-05-08 19:49:33 -05:00
Buster "Silver Eagle" Neece 945b4a83df
Implement per-station default album artwork. 2020-05-02 20:28:08 -05:00
Buster "Silver Eagle" Neece d2d5796cf6
Update tests to reflect new URIs. 2020-03-01 10:40:15 -06:00
Buster "Silver Eagle" Neece 80e5f4efac
Speed up file download streams by using X-Accel-Redirect when possible. 2020-02-21 12:48:43 -06: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 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -06:00
Buster "Silver Eagle" Neece 47f3594fc1
Further fixes relating to entitymanager clearing. 2020-01-29 19:21:15 -06:00
Buster "Silver Eagle" Neece 125a475d07
Remove non-Vue functional test; update Composer deps. 2020-01-29 03:53:47 -06:00
Buster "Silver Eagle" Neece 22d8f8c241
Update dependencies; move from Zend to Laminas. 2020-01-17 20:35:09 -06:00
Buster "Silver Eagle" Neece 8cff0d373b
#2186 -- Update the total listener hour calculation. 2019-12-07 22:25:09 -06:00
Buster "Silver Eagle" Neece fe05fa92ee
Update unit test suite. 2019-11-07 02:12:13 -06:00
Buster "Silver Eagle" Neece 09ae256ea2
Remove previous Playlists pages from test suite. 2019-11-06 15:34:51 -06:00