HibiKier
|
ea6759824e
|
refactor: streamline per-key lock creation in AuthSnapshotService using setdefault for atomicity
|
2025-12-31 10:26:18 +08:00 |
|
HibiKier
|
2542436d5b
|
refactor: enhance concurrency handling in AuthSnapshotService by implementing future-based snapshot building
|
2025-12-31 10:17:03 +08:00 |
|
HibiKier
|
e93b3b998e
|
refactor: adjust concurrency settings and implement per-key locks in AuthSnapshotService
|
2025-12-31 10:04:57 +08:00 |
|
HibiKier
|
401fc5e203
|
refactor: simplify superuser permission checks in OptimizedAuthChecker
|
2025-12-31 09:40:10 +08:00 |
|
HibiKier
|
4a103f5675
|
fix: update snapshot caching to store the entire snapshot object instead of its model dump
|
2025-12-31 09:23:51 +08:00 |
|
HibiKier
|
46a924ca46
|
feat: warmup now writes to both memory and Redis cache for cross-process sharing
|
2025-12-31 09:14:41 +08:00 |
|
HibiKier
|
40a81efa24
|
perf: fix lock ordering issue - acquire semaphore before checking building status
|
2025-12-31 09:05:32 +08:00 |
|
HibiKier
|
6ddfbe2ac1
|
fix: add explicit NULL type casting for PostgreSQL UNION ALL compatibility
|
2025-12-30 16:44:54 +08:00 |
|
HibiKier
|
2ccd05f4cf
|
fix: remove duplicate prefix in cache keys (CacheType already provides prefix)
|
2025-12-30 15:16:40 +08:00 |
|
HibiKier
|
358c7f502c
|
fix: use AUTH_SNAPSHOT and PLUGIN_SNAPSHOT cache types instead of TEMP/PLUGINS
|
2025-12-30 15:10:14 +08:00 |
|
HibiKier
|
ae4aa5c29c
|
refactor: replace legacy auth checker with optimized auth checker for improved performance
|
2025-12-29 17:03:25 +08:00 |
|
HibiKier
|
7ec11474f8
|
feat: add multi-database support (MySQL, PostgreSQL, SQLite) with parameterized queries
|
2025-12-29 16:49:49 +08:00 |
|
HibiKier
|
601738c421
|
perf: use single SQL query to reduce DB calls from 5-7 to 1-3
|
2025-12-29 16:44:57 +08:00 |
|
HibiKier
|
94939d4665
|
feat: add global semaphore to limit concurrent snapshot builds
|
2025-12-29 16:35:12 +08:00 |
|
HibiKier
|
cd2fd77789
|
refactor: use CacheDict from CacheRoot instead of custom dict for memory cache
|
2025-12-29 09:41:17 +08:00 |
|
HibiKier
|
ea8d874f0c
|
fix: add asyncio.Lock to prevent concurrent snapshot building race condition
|
2025-12-29 09:29:32 +08:00 |
|
HibiKier
|
96ba8d5a21
|
feat: add permission snapshot system to optimize auth checks
|
2025-12-29 09:20:07 +08:00 |
|
HibiKier
|
f86beb928f
|
refactor: enhance UserConsole UID management and remove mute plugin
|
2025-12-25 09:47:01 +08:00 |
|
HibiKier
|
52b32915cc
|
refactor: optimize MuteManager data source
|
2025-12-24 15:09:24 +08:00 |
|
HibiKier
|
be316a5caf
|
refactor: extract is_ban_cached method to BanConsole
|
2025-12-24 14:54:39 +08:00 |
|
HibiKier
|
ff0b37123e
|
refactor(fudu1): optimize enhanced repeater plugin
|
2025-12-24 10:31:49 +08:00 |
|
HibiKier
|
82dbdb91a4
|
refactor(fudu): 浼樺寲澶嶈鎻掍欢浠g爜
|
2025-12-24 10:15:34 +08:00 |
|
HibiKier
|
5e8ce3239e
|
Merge branch 'bugfix/fix-timeout-k' of https://github.com/zhenxun-org/zhenxun_bot into bugfix/fix-timeout-k
|
2025-12-24 03:40:47 +08:00 |
|
HibiKier
|
587396eb49
|
refactor: remove enable_lock attribute and enhance locking mechanism in Model class
|
2025-12-23 23:23:58 +08:00 |
|
HibiKier
|
a9ceb33adb
|
chore: remove outdated comment from cancel_pending_tasks function
|
2025-12-23 17:23:38 +08:00 |
|
HibiKier
|
af75d7fc5a
|
perf: use keyed create locks for ban/group and add tuple support
|
2025-12-23 17:22:41 +08:00 |
|
HibiKier
|
a8251165fa
|
perf: support keyed create locks and use user_id lock for UserConsole
|
2025-12-23 17:19:01 +08:00 |
|
HibiKier
|
ed23ad319a
|
perf: lock user creation to reduce timeout under load
|
2025-12-23 17:11:35 +08:00 |
|
HibiKier
|
cb9c5834df
|
chore: cancel only zhenxun tasks on shutdown
|
2025-12-23 17:07:36 +08:00 |
|
HibiKier
|
93ad6b354c
|
chore: log task states and elapsed on auth ctx timeout
|
2025-12-23 16:57:30 +08:00 |
|
HibiKier
|
420f7e2bfc
|
refactor(user_console): simplify user creation logic by removing retry mechanism for uid generation
|
2025-12-23 16:48:34 +08:00 |
|
HibiKier
|
4fd816fa3b
|
fix: avoid null uid when creating user
|
2025-12-23 16:47:33 +08:00 |
|
HibiKier
|
47a40492ae
|
refactor(bot): remove cancel_pending_tasks function and adjust shutdown behavior
|
2025-12-23 16:40:26 +08:00 |
|
HibiKier
|
142afde336
|
fix(user_console): ensure uid returns a valid value by defaulting to 1
|
2025-12-23 16:38:08 +08:00 |
|
HibiKier
|
36667f9e19
|
chore: cancel pending tasks before db disconnect on shutdown
|
2025-12-23 16:33:51 +08:00 |
|
HibiKier
|
564e1b07b2
|
chore: log pending tasks on auth context timeout
|
2025-12-23 16:26:42 +08:00 |
|
HibiKier
|
c89e75e268
|
refactor(user_console): improve user retrieval logic by checking existence before creation
|
2025-12-23 16:20:37 +08:00 |
|
HibiKier
|
e6fd27018d
|
refactor(user_console): streamline user retrieval and creation logic
|
2025-12-23 16:20:07 +08:00 |
|
HibiKier
|
2c457b7595
|
refactor(user_console): simplify user creation and remove uid from save operations
|
2025-12-23 16:17:38 +08:00 |
|
HibiKier
|
6f139b3afa
|
fix: ensure uid unique without null
|
2025-12-23 16:11:11 +08:00 |
|
HibiKier
|
b74f8dfd33
|
fix: avoid uid unique conflict on user create
|
2025-12-23 16:08:40 +08:00 |
|
HibiKier
|
4a76c86e2e
|
fix(auth_ban): prevent processing of null results in ban handling logic
|
2025-12-23 15:26:32 +08:00 |
|
HibiKier
|
47ec5bc7b9
|
refactor: enhance ban handling with caching and optimize user/group ban checks
|
2025-12-23 15:15:35 +08:00 |
|
HibiKier
|
a3cbfefaa1
|
feat: add TEMP cache type and enhance user and bot management with improved error handling and caching mechanisms
|
2025-12-22 10:16:02 +08:00 |
|
HibiKier
|
632dff3bad
|
perf: optimize timeout handling for database and cache operations
|
2025-12-18 09:05:33 +08:00 |
|
HibiKier
|
e5ea00eb1a
|
chore: record load_context time in auth checker hooks detail
|
2025-12-17 16:27:27 +08:00 |
|
HibiKier
|
4b225a3be9
|
refactor: update auth checker with optimized design and remove deprecated file
|
2025-12-17 16:01:08 +08:00 |
|
HibiKier
|
26150c2924
|
refactor: align auth checker optimization with DataAccess caching
|
2025-12-17 15:03:44 +08:00 |
|
HibiKier
|
0939013a89
|
feat: add retry mechanism and cache fallback for auth timeout
|
2025-12-17 10:52:15 +08:00 |
|
HibiKier
|
a4ddfcd8ac
|
⚡ 优化日志记录器,简化日志文件命名和模板解析逻辑
|
2025-06-17 09:16:22 +08:00 |
|
HibiKier
|
6769c724cb
|
🐛 修复群被动开关
|
2025-04-17 16:58:45 +08:00 |
|
HibiKier
|
dc143c0682
|
🔧 Update SESSION_EXPIRE_TIMEOUT configuration
|
2025-01-10 12:19:11 +08:00 |
|
HibiKier
|
0462703b13
|
✅ Repair self-test
|
2025-01-10 12:19:11 +08:00 |
|
HibiKier
|
73d2ed444e
|
➖ Add fastapi dependency and remove nonebot-plugin-userinfo
|
2025-01-10 12:19:11 +08:00 |
|
HibiKier
|
ccee16bed2
|
🚨 Add specific ignore items in pyright ignore
🚨 Make pyright happy
♻️ Remove unused adapter
|
2025-01-10 12:19:11 +08:00 |
|
HibiKier
|
e814469b75
|
✨ Compatible with pydantic 2.0 using the pydantic compatibility layer provided by nonebot
|
2025-01-10 12:19:11 +08:00 |
|
HibiKier
|
bd363a576b
|
🐛 修复webui-api路径导入
|
2024-12-11 17:20:25 +08:00 |
|
HibiKier
|
dd39a2ac2e
|
🔊 添加更多debug日志
|
2024-11-24 18:00:51 +08:00 |
|
HibiKier
|
5c0171767c
|
🐛 修复插件限制加载显示
|
2024-11-23 14:49:53 +08:00 |
|
HibiKier
|
dd58a4eb3a
|
🔥 移除过期原神日历文件
|
2024-11-22 17:02:14 +08:00 |
|
HibiKier
|
a767ad6a51
|
🎨 message-build判断优化
|
2024-11-22 16:58:14 +08:00 |
|
HibiKier
|
f1b2ed6350
|
🧑💻 message-build支持图片base64以及url
|
2024-11-22 16:56:54 +08:00 |
|
HibiKier
|
4e4b4590c4
|
🎨 排行榜代码优化与修改版本
|
2024-11-22 10:05:54 +08:00 |
|
HibiKier
|
af8f58b61e
|
🎨 优化工具类代码
|
2024-11-21 15:10:07 +08:00 |
|
HibiKier
|
03d8b3aafd
|
🐛 允许超级用户撤回任意消息
|
2024-11-20 09:17:57 +08:00 |
|
HibiKier
|
ae5df38c21
|
🐛 修复图片模板方法
|
2024-11-16 17:59:15 +08:00 |
|
HibiKier
|
545f6fd7f9
|
🎨 入群检测代码优化
|
2024-11-14 18:56:53 +08:00 |
|
HibiKier
|
4c7c223b2c
|
🐛 修复我的信息at用户时头像不正确
|
2024-11-14 15:27:17 +08:00 |
|
HibiKier
|
14b983cfa0
|
💬 修改md
|
2024-11-09 13:53:38 +08:00 |
|
HibiKier
|
229908207b
|
💬 更新md
|
2024-11-09 13:53:16 +08:00 |
|
HibiKier
|
cfe7dfd6b5
|
💬 修改md
|
2024-11-08 21:00:48 +08:00 |
|
HibiKier
|
b2da0a902d
|
🎨 playwright添加cookie参数
|
2024-11-07 13:38:20 +08:00 |
|
HibiKier
|
3f06131c34
|
💬 修改md
|
2024-11-07 00:29:31 +08:00 |
|
HibiKier
|
24f1a1ca9a
|
💬 修改测试url
|
2024-11-07 00:28:41 +08:00 |
|
HibiKier
|
54a74cdd91
|
🎨 更新md
|
2024-11-05 20:45:11 +08:00 |
|
HibiKier
|
7ca4c18e1c
|
🎨 修改md
|
2024-11-05 15:54:53 +08:00 |
|
HibiKier
|
a2b7980ae2
|
💬 修改版本号
|
2024-11-05 15:51:19 +08:00 |
|
HibiKier
|
e75a56fe08
|
🐛 修复自定义pixiv反向代理无法对涩图生效
|
2024-11-05 15:47:59 +08:00 |
|
HibiKier
|
54d2ba1df4
|
🐛 修复邀请群组强制退出
|
2024-11-05 14:47:07 +08:00 |
|
HibiKier
|
dbfeeac313
|
Merge branch 'dev' of https://github.com/HibiKier/zhenxun_bot into dev
|
2024-10-29 08:27:02 +08:00 |
|
HibiKier
|
93316be5fe
|
🎨 工具代码优化
|
2024-10-29 08:26:41 +08:00 |
|
HibiKier
|
6359ba63f9
|
💬 更新权限检查日志提示
|
2024-10-24 16:27:37 +08:00 |
|
HibiKier
|
2853a2feaa
|
✨ ban限制依赖类型插件
|
2024-10-24 11:09:01 +08:00 |
|
HibiKier
|
c9b864ca54
|
🐛 修复合并转发在bytes传输下图片丢失
|
2024-10-23 15:21:53 +08:00 |
|
HibiKier
|
ebf3df046a
|
🎨 修改版本号
|
2024-10-22 10:40:00 +08:00 |
|
HibiKier
|
b6611d6d0e
|
🐛 修复admin_check
|
2024-10-22 10:38:40 +08:00 |
|
HibiKier
|
23ea21380a
|
🐛 导入修复
|
2024-10-22 09:29:11 +08:00 |
|
HibiKier
|
27d4630874
|
✨ 修改版本
|
2024-10-20 19:24:47 +08:00 |
|
HibiKier
|
7ac2ff92c4
|
✨ 本地引入echart.js
|
2024-10-20 13:34:47 +08:00 |
|
HibiKier
|
92b0c6b4bf
|
🎨 http_utils代码优化
|
2024-10-19 23:02:05 +08:00 |
|
HibiKier
|
75e10fe38a
|
🎨 修改早安时间
|
2024-10-19 18:12:35 +08:00 |
|
HibiKier
|
6dfebaae96
|
🎨 帮助界面优化
|
2024-10-19 01:26:30 +08:00 |
|
HibiKier
|
3ffe213652
|
🐛 修复签到金币排行bug以及添加官bot监控
|
2024-10-19 00:36:19 +08:00 |
|
HibiKier
|
c9aa568767
|
✨ 可以通过Bot判断是否为官bot
|
2024-10-18 23:13:16 +08:00 |
|
HibiKier
|
7567bfb732
|
🐛 修复插件限制加载
|
2024-10-16 17:29:21 +08:00 |
|
HibiKier
|
f0f0e94a9c
|
🎨 引用uninfo
|
2024-10-16 17:18:30 +08:00 |
|
HibiKier
|
792bcaa711
|
✨ 添加获取nb配置api
|
2024-10-16 12:58:01 +08:00 |
|
HibiKier
|
4a52c4825b
|
🐛 修复webui接口
|
2024-10-14 22:24:47 +08:00 |
|
HibiKier
|
6358ce5266
|
🐛 修复webui好友数量显示和登录次数
|
2024-10-14 22:17:05 +08:00 |
|
HibiKier
|
e98af0ac21
|
Merge branch 'dev' of https://github.com/HibiKier/zhenxun_bot into dev
|
2024-10-14 22:11:39 +08:00 |
|