Commit graph

4602 commits

Author SHA1 Message Date
mengshon1-boop 1792f21b39 fix: 添加权限检查并修复相关UI显示问题
在文件上传、快捷键操作和右键菜单中添加权限检查逻辑
根据用户权限动态显示或隐藏相关UI元素
修复权限不足时的错误提示问题
2026-04-25 22:24:45 +08:00
mengshon1-boop 3a0263d57c test(upload): 更新上传测试用例以使用新目录结构
重构上传测试用例,将测试目录从"up"改为"ao"以匹配新的权限模型
简化测试断言,移除冗余检查
添加文件完整性验证测试
优化错误处理测试
2026-04-25 21:16:08 +08:00
mengshon1-boop d5238a9776 feat(web): 改进上传进度显示和错误处理
重构上传进度UI,增加更详细的传输信息和动画效果
优化重试机制和错误处理逻辑,提升上传稳定性
添加文件大小格式化和ETA计算功能
2026-04-25 20:37:43 +08:00
mengshon1-boop e25f861c9c feat(上传): 增强文件上传功能和用户体验
test: 添加多个上传测试用例包括大小限制和错误处理

refactor(前端): 重构上传界面代码,增加上传进度统计和错误重试机制
2026-04-25 20:09:25 +08:00
mengshon1-boop 154e3a5c9f feat(上传): 添加文件上传进度显示和测试用例
为文件上传功能添加进度条、状态显示和重试机制
添加全面的上传功能测试用例,包括大文件和多文件上传测试
2026-04-25 19:59:52 +08:00
mengshon1-boop d570f04d26 feat(权限管理): 添加角色权限系统及分享管理页面
新增角色权限系统,支持admin/editor/guest三种角色
添加权限管理页面,展示用户权限、角色及分享信息
扩展分享数据库表结构,增加公开状态、访问次数限制字段
实现角色权限自动应用到用户的功能
2026-04-25 18:28:42 +08:00
ed 6e25d648a9 update pkgs to 1.20.14 2026-04-24 22:27:49 +00:00
ed a09a0eadbb v1.20.14 2026-04-24 22:22:06 +00:00
ed 1066dc3908 thumb audio pretending to be video 2026-04-24 21:19:35 +00:00
ed 8d4363d147 list-nics / list-ips 2026-04-24 20:56:12 +00:00
ed 8b986888a9 logrotate-counter format 2026-04-24 20:09:52 +00:00
ed 1e7de5d14f new hooks: reloc-by-wark; closes #1395 2026-04-23 22:35:15 +00:00
ed e52bbed871 env-var compat 2026-04-23 19:27:03 +00:00
ed 46bd386a55 early logging 2026-04-23 19:26:39 +00:00
ed 8c7cdf8583 add --certkey 2026-04-22 20:32:18 +00:00
ed 43773f2c7e filesize units 6/7; closes #1389 2026-04-22 19:31:47 +00:00
ed 228c3dfa79 fix wrong dks in tree/navpane (closes #1392);
wrong key due to url-escaped foldername as input

also fixes "wrong dirkey" logspam as parent levels are built
2026-04-22 18:39:06 +00:00
ed ac05b4f1e6 helptext: mention --urlform get 2026-04-22 17:54:24 +00:00
ed 238887c774 u2c: macos-terminal would clearscreen on exit 2026-04-22 19:52:02 +02:00
ed 9a724b0124 misc logging/ux 2026-04-22 17:31:07 +00:00
ed 8173018926 tail: use counted offsets (closes #1449);
avoids spurious reopen on some fs
2026-04-21 23:35:37 +02:00
ed 37e68f60a6 update deps 2026-04-21 13:41:27 +00:00
ed cbd82b654a use ${ENV} syntax for env-vars;
only expand environment-variables of the form ${ENV}

by default, crash on startup if the old $ENV syntax is found,
explaning that the old syntax can be enabled with an option
2026-04-20 23:43:00 +02:00
ed b31f29024a audioplayer: opus: enforce 1ch or 2ch; downmix 3+ 2026-04-20 20:39:14 +02:00
ed 3a9ff67ab0 audioplayer: add bcstm/bfstm/brstm; closes #1447 2026-04-20 20:31:04 +02:00
exci 874e0e7a01
fix rcm related errors (#1446)
fix error when rightclicking certain elements,
and disable hotkey ^A in inputboxes

Co-authored-by: ed <s@ocv.me>
2026-04-20 09:44:32 +00:00
ed a997455b5a bup: skip lim for nullwrite/nameless (perf) 2026-04-16 11:38:06 +00:00
ed 6fb1287e7f nameless uploads skip hooks+up2k; closes #1401 2026-04-16 11:03:51 +00:00
ed e00f2b46eb webdav: allow propfind depth:inf on files (closes #1437);
some webdav-clients (webdav4) sends Depth: infinite also for files,
assume Depth: 0 in this case
2026-04-16 10:01:22 +00:00
ed 745d82faf8 tests: support freebsd 2026-04-15 23:45:22 +02:00
Snoww f6dc1e2996
better ipv6 ratelimiting logic (#1439)
aligns ipv6 normalizatoin logic with the typical residental allocation of /56 instead of /64.
2026-04-15 22:14:35 +02:00
/dev/urandom d93fadd87e
esperanto fixes (#1435) 2026-04-15 18:13:37 +02:00
ed a5d859d2b1 smb: add ipv6 support; closes #1417 2026-04-11 00:17:05 +00:00
AppleTheGolden 0b16e875da
nixos: add override example (#1406) 2026-04-10 20:02:50 +00:00
chilledfrogs f5613187b4
improve *BSD compat (#1425)
reuse some macOS stuff since lsblk and /proc doesn't apply to *BSD
2026-04-10 20:02:01 +00:00
ed 003c68d027 readme: shadowing 2026-04-10 19:52:43 +00:00
ed 961a273764 autogrid global-option 2026-04-10 19:37:00 +00:00
ed 55d37364a6 indentation 2026-04-10 19:36:06 +00:00
ed 6b3419b38f mtl new strings 2026-04-10 19:11:09 +00:00
ed 660ed7a92e tl new strings 2026-04-10 19:09:59 +00:00
exci 822fa71800
add autogrid (#1407)
Co-authored-by: ed <s@ocv.me>
2026-04-10 18:33:28 +00:00
AppleTheGolden ed516ddc20
make .txt the default extension for text/plain (#1428)
`MIMES.items()` iterates in insertion order, so the last-inserted entry
had priority, meaning that `text/plain` got `ssa` as default extension.
2026-04-09 23:20:53 +00:00
ed ede692925e reset language too 2026-04-04 20:28:16 +00:00
stackxp ec3e0e7e1d
add --glang to use browser language (#1410)
Signed-off-by: ed <s@ocv.me>
Co-authored-by: ed <s@ocv.me>
2026-04-04 20:24:11 +00:00
ed d1517d0c65 catch the server-hdd phasing out of existence (and equally unexpected stuff) 2026-04-04 18:19:49 +00:00
mid-kid fb5384f412
readme: add gentoo packaging (#1387) 2026-04-02 20:36:52 +00:00
ed 971f8ef944 devnotes: vendored deps 2026-04-02 20:28:16 +00:00
exci 198f631ac8
fix playlist error on re-sorted filelists (#1403)
m3u files would get added (not good)
2026-03-31 19:02:11 +00:00
ed 5aaa4ff15b docs: volflags examples 2026-03-30 08:43:05 +00:00
Lomain 26e663d111
add fail2ban handler (#1352) 2026-03-25 04:08:35 +00:00