4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-19 07:27:07 +00:00
Commit Graph

1715 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece
4a938671b4
Simplify and limit scope of public service worker. 2021-09-26 15:05:40 -05:00
Buster "Silver Eagle" Neece
156b1f8173
Gitpod refinement and rollback of privileged defaults. 2021-09-23 23:48:28 -05:00
Buster "Silver Eagle" Neece
aa6d7bbd1e
Remove priv'ed components from default sample file. 2021-09-23 21:39:34 -05:00
Buster "Silver Eagle" Neece
9c72079c08
Extend cache timeline on calendar API returns. 2021-09-23 20:13:45 -05:00
Buster "Silver Eagle" Neece
c7a06c2583
#4594 -- Fix how the Schedule embed displays by allowing calendar return data on public API endpoint. 2021-09-23 20:13:11 -05:00
Buster "Silver Eagle" Neece
09b5e1d06d
Add needs-restart/has-started to profile API info. 2021-09-21 21:56:29 -05:00
Buster "Silver Eagle" Neece
7931fac251
#4601 -- Avoid a single flush removing/adding the same records. 2021-09-21 07:44:07 -05:00
Buster "Silver Eagle" Neece
6eaeaec023
Move admin/custom fields to Vue. 2021-09-20 10:51:39 -05:00
Buster "Silver Eagle" Neece
aeb230e0bd
Make media manager solely Vue; update progress bar CSS. 2021-09-20 00:18:02 -05:00
Buster "Silver Eagle" Neece
1d13519ecd
Fixes #4590 -- Use installation base URL for its own API docs. 2021-09-19 12:44:31 -05:00
Buster "Silver Eagle" Neece
76e1c62e13
Fixes #4584 -- Update charts to be compatible with ChartJS 3.x 2021-09-19 12:30:22 -05:00
Buster "Silver Eagle" Neece
dd07f982b5
Move Roles/Permissions component to Vue. 2021-09-19 08:16:53 -05:00
Buster "Silver Eagle" Neece
91424496b2
Fix issue preventing perms from saving via role API calls. 2021-09-18 21:29:01 -05:00
Buster "Silver Eagle" Neece
94633c7944
Implement common Vue component Plates template. 2021-09-18 18:41:22 -05:00
Buster "Silver Eagle" Neece
72bc85f4ca
Massive Vue Overhaul
Includes the following major changes:
 - Restructure the Vue application into more logical folder structure
 - Create per-page entrypoint scripts that define Vue dependencies, removing this job from the asset manager
 - Implement vuex and use it to manage cross-component communication (i.e. for the audio player)
 - Add new "~" alias for the "/frontend/vue" folder to greatly simplify imports
