Remove podcast checklist backend, calendar events and reminder emails; v2.14.3
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
99b19faede
commit
13d0eb6651
12 files changed
+3
-534
No files matched your search
@@ -47,7 +47,6 @@ export const STUDY_PROGRESS_DIR = path.join(DATA_DIR, 'study-progress')
|
||||
export const STUDY_COMMUNITY_FILE = path.join(DATA_DIR, 'study-community.json')
|
||||
export const REPLY_TEMPLATES_FILE = path.join(DATA_DIR, 'admin-reply-templates.json')
|
||||
export const REPLY_HISTORY_FILE = path.join(DATA_DIR, 'admin-reply-history.json')
|
||||
export const PODCAST_CHECKLIST_FILE = path.join(DATA_DIR, 'podcast-checklist.json')
|
||||
export const BACKUP_DIR = path.join(DATA_DIR, 'backups')
|
||||
export const UPLOADS_DIR = path.join(DATA_DIR, 'uploads')
|
||||
export const UPLOADS_META_FILE = path.join(DATA_DIR, 'uploads-meta.json')
|
||||
@@ -70,7 +69,6 @@ export const SEAFILE_NUGGETS_SHARE_URL = process.env.SEAFILE_NUGGETS_SHARE_URL ?
|
||||
export const NUGGETS_NOTIFY_EMAIL = process.env.NUGGETS_NOTIFY_EMAIL ?? process.env.RESEND_TO ?? 'hello@versebyversewithnate.us'
|
||||
export const SEAFILE_POLL_INTERVAL_MS = 15 * 60 * 1000 // 15 minutes
|
||||
export const EMAIL_SETTINGS_FILE = path.join(DATA_DIR, 'email-settings.json')
|
||||
export const CALENDAR_EVENTS_FILE = path.join(DATA_DIR, 'calendar-events.json')
|
||||
export const AUDIT_LOG_FILE = path.join(DATA_DIR, 'audit-log.json')
|
||||
export const WEBHOOKS_FILE = path.join(DATA_DIR, 'webhooks.json')
|
||||
export const STUDY_SESSIONS_FILE = path.join(DATA_DIR, 'study-sessions.json')
|
||||
@@ -164,18 +162,6 @@ export const DEFAULT_REPLY_TEMPLATES = [
|
||||
},
|
||||
]
|
||||
|
||||
export const DEFAULT_PODCAST_CHECKLIST_TASKS = [
|
||||
{ id: 'verify_script', label: 'Verify Script', phase: 'pre' },
|
||||
{ id: 'read_script', label: 'Read Script', phase: 'pre' },
|
||||
{ id: 'record', label: 'Record', phase: 'pre' },
|
||||
{ id: 'mix', label: 'Mix', phase: 'pre' },
|
||||
{ id: 'edit', label: 'Edit', phase: 'pre' },
|
||||
{ id: 'video_script', label: 'Run Video Conversion Script', phase: 'pre' },
|
||||
{ id: 'post_spotify', label: 'Post on Spotify', phase: 'pre' },
|
||||
{ id: 'update_website', label: 'Update Website', phase: 'post' },
|
||||
{ id: 'send_email', label: 'Send Email', phase: 'post' },
|
||||
]
|
||||
|
||||
export const EMPTY_HIT_STATS = {
|
||||
totalHits: 0,
|
||||
realHits: 0,
|
||||
@@ -203,29 +189,3 @@ export const EMPTY_VISITOR_STATS = {
|
||||
geoCacheByIp: {},
|
||||
}
|
||||
|
||||
// ── Podcast checklist helpers (no state dependency) ────────────────────────
|
||||
|
||||
function buildChecklistEpisode(series, number) {
|
||||
const tasks = {}
|
||||
for (const task of DEFAULT_PODCAST_CHECKLIST_TASKS) {
|
||||
tasks[task.id] = false
|
||||
}
|
||||
return {
|
||||
id: `${series.toLowerCase()}-${number}`,
|
||||
series,
|
||||
episodeNumber: number,
|
||||
title: '',
|
||||
datePublished: '',
|
||||
expanded: false,
|
||||
tasks,
|
||||
}
|
||||
}
|
||||
|
||||
export function buildDefaultPodcastChecklist() {
|
||||
const titusEpisodes = [11, 12, 13, 14, 15].map(number => buildChecklistEpisode('Titus', number))
|
||||
const colossiansEpisodes = Array.from({ length: 27 }, (_, index) => buildChecklistEpisode('Colossians', index + 1))
|
||||
return {
|
||||
tasks: DEFAULT_PODCAST_CHECKLIST_TASKS,
|
||||
episodes: [...titusEpisodes, ...colossiansEpisodes],
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user