|
eb2eae61bf
|
♻️ user_cookie -> identified_cookie
|
2025-01-03 17:44:53 +08:00 |
|
Azide
|
08ad5c288c
|
🧑💻 使用 Ruff 包办所有格式化和检查 (#663)
|
2024-12-17 10:52:21 +08:00 |
|
|
97a0f04808
|
✨ 添加 Cookie 组件 (#633)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-10-31 12:56:15 +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
|
e50eb5d70b
|
👷 添加ruff actions
🐛 分支应该是main而不是master
💄 auto fix by pre-commit hooks
🔥 dependabot.yml的registrys需要token,先删除
|
2023-07-18 21:43:25 +08:00 |
|
Azide
|
7d4eb7785c
|
🎨 按ruff调整测试代码
|
2023-07-18 21:43:25 +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
|
d07657aeed
|
🗃️ 又切换回 sqlalchemy,但是 2.0 (#206)
* change: 又切换回 sqlalchemy,但是 2.0
* 将 subscribe 表的两个 json 字段设置为 not null
---------
Co-authored-by: hemengyang <hmy0119@gmail.com>
|
2023-03-03 18:10:12 +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
|
f6e392e8db
|
add dedup for data migration
|
2022-10-09 21:25:11 +08:00 |
|
pre-commit-ci[bot]
|
1543ba21d2
|
auto fix by pre-commit hooks
|
2022-10-09 19:45:56 +08:00 |
|
felinae98
|
ebcf1cc300
|
fix: handle subscibe dup exception
|
2022-10-09 19:45:55 +08:00 |
|
felinae98
|
50b46c5f03
|
fix test
|
2022-06-06 01:27:25 +08:00 |
|
felinae98
|
9fa97704b0
|
finish new scheduler
|
2022-06-06 00:22:18 +08:00 |
|
felinae98
|
331d0f6101
|
update
|
2022-06-05 16:45:35 +08:00 |
|
felinae98
|
68baa3b915
|
add scheduler config
|
2022-06-01 23:03:46 +08:00 |
|
felinae98
|
47bcffe12e
|
add migration test
|
2022-05-06 00:17:17 +08:00 |
|
felinae98
|
beff65c8d3
|
update
|
2022-03-31 12:14:49 +08:00 |
|
felinae98
|
cf35432757
|
update
|
2022-03-29 22:43:39 +08:00 |
|
felinae98
|
df23648b0f
|
update
|
2022-03-24 19:36:54 +08:00 |
|