Commit Graph

32 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece ef7989fcfd
Implement PHP Docker Installer (#4377) 2021-07-08 15:03:54 -05:00
Buster "Silver Eagle" Neece b1c6de0bc4
Remove DI compilation until upstream PHP-DI issues are resolved. 2021-07-06 06:36:52 -05:00
Buster "Silver Eagle" Neece 3f23efa076
PHP code style fixes. 2021-06-08 01:40:49 -05:00
Buster "Silver Eagle" Neece 0b510a63f4
Prefer env vars. 2021-04-25 06:13:46 -05:00
Buster "Silver Eagle" Neece e893a93981
Routine PHP 8 code inspection sweep
- Removing explicit calls to default values
 - Add strict parameter arguments
 - Use PHP8 built-in functions when possible
2021-04-23 17:12:47 -05:00
Buster "Silver Eagle" Neece f09351b403
Fix type safety issues and don't log uneventful shutdowns. 2021-03-11 01:21:05 -06:00
Buster "Silver Eagle" Neece 74df4fccf5
Restructure AppFactory creation process. 2021-03-10 23:58:39 -06:00
Buster "Silver Eagle" Neece 2f55149b4c
Remove unnecessary function in AppFactory. 2021-03-04 04:51:32 -06:00
Buster "Silver Eagle" Neece 72cc75b8c6
Improve verbosity of sync task logging. 2021-02-21 22:19:02 -06:00
Buster "Silver Eagle" Neece d955d63151
Remove unneeded Logger utility class. 2020-12-19 20:17:49 -06:00
Buster "Silver Eagle" Neece cd3ce3dad0
Implement minor shortcut for PhpStorm DI resolution. 2020-12-07 05:29:35 -06:00
Buster "Silver Eagle" Neece bf1e4f2591
Simplify Environment class and dependencies. 2020-12-06 01:55:25 -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 b3efbe8494
Make Environment in charge of more env vars and simplify initialization. 2020-12-05 09:18:44 -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
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 5df58adce9
Remove duplicate autoload (already handled by the composer merge function). 2020-09-28 17:39:32 -05:00
Buster "Silver Eagle" Neece 63e0040e8f
Bump static analysis level and make strict type fixes. 2020-08-31 17:32:30 -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 2abb8bf623
Routine code cleanup. 2020-07-08 02:03:50 -05:00
Buster "Silver Eagle" Neece 0069df6d2d
Disable certain dangerous "advanced" features by default in new installs.
Some functionality of AzuraCast has always been intended for "Power Users", but seemingly no amount of warnings or labels will prevent users from discovering these features, misusing them, and either burdening our support channels or declaring AzuraCast to be "broken". With this update, new installations have some of these most dangerous settings (manual port assignments, manual directory selection, custom LS/Icecast config, etc.) disabled. They can easily be re-enabled by editing "azuracast.env" and turning them on, and will remain available for all previous users by default.
2020-05-27 02:36:30 -05:00
Buster "Silver Eagle" Neece 027590dc54
Cleanup and optimization relating to the recent AzuraCore merge. 2020-02-12 20:29:42 -06:00
Buster "Silver Eagle" Neece 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -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 bd42b64de0
Add spaces to phpdoc blocks and optimize imports. 2019-09-20 11:44:38 -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 "Silver Eagle" Neece 65d75d800a
Fix exception renames that the refactorer missed. 2019-09-10 18:42:47 -05:00
Buster "Silver Eagle" Neece db8a5f4581
Update to using PHP-DI bridge and its function invocation method. 2019-09-09 21:30:05 -05:00
Buster "Silver Eagle" Neece 513d04f7d2
Code cleanup! 2019-09-04 13:00:51 -05:00
Buster Neece 2f8ab5544a
Switch back to Request/Response decorators. 2019-08-09 10:00:21 -05:00