Movies & TV: favorites, a family movie night list to vote on, and mixes

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 5.5 committed 2026-10-27 10:20:33 -04:00
1 parent fe651a8c37
commit 2766424bb2
7 files changed
+107 -2

No files matched your search

+3
View File
@@ -48,6 +48,7 @@ const contacts = require('./contacts'); // each person's address book (mail su
const activity = require('./activity'), alertParents = activity.alertParents;
const kidlimits = require('./kidlimits'); // child accounts: a daily time limit and bedtime, and asking a parent for more time
const screentime = require('./screentime'); // fewer web addresses for iPad Screen Time: a report-only policy, the list of what devices reached, and a picture pass-through
const moviefam = require('./moviefam'); // Movies & TV: favorites and the family's movie night list
const chores = require('./chores'); // chores for the family, with points
const notes = require('./notes'); // shared and private notes and checklists
const chat = require('./chat'); // Family Chat: a messenger for the people with an account here
@@ -584,6 +585,7 @@ const ACCESS = [
[/^\/api\/bible\//, ['bible']],
[/^\/api\/read\//, ['read']],
[/^\/api\/radio\//, ['radio']],
[/^\/api\/moviefam(\/|$)/, ['video']],
[/^\/api\/chores(\/|$)/, ['chores']],
[/^\/api\/notes(\/|$)/, ['notes']],
[/^\/api\/chat(\/|$)/, ['chat']],
@@ -707,6 +709,7 @@ async function handleRequest(req, res) {
if (pathname === '/api/kid/requests' || pathname.startsWith('/api/kid/requests/')) return require('./requests').handle(req, res, user);
if (pathname.startsWith('/api/kid/')) return kidlimits.handle(req, res, user, { askParents: chat.askParents });
if (pathname === '/api/csp-report' || pathname === '/api/img' || pathname === '/api/screentime') return screentime.handle(req, res, user);
if (pathname === '/api/moviefam' || pathname.startsWith('/api/moviefam/')) return moviefam.handle(req, res);
if (pathname === '/api/chores' || pathname.startsWith('/api/chores/')) return chores.handle(req, res);
if (pathname === '/api/notes' || pathname.startsWith('/api/notes/')) return notes.handle(req, res);
if (pathname.startsWith('/api/chat/')) return chat.handle(req, res);