Commit Graph

27 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece 1c814fc4c2
Code fixes and deprecated 8.1 fixes. 2021-12-10 21:48:19 -06:00
Buster "Silver Eagle" Neece 5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece a320c1a6a0
More code cleanup. 2021-06-09 22:22:13 -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 acab8806b3
Move to PHP 8.0 (#4051) 2021-04-22 21:16:00 -05:00
Buster "Silver Eagle" Neece 8c67b186bf
Avoid pulling a local file for every streamed response for remote FSes. 2021-04-07 23:23:02 -05:00
Buster "Silver Eagle" Neece 286786978c
Split Flysystem extensions into their own standalone library. 2021-04-05 18:31:29 -05:00
Vaalyn e3d105f524
Improve listener csv export with streamed response (#3855) 2021-03-03 03:00:04 -06:00
Buster "Silver Eagle" Neece 0acefe8321
Improve native Unicode handling
- Loosen up escaping methods when uploading files via the media manager, so Unicode is preserved
 - No longer escape Unicode when outputting via JSON for API responses
2020-12-29 15:27:39 -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 63e0040e8f
Bump static analysis level and make strict type fixes. 2020-08-31 17:32:30 -05:00
Buster "Silver Eagle" Neece 2abb8bf623
Routine code cleanup. 2020-07-08 02:03:50 -05:00
Buster "Silver Eagle" Neece 4bcfad3eb5
Updates preparing for Doctrine 3.0
- Switch to EntityManagerInterface for EM uses
 - Wrap EntityManager in close-resilient wrapper
 - Close/clear/reopen EM with every request
 - Rework tests to be em->clear() resilient.
2020-06-26 15:22:53 -05:00
Buster "Silver Eagle" Neece 2de1c71900
Closes #2443 -- Properly set cache and content-type on album art again. 2020-02-24 11:44:09 -06:00
Buster "Silver Eagle" Neece e91c9c173b
Fix minor type error in new Response code. 2020-02-21 13:00:55 -06: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 33d2ed64ae
Implement Streamer Schedules, Schedule Enforcement and new Scheduled Items Panel on Profile (#2422)
* Commit new Schedule entity changes and new API endpoints.

* Fix possible cause of API POST errors.

* Fix syntax with JSON return slashes.

* Add "Schedule View" and "Enforce Schedule" settings to Streamers.

* Add "Scheduled" panel to Profile.
2020-02-17 22:32:14 -06:00
Buster "Silver Eagle" Neece 4d4d75ad4d
Reunify AzuraCore and AzuraCast repositories. 2020-02-05 20:35:13 -06: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 854cb93261
Architecture change: Integrate common AzuraCore code (#944)
* Update composer.json/lock
* Update CLI console commands
* All AzuraCore refactors except folder moves.
* MVP for all core functionality.
* Working unit/functional tests
* Remove DB dump from util/, replace with direct migration.
* Update AzuraCore, define testing mode earlier.
2018-11-12 10:59:15 -06:00
Buster "Silver Eagle" Neece 50b9935f2b #826 -- Refine CORS headers for OPTIONS Preflight 2018-09-30 19:47:27 -05:00
Buster "Silver Eagle" Neece a9464bdc80 Move PHP directives around, since unit tests init DI containers repeatedly 2018-09-30 11:45:26 -05:00
Buster "Silver Eagle" Neece 30801ddd20 Prevent PHP from stopping caching; add new cache control response methods. 2018-09-30 11:34:45 -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