Buster Neece
f0666ab175
Revert Meilisearch rollout for now.
2023-01-30 07:21:25 -06:00
Buster Neece
dc9b189a3f
Revert readonly classes for phpcs.
2023-01-29 08:42:14 -06:00
Buster Neece
2586277e9f
Switch Requests to use Meilisearch.
2023-01-29 08:38:59 -06:00
Buster Neece
9d915aba3c
Remove string-to-Uri-to-string in many places; update to take advantage of Slim Router perf update.
2022-11-06 14:42:50 -06:00
Buster Neece
cd2df3d103
Optimize pagination, use new generator-based Collection class.
2022-11-03 14:22:08 -05:00
Buster "Silver Eagle" Neece
2f19f94005
Expand StationFeatures.
2022-06-30 01:21:27 -05:00
Buster "Silver Eagle" Neece
ad3d2b2c69
Adapter simplification:
...
- Remove the stub "None"/"Remote" adapters; return null for disabled adapters
- Add capability checks to adapter enums
- Remove the Remote proxy
2022-06-21 20:48:32 -05:00
Buster "Silver Eagle" Neece
693e4378f0
Switch to strings for request params.
2022-05-24 00:50:43 -05:00
Buster "Silver Eagle" Neece
4b0139e3cb
Modify ControllerInvoker and all controllers; other code cleanup.
2022-05-22 02:39:00 -05:00
Buster "Silver Eagle" Neece
2ffbcba510
Merge commit 'db4a662f8f7b43ddf2a1fc1d60e433ab999d2982'
2022-05-21 19:27:28 -05:00
Buster "Silver Eagle" Neece
cac0a0da07
Follow schedule rules for requestable playlists.
2022-02-26 22:35:53 -06:00
Buster "Silver Eagle" Neece
fcdc50c0a1
Respect "Prefer Browser URL" on request list API endpoint.
2022-01-19 21:29:16 -06:00
Buster "Silver Eagle" Neece
37c3df2494
Use refs for common API responses.
2022-01-10 22:31:24 -06:00
Buster "Silver Eagle" Neece
38cd3945e2
Use constants in API definitions; update Swagger UI.
2021-12-29 15:19:34 -06:00
Buster "Silver Eagle" Neece
cc6753ae81
Move main controller API annotations into Attributes.
2021-12-28 23:36:30 -06:00
Buster "Silver Eagle" Neece
8042fa9025
Part 1 of OpenAPI transition to Attributes.
2021-12-12 05:01:53 -06:00
Buster "Silver Eagle" Neece
237d48fd12
Fixes #4484 -- Fix sorting on public requests pages.
2021-11-19 15:01:50 -06:00
Buster "Silver Eagle" Neece
a35e8bf27d
Standardize the Status responses for APIs.
2021-09-05 17:41:10 -05:00
Buster "Silver Eagle" Neece
f6c1fbf79c
Update OpenAPI spec, use fixed example timestamp.
2021-09-04 18:27:46 -05:00
Buster "Silver Eagle" Neece
5cbacd5df6
System-Wide Strict Types ( #4405 )
2021-07-19 00:53:45 -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
acab8806b3
Move to PHP 8.0 ( #4051 )
2021-04-22 21:16:00 -05:00
Buster "Silver Eagle" Neece
e0270f9c62
Fixes #3974 -- Show proper album art on requests API.
2021-04-06 06:32:36 -05:00
Buster "Silver Eagle" Neece
4ccddeb5f3
Refactor adapters; move some static functions to be non-static and implement a better change tracking system.
2021-01-19 11:52:45 -06:00
Buster "Silver Eagle" Neece
bc247a7257
Switch to using Pagerfanta library for pagination.
2020-12-19 19:51:53 -06:00
Buster "Silver Eagle" Neece
4ca8ce0bc6
Split Utilities apart into individual categories.
2020-12-10 20:43:58 -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
Buster "Silver Eagle" Neece
fff8124409
Create new "API Generator" classes and use them systemwide.
2020-10-19 05:41:15 -05:00
Vaalyn
9a94e6a178
Add PHPCS for code style checks ( #3273 )
2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece
c81ff62b5c
Remove the `Song` entity and restructure dependent tables accordingly ( #3231 )
...
* Song database and entity overhaul, part 1.
* Remove Songs table from a number of qeries and reports.
* Fix references to Songs table; rewrite StationMedia processing.
* Remove song reference in queue page.
* Allow custom log level via environment variable.
2020-10-04 17:35:41 -05:00
Buster "Silver Eagle" Neece
391702bfe9
Closes #3054 -- Fix OpenAPI spec problems.
2020-07-31 20:09:18 -05:00
Buster "Silver Eagle" Neece
4c825f7c52
Migrate to new paginator classes.
2020-07-09 15:46:08 -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
6c684eb032
Refactor request submission, enforce minimum 15-second delay.
2020-04-06 18:32:50 -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
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
40011613c7
Replace route references to "station" with "station_id".
2019-09-09 23:10:30 -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 Neece
0382ef9870
Make API classes only need a base UriInterface, not the router.
2019-07-25 11:21:04 -05:00
Buster Neece
4e8670683f
Fix various controllers that still use "playlist_items".
2019-04-24 23:53:06 -05:00