libretime/legacy/application/common
Thomas Göttgens a95ce3d229
feat(legacy): trim overbooked shows after autoloading a playlist (#2897)
### Description

Some combination of preload/postload and autoloding playlists with
smartblocks generate massively overbooked shows that clutter up the
interface. This addition performs a 'trim overbooked' after filling up
the autoload list, and does the same as pushing the 'trim overbooked'
button in the UI.


### Testing Notes

Define an autoloading playlist of 2 hours and schedule it for a one hour
show. Without patch, you'll get entries for 2 hours, with the patch, you
only get one hour and a 'overboarding' orange entry at most.

---------

Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-02-02 20:17:23 +01:00
..
enum fix(deps): update dependency friendsofphp/php-cs-fixer to <3.17.1 (main) (#2556) 2023-05-25 15:06:18 +02:00
interface Format code using php-cs-fixer 2021-10-12 11:07:56 +02:00
widgets feat(legacy): invalidate cached assets using md5sum (#2161) 2022-09-19 11:58:31 +02:00
Assets.php fix(legacy): gracefully handle missing asset checksum 2022-10-07 16:33:21 +02:00
AutoPlaylistManager.php feat(legacy): trim overbooked shows after autoloading a playlist (#2897) 2024-02-02 20:17:23 +01:00
CORSHelper.php Merge branch '3.0.x' into main 2023-02-26 20:16:38 +01:00
CeleryManager.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.23.1 (stable) (#2656) 2023-08-15 18:28:18 +02:00
Database.php Put regex rules between single quotes 2021-10-12 11:09:46 +02:00
DateHelper.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.42.1 (main) (#2765) 2023-12-27 13:40:15 +01:00
FileDataHelper.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.46.1 (main) (#2868) 2024-01-07 13:59:02 +01:00
FileIO.php chore: use https links (#2075) 2022-08-25 16:25:54 +02:00
HTTPHelper.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.23.1 (stable) (#2656) 2023-08-15 18:28:18 +02:00
LocaleHelper.php fix(legacy): update or remove broken links 2022-09-21 08:28:43 +02:00
OsPath.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.27.1 (main) (#2714) 2023-09-17 17:14:59 +02:00
PodcastManager.php style(legacy): force semicolon on same line (#1534) 2022-01-23 20:15:55 +02:00
SecurityHelper.php Format code using php-cs-fixer 2021-10-12 11:07:56 +02:00
SessionHelper.php style(legacy): fix code format with php-cs-fixer (#1674) 2022-03-14 12:15:04 +02:00
Storage.php chore(legacy): format code 2022-09-12 14:15:50 +02:00
TaskManager.php fix(legacy): add log entry on task run (#2316) 2022-12-16 19:38:17 +01:00
Timezone.php Format code using php-cs-fixer 2021-10-12 11:07:56 +02:00
TuneIn.php fix(deps): update dependency friendsofphp/php-cs-fixer to <3.17.1 (main) (#2556) 2023-05-25 15:06:18 +02:00
UsabilityHints.php style(legacy): force semicolon on same line (#1534) 2022-01-23 20:15:55 +02:00
WidgetHelper.php chore(legacy): use Config::getPublicUrl helper 2022-07-08 11:03:10 +02:00