Commit Graph
406 Commits
Author SHA1 Message Date
时瑾 2185a884b4 refactor: 优化eslint配置,提升代码质量 (#1341)
* feat: 统一并标准化eslint

* lint: napcat.webui

* lint: napcat.webui

* lint: napcat.core

* build: fix

* lint: napcat.webui

* refactor: 重构eslint

* Update README.md
2025-11-03 16:30:45 +08:00
手瓜一十雪 c40c398c7f feat: ffmpeg enhance for native node addon 2025-10-30 09:06:48 +08:00
时瑾 2174561afb fix: #1315 2025-10-14 09:38:18 +08:00
手瓜一十雪 19ae17d041 Update default host and token length in config
Changed the default host to '0.0.0.0' and increased the default token length from 8 to 12 characters in WebUiConfigSchema. Also removed unused getDefaultHost import and made minor formatting adjustments.
2025-09-13 13:49:18 +08:00
时瑾 4fbfae8d30 fix: 更新默认主机地址获取逻辑,支持Docker环境 2025-09-12 21:56:12 +08:00
时瑾 c28733f150 fix: 移除 defaultToken 字段,彻底移除硬编码的默认密码,采用全随机密码 2025-09-12 18:50:21 +08:00
时瑾 f069843c43 fix(dos): 修复红红的ci 2025-09-12 15:36:30 +08:00
时瑾 76e82279d4 refactor: 将默认密码相关逻辑重构为后端处理 (#1247)
* refactor: 将默认密码相关逻辑重构为后端处理

* refactor: 日志路由进行脱敏,生成随机密码使用node:crypto.randomBytes

* feat: 更新密码功能增强,添加新密码强度验证和旧密码检查

* feat: 给文件管理添加WebUI配置文件的脱敏处理和验证逻辑

* refactor: 优化网络显示卡片按钮样式和行为,调整按钮属性以提升用户体验

* feat: 增强路径处理逻辑,添加安全验证以防止路径遍历攻击

* feat: 增强文件路径处理逻辑,添加安全验证以防止路径遍历攻击,并优化查询参数提取

* feat: CodeQL不认可 受不了
2025-09-11 13:13:00 +08:00
手瓜一十雪 d0c2cb4af6 Log WebUI panel URL on server start
Adds logging of the WebUI user panel URL with localhost address when the server starts. Also adjusts QQ login callback invocation in OneBot adapter for improved login flow.
2025-09-07 13:29:37 +08:00
手瓜一十雪 ff33fb9efb Add WebUI token update and callback handling
Introduces callback mechanisms for WebUI token changes and QQ login status updates. The WebUI token is now updated and communicated via a callback after login, and related runtime and type definitions are extended to support these features. Also sets a static default token value in the config schema.
2025-09-06 18:15:35 +08:00
手瓜一十雪 700cd02b1a feat: 支持禁用webui 速率配置 禁用外网访问 禁用webui 2025-09-06 11:53:04 +08:00
手瓜一十雪 f0a607f724 feat: 进一步提高密码安全性 2025-09-06 11:42:12 +08:00
手瓜一十雪 16817807b8 feat: 禁止默认密码 2025-09-06 11:41:06 +08:00
手瓜一十雪 a3c7fd17c5 feat: 安全性提升 2025-09-06 11:32:09 +08:00
手瓜一十雪 53a83b9b60 feat: 安全性提升 2025-09-06 11:23:09 +08:00
手瓜一十雪 a0ef738bcf feat: 安全性提升 2025-09-06 10:49:29 +08:00
手瓜一十雪 7f08d62b5b fix 2025-08-06 18:43:44 +08:00
手瓜一十雪 718cfbfb2e fix: #1058 2025-06-10 12:54:29 +08:00
手瓜一十雪 e1f3a393d5 fix: #1029 2025-05-22 11:47:31 +08:00
手瓜一十雪 6332329a24 fix: #1007 2025-05-15 21:10:21 +08:00
手瓜一十雪 79510ba6a4 feat: 支持https 面板 2025-04-19 20:16:24 +08:00
手瓜一十雪 750f354543 feat: 加强安全性 传输过程使用salt sha256 2025-04-19 19:50:52 +08:00
手瓜一十雪 f315ab15e6 fix 2025-04-19 11:03:03 +08:00
手瓜一十雪 3fd3a2df0c Revert "fix: 修掉漏掉的"
This reverts commit 9c0f13248b.
2025-04-19 11:01:06 +08:00
手瓜一十雪 b2bd48cf49 Revert "fix:coerce"
This reverts commit b190c21ef8.
2025-04-19 10:58:56 +08:00
手瓜一十雪 e77d8f93ba Revert "fix: zod boolean强制转换"
This reverts commit db37def059.
2025-04-19 10:58:39 +08:00
手瓜一十雪 9cc1ef5b31 Revert "fix"
This reverts commit a2d11a7d7d.
2025-04-19 10:57:32 +08:00
手瓜一十雪 ac5df6946c Revert "fix"
This reverts commit f3fa3bd25b.
2025-04-19 10:57:28 +08:00
手瓜一十雪 f3fa3bd25b fix 2025-04-17 09:54:12 +08:00
手瓜一十雪 a2d11a7d7d fix 2025-04-17 09:52:03 +08:00
手瓜一十雪 db37def059 fix: zod boolean强制转换 2025-04-17 09:38:38 +08:00
手瓜一十雪 b190c21ef8 fix:coerce 2025-04-15 12:25:37 +08:00
手瓜一十雪 9c0f13248b fix: 修掉漏掉的 2025-04-13 20:14:35 +08:00
手瓜一十雪 8a116d2d7b 迁移类型校验到zod 2025-04-13 20:05:11 +08:00
手瓜一十雪 136a5b4516 feat: 优化webui快速登录&优化代码整体逻辑 2025-04-01 20:43:46 +08:00
手瓜一十雪 ed40540664 fix: #877 2025-03-15 18:54:51 +08:00
bietiaop ecca682cd6 fix 2025-02-09 00:18:14 +08:00
bietiaop 80d03e7688 fix 2025-02-08 23:45:33 +08:00
bietiaop c2c2bcbce0 fix 2025-02-08 23:38:30 +08:00
bietiaop 8983589e86 fix: 猪咪 2025-02-08 23:05:48 +08:00
bietiaop 174ab591c3 fix 2025-02-08 22:43:53 +08:00
手瓜一十雪 10049a24a2 fix 2025-02-08 21:03:59 +08:00
bietiaop 4103ef2815 feat(webui): theme 2025-02-08 21:01:29 +08:00
手瓜一十雪 5f31c31890 feat: #780 2025-02-08 17:34:31 +08:00
bietiaop 7137d03952 feat: 提示修改默认密码 2025-02-07 18:00:22 +08:00
手瓜一十雪 a55d018085 feat: webui体验优化 2025-02-07 13:56:48 +08:00
bietiaop 289d44e75b fix: #776 2025-02-06 20:10:11 +08:00
bietiaop dbf5003367 feat: 字体修改#771 2025-02-06 15:28:42 +08:00
手瓜一十雪 d5a09ad67e fix 2025-02-05 19:01:14 +08:00
手瓜一十雪 adf6dd5c11 fix: #762 2025-02-04 20:42:13 +08:00