4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-13 20:56:36 +00:00
Commit Graph

83 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece
c24f5dfc69
Implement SMTP Mail Delivery and Self-Service Password Reset (#3848) 2021-02-27 20:50:45 -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
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
5727f12b6f
Settings refactor part 1: Rename App\Settings to App\Environment.
Previously AzuraCast had two very similar `$settings` variables, one that was from environment and the other from the database. This refactor distinguishes the two much more clearly.
2020-12-02 22:18:06 -06:00
Buster "Silver Eagle" Neece
3572bce799
Code style fixes, add "cleanup-and-test" command for dev. 2020-11-24 19:56:18 -06:00
Buster "Silver Eagle" Neece
ca6ad31713
Provide richer exception details in JSON API responses. 2020-11-24 19:25:18 -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
c8bb6df218
Minor code style fix. 2020-11-08 22:37:02 -06:00
Buster "Silver Eagle" Neece
1928224263
Fix long-standing bug with errors returning JSON for Axios requests. 2020-11-08 22:07:29 -06:00
Buster "Silver Eagle" Neece
7ac7cfd8de
Fixes #3287 -- Log exceptions thrown in the MessageQueue handling process. 2020-10-22 07:29:40 -05:00
Vaalyn
9a94e6a178
Add PHPCS for code style checks (#3273) 2020-10-14 17:19:31 -05:00
Buster "Silver Eagle" Neece
a42fd321a5
Code quality improvements. 2020-10-05 01:27:12 -05:00
Buster "Silver Eagle" Neece
28fd48c218
Fixes #3222 -- Handle multiple IPs split by commas. 2020-10-01 22:21:05 -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
0889916194
Better error handling through wrapping exceptions with richer requests. 2020-08-10 02:46:09 -05:00
Buster "Silver Eagle" Neece
6f66ff072b
Make Auth and Customization PSR-7 lifecycle friendly. 2020-07-09 23:15:27 -05:00
Buster "Silver Eagle" Neece
2abb8bf623
Routine code cleanup. 2020-07-08 02:03:50 -05:00
Buster "Silver Eagle" Neece
62763250ca
Remove Sentry, simplify error handling.
Developer's note: the Sentry team has been very supportive of open-source and is good people! We simply don't use the library enough on our end to justify its dependencies in our codebase.
2020-07-04 11:08:53 -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
d5322de34c
Fix type-safety issue in UpdateNowPlayingMessage. 2020-05-08 19:53:51 -05:00
Buster "Silver Eagle" Neece
9062903d6d
#2814 -- Slight refactor to address some router issues. 2020-05-08 19:40:34 -05:00
Buster "Silver Eagle" Neece
78c762ee4e
#2702 -- Use full request URI (sans path) for default base URL. 2020-05-05 20:42:14 -05:00
Buster "Silver Eagle" Neece
fe03750955
Handle upstream SlimPHP implementing PSR Logger. 2020-04-26 06:26:24 -05:00
Buster "Silver Eagle" Neece
96125834c0
Further refactor ServerRequest class. 2020-04-06 18:27:01 -05:00
Buster "Silver Eagle" Neece
c3e4b7f187
Prevent invalid URL parameters from flooding logs. 2020-04-06 18:15:59 -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 "Silver Eagle" Neece
feeb8b9af1
#2306 -- Partially revert removal of "Prefer Browser URL" setting. 2020-01-21 00:02:06 -06:00
Buster "Silver Eagle" Neece
22d8f8c241
Update dependencies; move from Zend to Laminas. 2020-01-17 20:35:09 -06:00
Buster "Silver Eagle" Neece
b6f558eb54
Always prefer browser URL and always enable SFTP server.
Both settings are no longer relevant and turning them off would cause unexpected issues, so they're being removed completely instead to ease configuration difficulty.
2020-01-15 14:52:47 -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
b06b8b51e0
Don't log generic HTTP errors. 2019-11-07 13:42:35 -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
85519b3cb9
Fix some error handler issues related to new session handler. 2019-09-23 00:34:36 -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
daf78fa738
Move Settings and Logging to static system-wide functions. 2019-09-12 00:31:01 -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
513d04f7d2
Code cleanup! 2019-09-04 13:00:51 -05:00
Buster "Silver Eagle" Neece
10ba3909de
Update Monolog to v2; switch to PSR log levels. 2019-09-04 12:39:05 -05:00
Buster Neece
d4089b143e
Update AzuraCore and don't log Slim HTTP errors. 2019-08-10 12:20:56 -05:00
Buster Neece
2f8ab5544a
Switch back to Request/Response decorators. 2019-08-09 10:00:21 -05:00
Buster Neece
2feeee1b01
Add Slim HTTP decorators to provide body parsing. 2019-08-08 01:10:25 -05:00
Buster Neece
4d37c8906c
#1823 -- Add filtering to base URL determination. 2019-08-07 13:25:12 -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