28 Commits
Author SHA1 Message Date
miles 3eeb4f7cb4 made the adman pane work agen 2026-04-16 23:41:12 -05:00
miles 986cab3436 idk 2026-04-16 22:37:06 -05:00
miles dfb42e6393 Fix syntax error in server.js 2026-04-16 20:22:29 -05:00
miles 6ddb843e97 did a roll backe do to problems 2026-04-16 20:14:59 -05:00
miles 016d998263 Implement moderator management system with API endpoints for adding, removing, and checking moderators. Update server and documentation accordingly. 2026-04-14 19:26:16 -05:00
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 14004a21df Updated the web hooked logic to be better 2026-04-10 17:36:02 -05:00
miles 6bbaac2870 updated added webhooks to the server 2026-04-10 17:00:47 -05:00
miles f902c80dc6 Remove Cloudflare Workers types and related configurations; delete email worker implementation and add reset tokens JSON file. 2026-04-09 22:47:04 -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 7db049187a fixed messinging 2026-04-05 00:59:38 -05:00
miles eb1ca87277 test 2026-04-05 00:25:25 -05:00
miles 08a8a5bad1 updates 2026-04-05 00:02:50 -05:00
miles d16a6a3d68 added a page icon 2026-04-04 17:17:53 -05:00
miles 142fd5a6a0 added stuf 2026-04-03 23:53:33 -05:00
miles 7086fbfbee added posting to the wedsite 2026-04-03 23:08:55 -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 be4cc0bf1c testing stuf 2026-04-01 20:06:06 -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 7698b2c169 updated server 2026-03-31 22:29:24 -05:00
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 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 63d4ec0009 added a server so you do not need to update a text file mauly
yaaaaa
2026-03-31 17:48:50 -05:00