Commit Graph

305 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece 79b1bc5c4a
PHPStan upgrade and new baseline.
Changelogs summary:

 - phpstan/phpstan updated from 0.12.96 to 1.0.1 major
   See changes: https://github.com/phpstan/phpstan/compare/0.12.96...1.0.1
   Release notes: https://github.com/phpstan/phpstan/releases/tag/1.0.1

 - phpstan/phpstan-doctrine updated from 0.12.44 to 1.0.1 major
   See changes: https://github.com/phpstan/phpstan-doctrine/compare/0.12.44...1.0.1
   Release notes: https://github.com/phpstan/phpstan-doctrine/releases/tag/1.0.1
2021-11-02 23:12:02 -05:00
Buster "Silver Eagle" Neece dcbc08360c
Revert PHPStan due to temp bug. 2021-09-05 03:44:44 -05:00
Buster "Silver Eagle" Neece 803f1b14d6
Dependencies update.
- composer/package-versions-deprecated updated from 1.11.99.2 to 1.11.99.3
   See changes: https://github.com/composer/package-versions-deprecated/compare/1.11.99.2...1.11.99.3
   Release notes: https://github.com/composer/package-versions-deprecated/releases/tag/1.11.99.3

 - wikimedia/composer-merge-plugin updated from dev-master@47be3c0 to dev-master@0497734
   See changes: 47be3c0...0497734

 - aws/aws-crt-php installed in version v1.0.2
   Release notes: https://github.com/awslabs/aws-crt-php/releases/tag/v1.0.2

 - azuracast/azuraforms updated from dev-main@c6a8b27 to dev-main@d1ca581
   See changes: c6a8b27...d1ca581

 - symfony/string updated from v5.3.3 to v5.3.7
   See changes: https://github.com/symfony/string/compare/v5.3.3...v5.3.7
   Release notes: https://github.com/symfony/string/releases/tag/v5.3.7

 - symfony/console updated from v5.3.6 to v5.3.7
   See changes: https://github.com/symfony/console/compare/v5.3.6...v5.3.7
   Release notes: https://github.com/symfony/console/releases/tag/v5.3.7

 - james-heinrich/getid3 updated from dev-master@cb831b6 to dev-master@4e02ed0
   See changes: cb831b6...4e02ed0

 - symfony/event-dispatcher updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/event-dispatcher/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/event-dispatcher/releases/tag/v5.3.7

 - phpunit/phpunit updated from 9.5.8 to 9.5.9
   See changes: https://github.com/sebastianbergmann/phpunit/compare/9.5.8...9.5.9
   Release notes: https://github.com/sebastianbergmann/phpunit/releases/tag/9.5.9

 - symfony/finder updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/finder/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/finder/releases/tag/v5.3.7

 - symfony/dom-crawler updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/dom-crawler/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/dom-crawler/releases/tag/v5.3.7

 - codeception/lib-innerbrowser updated from 1.5.0 to 1.5.1
   See changes: https://github.com/Codeception/lib-innerbrowser/compare/1.5.0...1.5.1
   Release notes: https://github.com/Codeception/lib-innerbrowser/releases/tag/1.5.1

 - filp/whoops updated from 2.14.0 to 2.14.1
   See changes: https://github.com/filp/whoops/compare/2.14.0...2.14.1
   Release notes: https://github.com/filp/whoops/releases/tag/2.14.1

 - laminas/laminas-zendframework-bridge updated from 1.3.0 to 1.4.0
   See changes: https://github.com/laminas/laminas-zendframework-bridge/compare/1.3.0...1.4.0
   Release notes: https://github.com/laminas/laminas-zendframework-bridge/releases/tag/1.4.0

 - laminas/laminas-stdlib updated from 3.5.0 to 3.6.0
   See changes: https://github.com/laminas/laminas-stdlib/compare/3.5.0...3.6.0
   Release notes: https://github.com/laminas/laminas-stdlib/releases/tag/3.6.0

 - aws/aws-sdk-php updated from 3.191.2 to 3.192.0
   See changes: https://github.com/aws/aws-sdk-php/compare/3.191.2...3.192.0
   Release notes: https://github.com/aws/aws-sdk-php/releases/tag/3.192.0

 - php-di/php-di updated from 6.3.4 to 6.3.5
   See changes: https://github.com/PHP-DI/PHP-DI/compare/6.3.4...6.3.5
   Release notes: https://github.com/PHP-DI/PHP-DI/releases/tag/6.3.5

 - symfony/translation updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/translation/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/translation/releases/tag/v5.3.7

 - phpstan/phpstan updated from 0.12.96 to 0.12.98
   See changes: https://github.com/phpstan/phpstan/compare/0.12.96...0.12.98
   Release notes: https://github.com/phpstan/phpstan/releases/tag/0.12.98

 - phpstan/phpstan-doctrine updated from 0.12.43 to 0.12.44
   See changes: https://github.com/phpstan/phpstan-doctrine/compare/0.12.43...0.12.44
   Release notes: https://github.com/phpstan/phpstan-doctrine/releases/tag/0.12.44

 - roave/security-advisories updated from dev-latest@cd0a994 to dev-latest@05f521f
   See changes: cd0a994...05f521f

 - slevomat/coding-standard updated from 7.0.13 to 7.0.14
   See changes: https://github.com/slevomat/coding-standard/compare/7.0.13...7.0.14
   Release notes: https://github.com/slevomat/coding-standard/releases/tag/7.0.14

 - symfony/messenger updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/messenger/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/messenger/releases/tag/v5.3.7

 - symfony/redis-messenger updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/redis-messenger/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/redis-messenger/releases/tag/v5.3.7

 - symfony/doctrine-messenger updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/doctrine-messenger/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/doctrine-messenger/releases/tag/v5.3.7

 - symfony/amqp-messenger updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/amqp-messenger/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/amqp-messenger/releases/tag/v5.3.7

 - symfony/var-exporter updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/var-exporter/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/var-exporter/releases/tag/v5.3.7

 - symfony/cache updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/cache/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/cache/releases/tag/v5.3.7

 - symfony/intl updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/intl/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/intl/releases/tag/v5.3.7

 - symfony/mime updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/mime/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/mime/releases/tag/v5.3.7

 - symfony/process updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/process/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/process/releases/tag/v5.3.7

 - symfony/property-info updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/property-info/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/property-info/releases/tag/v5.3.7

 - symfony/property-access updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/property-access/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/property-access/releases/tag/v5.3.7

 - symfony/options-resolver updated from v5.3.4 to v5.3.7
   See changes: https://github.com/symfony/options-resolver/compare/v5.3.4...v5.3.7
   Release notes: https://github.com/symfony/options-resolver/releases/tag/v5.3.7

 - symfony/validator updated from v5.3.6 to v5.3.7
   See changes: https://github.com/symfony/validator/compare/v5.3.6...v5.3.7
   Release notes: https://github.com/symfony/validator/releases/tag/v5.3.7

 - symfony/var-dumper updated from v5.3.6 to v5.3.7
   See changes: https://github.com/symfony/var-dumper/compare/v5.3.6...v5.3.7
   Release notes: https://github.com/symfony/var-dumper/releases/tag/v5.3.7

 - phpoption/phpoption updated from 1.7.5 to 1.8.0
   See changes: https://github.com/schmittjoh/php-option/compare/1.7.5...1.8.0
   Release notes: https://github.com/schmittjoh/php-option/releases/tag/1.8.0

 - graham-campbell/result-type updated from v1.0.1 to v1.0.2
   See changes: https://github.com/GrahamCampbell/Result-Type/compare/v1.0.1...v1.0.2
   Release notes: https://github.com/GrahamCampbell/Result-Type/releases/tag/v1.0.2
