Commit Graph

37 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 ef4bcbc2aa
Generate new forms on each request.
Contrary to the previous commit removing factory calls from per-every-request functionality, the isolated functionality of EntityForm classes and their tendency to modify the form on a per-request basis necessitates that, for consistent testing, they DO use the factoryinterface instead of using a singleton class.
2021-07-06 06:36:09 -05:00
Buster "Silver Eagle" Neece 3f23efa076
PHP code style fixes. 2021-06-08 01:40:49 -05:00
Buster "Silver Eagle" Neece 2b8a9849c0
Fixes #4250 -- Fix "getter" function name on Backup Enabled setting. 2021-06-05 00:57:57 -05:00
Buster "Silver Eagle" Neece 10b665f821
Fixes #4143 -- Sort backups by modified time descending. 2021-05-08 13:24:19 -05:00
Buster "Silver Eagle" Neece f117644649
Apply PHP8-specific improvements. 2021-04-23 00:24:12 -05:00
Buster "Silver Eagle" Neece 39614a5c2f
Fixes #3990 -- Fix backup download function. 2021-04-08 14:33:59 -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 fd09d65d16
Fixes #3964 -- Fix exception with listing backups. 2021-04-01 23:21:44 -05:00
Buster "Silver Eagle" Neece c5352c42be
Update to Flysystem V2 (#3956) 2021-03-31 11:42:24 -05:00
Buster "Silver Eagle" Neece 4ca8ce0bc6
Split Utilities apart into individual categories. 2020-12-10 20:43:58 -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 2eac4d3cb4
Make sync tasks a long-running logged process like backups. 2020-12-05 13:34:13 -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 a0528ce71c
Refactor sync task class names. 2020-11-30 03:55:30 -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 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 41f7afa660
Show more recent backups first. 2020-09-21 09:48:48 -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 1229f2b2a8
Fix page referencing LogViewerTrait. 2020-05-06 19:05:28 -05:00
Buster "Silver Eagle" Neece 710c64e041
Run backups in background and show rolling log; new backup timecode check. 2020-03-08 17:49:48 -05:00
Buster "Silver Eagle" Neece 80e5f4efac
Speed up file download streams by using X-Accel-Redirect when possible. 2020-02-21 12:48:43 -06:00
Buster "Silver Eagle" Neece 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -06:00
Buster "Silver Eagle" Neece 8e08b7b798
Remove now-redundant PHPDoc blocks that don't add context. 2019-12-07 17:42:23 -06:00
Buster "Silver Eagle" Neece 1a6d1d620d
Add PHP 7.4 type hinting everywhere except Entities. 2019-12-07 06:19:49 -06:00
Buster "Silver Eagle" Neece 440687e93b
Settings forms code refactor, fixes #2171. 2019-11-25 21:25:29 -06:00
Buster "Silver Eagle" Neece e0ef021875
Fix bugs identified by static analysis. 2019-09-29 16:57:48 -05:00
Buster "Silver Eagle" Neece d7819a6993
Migrate Doctrine repositories to composited, DI-friendly classes. 2019-09-29 02:50:24 -05:00
Buster "Silver Eagle" Neece 5a8709f82c
Switch to PSR-7-based Redis-backed session persistence. 2019-09-23 21:22:08 -05:00
Buster "Silver Eagle" Neece e3104a546a
Session handling overhaul
- Switch to "storageless sessions" middleware
- Update azuracore/azuraforms to apply necessary changes
- Switch form CSRF handling to use Session's CSRF handler
- Avoid using "magic" string in flash messages, switch to using constants.
2019-09-22 23:51:44 -05:00
Buster "Silver Eagle" Neece 630d0cb099
Add "Exception" to all exception names. 2019-09-10 11:40:31 -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 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 "Silver Eagle" Neece 16fc2c54bc
Implement zero-downtime backups + nightly backups (#1574)
* Create new backup and restore commands allowing live backups.
* Switch migrate script to use new backup method.
* Avoid loading fixtures, ensure directories exist when restarting stations.
* Include album art in media backup.
* First portion of automated backup management code.
* Further backup page work; add download/delete functionality.
* Implement automatic backups and "manual run" page.
* Switch automatic backup filename to match text.
* Add new locales.
* Add restore instructions and ability to view latest backup log.
2019-05-23 10:29:22 -05:00