1462 Commits

Author SHA1 Message Date
felinae98
a57f2aa21e 🚀 add docker test 2023-04-04 00:54:30 +08:00
github-actions[bot]
46cc7c7fc4 📝 Update changelog 2023-04-03 10:21:20 +00:00
Sherkey
0e6dfffee8 📝 fix nonebot2 docs url 2023-04-03 18:20:39 +08:00
felinae98
344bb38eae
⬆️ upgrade datastore 2023-04-02 19:02:28 +08:00
felinae98
f16ca6db8b 🧑‍💻 fix type hinting 2023-04-01 19:57:18 +08:00
github-actions[bot]
5fbd94460b 📝 Update changelog 2023-03-26 12:44:04 +00:00
felinae98
2796ea6f8e add config for disable network warning log 2023-03-26 20:43:24 +08:00
felinae98
560fd81db6
✏️ Update 问题报告.md 2023-03-26 20:39:46 +08:00
pre-commit-ci[bot]
7b557930a6 💄 auto fix by pre-commit hooks 2023-03-26 20:23:38 +08:00
felinae98
32850947b8 🚸 add issue template 2023-03-26 20:23:38 +08:00
github-actions[bot]
2eb10a78c9 📝 Update changelog 2023-03-24 17:08:24 +00:00
felinae98
5f09f887f3 🥅 add raise_for_status for bilibili 2023-03-25 01:07:46 +08:00
github-actions[bot]
08397e0b9b 📝 Update changelog 2023-03-24 16:29:51 +00:00
felinae98
4d89117bed 🔊 adjust scheduler logger 2023-03-25 00:29:12 +08:00
github-actions[bot]
9755bdd333 📝 Update changelog 2023-03-24 14:58:45 +00:00
felinae98
39a3b64587
🐛 not load webui when not install fastapi (#221) 2023-03-24 22:58:02 +08:00
github-actions[bot]
2149e03be1 🔖 Release 0.7.1 2023-03-20 03:00:45 +00:00
felinae98
ada6378812
🔖 release 0.7.1 (#218) 2023-03-20 10:58:55 +08:00
felinae98
569fcf84a5
👷 fix all-test 2023-03-20 00:11:58 +08:00
felinae98
4040c1fc0b
📝 fix change log 2023-03-19 16:34:03 +08:00
github-actions[bot]
d3ffcf0a02 📝 Update changelog 2023-03-19 08:29:50 +00:00
AzideCupric
4e304a43b1
通过 nb-cli 实现数据库一键导入导出 (#210)
* feat: 实现导出存储的订阅信息的功能

* test: 编写导出功能测试

* test: 使用tmp_path

* feat: 实现导入订阅文件功能

* refactor: 将订阅导入导出部分独立出来

* fix: 修复一些拼写错误
test: 完成import的第一个测试

* feat: 将订阅导入导出函数加入nb script

test: 添加cli测试

* test: 完善subs import测试

* 🐛 fix nb cli entrypoint name error

* fix: 修改错误的entry_point, 关闭yaml导出时对键名的排序

* fix: 使用更简短的命令名

* 🚚 将subs_io迁移到config下

* ♻️ 不再使用抛出异常的方式创建目录

* refactor: 将subscribe_export类转为函数

* refactor: 将subscribe_import类转为函数

* refactor: 根据重写的subs_io重新调整cli

* test: 调整重写subs_io后的test

* chore: 清理未使用的import内容

* feat(cli): 将--yaml更改为--format

* test: 调整测试

* fix(cli): 为import添加不支持格式的报错

*  improve export performace

* feat: subscribes_import函数不再需要传入参数函数,而是指定为add_subscribes

fix: nbesf_parser在传入str时将调用parse_raw, 否则调用parse_obj

* feat: subscribes_import现在会根据nbesf_data的版本选择合适的导入方式

* fix(test): 调整测试

* feat: nb bison export命令不再将文件导出到data目录,而是当前工作目录

* docs: 增添相关文档

* fix(test): 修复错误的变量名

---------

Co-authored-by: felinae98 <731499577@qq.com>
2023-03-19 16:29:05 +08:00
felinae98
010e6335f2 🐛 register db hook after init scheduler 2023-03-12 20:24:00 +08:00
felinae98
e43edaa717
🚚 fix source code path 2023-03-12 20:04:19 +08:00
felinae98
45cec9d9ef
👷 pin poetry version to 1.3.2 2023-03-12 17:54:11 +08:00
felinae98
1cac3bae5a
👷 fix ci trigger config 2023-03-12 17:47:28 +08:00
felinae98
5d2077f5cd
👷 alter pre-commit commit message 2023-03-09 20:33:40 +08:00
felinae98
e4218c7c83
🔥 remove alembic config file 2023-03-09 20:30:49 +08:00
felinae98
9b91efa341
👷 fix ci trigger 2023-03-09 20:29:09 +08:00
felinae98
45b4ac3988 🗃️ alter fields to not null, fix typing 2023-03-09 19:25:29 +08:00
felinae98
88bb1d3698 🚚 move db_migration code 2023-03-09 19:25:29 +08:00
uy/sun
9581887994
🎨 调整旧版数据库加载逻辑 (#212) 2023-03-09 17:58:26 +08:00
github-actions[bot]
6a28f1175e 📝 Update changelog 2023-03-09 09:33:35 +00: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
github-actions[bot]
3082587662 📝 Update changelog 2023-03-03 10:10:51 +00: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
c3a764581e
👷 use pytest-xdist to accelerate test (#186)
* 👷 use pytest-xdist to accelerate test

*  mark flaky

* test(mcbbsnews): 删除重复测试,为测试添加flaky

---------

Co-authored-by: hemengyang <hmy0119@gmail.com>
Co-authored-by: AzideCupric <rukuy@qq.com>
2023-03-03 17:16:15 +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
bc521cd38a
♻️ 直接使用官方定时任务插件 (#209) 2023-03-02 22:45:19 +08:00
felinae98
1898607a82
⬆️ upgrade aiofiles (#204) 2023-02-27 13:38:10 +08:00
felinae98
4d99ccb65a
⬆️ upgrade nonebot-plugin-datastore 2023-02-20 12:48:58 +08:00
github-actions[bot]
71a2b90933 📝 Update changelog 2023-02-20 04:34:45 +00:00
uy/sun
e93602dbf6
🐛 修复使用 PostgreSQL 时迁移脚本的报错 (#200) 2023-02-20 12:34:06 +08:00
github-actions[bot]
609340ed92 📝 Update changelog 2023-02-18 11:51:53 +00:00
AzideCupric
d7e684e8e5
💄 调整订阅回复内容结构以优化群内订阅体验 (#198)
style(admin-page): 为`后台管理`命令添加别名

test: 调整相关测试的文本
2023-02-18 19:51:19 +08:00
dependabot[bot]
e5949620e0
⬆️ Bump starlette from 0.22.0 to 0.25.0 (#196)
Bumps [starlette](https://github.com/encode/starlette) from 0.22.0 to 0.25.0.
- [Release notes](https://github.com/encode/starlette/releases)
- [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md)
- [Commits](https://github.com/encode/starlette/compare/0.22.0...0.25.0)

---
updated-dependencies:
- dependency-name: starlette
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:08:36 +08:00
dependabot[bot]
d9ca7cc5aa
⬆️ Bump ipython from 8.9.0 to 8.10.0 (#194)
Bumps [ipython](https://github.com/ipython/ipython) from 8.9.0 to 8.10.0.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/8.9.0...8.10.0)

---
updated-dependencies:
- dependency-name: ipython
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 10:15:09 +08:00
felinae98
21f957b92b
🚀 add nonebot2[fastapi] dependency for dockerfile (#192) 2023-02-06 20:13:27 +08:00
felinae98
01060f8d58
🚀 add fastapi dependency for dockerfile (#189) 2023-02-06 19:23:08 +08:00
github-actions[bot]
453a4331d5 📝 Update changelog 2023-02-05 15:36:57 +00:00