|
|
8c5ce78fd0
|
chore: add AGPLv3 copyright header to all source files
- 52 JS files (backend + public/js): header with
Copyright (C) 2026 Sea Network Technology Studio
Author: CangLan <admin@sea-studio.top>
+ AGPLv3 notice
- idempotent (skips if header present), all syntax-checked
|
2026-08-19 20:27:05 +08:00 |
|
|
|
65edbaf157
|
refactor: session-based external auth, dynamic sources, drop netease UID
Auth (external API):
- ID: 16-digit random (non-sequential); Secret: SeaReport- + 32 hex
- POST /auth/session: ID+Secret -> Bearer SESSION (24h, single-session,
old session invalidated on re-issue, disabled client invalidates)
- clientAuth now validates Bearer SESSION via api_sessions JOIN api_clients
Sources (dynamic, no default, open-source friendly):
- sources table + CRUD route (/api/sources, owner; delete guarded by usage)
- users/user_identities.source ENUM -> VARCHAR, seeded netease/skin
- register/admin create/identity bind: validate against enabled sources
- UI: 来源管理 page; source dropdowns loaded dynamically everywhere
(register, dashboard identity, users admin, bans), labels dynamic
UID removal:
- game_uid/reporter_game_uid no longer required (db default '', validations
dropped, frontend fields optional)
Docs: EXTERNAL-API.md session flow + new credential format; API.md updated
Verified: 37 checks (syntax, session logic, source CRUD, UID removal, docs)
|
2026-08-19 20:08:06 +08:00 |
|
|
|
1e1e8282e6
|
style: add spacing between code input and submit button
|
2026-07-17 15:05:01 +08:00 |
|
|
|
771e28472e
|
fix: remove duplicate email field and extra send button
|
2026-07-17 14:57:33 +08:00 |
|
|
|
f21ea19789
|
fix: captcha input left, image right same row
|
2026-07-17 14:50:42 +08:00 |
|
|
|
8f7c34dd86
|
fix: captcha full-width row, hide top-auth on anonymous submit page
|
2026-07-17 13:14:15 +08:00 |
|
|
|
fbd98ca801
|
fix: email back to original position, code+button after captcha
|
2026-07-17 01:51:40 +08:00 |
|
|
|
982437af06
|
fix: email after captcha, captcha required before sending code
|
2026-07-17 01:00:34 +08:00 |
|
|
|
292c863d95
|
style: register layout - email solo row, source+name together, code+captcha full width
|
2026-07-17 00:53:12 +08:00 |
|
|
|
3fdfb206cd
|
style: cleaner register UI with email+code on same line
|
2026-07-17 00:47:15 +08:00 |
|
|
|
926bcb626b
|
feat: send-code before register, dup game_name check, skin hides uid
|
2026-07-17 00:42:19 +08:00 |
|
|
|
511d5ab36f
|
fix: inline email verification after registration, no separate page
|
2026-07-17 00:35:50 +08:00 |
|
|
|
125b4f99fc
|
fix: only two sources (netease/skin), plugin uses skin
|
2026-07-15 04:36:01 +08:00 |
|
|
|
c493c1204b
|
feat: registration source selector (netease/skin/java)
|
2026-07-15 04:34:06 +08:00 |
|
|
|
021351d898
|
fix: restore from regex corruption, JS-bind modal close, data-action delegation
|
2026-07-15 03:53:16 +08:00 |
|
|
|
f0e891b17c
|
fix: data-action delegation + convert onclick to event listeners, sidebar+logout+modals
|
2026-07-15 02:44:18 +08:00 |
|
|
|
bc16833a57
|
feat: SVG image captcha with noise and color distortion
|
2026-07-13 18:33:31 +08:00 |
|
|
|
5bb2df7b52
|
fix: login broken by sync/async mismatch, register missing home link, top bar contrast
|
2026-07-12 01:50:17 +08:00 |
|
|
|
a4cee1c186
|
style: modern UI redesign - gradients, glassmorphism, animations, Inter font
|
2026-07-12 01:39:09 +08:00 |
|
|
|
247a4e851d
|
feat: MC Report System - MySQL + Express + Vanilla JS SPA
|
2026-07-12 01:23:19 +08:00 |
|