Commit Graph

195 Commits

Author SHA1 Message Date
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 72cc75b8c6
Improve verbosity of sync task logging. 2021-02-21 22:19:02 -06:00
Buster "Silver Eagle" Neece 350d3ce97c
Fixes #3813 -- Remove file from filesystem in `DELETE` call to Files API. 2021-02-13 17:42:36 -06:00
Buster "Silver Eagle" Neece 9508de5b55
Slightly refactor analytics function calls. 2021-02-08 22:50:25 -06:00
Buster "Silver Eagle" Neece ab69db64c0
Harden the processing of analytics to be more resilient to errors. 2021-02-08 18:38:00 -06:00
Buster "Silver Eagle" Neece 0c390bd13d
#3733 -- Simplify webhook dispatch and add rate-limiting. 2021-02-04 15:47:08 -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 9f7cd00653
Add "reprocess" batch media command. 2021-01-01 14:44:37 -06:00
Buster "Silver Eagle" Neece e4c887fd3a
Improve logging on sync tasks. 2020-12-22 19:52:50 -06:00
Buster "Silver Eagle" Neece c93d888459
Track Unprocessable Media in a separate table to avoid reprocessing it. 2020-12-22 01:10:03 -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 4aa1902dae
#3525 -- Rework settings to be fetched on-demand to avoid collisions. 2020-12-10 16:46:03 -06:00
Buster "Silver Eagle" Neece 5e62a1bcb4
Move back to MariaDB-based message queue to resolve major issues. 2020-12-09 20:14:38 -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 9e011647c3
More "settings" to "environment" renames. 2020-12-04 06:33:52 -06:00
Buster "Silver Eagle" Neece aed854a17c
Settings overhaul, part 2
Make Settings a controlled entity.
2020-12-04 02:41:55 -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
Buster "Silver Eagle" Neece 731f16a494
Update raw DQL queries across the system to improve readability. 2020-12-01 18:36:09 -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 a0528ce71c
Refactor sync task class names. 2020-11-30 03:55:30 -06:00
Buster "Silver Eagle" Neece 9cc6199c5f
More Filesystem fixes. 2020-11-26 19:26:46 -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 de7247f7cd
Sync improvements (and fixing debug not interrupting the normal lock). 2020-11-15 16:04:56 -06:00
Buster "Silver Eagle" Neece 8ee4d3864b
Improve lock management and always clear locks when manually running sync. 2020-11-14 20:47:38 -06:00
Vaalyn 0c0ff07ab1
Fix file not found error in 1-hour sync StorageCleanupTask (#3419) 2020-11-14 11:50:32 -06:00
Buster "Silver Eagle" Neece d2e57bbbd8
Remove hard-coded sync task memory limit; expand customizability for timeouts. 2020-11-13 23:21:40 -06:00
Buster "Silver Eagle" Neece 582b8faef9
Warn about sync tasks not having been run recently.
Also includes a minor rewrite of the EventDispatcher, and a restructure of notification checks into standalone classes.
2020-11-12 15:30:02 -06:00
Buster "Silver Eagle" Neece d9b682c4d4
Fixes #3395 -- Fix old DB relationship in playlist folder sync. 2020-11-10 10:12:35 -06:00
Buster "Silver Eagle" Neece 6de636f475
Unified Filesystem Overhaul (#3341)
This migration adds "Storage Locations", managed via a new System Administration panel, that can hold Station Media data, live broadcast recordings, and backups. These storage locations can be local (as they are by default) or remote via any S3-compatible service.
2020-11-09 21:06:48 -06:00
Vaalyn c955f4ace7
Fix nowplaying webhooks not triggering (#3315) 2020-10-22 18:30:39 -05:00
Buster "Silver Eagle" Neece fff8124409
Create new "API Generator" classes and use them systemwide. 2020-10-19 05:41:15 -05:00
Buster "Silver Eagle" Neece 2873230320
#3268 -- Sum station listeners in analytics for "all stations". 2020-10-17 06:42:55 -05:00
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 9f8667a3c6
Move more sync task functionality to repositories. 2020-10-10 22:09:49 -05:00
Buster "Silver Eagle" Neece 5eafa64326
Avoid resetting playback queues entirely when adding/removing a track. 2020-10-08 03:52:09 -05:00
Buster "Silver Eagle" Neece f1bd3ae273
Fixes #3245 -- Properly handle station having no current "now playing". 2020-10-07 21:07:10 -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 493c69e62c
Refactor Song into SongInterface and HasSongFields trait. 2020-10-04 22:32:11 -05:00
Buster "Silver Eagle" Neece c81ff62b5c
Remove the `Song` entity and restructure dependent tables accordingly (#3231)
* Song database and entity overhaul, part 1.
* Remove Songs table from a number of qeries and reports.
* Fix references to Songs table; rewrite StationMedia processing.
* Remove song reference in queue page.
* Allow custom log level via environment variable.
2020-10-04 17:35:41 -05:00
Buster "Silver Eagle" Neece bfc937b5f6
#3221 -- Add checks to filesystem deletes. 2020-09-30 10:21:58 -05:00
Buster "Silver Eagle" Neece 7e4d572060
#3220 -- Bump log level for production instances. 2020-09-29 22:57:49 -05:00
Buster "Silver Eagle" Neece aa5d2b3da1
#3221 -- Fix errors reported with recent additions. 2020-09-29 22:49:16 -05:00
Buster "Silver Eagle" Neece ac0dc6e41c
#3203 -- Remove related file paths in the media sync task as well. 2020-09-29 11:59:05 -05:00
Buster "Silver Eagle" Neece 949ac7940a
#3203 -- Clean up album art and waveforms (with an added sync check). 2020-09-29 11:45:50 -05:00
Buster "Silver Eagle" Neece a2c0637386
Overhaul MessageQueue and switch back to Redis. 2020-09-26 18:05:33 -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 a69c802a78
Make Sync (cron) tasks an event that plugins can attach to. 2020-09-20 07:07:09 -05:00
Buster "Silver Eagle" Neece cef6828246
Update backups to properly support 12:00am backups and disabling datetime. 2020-09-08 04:07:51 -05:00
Buster "Silver Eagle" Neece 63e0040e8f
Bump static analysis level and make strict type fixes. 2020-08-31 17:32:30 -05:00