Buster "Silver Eagle" Neece
5cbacd5df6
System-Wide Strict Types ( #4405 )
2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece
35ae44edd5
Fixes #4291 -- Make URLs in station profile prefer browser URL.
2021-06-15 11:54:25 -05:00
Buster "Silver Eagle" Neece
3f23efa076
PHP code style fixes.
2021-06-08 01:40:49 -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
f117644649
Apply PHP8-specific improvements.
2021-04-23 00:24:12 -05: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
aed854a17c
Settings overhaul, part 2
...
Make Settings a controlled entity.
2020-12-04 02:41:55 -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
Vaalyn
9a94e6a178
Add PHPCS for code style checks ( #3273 )
2020-10-14 17:19:31 -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
9456786e94
#2709 -- Prevent non-public stations from changing how NowPlaying API returns.
2020-04-22 01:20:45 -05:00
Buster "Silver Eagle" Neece
cab3096782
#2605 -- Clear cache of nowplaying data during updates.
2020-04-01 01:01:32 -05: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
d7819a6993
Migrate Doctrine repositories to composited, DI-friendly classes.
2019-09-29 02:50:24 -05:00
Buster "Silver Eagle" Neece
bd42b64de0
Add spaces to phpdoc blocks and optimize imports.
2019-09-20 11:44:38 -05:00
Buster "Silver Eagle" Neece
a4a146673e
More fixes to allow for new PHP-DI bridge integration.
2019-09-09 23:02:08 -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
2f8ab5544a
Switch back to Request/Response decorators.
2019-08-09 10:00:21 -05:00
Buster Neece
9790307266
Update AzuraCore; switch to PSR-16 SimpleCache interface.
2019-08-07 12:50:48 -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 Neece
0382ef9870
Make API classes only need a base UriInterface, not the router.
2019-07-25 11:21:04 -05:00
Buster Neece
419d524744
Add new relays API endpoint and fix response docs on some other endpoints.
2019-07-10 12:45:54 -05:00
Buster Neece
ec11992af5
Actually fix the NP API and the "Respect Browser URL" setting.
2019-05-01 09:54:05 -05:00
Buster Neece
87b42789e3
Disable the NP cache if "Respect Browser URL" is set
2019-05-01 08:01:02 -05:00
Buster Neece
bbe1690843
General API cleanup and closes #1277 -- Add streamer/DJs API endpoint.
2019-04-07 03:40:55 -05:00
Buster Neece
d60b2fc0fe
Refactor all Doctrine queries to support PHPStorm's DQL highlighting.
2019-03-23 16:43:22 -05:00
Buster "Silver Eagle" Neece
5d1cc60b2d
Shift API namespace to allow for entities to be in the OpenAPI docs.
2018-12-22 11:27:41 -06: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
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
4360ffe6fc
Switch all in-system URLs to use a PSR-7 compliant URI for at-endpoint modification
...
This fixes one significant issue in the AzuraCast system where NowPlaying responses don't respect the "always use HTTPS" or "prefer browser URL" settings.
2018-10-04 18:12:12 -05: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
4c5862f923
#815 -- Fix NP data occasionally going blank, add resiliency to NP API endpoint.
2018-09-28 08:03:03 -05:00
Buster "Silver Eagle" Neece
989bbd39a1
#802 -- Update to OpenAPI 3.0 spec
2018-09-18 09:09:48 -05: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
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