feat(episodes): schedule episode with future publication_date by using cache expiration time
- merge publication date fields into one field instanciated with flatpickr datetime picker - get user timezone to convert user publication_date input to UTC - remove setPublishedAt() method from episode entity - add publication pill component to display the episode publication date info - clear cache after episode insert - use CI is_really_writable() helper in install instead of is_writable() - fix latest episodes layout - update tsconfig to only include ts folders - update DEPENDENCIES.md to include flatpickr - add format_duration helper to format episode enclosure duration instead of translating it (causes translation bug) - add Time.ts module to convert UTC time to user localized time for episode publication dates - fix some layout issues - update php and js dependencies to latest versions closes #47
Showing
- DEPENDENCIES.md 2 additions, 0 deletionsDEPENDENCIES.md
- app/Controllers/Admin/BaseController.php 1 addition, 1 deletionapp/Controllers/Admin/BaseController.php
- app/Controllers/Admin/Episode.php 12 additions, 13 deletionsapp/Controllers/Admin/Episode.php
- app/Controllers/Admin/Podcast.php 1 addition, 4 deletionsapp/Controllers/Admin/Podcast.php
- app/Controllers/BaseController.php 1 addition, 1 deletionapp/Controllers/BaseController.php
- app/Controllers/Episode.php 9 additions, 2 deletionsapp/Controllers/Episode.php
- app/Controllers/Feed.php 16 additions, 1 deletionapp/Controllers/Feed.php
- app/Controllers/Install.php 1 addition, 1 deletionapp/Controllers/Install.php
- app/Controllers/Podcast.php 8 additions, 2 deletionsapp/Controllers/Podcast.php
- app/Entities/Episode.php 19 additions, 11 deletionsapp/Entities/Episode.php
- app/Helpers/components_helper.php 48 additions, 0 deletionsapp/Helpers/components_helper.php
- app/Helpers/misc_helper.php 24 additions, 0 deletionsapp/Helpers/misc_helper.php
- app/Language/en/Common.php 0 additions, 1 deletionapp/Language/en/Common.php
- app/Language/en/Episode.php 5 additions, 5 deletionsapp/Language/en/Episode.php
- app/Language/fr/Common.php 0 additions, 1 deletionapp/Language/fr/Common.php
- app/Language/fr/Episode.php 5 additions, 5 deletionsapp/Language/fr/Episode.php
- app/Language/fr/MyAccount.php 2 additions, 1 deletionapp/Language/fr/MyAccount.php
- app/Models/EpisodeModel.php 83 additions, 19 deletionsapp/Models/EpisodeModel.php
- app/Models/PodcastModel.php 1 addition, 1 deletionapp/Models/PodcastModel.php
- app/Views/_assets/admin.ts 6 additions, 0 deletionsapp/Views/_assets/admin.ts
Loading
Please register or sign in to comment