Commit Graph

24 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
Vaalyn 9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -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 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 bd42b64de0
Add spaces to phpdoc blocks and optimize imports. 2019-09-20 11:44:38 -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
Vaalyn 3dcc087487 Visual improvements 1 (#1516) 2019-05-08 17:23:26 -05:00
Buster "Silver Eagle" Neece 750b393eb3 Broaden return type hint on all controllers for IDE compliance. 2018-11-17 09:30:28 -06:00
Buster "Silver Eagle" Neece da36da4982 Put all the providers in a Provider namespace. You know, like Laravel! 2018-08-27 02:14:05 -05:00
Buster "Silver Eagle" Neece a1984c49b7 #736 -- Redirect to relative path instead of full URI. 2018-08-21 20:48:20 -05:00
Buster "Silver Eagle" Neece b70071fc43 Fix settings form self-reference 2018-08-21 03:04:54 -05:00
Buster "Silver Eagle" Neece 83d2990ad3 Restructure Url -> Http/Router, implement better pagination for requests 2018-08-20 19:48:03 -05: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 dcd3ed0859 Move "src/" to "app/src/" and reintroduce modularization for easy plugin-style extension. 2017-04-08 03:05:33 -05:00
Buster Silver 4467b16e50 Second run of PSR-1/2 formatting and include updated AzuraCore code. 2017-01-23 18:35:16 -06:00
Buster Silver 5164d5184b Revert "Optimize imports and enforce PSR-1 and PSR-2 formatting standards."
This reverts commit 7cdba9a90b.
2017-01-23 18:17:50 -06:00
Buster Silver 7cdba9a90b Optimize imports and enforce PSR-1 and PSR-2 formatting standards. 2017-01-22 14:58:40 -06:00
Buster Silver d1334b1f82 Break out from old Zend-style modular framework to new PSR-friendly style: move configs into single "config" directory, controllers into src/Controller, templates into single "templates" directory. 2017-01-17 03:48:14 -06:00