% layout('../layout') %>
Requests found in the admin inbox. Approve to whitelist + archive and email the requester the links. Reject asks the requester for more context (optionally with your note) instead of refusing.
<% it.archiveRequests.forEach(function(r){ %>AI: <%= r.ai_summary %>
<% } %>| Video | Title | Channel | Channel ID | Length | |
|---|---|---|---|---|---|
| <%= v.id %> | <%= v.title || '?' %> | <%= v.channel || '?' %> | <%= v.channelId || '?' %> | <%= it.fmtLength(v.lengthSeconds) %> |
<% if (v.isArchived) { %>archived
<% } else if (!v.alive) { %>no metadata
<% } %>
<% if (v.result && !v.result.success) { %> <%= v.result.message %> <% } %>
|
<%= r.body %>
<%= r.reply_text %>
<%= r.error_message %><% } %> <% if (r.status === 'pending' || r.status === 'failed') { %>
No archive requests yet.
<% } %>Requests to bring a video back from cold storage. Videos still live on YouTube get a link + "why do you need it?" email first. Approve starts the Glacier restore and emails the requester that an automated email follows within 48 hours. Reject asks for more context.
<% it.coldRequests.forEach(function(r){ %>AI: <%= r.ai_summary %>
<% } %>| Video | Title | Channel | Length | Size | |
|---|---|---|---|---|---|
| <%= v.id %> | <%= v.title || '?' %> | <%= v.channel || '?' %> | <%= it.fmtLength(v.lengthSeconds) %> | <%= it.fmtBytes(v.sizeBytes) %> |
<% if (v.alive) { %>live on YouTube<% } %>
<% if (v.result) { %> <%= v.result.message %> <% } %>
|
<%= r.body %>
<%= r.reply_text %>
<%= r.error_message %><% } %> <% if (r.status === 'pending' || r.status === 'failed') { %>
No cold storage requests yet.
<% } %>Requests from these addresses skip review and are archived immediately.
| <%= s.email %> | <%= s.note || '' %> | |
| No auto-approved senders. |
Restore a video from Glacier cold storage back to hot storage. AWS retrieval takes up to 48 hours; once it's done, the video is automatically re-uploaded and the requester is emailed.
| Video | Requester | Status | Requested | Error |
|---|---|---|---|---|
| <%= r.videoId %> | <%= r.requester_email %> | <%= r.status %> | <%= r.created_at ? new Date(r.created_at).toISOString() : '' %> | <%= r.error_message || '' %> |
| No restore requests yet. | ||||