Commit Graph

5164 Commits

Author SHA1 Message Date
Buster "Silver Eagle" Neece ba56e055b0
Update changelog. 2021-11-23 17:22:49 -06:00
Buster "Silver Eagle" Neece 9a7c045bf4
Move Storage Location actions to be on the right and shrunk. 2021-11-23 17:19:29 -06:00
Buster "Silver Eagle" Neece b0e23a87d0
Show space used in storage location page. 2021-11-23 12:05:39 -06:00
Buster "Silver Eagle" Neece cbb35d55a1
Storage Quota Overhaul
- Adds enforcement of storage location quotas to album art uploads, podcast uploads, broadcast recordings and backups.
 - Removes PodcastMediaRepository to avoid a circular dependency problem
 - All storage locations will periodically update their "space used" via a cron task
 - Adds a quota display to the podcast management page
2021-11-23 09:44:41 -06:00
Buster "Silver Eagle" Neece 0da15085d3
Implement common Quota component. 2021-11-22 14:18:23 -06:00
Buster "Silver Eagle" Neece e7ee57af5d
Turn submit button red if form is invalid rather than disabling it completely. 2021-11-22 14:12:18 -06:00
Buster "Silver Eagle" Neece 784438fd80
Fixes #4613 -- Fix minor issues with sync:run 2021-11-19 15:30:00 -06:00
Buster "Silver Eagle" Neece ae090f96eb
Fixes #4499 -- Force beanstalkd to listen to local ports on Ansible. 2021-11-19 15:28:22 -06:00
Buster "Silver Eagle" Neece f24c695afe
Fixes #4615 -- Slightly harden role deletion via API. 2021-11-19 15:09:57 -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 af114b51de
Fixes #4670 -- Fix pagination for client-side-paginated tables. 2021-11-19 11:20:20 -06:00
Buster "Silver Eagle" Neece 65ce85fe8b
Allow (and ignore) null StorageLocations for serialization purposes. 2021-11-19 10:52:38 -06:00
Buster "Silver Eagle" Neece 3a057a469a
Also remove periods from variable names for LS2. 2021-11-19 07:37:26 -06:00
Buster "Silver Eagle" Neece 266305ecd2
Merge branch 'ci-testing' into main 2021-11-18 12:57:33 -06:00
Buster "Silver Eagle" Neece 0800d8964c
Add back dockerignore file. 2021-11-18 12:46:09 -06:00
Buster "Silver Eagle" Neece 1588257f06
Consolidate and optimize steps. 2021-11-18 12:33:28 -06:00
Buster "Silver Eagle" Neece 27e1174a5e
Remove dockerignore to restore build function. 2021-11-18 12:06:42 -06:00
Buster "Silver Eagle" Neece d107f1009c
Try deleting dockerignore. 2021-11-18 11:53:20 -06:00
Buster "Silver Eagle" Neece 1f2f8e3b46
Revert "Change buildx source."
This reverts commit fab9e396bb.
2021-11-18 11:53:05 -06:00
Buster "Silver Eagle" Neece fab9e396bb
Change buildx source. 2021-11-18 11:39:52 -06:00
Buster "Silver Eagle" Neece 1ab600af13
More changes. 2021-11-18 11:34:21 -06:00
Buster "Silver Eagle" Neece b5eece6bcb
Minor syntax change. 2021-11-18 11:19:23 -06:00
Buster "Silver Eagle" Neece 6277bb0605
Test updated, faster build structure. 2021-11-18 10:37:45 -06:00
Buster "Silver Eagle" Neece f5304704ac
Investigate CPU consumption by switching decoders back to non-ffmpeg. 2021-11-18 08:43:48 -06:00
Buster "Silver Eagle" Neece 9b7d7f7e17
Rework how storage locations are serialized; live quota on media manager. 2021-11-17 10:30:21 -06:00
Buster "Silver Eagle" Neece 55f04d47e7
Automatically spin down any stations configured to be disabled. 2021-11-16 07:14:00 -06:00
Buster "Silver Eagle" Neece cdc3495e6d
Add live-reload support for Icecast frontends. 2021-11-16 07:13:43 -06:00
Buster "Silver Eagle" Neece 4bb6b72152
Dependencies update
Changelogs summary:

 - psr/container updated from 1.1.1 to 1.1.2 patch
   See changes: https://github.com/php-fig/container/compare/1.1.1...1.1.2
   Release notes: https://github.com/php-fig/container/releases/tag/1.1.2

 - doctrine/dbal updated from 2.13.4 to 2.13.5 patch
   See changes: https://github.com/doctrine/dbal/compare/2.13.4...2.13.5
   Release notes: https://github.com/doctrine/dbal/releases/tag/2.13.5

 - league/flysystem updated from 2.3.0 to 2.3.1 patch
   See changes: https://github.com/thephpleague/flysystem/compare/2.3.0...2.3.1
   Release notes: https://github.com/thephpleague/flysystem/releases/tag/2.3.1

 - sebastian/exporter updated from 4.0.3 to 4.0.4 patch
   See changes: https://github.com/sebastianbergmann/exporter/compare/4.0.3...4.0.4
   Release notes: https://github.com/sebastianbergmann/exporter/releases/tag/4.0.4

 - nikic/php-parser updated from v4.13.0 to v4.13.1 patch
   See changes: https://github.com/nikic/PHP-Parser/compare/v4.13.0...v4.13.1
   Release notes: https://github.com/nikic/PHP-Parser/releases/tag/v4.13.1

 - doctrine/migrations updated from 3.3.0 to 3.3.2 patch
   See changes: https://github.com/doctrine/migrations/compare/3.3.0...3.3.2
   Release notes: https://github.com/doctrine/migrations/releases/tag/3.3.2

 - gettext/languages updated from 2.8.1 to 2.9.0 minor
   See changes: https://github.com/php-gettext/Languages/compare/2.8.1...2.9.0
   Release notes: https://github.com/php-gettext/Languages/releases/tag/2.9.0

 - laminas/laminas-stdlib updated from 3.6.0 to 3.6.1 patch
   See changes: https://github.com/laminas/laminas-stdlib/compare/3.6.0...3.6.1
   Release notes: https://github.com/laminas/laminas-stdlib/releases/tag/3.6.1

 - aws/aws-sdk-php updated from 3.199.9 to 3.202.2 minor
   See changes: https://github.com/aws/aws-sdk-php/compare/3.199.9...3.202.2
   Release notes: https://github.com/aws/aws-sdk-php/releases/tag/3.202.2

 - matomo/device-detector updated from 4.3.1 to 5.0.0 major
   See changes: https://github.com/matomo-org/device-detector/compare/4.3.1...5.0.0
   Release notes: https://github.com/matomo-org/device-detector/releases/tag/5.0.0

 - nesbot/carbon updated from 2.53.1 to 2.54.0 minor
   See changes: https://github.com/briannesbitt/Carbon/compare/2.53.1...2.54.0
   Release notes: https://github.com/briannesbitt/Carbon/releases/tag/2.54.0

 - pagerfanta/core updated from v3.3.1 to v3.4.0 minor
   See changes: https://github.com/Pagerfanta/core/compare/v3.3.1...v3.4.0
   Release notes: https://github.com/Pagerfanta/core/releases/tag/v3.4.0

 - pagerfanta/doctrine-collections-adapter updated from v3.3.1 to v3.4.0 minor
   See changes: https://github.com/Pagerfanta/doctrine-collections-adapter/compare/v3.3.1...v3.4.0
   Release notes: https://github.com/Pagerfanta/doctrine-collections-adapter/releases/tag/v3.4.0

 - pagerfanta/doctrine-orm-adapter updated from v3.3.1 to v3.4.0 minor
   See changes: https://github.com/Pagerfanta/doctrine-orm-adapter/compare/v3.3.1...v3.4.0
   Release notes: https://github.com/Pagerfanta/doctrine-orm-adapter/releases/tag/v3.4.0

 - phpstan/phpstan updated from 1.0.1 to 1.1.2 minor
   See changes: https://github.com/phpstan/phpstan/compare/1.0.1...1.1.2
   Release notes: https://github.com/phpstan/phpstan/releases/tag/1.1.2

 - roave/security-advisories updated from dev-latest@0488e16 to dev-latest@bac54e1
   See changes: 0488e16...bac54e1

 - vlucas/phpdotenv updated from v5.3.1 to v5.4.0 minor
   See changes: https://github.com/vlucas/phpdotenv/compare/v5.3.1...v5.4.0
   Release notes: https://github.com/vlucas/phpdotenv/releases/tag/v5.4.0

 - zircote/swagger-php updated from 3.2.3 to 3.3.1 minor
   See changes: https://github.com/zircote/swagger-php/compare/3.2.3...3.3.1
   Release notes: https://github.com/zircote/swagger-php/releases/tag/3.3.1
