|
3a0f95b712
|
🐛 优化对 weibo get_cookie_name 的 mock
|
2024-10-28 22:47:31 +08:00 |
|
|
42cc56ac24
|
🐛 优化对 bilibili cookie 的 mock
|
2024-10-28 22:06:12 +08:00 |
|
|
d2c33feff8
|
✅ mock生成匿名Cookie的逻辑
|
2024-10-23 10:53:11 +08:00 |
|
|
1d1b9f6574
|
🐛 config 中添加 clear_db 方法,用于清空数据库内容;添加clear_db fixture,用于在单测前后清空数据库
|
2024-09-28 16:51:22 +08:00 |
|
uy_sun
|
60e6f05cf4
|
✅ fix tests
|
2024-08-30 10:26:22 +08:00 |
|
felinae98
|
8a21ca2a1c
|
🐛 forbid adding platform that needs browser in no-browser env
|
2024-08-30 10:26:22 +08:00 |
|
Azide
|
32e3bcc022
|
🐛 修正项目的代码警告 (#614)
* 🐛 调整ruff的pytest警告
* 🐛 调整导入关系警告
* 🐛 删除奇怪无用的赋值和取值逻辑
* ✅ 不同测试部分所用变量应加以区分
* 🐛 subs_io model添加默认值
* 🐛 修完所有的 ruff PT001 警告
* 🔧 按ruff建议修改ruff配置
warning: The top-level linter settings are deprecated in favour of their counterparts in the `lint` section. Please update the following options in `pyproject.toml`:
- 'ignore' -> 'lint.ignore'
- 'select' -> 'lint.select'
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-17 18:24:20 +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 |
|
felinae98
|
cf50e9f288
|
✨ rename bison_theme_use_browser -> bison_use_browser
|
2024-05-07 00:11:14 +08:00 |
|
Azide
|
f202071e9f
|
✨ 添加 Theme 功能
|
2024-02-16 09:46:13 +08:00 |
|
Azide
|
7d4eb7785c
|
🎨 按ruff调整测试代码
|
2023-07-18 21:43:25 +08:00 |
|
felinae98
|
2ba9542b63
|
🚧 use saa-send
|
2023-06-06 03:30:50 +08:00 |
|
felinae98
|
5010ca1ac5
|
🚧 sunset get_bot
|
2023-06-06 03:30:50 +08:00 |
|
felinae98
|
da8e988ee9
|
♻️ use saa
|
2023-06-06 03:30:50 +08:00 |
|
felinae98
|
4118329bb0
|
🚧 remove User type
|
2023-06-06 03:30:50 +08:00 |
|
uy/sun
|
9581887994
|
🎨 调整旧版数据库加载逻辑 (#212)
|
2023-03-09 17:58:26 +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 |
|
felinae98
|
0201d5b316
|
⬆️ 升级至 NoneBug 0.3
* 🚧 第一次尝试 50/82
* 62/82 调整了清除数据库的位置
* 🚧 pytest-mock
* 🚧 fix test_send
* 🚧 intruduce app request
* 🚧 close and remove tinydb after each test
* 🚧 clean ScheduleTimeWeight table
* 🚧 reload http module to test proxy
* ✅ 合并 main 的代码
* 🚧 在每次测试结束后关闭browser
* 🧑💻 在mcbbsnews渲染异常时添加logger
---------
Co-authored-by: hemengyang <hmy0119@gmail.com>
Co-authored-by: Azide <rukuy@qq.com>
|
2023-03-03 15:12:25 +08:00 |
|
uy/sun
|
8da8f66fcf
|
💥 适配最新的 DataStore 插件,并切换模型为 SQLModel (#178)
* 使用 SQLModel
* 处理数据库迁移
* 与之前的模型相匹配
* sqlmodel 和 sqlalchemy 的导入移入测试函数内
并且使用 init_db 且测试前加载插件
* 重命名 alembic_version 表之前先检查是否存在且 version_num 属于插件
* 降级应该是把名称重新命名回去而不是删掉
* 不再设置 arbitrary_types_allowed 为 True
|
2023-01-30 22:52:11 +08:00 |
|
felinae98
|
dbda95c0c9
|
fixup! use deprecation marker for legacy db
fix test
|
2022-10-10 22:53:29 +08:00 |
|
felinae98
|
9fa97704b0
|
finish new scheduler
|
2022-06-06 00:22:18 +08:00 |
|
felinae98
|
e61f9ea8fd
|
update
|
2022-03-30 20:00:49 +08:00 |
|
felinae98
|
cf35432757
|
update
|
2022-03-29 22:43:39 +08:00 |
|
felinae98
|
cc44e45887
|
update group admin
|
2022-03-02 11:33:14 +08:00 |
|
felinae98
|
78276e51ee
|
update
|
2022-02-16 21:42:49 +08:00 |
|
felinae98
|
5a492aceb3
|
format code
|
2022-02-12 11:22:39 +08:00 |
|
felinae98
|
79799e6d44
|
Merge branch 'main' into nonebot-b1
|
2022-02-12 11:21:20 +08:00 |
|
felinae98
|
709a3e214b
|
format code
|
2022-02-12 10:20:02 +08:00 |
|
felinae98
|
8d40ba504c
|
update all test
|
2022-02-12 00:48:25 +08:00 |
|
hemengyang
|
547be7608f
|
add pre-commit and format files
|
2022-02-09 21:05:14 +08:00 |
|
felinae98
|
51c31637d5
|
update project dep
|
2022-02-09 16:44:26 +08:00 |
|
felinae98
|
4aae3a8c6f
|
update test
|
2021-11-17 22:07:11 +08:00 |
|
felinae98
|
819c126722
|
add weibo test
|
2021-06-17 20:22:30 +08:00 |
|
felinae98
|
74b754f283
|
move test
|
2021-06-16 09:24:11 +08:00 |
|