Commit Graph
38 Commits
Author SHA1 Message Date
miles c16f64aa08 remove data.txt from the git server 2026-03-31 21:26:59 -05:00
miles 90310fd671 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.
2026-03-31 21:24:50 -05:00
miles 00baa8b204 Update players.html
made a small chage
2026-03-31 20:06:24 -05:00
miles 463fa222ff Redesign lists and roulette pages UI
Revamp the Lists and Roulette pages with new semantic panels and updated layout. lists.html: replace the simple list panel with a sidebar Quick Jump, a prominent hero section, dedicated controls (search + filter) and a separate table panel while preserving existing IDs (search, level-filter, list-area, list-title). roulette.html: reorganize into a roulette-shell with a main roulette panel (spin button, card) and a rules sidebar/card with concise rule items; interactive IDs (roulette-spin, roulette-card, roulette-open, etc.) remain intact. styles.css: add styles for the new components (.list-*, .control-block, .roulette-shell, .roulette-rules-card, .roulette-rule-list, .sidebar-kicker and more), tweak search-row spacing and responsive behaviors to support the new layout. No JS behavior changed in this diff (app.js left referenced but untouched).
2026-03-31 19:54:57 -05:00
miles 5acf920143 Add interactive homepage preview & styles
Replace the WIP homepage with a new interactive home-hero: updated copy, CTA labels, a stats area (total levels, #1 entry, last slot), a featured-list preview, spotlight and info panels, and a small Discord text tweak. Add CSS to style the new homepage components, featured cards, stat cards, spotlight layout and responsive rules for smaller screens. Update app.js to load and render list data on the index page: sort items, populate stats, render top 3 featured entries (with a fallback message), and hook into live updates via bindLiveUpdates/onLiveUpdate so the homepage stays current.
2026-03-31 19:48:11 -05:00
miles b39c334fdf Handle position edits on focusout
Stop performing item repositioning during the primary input handler and instead handle position changes on focusout. Non-position fields are updated live on input and mark the form as having unsaved changes. A new tbody focusout listener moves the item and re-renders the admin table when a position field loses focus, and also sets the unsaved status.
2026-03-31 19:16:46 -05:00
miles 96d2ca2d4a added back the admen pane 2026-03-31 19:07:02 -05:00
miles d29719131c Remove admin/server pages; consolidate live list
Delete admelist.html and serverlist.html and update the site to use lists.html as the main live-backed list. README.md was edited to reflect the consolidation (references to serverlist/admelist replaced with lists.html and roulette.html, wording adjusted). lists.html: remove admin/server links, change page title to “FEDL List”, and drop the level column in the table. app.js: update status text to mention the live server list, remove admin editor code and serverlist-specific branches, simplify list rendering (remove level column output) and wire live updates to listPage.applyItems. Miscellaneous: remove unused escapeAttr helper. Overall this simplifies the UI by consolidating live functionality into lists.html and removing the separate admin/server pages.
2026-03-31 19:00:35 -05:00
miles 906ef15e4b Use live server endpoints; add CORS/basePath
Point the client to a configurable live server (live API, events and data file) and accept both JSON and plain-text list formats. Update app.js to parse JSON or text responses, use live EventSource and PUT endpoints, and fall back to the live data file when needed.

On the server side, add BASE_PATH support (trim trailing slash) and normalize request paths so the app can be mounted under a subpath. Add setCorsHeaders and enable CORS (including handling OPTIONS preflight) for API, events and file responses, return proper headers on errors, and log the base path at startup. These changes enable cross-origin access and deployment under a base path while improving robustness of list parsing.
2026-03-31 18:47:49 -05:00
miles c239d8c062 Document live server-backed list and admin UI
Revise README to describe the new live server-backed list and admin editor. Adds/renames pages (lists.html = static, serverlist.html = live list, admelist.html = admin UI), clarifies shared data format for data.txt and server/data.txt, and documents the fallback order (/api/list → server/data.txt → data.txt). Includes instructions to run the Node server (server/server.js, HOST/PORT examples), a note on static serving for development, files added (server/server.js, server/data.txt, start-server.command, server/LINUX_SERVICE_SETUP.txt), and editor features (draft rows, numbering/shift behavior, delete flow, live refresh). Also clarifies where live vs static data is stored and that no build step is required.
2026-03-31 17:54:51 -05:00
miles 3d1005a72c made percoshons for the server list just in cas my mom umplugs my server 2026-03-31 17:51:45 -05:00
miles 63d4ec0009 added a server so you do not need to update a text file mauly
yaaaaa
2026-03-31 17:48:50 -05:00
Lux, Righ? 46a95d3a19 added 202-250 2026-03-31 13:02:56 -04:00
Lux, Righ? fddc92ae72 added 136-201 2026-03-31 11:35:50 -04:00
miles 98668db533 put a comming soon to the mane page 2026-03-30 23:48:41 -05:00
miles b1a6873db3 Remove 'Errors' button from navigation
Removed the 'Errors' button from the navigation.
2026-03-30 23:37:30 -05:00
miles cc68d81440 Remove 'Errors' link from navigation
Removed the link to the 'Errors' page from the navigation.
2026-03-30 23:23:36 -05:00
Lux, Righ? e79d3b0a0d Added 51-135 2026-03-31 00:06:06 -04:00
miles 4c2f6ed5a0 added 404 etc 2026-03-30 23:01:59 -05:00
Lux, Righ? df238b1448 Fixed combustion 2026-03-30 23:21:08 -04:00
miles 10f3639c75 made gd rulet better 2026-03-30 19:35:31 -05:00
miles 93a3f497c0 added demon rulet v1 not good 2026-03-30 19:04:30 -05:00
miles fe65e66d16 fixed discord coz i suck 2026-03-30 02:51:50 -05:00
miles 60aa221e47 added discord 2026-03-30 02:50:31 -05:00
miles fdc700c558 Create CNAME 2026-03-30 01:00:21 -05:00
miles 349756891e Delete CNAME 2026-03-30 01:00:17 -05:00
miles 8009102cd4 updated redme 2026-03-30 00:54:43 -05:00
miles 23a3235afc uptaded the websit
see https://raspberrypi-1.tail46eacb.ts.net/git/miles/gd-list/commit/f28abb272d9e837c2c462c0552c57b9d40f046a7 for more info
2026-03-30 00:42:41 -05:00
miles 55b8c1a7d4 Create CNAME 2026-03-30 01:41:18 +00:00
miles e5691e95cf Delete CNAME 2026-03-30 01:41:06 +00:00
miles edf2fae76c Create CNAME 2026-03-30 01:35:02 +00:00
miles 52d8d60760 Delete CNAME 2026-03-30 01:34:50 +00:00
miles d5b6ba26dc Update CNAME 2026-03-30 01:17:50 +00:00
miles f1f040aaa0 Create CNAME 2026-03-30 01:17:28 +00:00
Lux, Righ? 8940f7cec8 Fixed spelling of The Hallucination 2026-03-29 20:49:29 -04:00
miles 58da99b91f updated spelling 2026-03-29 23:49:55 +00:00
miles 34d34fc890 updated the name of the list so it is feel 2026-03-29 17:26:10 -05:00
miles b3d92b5f6e put it on live 2026-03-29 17:22:14 -05:00