Commit Graph

107 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 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 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 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 6f66ff072b
Make Auth and Customization PSR-7 lifecycle friendly. 2020-07-09 23:15:27 -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 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 2d7c6a211c
Fix unit test which now requires a full URI. 2020-05-08 19:49:33 -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 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 09ae256ea2
Remove previous Playlists pages from test suite. 2019-11-06 15:34:51 -06:00
Buster "Silver Eagle" Neece 2f03b038f7
Refactor Account/Profile sections and fix #2099 (2FA setup errors). 2019-10-26 18:35:24 -05:00
Buster "Silver Eagle" Neece 7f55696b47
Add new media manager album art tab. 2019-10-10 20:22:02 -05: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 5a8709f82c
Switch to PSR-7-based Redis-backed session persistence. 2019-09-23 21:22:08 -05:00
Buster "Silver Eagle" Neece 85519b3cb9
Fix some error handler issues related to new session handler. 2019-09-23 00:34:36 -05:00
Buster "Silver Eagle" Neece e3104a546a
Session handling overhaul
- Switch to "storageless sessions" middleware
- Update azuracore/azuraforms to apply necessary changes
- Switch form CSRF handling to use Session's CSRF handler
- Avoid using "magic" string in flash messages, switch to using constants.
2019-09-22 23:51:44 -05:00
Buster "Silver Eagle" Neece df775c6108
Slightly modify test suite. 2019-09-19 23:04:00 -05:00
Buster "Silver Eagle" Neece f1875061e6
Add new functional tests for admin API functions. 2019-09-19 21:31:22 -05:00
Buster "Silver Eagle" Neece 7145f2a49e
Add new unit tests for mount points and remote relays. 2019-09-18 15:03:02 -05:00
Buster "Silver Eagle" Neece daf78fa738
Move Settings and Logging to static system-wide functions. 2019-09-12 00:31:01 -05:00
Buster Neece 507c00e55c
Add back in the upload test that previously failed. 2019-08-09 11:52:56 -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 262348a7ae
Fix functional test to reflect new homepage look. 2019-05-26 12:20:02 -05:00
Buster Neece 575d5b5662
Show station time zone when editing playlist. Set TZ in LS directly. 2019-05-14 02:48:41 -05:00
Buster Neece 40a7d5a3af
Set up translations on tests. 2019-04-09 04:13:39 -05:00
Buster Neece 3554d65c75
Move port checker to Validation; create StationCloneForm, etc. 2019-04-09 04:06:44 -05:00