2021-09-14 09:32:54 -05:00
Buster "Silver Eagle" Neece
5b958e154c
Make Audit Log a Vue component and remove jQuery Bootgrid. 2021-09-13 04:15:26 -05:00
Buster "Silver Eagle" Neece
737f3d40ab
Update performance report to be a Vue component. 2021-09-12 09:34:37 -05:00
Buster "Silver Eagle" Neece
ea805bd8c5
Move station playback timeline to Vue. 2021-09-11 18:09:50 -05:00
Buster "Silver Eagle" Neece
a75ae7d80c
Move Listeners report to be a Vue component. 2021-09-11 15:47:48 -05:00
Buster "Silver Eagle" Neece
8272aa5ef9
Update to Webpack 5 and redesign build process. 2021-09-11 15:46:31 -05:00
Buster "Silver Eagle" Neece
c94e2edf19
Move requests report into Vue component. 2021-09-06 04:06:31 -05:00
Buster "Silver Eagle" Neece
8d3cab6e76
Add ability to clear upcoming song queue with single click. 2021-09-05 17:46:33 -05:00
Buster "Silver Eagle" Neece
a35e8bf27d
Standardize the Status responses for APIs. 2021-09-05 17:41:10 -05:00
Buster "Silver Eagle" Neece
dcbc08360c
Revert PHPStan due to temp bug. 2021-09-05 03:44:44 -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
9bbae3d6b6
Switch to only defining CSRF token on pages that use API calls. 2021-08-28 18:09:24 -05:00
Buster "Silver Eagle" Neece
2c25b0bc9e
Fixes #4517 -- Remove redundant backup result column. 2021-08-27 22:49:31 -05:00
Buster "Silver Eagle" Neece
7710301819
Further lower the log level of HttpExceptions. 2021-08-27 22:25:54 -05:00
Buster "Silver Eagle" Neece
1182a8dbdf
Fix a possible XSS issue on public pages. 2021-08-27 19:46:33 -05:00
Buster "Silver Eagle" Neece
888e110c5d
Allow "GET" API calls and "Restart Station" button. 2021-08-27 19:30:26 -05:00
Buster "Silver Eagle" Neece
5a2f1a42e5
Add CSRF token to all internal session-authenticated API requests. 2021-08-27 18:45:25 -05:00
Buster "Silver Eagle" Neece
95a9b8c781
Enforce HTTP-only (and secure) cookies for session persistence. 2021-08-26 18:40:11 -05:00
Buster "Silver Eagle" Neece
32296cbda6
Use standalone MetadataManager library. 2021-08-23 23:00:29 -05:00
Buster "Silver Eagle" Neece
424c28b027
Dependency update and type fixes. 2021-08-22 21:08:52 -05:00
Buster "Silver Eagle" Neece
1af68ca028
Bump to version 0.14.1 2021-08-22 10:52:49 -05:00
Buster "Silver Eagle" Neece
f79051b730
Merge branch 'feature/icecast-geo-blocking' into main 2021-08-20 11:37:37 -05:00
Buster "Silver Eagle" Neece
02c653a36a
#4493 -- Broaden accepted arg types for Station API calls. 2021-08-19 22:22:21 -05:00
Buster "Silver Eagle" Neece
2cc4d131b9
Fixes #4493 -- Allow string/int on all Station APIs. 2021-08-19 10:20:36 -05:00
Buster "Silver Eagle" Neece
01658ff457
Move release determination earlier to ensure proper installer is used. 2021-08-15 13:20:17 -05:00
Vaalyn
8a1818b33d Implement geo-blocking for Icecast 2021-08-14 23:28:24 +02:00
Buster "Silver Eagle" Neece
bc755e088d
Fixes #4487 -- Allow empty search phrase on history API. 2021-08-14 09:45:00 -05:00
Buster "Silver Eagle" Neece
1d7ed8038a
Code style and test updates. 2021-08-12 08:30:59 -05:00
Buster "Silver Eagle" Neece
75257caee2
Vuetify remote relays. 2021-08-12 08:24:58 -05:00
Buster "Silver Eagle" Neece
465d9eaab9
Move NowPlaying API entries into subfolder. 2021-08-11 10:31:02 -05:00
Buster "Silver Eagle" Neece
6c3931198b
Fixes #3482 -- Show some reports on remote-only stations. 2021-08-10 11:14:09 -05:00
Buster "Silver Eagle" Neece
45515fcf32
Add Matomo analytics support. 2021-08-09 23:50:57 -05:00
Buster "Silver Eagle" Neece
ecb54b973b
Fixes #4469 -- More strict typing on setScheduleItems. 2021-08-09 08:57:44 -05:00
Buster "Silver Eagle" Neece
16e2bde2e6
Fixes #4467 -- Cast to string as well. 2021-08-09 08:22:28 -05:00
Buster "Silver Eagle" Neece
aa50f1d7ab
Auto-generate a root password for MariaDB installs too. 2021-08-09 00:58:55 -05:00
Vaalyn
daf045af3f
Fix type error in arrayToCsv utility method (#4463) 2021-08-08 16:23:20 -05:00
Buster "Silver Eagle" Neece
019c29418b
Set a MariaDB root password for new installs. 2021-08-08 01:47:16 -05:00
Buster "Silver Eagle" Neece
c859b2daff
Tag new release version (0.14). 2021-08-06 21:18:29 -05:00
Vaalyn
a5436ee805
Cast tags from media to string for cleanUpString() (#4452) 2021-08-05 15:25:32 -05:00
Vaalyn
7d29d78ff7
Add author and email fields to podcasts (#4451) 2021-08-04 22:50:32 -05:00
Buster "Silver Eagle" Neece
b5fc9ad601
Use shared CallableEventManager library. 2021-08-04 21:24:27 -05:00
Buster "Silver Eagle" Neece
aae01e832f
#4441 -- More updates for media processing. 2021-08-03 20:17:30 -05:00
Buster "Silver Eagle" Neece
7aefbb6d6e
Allow user uploaded intro files for mount points. 2021-08-01 05:00:42 -05:00
Buster "Silver Eagle" Neece
70b2e3dd4e
Remove branding forms. 2021-07-31 20:35:32 -05:00
Buster "Silver Eagle" Neece
5806152eb5
Fix line length. 2021-07-30 13:01:17 -05:00
Buster "Silver Eagle" Neece
7874ac92b4
Properly delete browser icon assets. 2021-07-30 12:43:45 -05:00
Buster "Silver Eagle" Neece
4cafacef47
Code style fixes. 2021-07-30 01:31:37 -05:00
Buster "Silver Eagle" Neece
7750fa6be8
User-Uploaded Custom Assets (#4437) 2021-07-30 01:20:14 -05:00
Buster "Silver Eagle" Neece
b721ab28e8
Minor type safety fix in ScheduleController. 2021-07-25 16:09:07 -05:00
Buster "Silver Eagle" Neece
80d47a96d1
Minor fixes to defaults for SPX profiling for dev installs. 2021-07-23 23:21:04 -05:00
Buster "Silver Eagle" Neece
36ac5823ff
Fix test suite stuff. 2021-07-23 19:40:16 -05:00
Buster "Silver Eagle" Neece
551405f10c
Fixes #4409 -- Update nginx config if nonstandard ports are used. 2021-07-23 19:15:58 -05:00
Buster "Silver Eagle" Neece
ea1ed3c2eb
Ensmarten the installer's Docker Compose writing role. 2021-07-22 21:31:49 -05:00
Vaalyn
11f1f44cea
Switch message queue from MariaDB to beanstalkd (#4418) 2021-07-21 16:45:22 -05:00
Vaalyn
e509cde831
Fix type error in OnDemand API endpoint (#4423) 2021-07-21 16:44:52 -05:00
Vaalyn
3eabf80288
Fix Icecast relay mount config generation issue (#4421) 2021-07-21 11:53:21 -05:00
Buster "Silver Eagle" Neece
b6c1c211c5
Merge remote-tracking branch 'origin/main' into main 2021-07-20 16:35:43 -05:00
Buster "Silver Eagle" Neece
d40b8b9b2b
Move ID3 read/write to its own standalone process. 2021-07-20 16:35:39 -05:00
Vaalyn
1bc67d9056
Fix type error when setting schedule entries (#4417) 2021-07-20 14:59:23 -05:00
Vaalyn
946f5e9337
Cast SHOUTcast config values to string (#4416) 2021-07-20 14:23:17 -05:00
Buster "Silver Eagle" Neece
01ac825ff0
#4408 -- Use Icy protocol for both SHOUTcast 2 and 1 relays. 2021-07-19 01:16:02 -05:00
Buster "Silver Eagle" Neece
5cbacd5df6
System-Wide Strict Types (#4405) 2021-07-19 00:53:45 -05:00
Buster "Silver Eagle" Neece
64b7d83258
Add ability to duplicate ("clone") playlists. 2021-07-14 19:17:22 -05:00
Buster "Silver Eagle" Neece
b1d358c924
Clone schedule entries when cloning a station. 2021-07-14 19:06:47 -05:00
Buster "Silver Eagle" Neece
a2d5dda416
#4399 -- Always specify some values even if they're defaults. 2021-07-12 12:40:52 -05:00
Buster "Silver Eagle" Neece
a39fb4ecbf
#4388 -- Make installer more robust and create files before running installer. 2021-07-11 01:25:12 -05:00
Vaalyn
df660ea45a
Add AutoDJ setting for looping playlist only once when scheduled (#4395) 2021-07-11 00:51:00 -05:00
Buster "Silver Eagle" Neece
079c9eedd3
Slightly rework installer to ask most questions on initial install. 2021-07-09 17:59:30 -05:00
Buster "Silver Eagle" Neece
4781040e8d
#4387 -- Make new installer compatible with Ansible. 2021-07-09 08:20:40 -05:00
Buster "Silver Eagle" Neece
ef7989fcfd
Implement PHP Docker Installer (#4377) 2021-07-08 15:03:54 -05:00
Vaalyn
18eb64c61f
Restore missing annotateNextSong fixes from cpeter1207 (#4373) 2021-07-08 14:02:19 -05:00
Buster "Silver Eagle" Neece
add05efbbf
Set feature policy; disable FLoC tracking. 2021-07-06 07:22:34 -05:00
Buster "Silver Eagle" Neece
b1c6de0bc4
Remove DI compilation until upstream PHP-DI issues are resolved. 2021-07-06 06:36:52 -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
Buster "Silver Eagle" Neece
5c6eb85e35
Make per-request items "request-aware" instead of using DI factories.
DI factories can't be cached as efficiently and incur a performance penalty on every request being handled by the system; using "request-aware" classes that clone themselves for each request solves the same problem in a far more performant way, cutting several ms off of every request.
2021-07-06 06:34:22 -05:00
Buster "Silver Eagle" Neece
563ebe0a6b
Prevent creating a demo user if the dev fixtures aren't populated. 2021-07-06 05:29:17 -05:00
Buster "Silver Eagle" Neece
14c9b4695a
Implement longer-term solution to flow uploads for tiny files. 2021-07-01 09:46:58 -05:00
Vaalyn
bb4f7c9073
Fix media file upload for very short files that are not using chunked upload (#4372) 2021-07-01 06:09:25 -05:00
Vaalyn
dcde7ff089
Update zircote/swagger-php and fix openapi errors (#4363) 2021-06-28 20:03:59 -05:00
Buster "Silver Eagle" Neece
edb1839cbc
Allow Redis to be disabled in favor of flatfile cache. 2021-06-28 10:03:21 -05:00
Buster "Silver Eagle" Neece
115d8b5f5a
Remove now-unnecessary StationRepo clear cache command. 2021-06-28 05:38:43 -05:00
Buster "Silver Eagle" Neece
890b811ce5
Create a new "initialize" command that can be used on container startup. 2021-06-28 05:34:19 -05:00
Buster "Silver Eagle" Neece
92baf6c5e1
Update Docker Compose version. 2021-06-28 05:20:07 -05:00
Buster "Silver Eagle" Neece
31b26db310
Add Korean as targeted language. 2021-06-24 05:46:26 -05:00
Vaalyn
328caf3987
Add schedule embed widget for embedding the stations playlist schedule view into websites (#4323) 2021-06-20 20:58:02 -05:00
Buster "Silver Eagle" Neece
0899505caa
Fix double-stacking of file extension in podcast episode download. 2021-06-20 18:13:14 -05:00
Buster "Silver Eagle" Neece
7f7e2e2494
Minor mount point tweaks and fixes. 2021-06-20 17:48:58 -05:00
Vaalyn
74e4de9186
Add configurable max listerner duration to mountpoints (#4320) 2021-06-20 17:22:32 -05:00
Buster "Silver Eagle" Neece
63094172d1
Fix Flow processing errors; make Flow uploads a common Vue component. 2021-06-20 02:21:46 -05:00
Vaalyn
d5406b5546
Ensure that the default mountpoint is created when cloning a station (#4310) 2021-06-19 13:43:19 -05:00
Vaalyn
71b0578d69
Add OGG FLAC mountpoint support to AutoDJ (#4315) 2021-06-19 13:24:27 -05:00
Buster "Silver Eagle" Neece
913d2dfad2
Improve Flow upload handling and podcast media/artwork management. 2021-06-19 13:19:44 -05:00
Buster "Silver Eagle" Neece
7819ac21b0
Update to version 0.13.0. 2021-06-15 18:29:25 -05:00
Buster "Silver Eagle" Neece
e9ee70e0fa
Fix issue where NP API URLs flip-flop between "preferred" and "unpreferred" URIs. 2021-06-15 12:53:28 -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
bd040c6933
Clean up old Mount classes and unused forms; add advanced switch to new control. 2021-06-14 16:24:27 -05:00
Buster "Silver Eagle" Neece
27b4c240f9
Support both PUT and POST for podcast/episodes for compatibility. 2021-06-14 15:24:15 -05:00
Buster "Silver Eagle" Neece
b805f6c0c6
More tests and fixing minor issues with station spinup/down. 2021-06-13 23:49:17 -05:00
Buster "Silver Eagle" Neece
f1d33f4104
Add more functional and unit tests. 2021-06-13 22:30:17 -05:00
Buster "Silver Eagle" Neece
13daec857c
#4285 -- Fix issue with sub-cloning playlist folders. 2021-06-13 15:44:04 -05:00
Buster "Silver Eagle" Neece
a35b4569ad
#4279 -- Switch to a "read-only" iterator for performance boost. 2021-06-13 02:33:07 -05:00
Buster "Silver Eagle" Neece
5da0f4e3cb
Add more API unit tests; fix bugs identified by new tests. 2021-06-12 22:57:10 -05:00
Buster "Silver Eagle" Neece
77c8d56827
Move Mount management to Vue; abstract common EditModal functionality. 2021-06-12 02:04:27 -05:00
Buster "Silver Eagle" Neece
553c8bdb9d
Apply tighter sanitization to base URLs. 2021-06-10 18:28:55 -05:00
Buster "Silver Eagle" Neece
db8bc3dbb1
Fixes #4274 -- Add podcast storage location select to station form. 2021-06-10 15:32:11 -05:00
Buster "Silver Eagle" Neece
462759b122
Fix bug preventing Podcast storage locations from being created. 2021-06-10 01:32:25 -05:00
Buster "Silver Eagle" Neece
a320c1a6a0
More code cleanup. 2021-06-09 22:22:13 -05:00
Buster "Silver Eagle" Neece
26d9a5e66a
Fix __clone signature pattern on Entities. 2021-06-09 19:34:11 -05:00
Buster "Silver Eagle" Neece
94bdc3acef
Fixes #4262 -- Fix bugs with and expand functionality of Station Cloning. 2021-06-09 18:28:44 -05:00
Buster "Silver Eagle" Neece
50d1840826
Update entities to handle Doctrine 2.9.1's prop type rollback. 2021-06-08 20:38:18 -05:00
Buster "Silver Eagle" Neece
3f23efa076
PHP code style fixes. 2021-06-08 01:40:49 -05:00
Buster "Silver Eagle" Neece
722b245e91
Minor PWA changes. 2021-06-06 21:08:42 -05:00
Buster "Silver Eagle" Neece
fbad54955a
Prevent the PWA serviceworker from caching Now Playing requests. 2021-06-06 18:22:29 -05:00
Buster "Silver Eagle" Neece
d7b269dfe6
Minor codestyle fix. 2021-06-06 17:42:42 -05:00
Buster "Silver Eagle" Neece
4fad57a1b3
Add service worker for PWA functionality. 2021-06-06 17:31:14 -05:00
Buster "Silver Eagle" Neece
9cb52f7b30
Add music category to PWA App Manifest. 2021-06-06 00:49:55 -05:00
Buster "Silver Eagle" Neece
b58004b97a
Add PWA app manifest to public player page. 2021-06-06 00:20:04 -05:00
Buster "Silver Eagle" Neece
2b8a9849c0
Fixes #4250 -- Fix "getter" function name on Backup Enabled setting. 2021-06-05 00:57:57 -05:00
Buster "Silver Eagle" Neece
e6c228bd3e
#4223 -- Support both singular and multiple aliases. 2021-06-01 19:53:24 -05:00
Buster "Silver Eagle" Neece
4fb7f91604
Update Symfony Validator/Serializer component definitions. 2021-05-31 20:50:50 -05:00
Buster "Silver Eagle" Neece
6769b0ce57
Minor fix to allow DeepNormalize to work as it did before. 2021-05-31 17:21:19 -05:00
Buster "Silver Eagle" Neece
b620c378a0
Move namespace of DeepNormalize attribute. 2021-05-31 16:30:40 -05:00
Buster "Silver Eagle" Neece
b7984a5f75
Switch to attribute for "Station Requires Restart" detection. 2021-05-31 10:16:45 -05:00
Buster "Silver Eagle" Neece
55aeede050
Missing file from previous commit. 2021-05-30 20:17:05 -05:00
Buster "Silver Eagle" Neece
00c4afae50
Move AuditLog classes around and clean up AuditLog handler. 2021-05-30 20:15:34 -05:00
Buster "Silver Eagle" Neece
ac6b726865
Avoid deleting podcast fixture files. 2021-05-30 16:28:11 -05:00
Buster "Silver Eagle" Neece
668724fe1a
Implement Doctrine ORM Annotations (#4233) 2021-05-30 13:55:26 -05:00
Vaalyn
41b66e1e1a
Truncate podcast and episode description to correct length - fixes issue #4218 (#4222) 2021-05-29 08:01:00 -05:00
Buster "Silver Eagle" Neece
a7b4675e73
#4212 -- Improve metadata fetching on 5-minute sync task. 2021-05-25 13:39:46 -05:00
Vaalyn
1a04f9791f
Implement Podcasting Support
Co-authored-by: Buster "Silver Eagle" Neece <buster@busterneece.com>
Co-authored-by: Mitch <Mitchellfrith1996@gmail.com>
2021-05-24 23:29:07 -05:00
Buster "Silver Eagle" Neece
2f0b109c8f
#4161 -- Minor tweak to "best and worst" report. 2021-05-12 09:31:09 -05:00
Buster "Silver Eagle" Neece
52719571ee
Minor change: switch from uasort to usort. 2021-05-11 16:16:49 -05:00
Buster "Silver Eagle" Neece
338f8af274
File list optimizations and code separation. 2021-05-11 16:04:03 -05:00
Buster "Silver Eagle" Neece
30d6fc3145
Use EntityManager's object map to optimize settings retrieval. 2021-05-11 09:31:56 -05:00
Buster "Silver Eagle" Neece
f83a9310e9
#4139 -- Optimize router handling to avoid hammering the DB. 2021-05-11 09:05:23 -05:00
Buster "Silver Eagle" Neece
542f1a8deb
#4153 -- Enforce regex rules for SFTP usernames. 2021-05-10 20:21:13 -05:00