Commit Graph

115 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece 6b92475d8d
Unify to a single console command location. 2020-01-24 23:08:25 -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 651803fda5
#2003 -- Rewrite and optimize the Radio Automation code. 2020-01-17 17:40:50 -06:00
Buster "Silver Eagle" Neece 23a47ac341
Code quality and IDE inspection fixes. 2019-12-06 18:57:50 -06:00
Buster "Silver Eagle" Neece 83a1e4c385
Revert "Add coverage back to test suite."
This reverts commit 8fbf60254f.
2019-12-05 22:37:55 -06:00
Buster "Silver Eagle" Neece 8fbf60254f
Add coverage back to test suite. 2019-12-05 22:28:15 -06:00
Buster "Silver Eagle" Neece b723a6fc29
Switch to no-coverage unit test until issue is fixed with performance. 2019-11-29 22:26:29 -06:00
Buster "Silver Eagle" Neece 6bee06ee93
Switch to using a recursive iterator for media processing. 2019-10-29 19:27:59 -05:00
Buster "Silver Eagle" Neece 14cdc41ed8
#2010 -- Use a "smarter" encoding detection for song ID3 data. 2019-10-02 18:28:52 -05:00
Buster Neece d06cec2dc9
Update Sentry SDK 2019-08-10 12:33:03 -05:00
Buster Neece 9790307266
Update AzuraCore; switch to PSR-16 SimpleCache interface. 2019-08-07 12:50:48 -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 68fc440b42
Implement deep_copy in favor of PHP's own clone. 2019-05-01 18:54:30 -05:00
Buster Neece 48f104d8cd
Improve Sentry integration. 2019-03-22 20:22:32 -05:00
Buster Neece 0bb68f7a9e
Minor code quality fixes, test Sentry integration on dev. 2019-03-22 17:07:17 -05:00
Buster Neece b053abae04 Finish implementing 2FA in profile and login. 2019-03-14 03:40:02 -05:00
Buster Neece b9e821debd Switch logging to be managed/rotated by Supervisord.
Rationale: under the current system, Supervisord simply pipes its per-process logs out to stdout/stderr on Docker, meaning it has no ability to read back those logs in the case of an error, leading to cryptic error messages like "SPAWN_ERROR" instead of the actual problem. This refactors the logging to be handled by Supervisord, which also is itself capable of log rotation (removing the need for AzuraCast to rotate radio software logs).
2019-03-07 20:01:51 -06:00
Buster "Silver Eagle" Neece c975e8c081 Make menus configuration-driven so plugins can extend them. 2019-02-23 23:28:01 -06:00
Buster "Silver Eagle" Neece d9a5eeed13 #1149 -- Consolidate fromArray/toArray and Serializer, add smart type casting. 2019-02-05 11:22:05 -06:00
Buster "Silver Eagle" Neece e1cb909a17 #1145 -- Make composer package name lowercase. 2019-02-03 10:54:35 -06:00
Buster "Silver Eagle" Neece 798d020800 Simplify testing into a single "composer test" command. 2019-01-31 15:58:20 -06:00
Buster "Silver Eagle" Neece 7fa44db264 More minor code fixes, add linting to CI and docker.sh script. 2019-01-31 14:29:45 -06: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
Vaalyn a174c3ba5b Add phpstan as dev dependency (#1130)
* Add PHPStan as dev dependency with configuration

* Remove TODO
2019-01-30 20:49:36 -06:00
Buster "Silver Eagle" Neece c1f2017052
Implement #368 -- Add administrator-set storage quotas to individual stations. (#1122)
* Implement station quotas at DB level, switch to big-int math for checks.
* Update AzuraCore
* No longer try to auto-typecast fields (let the setters do that).
* Implement admin form, fix Flow error displays, implement checking/adding quota.
* Decrement from quota when a file is deleted.
* More robust handling of empty values.
2019-01-28 14:47:19 -06:00
Buster "Silver Eagle" Neece 55011eef50 Fix extraneous comma in composer manifest. 2018-12-30 04:35:09 -06:00
Buster "Silver Eagle" Neece 13e0c744c6 Implement message queue and worker for media processing/import tasks. 2018-12-30 04:18:48 -06:00
Buster "Silver Eagle" Neece 10fd33669e Move swagger-PHP to prod dependencies. 2018-12-26 07:18:39 -06:00
Buster "Silver Eagle" Neece b2c6b5e54e Create new abstract CRUD API containers. 2018-12-20 04:25:24 -06:00
Buster "Silver Eagle" Neece a21cd55afe Add S3 dep directly to the AzuraCast core. 2018-12-13 12:40:09 -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 5e8693ecad IDE type-hinting fixes. 2018-11-17 09:20:19 -06:00
Buster "Silver Eagle" Neece 6ebd158630 Use constants for Settings values (best practice) and implement update checks 2018-11-15 07:41:52 -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 027d571543 #909 -- Make version include commit and date from git metadata. 2018-11-02 00:25:47 -05:00
Buster "Silver Eagle" Neece e064da4f4d #885 -- Implement AzuraCast-side Liquidsoap log rotation. 2018-10-29 00:19:07 -05:00
Buster "Silver Eagle" Neece fef1c487bb Remove packaged/helpers as it was only used in 2 places. 2018-09-29 06:37:14 -05:00
Buster "Silver Eagle" Neece 61f2ed9a38 Composer updates, add Console as explicit dep to play with 4.2 when it's out 2018-09-25 03:59:09 -05:00
Buster "Silver Eagle" Neece 6cc62173b5 Remove unused Composer deps 2018-09-23 09:41:06 -05:00
Buster "Silver Eagle" Neece 33210b9450 Begin work on custom code plugins support. 2018-09-21 07:04:05 -05:00
Buster "Silver Eagle" Neece 989bbd39a1 #802 -- Update to OpenAPI 3.0 spec 2018-09-18 09:09:48 -05:00
Buster "Silver Eagle" Neece d051e00a69 Use the new azuracast/nowplaying library to abstract NP generation. 2018-09-13 12:45:56 -05:00
Buster "Silver Eagle" Neece 2e631c9502 Use Certainty library for SSL CA bundles, implement DI-injected HTTP Client 2018-09-06 20:08: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 828385c78f Add the other extensions to composer.json 2018-08-10 04:09:27 -05:00
Buster "Silver Eagle" Neece e425ad06ca Add extension deps to composer.json 2018-08-08 01:31:36 -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 b7c21e0ea7 Update Doctrine DBAL to reflect latest release 2018-07-23 02:31:40 -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 6be12cf98d Implement Symfony finder to replace some scandirs. 2018-07-06 21:41:07 -05:00