vastsa
93a30a257c
feat: mint extract codes from data/local without re-upload
...
Admin can browse NAS files under data/local including subfolders and share
them in place. Shares use file_path=local-ref, skip storage quota, and never
delete the original file on expire.
2026-09-16 18:31:00 +08:00
Marrrrrrrrry
c7b5eabe7c
refactor: single canonical snake_case keys across admin/share APIs (D7)
...
Drop the message/msg envelope twin, all camel+snake dual-field response
pairs (file list/detail/policy/storage, dashboard counters, batch op
counts, status insights, presets, metadata), and camel request fields
(clearExpiredAt, downloadLimit, sortBy/sortOrder, maxChars). Stored
KeyValue JSON (metadata, presets, activities) keeps legacy-key read
fallbacks so existing deployments normalize transparently.
2026-09-11 03:10:04 +08:00
Marrrrrrrrry
a49727b63d
refactor: move admin update_file orchestration into FileService (2.3)
2026-09-11 02:56:02 +08:00
Marrrrrrrrry
baecebd81e
perf: dashboard counters and storage quota use SQL aggregation (D3)
...
- quota.get_storage_usage (runs on every upload) now aggregates via Sum
instead of loading every row
- dashboard simple counters (total/size/expired/active/text/chunked/used,
yesterday/today, top suffixes, recent 8) moved to SQL; the per-row health
rules engine keeps its single pass (documented)
2026-09-09 19:04:12 +08:00
Marrrrrrrrry
5121db6edc
feat: rename all config keys to snake_case with DB migration 007
...
- 20 camelCase keys (uploadSize, expireStyle, openUpload, ...) renamed across
DEFAULT_CONFIG, settings accessors, setup form fields, and ConfigService
- migrations_007 renames keys inside the existing settings KeyValue row,
preserving all values for existing deployments
- schema guard meta-test keeps future keys declared
2026-09-09 18:09:19 +08:00
Marrrrrrrrry
443cfe7472
feat: upgrade password hashing to memory-hard scrypt with transparent rehash
...
- new hashes use scrypt (n=2^14, r=8, p=1); sha256 and plaintext formats
keep verifying unchanged, so existing deployments are unaffected
- on successful login a legacy-stored admin password is rehashed to scrypt
in the settings KeyValue row
- add password_needs_rehash() and extend scheme detection; stdlib only, no
new dependency
2026-09-09 16:33:07 +08:00
vastsa
eda0a3127a
fix: add magic-byte checks, login rate limits, and non-root Docker
...
Close the remaining security gaps: validate upload content against
file signatures, rate-limit admin login failures with configurable
thresholds, and run the container as uid 1000 instead of root.
2026-07-23 22:23:04 +08:00
Lan
93ff291366
feat: configure admin session lifetime ( #484 )
2026-07-10 19:21:00 +08:00
Lan
b859ec211e
refactor: remove settings diagnostics recommendations
2026-06-03 10:37:17 +08:00
Lan
8ac367d0b8
refactor: remove admin recommendation summaries
2026-06-03 10:24:07 +08:00
Lan
63cf725802
feat: add admin file view summary
2026-06-03 10:00:58 +08:00
Lan
ccbc710d74
feat: add admin maintenance queue
2026-06-03 08:18:41 +08:00
Lan
2d18b02005
feat: add admin config diagnostics
2026-06-03 08:01:55 +08:00
Lan
e75fe596d0
feat: add admin operational insights
2026-06-03 07:47:33 +08:00
Lan
be7ce2b30e
feat: add admin activity timeline filters
2026-06-03 07:36:48 +08:00
Lan
0dbb594f4a
feat: add admin activity stream
2026-06-03 07:19:56 +08:00
Lan
b6aa28c345
feat: add admin file view presets
2026-06-03 07:01:38 +08:00
Lan
fc6046a663
feat: add admin file metadata
2026-06-03 06:37:56 +08:00
Lan
3467e973ac
feat: add batch file policy actions
2026-06-03 06:22:56 +08:00
Lan
a1de598277
feat: add dashboard health actions
2026-06-03 06:15:15 +08:00
Lan
1ba0d2a044
feat: add admin file health filters
2026-06-03 05:55:18 +08:00
Lan
1f0b0b791c
feat: add admin file policy actions
2026-06-03 05:45:02 +08:00
Lan
35e069ccc3
feat: add admin file detail endpoint
2026-06-03 04:58:19 +08:00
Lan
2fa1faebe0
feat: add admin batch file policy update
2026-06-03 04:38:30 +08:00
Lan
0ced9b1f38
feat: add admin batch file deletion
2026-06-03 04:24:16 +08:00
Lan
1eb69e4cc5
feat: add admin text preview endpoint
2026-06-03 04:05:52 +08:00
Lan
71fc1ad8ea
feat: enhance admin file list filters
2026-06-03 03:45:30 +08:00
Lan
64ebc59a84
feat: expand dashboard statistics
2026-06-03 03:32:12 +08:00
Lan
6805206efd
fix: tolerate partial config updates
2026-06-03 03:08:19 +08:00
Lan
0d71b914e4
feat: add admin auth compatibility endpoints
2026-06-03 02:44:42 +08:00
Lan
a3f599fe51
refactor: streamline admin authorization logic and improve token handling
2026-01-25 23:40:15 +08:00
Lan
3074d9ba2e
feat: https://github.com/vastsa/FileCodeBox/issues/442 密码进行hash存储
2026-01-07 20:36:59 +08:00
Lan
e87bcfcce5
fix: https://github.com/vastsa/FileCodeBox/issues/407
2026-01-07 20:04:44 +08:00
Lan
c02fb7ce20
fix: 后台无法修改永久取件码的信息
2025-12-01 19:09:23 +08:00
Lan
cf96071167
feat: 新增管理员编辑记录,优化取件失败提示
2025-03-04 00:09:06 +08:00
Lan
4d7c9deabf
fix: Fix abnormal Chinese names in downloaded files in the background #200
2025-02-16 23:37:53 +08:00
Lan
1ff1d6c695
style: code format
2025-02-15 22:00:53 +08:00
Lan
802d2551ff
fix: 密码修改失败问题
2025-02-10 19:12:04 +08:00
Lan
ede0e62f32
feat: 更新管理员登录为简易版jwt
2025-02-09 22:57:21 +08:00
Lan
651e9c5936
feat: 新增主题选择
2024-11-28 20:13:02 +08:00
Lan
019684787a
feat:新UI上线测试,问题可能比较多,稳定用户不建议用beta,请使用latest
2024-11-23 17:06:40 +08:00
Lan
f0e7304bb2
feat:新增后台dashboard接口
2024-11-23 16:43:58 +08:00
Lan
7c98046355
fix:error
2024-10-07 15:13:28 +08:00
Lan
cc3a521d31
refact: some codes
2024-10-06 17:14:16 +08:00
Lan
d988d5bc98
feat:新增分享服务器本地文件,传到/opt/filecodebox/local里面
2024-09-24 23:00:43 +08:00
lan
e421ab93bc
update:存储改成单例模式,修复读取问题
2024-06-18 23:04:52 +08:00
lan
8afae1f567
fix:后台保存设置字符串问题,新增背景透明度设置项
2024-06-18 22:50:34 +08:00
lan
a891fbe826
feat: 新增后台选择过期方式
2024-06-15 20:04:48 +08:00
lan
8215ef9e4b
fix: 修复文本取件问题
2024-05-06 13:02:00 +08:00
buyfakett
3563b86b82
后端移动文件夹,前端在docker中编译,进一步减小镜像大小
2024-05-02 00:29:33 +08:00