2021-11-15 11:43:09 -06:00
Buster "Silver Eagle" Neece 9286747b62
Fix ErrorHandler flash messages, login referrer, etc. 2021-11-15 11:25:05 -06:00
Buster "Silver Eagle" Neece 7425e4a04c
Add class to JSON errors; avoid repeating timeouts for 403s. 2021-11-15 10:00:44 -06:00
Buster "Silver Eagle" Neece 71251aa7bd
Extend timeouts when window is hidden from view. 2021-11-14 12:14:47 -06:00
Buster "Silver Eagle" Neece 5be4635333
Update AutoDJ Queue Length field to reflect actual limits. 2021-11-14 06:46:12 -06:00
Buster "Silver Eagle" Neece a7fc961679
Move detailed info into StationQueueDetailed. 2021-11-14 05:14:53 -06:00
Buster "Silver Eagle" Neece daae1eedc6
Revert one part of overhaul due to duplicate history records. 2021-11-14 04:56:25 -06:00
Buster "Silver Eagle" Neece ff3c13b40e
Overhaul AutoDJ queue management to allow Liquidsoap to hold its own queue.
Explanation: The upgrade to Liquidsoap 2.0 now means that Liquidsoap itself can hold more than one song in its upcoming queue, which allows us to make functionality like "skip song" work as expected for the first time, but also meant that our previous methods of tracking what songs were and weren't queued didn't work well at all. This overhauls the queue builder by adding a new "is_played" status to each queue entry and treating the entire "unplayed" queue (whether sent to the AutoDJ or not) as the "upcoming" queue, fixing a number of issues.
2021-11-14 02:47:18 -06:00
Vaalyn 72b4329b77
Fix issue #4781 - Increase max Beanstalkd message size (#4784) 2021-11-13 08:08:37 -06:00
Vaalyn d7bbcc26db
Add buffer to input.http remote streams (#4786)
* Add buffer to input.http remote streams

* Fix cs error
2021-11-13 07:49:38 -06:00
Vaalyn becc849b59
Only use cue_cut in LS config for song playlists (#4785) 2021-11-13 04:29:29 -06:00
Buster "Silver Eagle" Neece ab44e41d23
Remove legacy Liquidsoap 1.0 additions to Skip functionality. 2021-11-11 19:30:35 -06:00
Vaalyn 63a2883757
Increase update revision for Ansible (#4782) 2021-11-11 02:36:11 -06:00
Vaalyn 550054916f
Fix LS input.http buffer parameter for LS 2.0 (#4769) 2021-11-09 08:42:31 -06:00
Buster "Silver Eagle" Neece 4cbb9dd755
Minor code tweak for new, stricter inspections. 2021-11-08 04:29:01 -06:00
Vaalyn 1a1551754f
Implement changes for Liquidsoap 2.0.0 (#4402) 2021-11-08 04:15:01 -06:00
Buster "Silver Eagle" Neece 2747f7a97e
Fixes #4755 -- Allow for null file when upload control resets. 2021-11-07 15:20:40 -06:00
Buster "Silver Eagle" Neece f34583897e
Code cleanup. 2021-11-07 14:59:07 -06:00
Buster "Silver Eagle" Neece fc8a2aea08
Move Doctrine EntityNormalizer and batch utilities to external libraries. 2021-11-07 02:20:52 -06:00
Buster "Silver Eagle" Neece 6c5f852b97
Add static hinting to normalizer. 2021-11-06 23:18:39 -06:00
Buster "Silver Eagle" Neece d8d00cc175
Add testing environments from PhpStorm into repo. 2021-11-06 23:03:00 -06:00
Buster "Silver Eagle" Neece 058f306c15
Make entity functions line up with propertyaccess. 2021-11-06 23:02:44 -06:00
Buster "Silver Eagle" Neece cbe106d9ef
Add album art to dashboard. 2021-11-05 21:05:40 -05:00