Commit Graph

39 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece 6e98e0e207
Remove dependency on util/ folder for CLI commands. 2020-01-22 04:47:15 -06:00
Buster "Silver Eagle" Neece cdccaecbf5
Avoid loading Doctrine during CLI (allowing cache clear). 2019-09-29 16:26:46 -05:00
Buster Neece 0953182033
Localization Overhaul
- Replace several "add %s", "remove %s", "manage %s" strings with dedicated strings for each action
- Make API responses locale-aware and translated
- Make CLI locale-aware and translated
- Add initial support for Turkish language
2019-08-21 17:34:05 -05:00
Buster Neece 2f8ab5544a
Switch back to Request/Response decorators. 2019-08-09 10:00:21 -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 56e6b4c232
Unify CLI commands 2019-07-10 00:45:10 -05:00
Buster "Silver Eagle" Neece 2dd69c241b #1075 -- Ensure UTF-8 locale is set for CLI scripts as well. 2018-12-27 20:17:08 -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 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 1dd322b4fa Refactor the CLI commands. 2018-05-06 20:57:06 -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 692a9a1007 Minor fixes to various bootstrap functions. 2018-03-23 14:56:12 -05:00
Buster "Silver Eagle" Neece eb76f0fa27 Move InfluxDB setup to PHP console command. 2018-03-18 23:20:29 -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 d8bb535f86 #444 -- Use CLI for trad installs, URL for Docker installs for LS API calls 2018-03-11 19:32:27 -05: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 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 503daea293 Also revert CLI command, since Doctrine was reverted. 2017-08-18 07:26:22 -05:00
Buster Silver 19b6b9bb40 #212 -- Temporarily switch to updated fork for Doctrine Migrations. 2017-08-18 03:49:00 -05:00
Buster Silver c164510f60 Switch DB charset and collation to UTF8MB4. 2017-08-03 05:08:07 -05:00
Buster Silver 0e12a531c7 #192 -- Add account recovery script to CLI library. 2017-07-20 20:09:02 -05:00
Buster Silver 6b7b1bba9a #186 -- Add "sent to autodj" flag to media to avoid double-cues. 2017-07-19 01:52:49 -05:00
Buster "Silver Eagle" Neece f2e0104311 Service and Configuration overhaul:
- Move all app-specific configuration to one ansible-editable INI file
 - Migrate installations using previous config to new style using CLI command
 - Install Redis for all AzuraCast installations (matching Docker)
 - Move caching and session management into Redis (avoiding inode issues)
2017-07-13 16:44:09 -05:00
Buster Silver 83b8d28793 More work to fix uptime timing issues with Docker containers. 2017-06-29 23:34:24 -05:00
Buster Silver 6c84a8bb2f Full API overhaul, addition of API return models, swagger-php annotations and auto-docs for API changes. 2017-06-16 19:19:42 -05:00
Buster Silver 7481bd7d31 Move control over the next song from LiquidSoap into AzuraCast directly, for better logging and precise fade control. 2017-05-11 23:54:40 -05:00
Buster Silver a87d4da0eb Fix StationMedia song hash ties when ID3 data is updated, and add a manual CLI command to manually fix any out-of-sync metadata. 2017-04-14 16:52:30 -05:00
Buster Silver 6a31389bb6 Fix migration and codeception issues. 2017-04-08 03:34:38 -05:00
Buster Silver 17aadf0337 Clean up routes, split DI services into a standalone file, fix various minor errors. 2017-04-05 20:09:27 -05:00
Buster Silver 11ee704ea6 Update AzuraCore and license, and fix issue with CLI. 2016-12-16 14:57:53 -06:00
Buster Silver 921964ec7f Pull out the common core framework code from the application (now in the AzuraCore library) and update dependencies across the application accordingly. 2016-12-16 14:49:07 -06: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 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
Buster Silver 85461060c1 (IMPORTANT: If coming from an older version of AzuraCast, update to this version FIRST to ensure your database matches the pre-migration setup. Future updates will be versioned with Doctrine's migrations system.) Implement Doctrine migrations as a replacement for the not-recommended-in-production Doctrine ORM schema manager update tool. 2016-09-23 18:40:53 -05:00
Buster Silver c139cbc737 Closes #39 -- Add support for LiquidSoap's "harbor" function as a radio source, but don't use it as the primary, as there are significant software compatibility issues with LiquidSoap's implementation of the IceCast protocol that prevent some pieces of software from working with it at all. 2016-09-22 00:55:31 -05:00
Buster Silver 2e4c178437 Combine cli.php and doctrine.php, use Symfony's CLI helper (already packaged with Doctrine) to do AzuraCast tasks, removing the need for duplication. 2016-09-17 19:00:46 -05:00
Buster Silver e503e20f76 Install jQuery Bootgrid and Font Awesome to static folder, fix Grunt dependencies and update installer to move NPM install outside of Vagrant shared folder (to avoid Windows folder length issues). 2016-05-04 18:48:22 -05:00
Buster Silver 9c0c58f473 Proper argument handling for CLI. 2015-01-17 05:29:11 -06:00
Buster Silver 4180ac3f67 Switch to Phalcon CLI. 2015-01-16 03:04:07 -06:00