33 Commits

Author SHA1 Message Date
e8f0d578e1
♻️ 将 Site 的元类从 RegistryMeta 改为 新建的 SiteMeta 2024-10-30 20:03:48 +08:00
c5dea7e252
♻️ 初步移除CookieSite 2024-10-29 21:12:50 +08:00
29c2eb456d
♻️ 更新部分方法使用 scheduler_dict 进行cookie操作 2024-10-29 12:24:31 +08:00
cdd671b15f
🐛 修复「管理后台」重复发送消息 2024-10-28 23:06:54 +08:00
ef52339337
移除用于测试的 token 2024-10-22 21:54:04 +08:00
ff1c3c3159
WebUI 中,允许查看 Cookie 的 content 2024-10-21 20:58:21 +08:00
a78bb73281
(admin) 添加验证Cookie有效性接口 2024-10-21 10:04:00 +08:00
2093622672
🐛 改改单测 2024-10-13 21:51:47 +08:00
3f3cc2d25e 🐛 更改命名siteName以符合小驼峰规范 2024-10-11 11:37:18 +08:00
8742de6cd1 在 cookie 中添加 cookie_name 字段 2024-09-23 10:29:56 +08:00
db4b848e3f 添加 Cookie 界面 2024-09-22 13:09:16 +08:00
94daf74359 web api 初步完工 2024-09-20 15:39:22 +08:00
c85e77c801 web api 更新 2024-09-20 00:25:40 +08:00
d890d32bba web api 初稿 2024-09-19 21:16:56 +08:00
76f271584f web api 初稿 2024-09-19 20:28:16 +08:00
Azide
e2a97a9e56
适配小刻食堂平台 (#379)
* 🐛 插入新的Schedulable时应传入use_batch参数

*  适配ceobecanteen平台

Co-authored-by: phidiaLam <2957035701@qq.com>

*   明日方舟公告与官网采用截图分享 (#480)

*  明日方舟公告与官网采用截图分享

* 💄 auto fix by pre-commit hooks

* 🐛 修复缺少的导入,优化逻辑

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Azide <rukuy@qq.com>

* 🐛 优化截图图片效果

* 🐛 修复错误将转发内图片视作头图的问题

* 🍱 使用正式 Bison Logo

* 💄 auto fix by pre-commit hooks

* 🐛 请求小刻API时不在headers里添加过多字段

* 🐛 get_comb_id方法删除无用的targets参数

* 💡 get_comb_id方法更新注释

* 🔥 移除发送部分的更改

*  在命名中明确表示cond_func意图

* ♻️ 拆分get_comb_id功能

* ♻️ 调整缓存逻辑

*  使用uri在theme中调用platform截图

* ♻️ 重构截图逻辑

*  添加模糊匹配提示

*  适配新版Site

* 💄 auto fix by pre-commit hooks

* 🐛 去掉不必要的排序

* 🐛 修正不应出现的驼峰变量名

* ♻️ 按review意见修改

* ♻️ 调整截图函数逻辑

* 🔊 调低日志等级

* ✏️ 修复一些拼写和格式

---------

Co-authored-by: phidiaLam <2957035701@qq.com>
Co-authored-by: 洛梧藤 <67498817+phidiaLam@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-13 01:06:42 +08:00
Azide
a42a65523e
使用 yarl.URL 拼接 outer_url (#496)
*  显式依赖 yarl

*  使用 yarl.URL 处理 outer_url
2024-03-19 10:26:38 +08:00
uy_sun
1c4cbc7703 🐛 修复后台管理界面无法获取群信息的问题 2024-03-04 14:54:53 +08:00
felinae98
badb26419e ⬆️ upgrade nonebot_plugin_saa 2023-11-22 10:44:51 +08:00
Sherkey
1997b57761
BISON_OUTER_URL配置改进 (#405)
* 📝 修复文档中的错误链接

*  bison_outer_url使用property包装

* 📝 通过vue动态生成BISON_OUTER_URL的配置建议

* 💄 auto fix by pre-commit hooks

* 📝 优化文档视觉效果

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-29 20:54:41 +08:00
Azide
4fd87a46b8 ♻️ rename func check_is_fastapi_driver 2023-10-15 23:26:35 +08:00
Azide
2d8b138e86 🐛 更改标注类型的格式 2023-10-15 23:26:35 +08:00
Azide
28f5d0c55d 🐛 真的修复了(确信 2023-10-15 23:26:35 +08:00
Azide
77e9fc3b50 🐛 修复一些类型错误 2023-10-15 23:26:35 +08:00
Komorebi
4b26268c60
🐛 修复无法正常判断 FastAPI 是否存在的问题 (#350)
* 🐛 修复多驱动器时无法正常判断 FastAPI 是否存在的问题

* 🎨 优化

* 🚑️ 再改
2023-08-29 10:25:37 +08:00
Azide
bf788ff72a 🚨 移除noqa: E501
💄 auto fix by pre-commit hooks
2023-07-18 21:43:25 +08:00
Azide
dba8f2a9cb 🎨 按ruff的检查调整程序代码 2023-07-18 21:43:25 +08:00
felinae98
5010ca1ac5 🚧 sunset get_bot 2023-06-06 03:30:50 +08:00
felinae98
4118329bb0 🚧 remove User type 2023-06-06 03:30:50 +08:00
AzideCupric
ce950ac4ab
📝 在文档和log中强调bison网页后台网址不能直接访问,并优化部分文档的表达 (#235) 2023-04-12 10:49:58 +08:00
felinae98
39a3b64587
🐛 not load webui when not install fastapi (#221) 2023-03-24 22:58:02 +08:00
felinae98
45b4ac3988 🗃️ alter fields to not null, fix typing 2023-03-09 19:25:29 +08:00
uy/sun
90816796c7
🚚 修改 nonebot_bison 项目结构 (#211)
* 🎨 修改 nonebot_bison 目录位置

* auto fix by pre-commit hooks

* 🚚 fix frontend build target

* 🚚 use soft link

* Revert "🚚 use soft link"

This reverts commit de21f79d5ae1bd5515b04f42a4138cb25ddf3e62.

* 🚚 modify dockerfile

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: felinae98 <731499577@qq.com>
2023-03-09 17:32:51 +08:00