25 Commits
Author SHA1 Message Date
miles 94a3dbda28 Refactor navigation links across multiple HTML files, adding "About" link and removing "Posts" link. Remove posts.json and related server functionality, indicating the removal of the posts feature. Add new "About" page detailing FEDL's mission, features, and community contributions. Update CSS for improved layout and animations. 2026-04-12 14:49:49 -05:00
miles cdb6e03560 Refactor code structure for improved readability and maintainability 2026-04-12 14:24:50 -05:00
miles b53ab78028 testin email 2026-04-09 22:03:59 -05:00
miles e2733d9d24 Refactor HTML files to use 'defer' attribute for script loading and update content for clarity and structure 2026-04-09 11:55:35 -05:00
miles b693c0205a uodated admen panel 2026-04-04 00:49:53 -05:00
miles 142fd5a6a0 added stuf 2026-04-03 23:53:33 -05:00
miles 426adc3043 Add player name input and default value handling; enhance loading shimmer effect 2026-04-03 00:28:14 -05:00
miles f012aa3dc4 Refactor navigation and add authentication features
- Updated navigation links across guess.html, index.html, lists.html, players.html, roulette.html, rules.html, and run.html for consistency and clarity.
- Enhanced index.html with a sign-up button for user registration.
- Modified lists.html to improve user guidance on video watching and added a "My %" column for tracking progress.
- Introduced login.html and signup.html for user authentication, including form validation and status messages.
- Implemented server-side user authentication in server.js, including user registration, login, and session management.
- Added user data handling for roulette progress and saved runs.
- Created a .gitignore file to exclude sensitive user data files from version control.
- Updated styles.css to accommodate new UI elements for authentication and improved layout.
2026-04-03 00:22:25 -05:00
miles 453e6662e0 Add targeted import and bulk approval features with modals and API integration 2026-04-02 19:15:49 -05:00
miles 4ecf58dba3 put v1 test for app and made the app anansmet live 2026-04-02 16:31:56 -05:00
miles b4c6c48958 Add Guess Game page and UI/JS support
Introduce a new Guess The Rank feature: add guess.html and associated styles and logic. app.js gains video modal utilities (extractYouTubeID, openVideoModal, renderApprovedRunsForLevel) and the full guessing-game flow (modes, round lifecycle, input handling). Refactor existing video-open usage to the new modal and enable showing approved runs in the modal. Update multiple navs and index highlights to link to the new Guess Game. Add CSS for guess UI and responsive tweaks, and adjust some UI copy (e.g. "View Video").
2026-04-01 16:47:22 -05:00
miles 52531abcc7 Add run percent and approved-runs modal
Introduce a percent field for runs and surface approved runs in the video modal. UI: add a numeric Percent input to the run submission form and show percent in submission lists and admin detail view (default 100%). Video modal: refactor openVideo to accept an item, add renderApprovedRunsForLevel to load and display approved runs for the same level with player, percent and video link, plus related modal HTML. Server: normalize and validate percent on run create/update (required), returning 400 when missing. Styles: add CSS for modal runs layout and responsive tweaks.
2026-04-01 00:11:13 -05:00
miles 06c6beb0b1 Add admin login overlay and gated UI
Introduce a client-side admin login screen that locks the admin page until the correct password is entered. admelist.html now contains a dedicated admin login card and wraps the actual admin shell content in a hidden section; the body receives an admin-locked class while locked. app.js adds form handling, verifyAdminPassword/unlockAdminShell logic, uses a DELETE /__authcheck__ request to validate the stored password, and shows/hides the admin UI accordingly; it also centralizes auth status messages. styles.css adds styles for the login overlay, locked state, and responsive tweaks. server/server.js removes the previous server-side requireAdmin guard for /admelist so the client can perform the auth check.
2026-03-31 22:47:43 -05:00
miles feb6dd2923 Add admin password UI and auth handling
Add an admin password field and session-backed auth handling for admin endpoints. admelist.html: introduce an admin password input and status text in the admin overview panel. app.js: store the password in sessionStorage (key: fedl_admin_password), populate the input on load, and persist changes; provide authHeaders() to inject a Basic Authorization header (fedl:password) into fetch requests; handle 401 responses by clearing the saved password and showing contextual error messages; wire password usage into save/update/delete run APIs. styles.css: add styling for the admin access panel and password field and adjust responsive rules. This enables browser-session admin authentication and clearer failure handling when admin credentials are missing or incorrect.
2026-03-31 22:39:16 -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 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 63d4ec0009 added a server so you do not need to update a text file mauly
yaaaaa
2026-03-31 17:48:50 -05:00
miles 98668db533 put a comming soon to the mane page 2026-03-30 23:48:41 -05:00
miles 4c2f6ed5a0 added 404 etc 2026-03-30 23:01:59 -05: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 60aa221e47 added discord 2026-03-30 02:50:31 -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 b3d92b5f6e put it on live 2026-03-29 17:22:14 -05:00