Commit Graph

178 Commits

Author SHA1 Message Date
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 2427389c6a
Composer deps update. 2019-05-08 19:53:01 -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
Buster Neece c5fd481c7f
Remove now-unused unit test. 2019-03-26 22:46:06 -05:00
Buster Neece a5e6a87c60
Playlist refactor initial commit. 2019-03-26 02:05:50 -05: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 26300067bf Fix annotation handling for unit tests. 2018-12-26 05:31:38 -06:00
Buster "Silver Eagle" Neece 70914a67c1
Implement Flysystem, move album art to filesystem, fix related issues #953 #962 (#1022)
* Initial entity and dependency commit.

* Create migration test for album art move.

* File management controller refactor and further wiring of Flysystem.

* Form/UI fixes and refactors related to Flysystem.

* Update composer deps and add merge plugin to avoid dep overlap.

* Fix batch moving/directory listing, add lightboxing to files manager.

* Fix album art writing, use special upload method to skip disk round-trip.

* Migrate StationRepository to be DI-driven, update unit tests and the setup controller.
2018-12-05 01:15:51 -06:00
Buster "Silver Eagle" Neece 23ca364c86 Move some common utilities to AzuraCore. 2018-11-26 10:43:17 -06:00
Buster "Silver Eagle" Neece e742fc6fe6 Fix unit test that refers to a now-aliased time zone. 2018-11-19 02:39:50 -06:00
Buster "Silver Eagle" Neece 854cb93261
Architecture change: Integrate common AzuraCore code (#944)
* Update composer.json/lock
* Update CLI console commands
* All AzuraCore refactors except folder moves.
* MVP for all core functionality.
* Working unit/functional tests
* Remove DB dump from util/, replace with direct migration.
* Update AzuraCore, define testing mode earlier.
2018-11-12 10:59:15 -06:00
Buster "Silver Eagle" Neece 21cf20e254 Minor unit test fix 2018-10-14 09:14:37 -05:00
Buster "Silver Eagle" Neece d637d385c5 Update tests to match new UI patterns 2018-10-11 12:01:00 -05:00
Buster "Silver Eagle" Neece cd4ff6325a Fix unit tests, which have been silently failing >:( 2018-10-11 02:33:55 -05:00
Buster "Silver Eagle" Neece 76530bcd36 Update unit tests to reflect new routing. 2018-10-08 00:41:35 -05:00
Buster "Silver Eagle" Neece f399b49c0f Update test suite to reflect profile changes. 2018-09-29 09:04:33 -05:00
Buster "Silver Eagle" Neece 8b15868c5d Restructure Adapter class constants 2018-08-18 19:44:46 -05:00
Buster "Silver Eagle" Neece 541480f884 Add azuracast:settings:set and azuracast:settings:list CLI commands 2018-08-17 03:46:47 -05:00
Buster "Silver Eagle" Neece 082d564465 Restructure web hook configuration; create new "Test" function; improve display of test pages. 2018-08-12 01:35:48 -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 Eagle" Neece 3a4d630f25 Fix unit testing to match new error file 2018-07-23 02:31:24 -05:00
Buster "Silver Eagle" Neece 9fc1f13d45 Okay never mind don't ignore those files 2018-07-13 14:53:39 -05:00
Buster "Silver Eagle" Neece f684e83166 Composer update and ignoring autogenned unit test files. 2018-07-13 14:46:36 -05:00
Buster "Silver Eagle" Neece 4ad6b7094d Changes to allow unit testing from inside PhpStorm 2018-07-13 02:15:35 -05:00
Buster "Silver Eagle" Neece 1f08c307e0
#566 / #567 Sequential Playlists with Reordering Page (#573)
- Expand the ManyToMany relationship between StationMedia and StationPlaylist to include both a "weight" and "last_played" parameter, to allow for sequential playlists.
- Implement Sequential playlist support
- Create new "reorder playlist" page
2018-04-29 18:48:48 -05:00
Buster "Silver Eagle" Neece 65b30ce58f Fix functional test re: #558 2018-04-22 19:07:10 -05:00
Buster "Silver Eagle" Neece 673a3389ba Update homepage URL in unit tests. 2018-04-07 21:32:04 -05:00
Buster "Silver Eagle" Neece c1acff7100 Make playlist scheduling unit-testable, and build a unit test for it. 2018-04-07 19:17:22 -05:00
Buster "Silver Eagle" Neece 5513ca06a2 Switch dependencies to new AzuraForms; remove CodeClimate (and thus the Guzzle\Guzzle error) 2018-02-25 11:47:48 -06:00
Buster "Silver Eagle" Neece fe0bfe6f64 Unit test fix 2018-02-15 19:51:42 -06:00
Buster "Silver Eagle" Neece abd4e848c9 Another language fix for the unit tests 2018-02-14 08:55:59 -06:00
Buster "Silver Eagle" Neece c6112ce530 Add backup to nginx config; fix another unit test. 2018-02-14 00:08:47 -06:00
Buster "Silver Eagle" Neece 93cfa609c2 Fix tests for vue changes to homepage. 2018-02-14 00:02:22 -06:00
Buster "Silver Eagle" Neece 5a26c2eeec Update language on unit test. 2018-02-13 23:55:49 -06:00
Buster "Silver Eagle" Neece 5b29f78099 Fix unit test 2018-02-07 11:05:34 -06:00
Buster "Silver Eagle" Neece 48fa077dbb Fix CSRF variable naming on station media management for consistency. 2018-02-07 06:53:31 -06:00
Buster "Silver Eagle" Neece 87ad79e88b API Key overhaul: switch API keys to be per-user and add new manager page. 2018-02-06 05:09:05 -06:00
Buster "Silver Eagle" Neece f71703b562
Major code quality refactor (#399)
* Initial (non-working) commit of new middleware infrastructure.

* Begin massive refactor for Slimification: move controllers and views

* Begin refactor on controllers

* Finish refactor for admin pages.

* Initial refactor of API section finished.

* Going fully idiomatic with it: initial commit of infrastructure

* Mid-morning break commit of refactor to DI-ize *everything*

* Station adapter and config DI rewrite.

* Finish DI-ification refactor of admin pages.

* Finish DI-ification refactor of API controllers.

* Finish DI-ification refactor of frontend/setup controllers.

* Station index and profile controller refactors.

* Refactor all station controllers except Files.

* All files refactored, ready for testing!

* Update Codeception exclusions

* Green-light on functional tests, include forgotten controller page, etc.
2018-02-01 05:49:40 -06:00
Buster "Silver Eagle" Neece 3d2a409029 More post-refactor fixes. 2018-01-22 11:40:00 -06:00
Buster "Silver Eagle" Neece 8b1ac08eb0 Refactor services in DI to reference class names. Clean up relevant code. 2018-01-22 10:28:41 -06:00
Buster "Silver Eagle" Neece dfb971de17 Update unit tests to resolve issues caused by memory optimization. 2017-11-20 19:14:43 -06:00
Buster "Silver Eagle" Neece 29db397531 Update request unit test. 2017-11-03 21:20:50 -05:00
Buster "Silver Eagle" Neece 79d3143870 Update unit test to match new security checks. 2017-11-03 00:28:05 -05:00
Buster Silver cbefa9e35e Broaden the scope of unit tests. 2017-08-20 12:44:51 -05:00
Buster "Silver Eagle" Neece c1e3694cd6 Rebuild Doctrine entities to match Doctrine 2 best practices, and resolve related issues. (#213)
* First set of rewritten entities. Not ready for use!
* More work on the massive overhaul of Doctrine entities.
* Bulk of the rewrite work completed.
* More bug and sync fixes.
* More fixes, Doctrine Proxy improvements.
* Fixing more tests.
* Console/CLI and API response fixes.
* Bug fixes.
* Missed a spot
* Fix uploading and bug with dupes.
* Fix automation bugs
* More bug fixes.
2017-08-17 13:28:48 -05:00
Buster "Silver Eagle" Neece e2f9537a2d Update unit tests to reflect form structure. 2017-08-13 05:07:22 -05:00
Buster Silver a7ccbf3af9 More fixes to make unit tests match new API style. 2017-06-29 22:35:30 -05:00
Buster Silver b48322920c Minor update to match type-specificity in API. 2017-06-29 21:26:34 -05:00
Buster Silver 12417d7c39 Minor tweaks to unit testing. 2017-06-29 21:16:13 -05:00
Buster Silver 052d020df1 More dockerization, including dockerizing the Travis CI integration. 2017-05-31 11:57:29 -05:00
Buster Silver 247e669800 Update functional testing for media upload. 2017-05-22 04:48:28 -05:00
Buster Silver cddd82d1b8 Clean up existing API endpoints, make tenses make more sense and make station-based items derived from the same base URI. 2017-05-19 19:40:36 -05:00
Buster Silver c8fa8248e1 Update composer dependencies from DependenCI. 2017-05-13 11:34:43 -05:00
Buster Silver a97942bd52 Update setup settings step to fix bug with form validation. 2017-05-11 01:35:42 -05:00
Buster Silver f2829a6681 Update mapping of classes in CI script. 2016-12-16 15:06:18 -06:00
Buster Silver d23a886940 Disable spawning a bunch of processes during the unit testing process. 2016-12-12 22:02:15 -06:00
Buster Silver 9a77503c70 Add a sleep to see if that helps the CI handle supervisord. 2016-12-12 20:26:07 -06:00
Buster Silver 9596f25910 Fix bugs with new implementation of Disabled and Remote adapters. 2016-11-21 17:01:42 -06:00
Buster Silver b572ae3c6c Closes #67 -- Return listen URLs and additional information in the station-related API endpoints. 2016-11-20 20:43:28 -06:00
Buster Silver 43513c1106 Fix styling issue with bootgrid request popup, add functional test for public view. 2016-11-08 10:32:15 -06:00
Buster Silver 10280c4686 Add file and utility unit tests, and extend media management unit test. 2016-10-23 23:14:56 -05:00
Buster Silver ab9dac908c Add test coverage for automation and nowplaying API endpoint. 2016-10-23 19:52:46 -05:00
Buster Silver e74e911891 Fix spacing on Index test. [ci skip] 2016-10-23 14:07:53 -05:00
Buster Silver bd7ef75ba8 Improve coverage on admin settings. 2016-10-23 11:10:00 -05:00
Buster Silver fb0f847808 Add station index and reports to test coverage. 2016-10-23 10:37:10 -05:00
Buster Silver 90c4e19051 Add request testing to Codeception/CI. 2016-10-22 21:14:12 -05:00
Buster Silver a5d02adf1d Start setup for unit tests. 2016-10-22 15:47:07 -05:00
Buster Silver 8487298a1c Run all sync tasks in functional tests, fix issue preventing admin records from being tested. 2016-10-22 14:25:09 -05:00
Buster Silver 2d306b3504 Add files that will not (or cannot) be accessed through the functional tests to exclusion for coverage. 2016-10-22 12:54:00 -05:00
Buster Silver 43cedce91c Add new stations API endpoint functional test. 2016-10-22 10:30:32 -05:00
Buster Silver 2b393bf981 Add unit tests to check 404 error page and test file uploading. 2016-10-21 21:09:30 -05:00
Buster Silver 8ab464e818 (Hopefully) Last round of Travis fixes. 2016-10-21 03:56:54 -05:00
Buster Silver 69a27b35e0 More functional tests! 2016-10-20 23:41:55 -05:00
Buster Silver 55ecd6fcc5 Create new functional tests and update application framework code to support them running correctly. 2016-10-20 21:38:43 -05:00
Buster Silver cf9f9a7a90 Create a profile functional test, fix several issues affecting functional tests. 2016-10-20 04:29:57 -05:00
Buster Silver 0011831c5e Resolve issue in initializing dispatcher classes that leads to failed test results. 2016-10-19 03:11:06 -05:00
Buster Silver 1f23fbc50a Initial commit of the immensely immense task of setting up functional tests for AzuraCast that will integrate with Travis CI and run upon each commit. 2016-10-18 18:21:33 -05:00