Commit Graph

280 Commits

Author SHA1 Message Date
Buster Neece f9a888dfb5
Remove HighAvailability and DB-level cache. 2024-05-11 07:39:26 -05:00
Buster Neece 2e169b9499
Fixes #6963 -- Escape cache keys for Now Playing so special characters don't cause problems. 2024-03-02 15:29:33 -06:00
Buster Neece 675d53f85b
Add optional "path" argument to media reprocess CLI command. 2024-01-17 12:09:31 -06:00
Buster Neece ad30aaecfd
More level 9 type fixes. 2024-01-14 16:01:19 -06:00
Buster Neece 89b1d913a1
Type fixes relating to DI phpstan stubs. 2024-01-14 13:51:04 -06:00
Buster Neece bbf8d56b46
More type fixes! 2024-01-14 13:20:01 -06:00
Buster Neece 2f080e4560
Make update checks use a custom cron schedule and lengthen the time between update checks. 2024-01-03 23:58:55 -06:00
Buster Neece 9fe90b1d3c
Merge commit '8ea5b1b85e9477cd6f1bbff475839b4e88986be5' 2023-12-04 00:48:40 -06:00
Buster Neece 9d5fc86f66
#6761 -- Update MariaDB command names. 2023-11-28 15:05:45 -06:00
Buster Neece 4cc86806b7
Downgrade station restart errors in CLI to display as warnings instead to avoid alarm fatigue with normal exceptions. 2023-11-03 08:56:41 -05:00
Buster Neece e1203ecd6f
Make some env vars immutable. 2023-11-02 08:22:32 -05:00
Buster Neece 6f17fd68d3
Switch gettext library back to phpgettext (licensing issue with motranslator). 2023-10-18 03:52:29 -05:00
Buster Neece 9f9bd0a24b
Write openapi.yml file to parent static dir. 2023-10-10 21:06:58 -05:00
Buster Neece 7706457322
Add a "azuracast:setup:rollback" CLI command to roll back to the DB migration associated with a given stable release. 2023-09-03 12:10:40 -05:00
Buster Neece ccf3a30295
Automatically generate frontend locales as part of backend locale command. 2023-08-17 12:37:56 -05:00
Buster Neece 2b87ac23a2
Add "not active instance" mitigation to php-worker. 2023-08-05 12:22:12 -05:00
Buster Neece 8504423019
Protect HA active_server designation from temp reaping. 2023-08-05 03:48:37 -05:00
Buster Neece 08387e4ecf
Individually log worker, sync and NowPlaying processes. 2023-08-04 09:51:11 -05:00
Buster Neece 43677d924c
Initial multi-server setup. 2023-07-30 00:53:09 -05:00
Buster Neece 83364c0bd8
Implement per-language translation dynamic fetching on the frontend. 2023-07-22 19:22:38 -05:00
Vaalyn c4acf79400
Make max. concurrent NP processes configurable (#6427) 2023-07-13 17:28:55 -05:00
Buster Neece 0669d003c9
Bulk rename vars to camelCase (except controllers). 2023-06-08 06:32:32 -05:00
Buster Neece a7dd57429e
Implement SettingsAwareTrait. 2023-06-08 03:24:28 -05:00
Buster Neece 7d1b987d32
Alphabetize imports. 2023-06-08 02:32:25 -05:00
Buster Neece 9122250823
Final fix for removing "App\Entity" namespace. 2023-06-07 12:54:54 -05:00
Buster Neece 13d19511a9
Implement stricter phpcs standards to facilitate entity migration. 2023-06-07 10:36:33 -05:00
Buster Neece be877d8a30
Removing "App\Entity" imports, part 1 2023-06-07 07:18:05 -05:00
Buster Neece cbc6a1f4fc
Add EnvironmentAwareTrait. 2023-06-07 01:25:57 -05:00
Buster Neece 18ad4ad6ef
Implement EntityManagerAwareTrait. 2023-06-06 13:31:52 -05:00
Buster Neece 108872c6cb
Implement LoggerAwareTrait and ContainerAwareTrait. 2023-06-06 10:39:21 -05:00
Buster Neece 2be71a2c04
Minor code style fixes. 2023-06-06 05:43:06 -05:00
Buster Neece 7c38e596df
Fix function permissions in Now Playing command. 2023-05-31 23:46:32 -05:00
Buster Neece 8cfc889ea5
Remove DB-level NowPlaying cache on Stations.
Rationale: Doctrine is retiring serialized PHP fields; we use them in about three places in the app, two of which are Now Playing data.
2023-05-31 01:54:00 -05:00
Buster Neece a775e8e878
Update Station backend and frontend types to be enums. 2023-05-15 16:30:52 -05:00
Buster Neece 59adca779e
Refactor StorageLocation adapters/filesystems so they're DI injectable. 2023-04-10 15:51:30 -05:00
Buster Neece a8728d5502
Fine-tuning to the updated NP process. 2023-04-07 22:53:24 -05:00
Buster Neece 25efbeeb29
Tweak previous NP process to be more equitable across stations. 2023-04-07 15:31:38 -05:00
Buster Neece 846ead1675
Revert "Move Now Playing tasks into separate per-station processes."
This reverts commit fe2b44df12.
2023-04-07 14:45:12 -05:00
Buster Neece 884aa1245a
Prevent Queue worker from continuing after multiple errors. 2023-02-20 07:25:42 -06:00
Buster Neece 94efd77a7d
Message Queue Overhaul (+Redis, -Beanstalk)
- Switch back to Redis for main message queue duties
 - Implement new RedisFactory for creating Redis client instances (new instance is needed for the MQ because it changes the serializer on the Redis connection)
 - Switch Queue Names to be an enum.
2023-02-19 21:57:29 -06:00
Buster Neece 6298b1c3c7
Update config path in migrate config command. 2023-02-05 20:27:27 -06:00
Buster Neece 133ab260dc
Auto-scale NP timeout if not set in environment vars. 2023-01-22 19:16:20 -06:00
Buster Neece 2c0456a5a5
#5623 -- Make Now Playing delay customizable. 2023-01-17 02:34:00 -06:00
Buster Neece 3d386e529e
Re-merge setup:initialize and regular setup. 2023-01-15 16:30:22 -06:00
Buster Neece fe2b44df12
Move Now Playing tasks into separate per-station processes. 2023-01-11 21:13:51 -06:00
Buster Neece e83dca7822
Ensure metadata table is up-to-date. 2023-01-11 12:29:51 -06:00
Buster Neece e0cc6e6f25
Remove process idle timeout for long-running CLI processes. 2022-12-14 15:09:18 -06:00
Buster Neece c39c366f17
Revert "Decommission Redis."
This reverts commit 0ba1556a95.
2022-12-06 08:45:43 -06:00
Buster Neece 422b926fee
Re-internalize CallableEventDispatcher. 2022-11-13 16:55:20 -06:00
Buster Neece 0ba1556a95
Decommission Redis. 2022-11-10 21:01:32 -06:00