2021-09-05 02:48:12 -05:00
Buster "Silver Eagle" Neece 80dae3b9f4
Normalize composer.json 2021-09-03 15:34:30 -05:00
Buster "Silver Eagle" Neece 32296cbda6
Use standalone MetadataManager library. 2021-08-23 23:00:29 -05:00
Buster "Silver Eagle" Neece 424c28b027
Dependency update and type fixes. 2021-08-22 21:08:52 -05:00
Buster "Silver Eagle" Neece b5fc9ad601
Use shared CallableEventManager library. 2021-08-04 21:24:27 -05:00
Buster "Silver Eagle" Neece aae01e832f
#4441 -- More updates for media processing. 2021-08-03 20:17:30 -05:00
Buster "Silver Eagle" Neece 7750fa6be8
User-Uploaded Custom Assets (#4437) 2021-07-30 01:20:14 -05:00
Buster "Silver Eagle" Neece 4c77e58d7a
Expand memory limit on phpstan. 2021-07-23 23:20:46 -05:00
Vaalyn 11f1f44cea
Switch message queue from MariaDB to beanstalkd (#4418) 2021-07-21 16:45:22 -05:00
Buster "Silver Eagle" Neece ef7989fcfd
Implement PHP Docker Installer (#4377) 2021-07-08 15:03:54 -05:00
Buster "Silver Eagle" Neece 3cb73fe34f
Dependency updates. 2021-07-06 11:41:20 -05:00
Buster "Silver Eagle" Neece edb1839cbc
Allow Redis to be disabled in favor of flatfile cache. 2021-06-28 10:03:21 -05:00
Buster "Silver Eagle" Neece c2b388b9f3
Fixes #4122 -- Update getid3 library. 2021-06-26 17:23:34 -05:00
Buster "Silver Eagle" Neece a320c1a6a0
More code cleanup. 2021-06-09 22:22:13 -05:00
Buster "Silver Eagle" Neece 668724fe1a
Implement Doctrine ORM Annotations (#4233) 2021-05-30 13:55:26 -05:00
Vaalyn 1a04f9791f
Implement Podcasting Support
Co-authored-by: Buster "Silver Eagle" Neece <buster@busterneece.com>
Co-authored-by: Mitch <Mitchellfrith1996@gmail.com>
2021-05-24 23:29:07 -05:00
Buster "Silver Eagle" Neece 89410971b4
Switch to main branch of fxmlrpc. 2021-05-23 04:57:24 -05:00
Buster "Silver Eagle" Neece 1c959dd3ff
Implement checkfile format exceptions for CI builds 2021-04-25 09:52:00 -05:00
Buster "Silver Eagle" Neece add1682e9b
Simplify GH actions and run some tests far earlier to "fail fast". 2021-04-25 05:41:07 -05:00
Buster "Silver Eagle" Neece acab8806b3
Move to PHP 8.0 (#4051) 2021-04-22 21:16:00 -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 b501ee71cc
Dependency update. 2021-04-10 20:20:16 -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 f5a9a42616
Selectively update packages (to avoid regression bugs with Doctrine updates). 2021-03-31 16:31:34 -05:00
Buster "Silver Eagle" Neece fec12e04c8
Revert "Minor dependencies update."
This reverts commit f17a20d655.
2021-03-31 16:03:02 -05:00
Buster "Silver Eagle" Neece f17a20d655
Minor dependencies update. 2021-03-31 13:25:09 -05:00
Buster "Silver Eagle" Neece c5352c42be
Update to Flysystem V2 (#3956) 2021-03-31 11:42:24 -05:00
Buster "Silver Eagle" Neece 5f6f1c96ad
Dependency update. 2021-03-26 14:50:06 -05:00
Buster "Silver Eagle" Neece 348f0bfb19
Update dependencies (specifically getid3). 2021-03-08 16:29:42 -06:00
Buster "Silver Eagle" Neece ce8eac5494
Switch to C-extension Maxmind DB reader for major speed improvements. 2021-03-05 02:56:50 -06:00
Buster "Silver Eagle" Neece 447649a719
#3769 -- Improve caching, large record support for listener view/export. 2021-03-02 06:32:58 -06:00
Buster "Silver Eagle" Neece c24f5dfc69
Implement SMTP Mail Delivery and Self-Service Password Reset (#3848) 2021-02-27 20:50:45 -06:00
Buster "Silver Eagle" Neece 9e88281a4a
Update dependencies (including #3828) 2021-02-19 19:16:23 -06:00
Buster "Silver Eagle" Neece e866c766e5
Update dependencies for main rename. 2021-02-10 20:52:15 -06:00
Buster "Silver Eagle" Neece f134d45cf0
Listener tracking improvements
- Add the mount/remote that a listener is connected to, and show it in reports
 - Create a new Google Analytics webhook that will post live listeners to GA using the measurement protocol.
2021-01-27 11:42:54 -06:00
Buster "Silver Eagle" Neece 5285024018
Keep PhpStorm from fighting Composer on indentation. 2021-01-21 13:26:38 -06:00
Buster "Silver Eagle" Neece c55c3bc145
Dependency updates. 2021-01-13 21:18:27 -06:00
Buster "Silver Eagle" Neece bc247a7257
Switch to using Pagerfanta library for pagination. 2020-12-19 19:51:53 -06:00
Buster "Silver Eagle" Neece 44a3ef15e6
Use Intervention image manager for images. 2020-12-18 20:39:47 -06:00
Buster "Silver Eagle" Neece cc067943ac
Remove external Rotate library and rotate backups for all filesystems. 2020-12-18 17:49:00 -06:00
Buster "Silver Eagle" Neece 80bf66a337
Switch to DeviceDetector library. 2020-12-17 22:57:23 -06:00
Buster "Silver Eagle" Neece fc97e39d0a
Update composer deps; handle logging at Supervisor library level. 2020-12-14 12:03:50 -06:00
Buster "Silver Eagle" Neece 05d5a95090
Switch to Symfony Cache for PSR-6/16 implementation. 2020-12-12 17:45:34 -06:00
Buster "Silver Eagle" Neece 4ba9fb0e1c
Add Dropbox support to Storage Locations. 2020-12-08 14:04: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 3572bce799
Code style fixes, add "cleanup-and-test" command for dev. 2020-11-24 19:56:18 -06:00
Buster "Silver Eagle" Neece 428021bc0b
Add quicker mime type check, avoid processing files if not necessary. 2020-11-24 01:55:46 -06:00
Buster "Silver Eagle" Neece 7d0eb09b76
Avoid VCS auth attempt on composer merge plugin. 2020-11-14 18:06:17 -06:00
Vaalyn 4f994edcf3
Update for Composer 2.0 (#3361) 2020-11-01 19:41:51 -06:00
Buster "Silver Eagle" Neece 6df42a73be
Update unit tests to reflect new standalone StationProfile component. 2020-10-16 04:48:26 -05:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece a6ec36b21c
Analytics Overhaul and InfluxDB Removal (#3243)
- Make the Analytics table in the database the primary one for handling statistics for all stations, removing the InfluxDB dependency entirely
 - Expand the Analytics table to also track unique listeners per hour and day
 - Properly clean up the Listeners table according to each installation's history retention settings
 - Implement a cute new animated "waiting for services" startup message that avoids previous wait messages that looked more like errors
2020-10-07 18:50:30 -05:00
Buster "Silver Eagle" Neece 7bac35b2ff
Switch to new Symfony Lock component for our mutex locks. 2020-09-26 12:50:47 -05:00
Buster "Silver Eagle" Neece 0cc3775480
Update to use official release version of Influxdb-PHP 2020-09-18 09:02:58 -05:00
Buster "Silver Eagle" Neece 69e48dd965
Implement improved var dumping on dev instances. 2020-09-16 08:50:00 -05:00
Buster "Silver Eagle" Neece 06c301a03b
Revert to previous phpstan usage (the new one breaks stuff). 2020-08-31 18:27:30 -05:00
Buster "Silver Eagle" Neece 5b2e427209
Remove --no-scripts on Dockerfile (for phpstan detection). 2020-08-31 17:48:10 -05:00
Buster "Silver Eagle" Neece 511eccfc1e
Fixes to PHPStan and minor typo fixes. 2020-08-31 03:28:40 -05:00
Buster "Silver Eagle" Neece b39e8cb417
Update zircote/swagger-api deps. 2020-08-29 20:15:02 -05:00
Buster "Silver Eagle" Neece bb5123c25c
Switch to production branch of SupervisorPHP. 2020-08-25 11:19:48 -05:00
Buster "Silver Eagle" Neece 7340f349dd
Composer dependencies update. 2020-08-24 20:49:37 -05:00
Buster "Silver Eagle" Neece 16ce83be51
Remove unused code. 2020-07-08 19:30:58 -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 70691c6d72
#3018 -- Overwrite changes for Composer on Ansible installs. 2020-07-08 16:48:48 -05:00
Buster "Silver Eagle" Neece 2abb8bf623
Routine code cleanup. 2020-07-08 02:03:50 -05:00
Buster "Silver Eagle" Neece a0bb25782d
Minor composer updates. 2020-07-05 23:29:55 -05:00
Buster "Silver Eagle" Neece 26088a36ba
Move to Guzzle 7.x for PSR-18-compatible client. 2020-07-05 21:36:50 -05:00
Buster "Silver Eagle" Neece 62763250ca
Remove Sentry, simplify error handling.
Developer's note: the Sentry team has been very supportive of open-source and is good people! We simply don't use the library enough on our end to justify its dependencies in our codebase.
2020-07-04 11:08:53 -05:00
Buster "Silver Eagle" Neece 0adda37403
Incorporate new NowPlaying library
- Move much of AzuraCast's merging and client integration into the library itself
 - The library now uses typed properties on a return object for much more reliable hinting
 - Update both this library and SupervisorPHP to use PSR-17 and PSR-18 standardized factories
2020-07-03 15:24:04 -05:00
Buster "Silver Eagle" Neece 90e12fec62
Update supervisorphp lib again to get new exception classes. 2020-07-01 20:03:28 -05:00
Buster "Silver Eagle" Neece b96d8dbaac
Update SupervisorPHP version to 4.x alpha branch. 2020-07-01 19:26:26 -05:00
Buster "Silver Eagle" Neece 5bb463a5fe
More outdated dependency updates. 2020-06-28 22:55:44 -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 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 0dea2de081
Update to Doctrine Migrations 3.x. 2020-06-25 03:47:49 -05:00
Buster "Silver Eagle" Neece 196a96d784
Update composer deps including Mezzio SameSite cookie support. 2020-06-17 20:21:49 -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 1cbb5713a9
Avoid 3 Composer dep installs in CI. 2020-05-29 04:48:19 -05:00
Buster "Silver Eagle" Neece 1a977119fb
Download latest translations and run static build during CI/CD. (#2893) 2020-05-28 20:01:29 -05:00
Buster "Silver Eagle" Neece 282f8527d7
Switch source of SwaggerPHP code. 2020-05-06 19:02:44 -05:00
Buster "Silver Eagle" Neece 4dcbb222d6
Temporarily switch SwaggerPHP branch for strict type API doc generation. 2020-04-26 06:15:15 -05:00
Buster "Silver Eagle" Neece 6fcc8e600f
Partially revert Mutex changes and extend previously used class. 2020-04-06 00:49:20 -05:00
Buster "Silver Eagle" Neece 07ac05f990
Switch from Redis Mutex to a simpler local Lock mechanism. 2020-04-04 00:48:27 -05:00
Buster "Silver Eagle" Neece 81fbf023b0
Add ability to supply a banned listener IP list via the web interface. 2020-03-01 18:03:03 -06:00
Buster "Silver Eagle" Neece a6df2ef111
Use a Redis-backed Mutex for critical functions that can't overlap. 2020-02-12 05:29:33 -06:00
Buster "Silver Eagle" Neece 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -06:00
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
Buster "Silver Eagle" Neece 75c3672e25 #628 -- Switch all IP geolocation to be local via the MaxMind GeoLite DB. 2018-07-03 17:51:05 -05:00
Buster "Silver Eagle" Neece ad312fa94e Switch to fixtures for local dev. 2018-05-04 17:04:30 -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 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 848dc9e7ee #523 -- Smarter handling of timezones, especially for playlists 2018-03-28 01:07:56 -05:00
Buster "Silver Eagle" Neece 8ac6f440be Switch to very specific version of Doctrine DBAL library. 2018-03-21 11:06:55 -05:00
Buster "Silver Eagle" Neece b016c09fea Migration generator fixes and station webhook name addition. 2018-03-20 11:31:55 -05:00
Buster "Silver Eagle" Neece cb69953446 Update composer dependencies. 2018-03-19 15:36:22 -05:00
Buster "Silver Eagle" Neece 8b3cd5d03d Switch to pure PHP-based translations library to remove gettext dependency. 2018-03-18 20:31:43 -05:00
Buster "Silver Eagle" Neece 3cc91c5cd2 Replace in-page debugging with Monolog writing to multiple locations. 2018-02-27 00:28:09 -06:00