Add run submission & admin moderation
Add a live run submission workflow and admin moderation UI. - Add run.html: new page to submit runs (video, raw footage, notes) and show recent submissions. - Update admelist.html: admin overview plus run queue table for reviewing/approving/rejecting/deleting submissions. - Update app.js: client-side support for runs (load/refresh/caching, SSE "runs-update", admin review actions, run submission handling, and graceful fallback when no server is available). - Server changes: add server/runs.json, implement /api/runs (GET, POST) and /api/runs/:id (PUT, DELETE) in server/server.js, ensure runs file, emit runs-update events, broaden CORS, set BASE path (/fedl) and default port 8090. - Add styles for admin overview, run submission UI and submission cards in styles.css. - Update README with run/admin pages and example URLs, adjust start-server.command to use PORT=8090, and minor note in LINUX_SERVICE_SETUP.txt. Notes: live submission/review features require running the Node server; client falls back to static behavior when served from file:// or when server is unavailable.
This commit is contained in:
1 parent
00baa8b204
commit
90310fd671
14 files changed
+691
-44
No files matched your search
@@ -1,3 +1,3 @@
|
||||
#!/bin/zsh
|
||||
cd "/Users/miles/Documents/GitHub/fedl" || exit 1
|
||||
HOST=0.0.0.0 PORT=3000 node server/server.js
|
||||
HOST=0.0.0.0 PORT=8090 node server/server.js
|
||||
Reference in new issue
Block a user