Commit Graph
171 Commits
Author SHA1 Message Date
vastsa bcc1dbda06 feat: add MCP settings and admin header actions 2026-10-10 21:07:01 +08:00
vastsa fdb0f3dbd5 feat: expose MCP settings and HTML preview 2026-10-10 18:52:33 +08:00
vastsa b4c8aa8c10 fix: keep send-flow composable router-free
Move login navigation to SendFileView so the architecture check
(and Docker frontend build) can pass.
2026-09-20 02:11:59 +08:00
vastsa 1a96ab0224 fix: login-guide button contrast and use ROUTES constants
Dark-mode CTA had both text-white and text-zinc-900; send the user to
login via ROUTES instead of hardcoded paths.
2026-09-20 01:58:15 +08:00
Marrrrrrrrry b806a36800 发送页登录引导卡片 + 预览 iframe sandbox 加固 (#13)
* fix: sandbox the media preview iframe fallback (security item 2)

The catch-all preview branch renders arbitrary file types in a
same-origin iframe. Add sandbox (no allow-scripts) so scripts inside
previewed documents never run, and no-referrer to avoid leaking the
retrieve URL to cross-origin file hosts. PDF preview is unaffected.

* feat: login-guide card on send page when guest upload is disabled

Guest upload off + no admin token now renders a login-guide card in
place of the upload form (entered page state, not a late alert); the
card links to /login?redirect=/send so users return to sending after
sign-in. Backend 403 fallback and select-time checks remain as the
second layer.
2026-09-20 02:55:20 +09:00
vastsa 3075ff15e0 feat: add admin local share page for NAS files
Browse data/local including subfolders and mint extract codes without re-uploading.
2026-09-16 18:30:47 +08:00
Lan c32466a20a Merge pull request #11 from Marrrrrrrrry/main
API 字段与配置键统一 snake_case(配合后端契约变更,请与后端 PR 同窗口合入)
2026-09-14 22:45:30 +09:00
Marrrrrrrrry f1893579cc fix: read public config contract as snake_case (sync backend D7 follow-up)
Drop the allowedFileTypes camel twin from SystemConfig/ConfigState/
config-storage defaults and mapping; send-flow file-type validation
reads allowed_file_types only; DEFAULT_CONFIG drops dead keys.
2026-09-11 04:09:25 +08:00
Marrrrrrrrry fbd90f938e refactor: read only snake_case API fields (sync with backend D7)
Drop camel+snake dual reads (files, dashboard, policy, storage, counts),
the dead response.msg read, clearExpiredAt/downloadLimit/sortBy/maxChars
request keys, and the never-read expires_at twin. Internal view-model
state keeps its own names; only API boundary types changed.
2026-09-11 03:32:50 +08:00
Marrrrrrrrry c6b6b64869 feat: rename config keys to snake_case (sync with backend migration 007) 2026-09-09 18:15:28 +08:00
vastsa 2f0a04d2a5 Merge fix/dependabot-browserslist-20260908 2026-09-08 02:13:26 +08:00
vastsa 054508af85 fix(deps): upgrade browserslist to patched release 2026-09-08 02:13:13 +08:00
Lan 19a208b6a2 fix: validate frontend pushes without release permissions 2026-07-11 21:59:04 +08:00
Lan 3cb12e4202 fix: harden automated release workflow 2026-07-11 21:53:57 +08:00
Lan 08042459ae feat: automate frontend releases 2026-07-11 21:48:38 +08:00
Lan ce4af6678c fix: improve admin theme color adaptation 2026-07-11 18:17:34 +08:00
Lan 45ef99a336 feat: add storage capacity setting 2026-07-11 17:50:38 +08:00
Lan 1cec0a46db feat: show admin session status and settings (#484) 2026-07-10 19:20:38 +08:00
Lan 343635d832 fix: honor admin address visibility setting (#480) 2026-07-10 17:39:25 +08:00
Lan c0e8156d69 chore: fix frontend dependency audit warnings 2026-06-20 02:55:50 +08:00
Lan 00b3ad7fc4 feat: support first-run setup flow 2026-06-16 00:49:43 +08:00
Lan 5bdd9197bc feat: add passcode generation setting (#479) 2026-06-09 00:53:11 +08:00
Lan 30637620da refactor: optimize file download and markdown rendering processes with async handling 2026-06-05 22:56:27 +08:00
Lan e0864c2652 feat: enhance SystemSettingsView with allowed file types input and UI improvements
- Added functionality to update allowed file types via a new input field.
- Updated various UI elements for better accessibility and consistency in dark mode.
- Improved styling for input fields, labels, and buttons to align with the new design system.
- Refactored class bindings to use 'zinc' color palette for better contrast and readability.
2026-06-05 16:15:46 +08:00
Lan ea61034a1f fix: resolve frontend lint errors 2026-06-03 19:41:08 +08:00
Lan dc83e9d145 Merge branch 'feature/ux-compat-platform' 2026-06-03 18:40:50 +08:00
Lan 72b575b106 fix: align send file and text panel heights 2026-06-03 18:09:39 +08:00
Lan 56fbfb05d1 fix: restore main transfer pages with smooth routing 2026-06-03 17:43:28 +08:00
Lan 4846b33c72 style: modernize public transfer pages 2026-06-03 14:48:17 +08:00
Lan fb7378ecd6 refactor: restore public transfer pages 2026-06-03 14:20:35 +08:00
Lan 58c930123a feat: show admin dashboard version 2026-06-03 12:21:44 +08:00
Lan 04a0e68675 refactor: streamline admin management UI 2026-06-03 12:06:12 +08:00
Lan 0740df4a2d fix: prevent duplicate admin scrollbars 2026-06-03 10:43:34 +08:00
Lan 45d77d0162 refactor: remove settings diagnostics recommendations 2026-06-03 10:37:17 +08:00
Lan 9656e6d2ae refactor: remove admin recommendation summaries 2026-06-03 10:24:07 +08:00
Lan 20d15504d9 feat: add admin file view summary 2026-06-03 10:00:58 +08:00
Lan 4320692594 feat: add admin maintenance queue 2026-06-03 08:18:41 +08:00
Lan 6c3fe3a55f feat: add admin config diagnostics 2026-06-03 08:01:55 +08:00
Lan 5c3eb2d144 feat: add admin operational insights 2026-06-03 07:47:33 +08:00
Lan cde8eb942b feat: add admin activity timeline filters 2026-06-03 07:36:48 +08:00
Lan 350e2142ae feat: add admin activity stream 2026-06-03 07:19:56 +08:00
Lan 40e7f5deef feat: add admin file view presets 2026-06-03 07:01:38 +08:00
Lan db3bf25d66 feat: add admin file metadata 2026-06-03 06:37:56 +08:00
Lan e2318f007d feat: add batch file policy actions 2026-06-03 06:22:56 +08:00
Lan 198f0b9d45 feat: add dashboard health actions 2026-06-03 06:15:15 +08:00
Lan 6970d0e467 feat: add admin file health filters 2026-06-03 05:55:18 +08:00
Lan 167d5cce3f feat: add admin detail policy actions 2026-06-03 05:45:02 +08:00
Lan 4ab0c0e7dc feat: show admin file detail lifecycle 2026-06-03 05:28:11 +08:00
Lan 5efeb49262 feat: add admin file detail modal 2026-06-03 05:13:58 +08:00
Lan ee4607257a feat: add admin batch policy editor 2026-06-03 04:54:23 +08:00