From 4185807da44705681b2dc4f8a9ab7bb8a8cbaef6 Mon Sep 17 00:00:00 2001 From: advplyr Date: Fri, 29 Apr 2022 16:42:40 -0500 Subject: [PATCH] Add:Check for new episodes manual check and update last check time, Update:Adding new podcasts and downloading podcast episodes restricted to admin users --- client/components/app/SideRail.vue | 5 +- .../components/modals/item/tabs/Episodes.vue | 47 ++++++++++++++++--- client/pages/item/_id/index.vue | 6 ++- client/store/user.js | 1 + server/controllers/PodcastController.js | 2 +- server/managers/PodcastManager.js | 23 ++++++++- server/objects/settings/ServerSettings.js | 2 +- server/objects/user/User.js | 3 ++ 8 files changed, 76 insertions(+), 13 deletions(-) diff --git a/client/components/app/SideRail.vue b/client/components/app/SideRail.vue index 38d0d36d..73cf3a11 100644 --- a/client/components/app/SideRail.vue +++ b/client/components/app/SideRail.vue @@ -52,7 +52,7 @@
- +

Search

@@ -82,6 +82,9 @@ export default { showExperimentalFeatures() { return this.$store.state.showExperimentalFeatures }, + userIsAdminOrUp() { + return this.$store.getters['user/getIsAdminOrUp'] + }, paramId() { return this.$route.params ? this.$route.params.id || '' : '' }, diff --git a/client/components/modals/item/tabs/Episodes.vue b/client/components/modals/item/tabs/Episodes.vue index 38f7a532..c4f6723f 100644 --- a/client/components/modals/item/tabs/Episodes.vue +++ b/client/components/modals/item/tabs/Episodes.vue @@ -1,11 +1,11 @@