63 Commits

Author SHA1 Message Date
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
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
uy/sun
840bfb1bbd
♻️ 清理代码和依赖,并调整目录结构 (#181)
* 删除 alembic 依赖,并提高 datastore 依赖至 0.5.6 及以上

* 调整迁移脚本目录位置,同时删除不需要的 alembic 文件

* 删除 old_sched
2023-02-01 17:51:39 +08:00
uy/sun
bec252c48c
多机器人支持 (#179)
* 维护一个群号和QQ号与机器人实例的表

* 随机获取一个对应的机器人

* 获取所有机器人所在群的并集

* 监听到相关事件的时候刷新整个缓存

* 在发送错误后自动刷新缓存

* 合并相同类型的函数

* 添加测试
2023-01-31 21:04:00 +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
dependabot[bot]
290e19868d Bump certifi from 2022.9.24 to 2022.12.7
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.09.24...2022.12.07)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 23:17:53 +08:00
felinae98
aa810cc903
⬆️ upgrade nb 2022-11-24 13:19:59 +08:00
felinae98
e249a8d685 🐛 download weibo pics in parse 2022-11-22 22:11:30 +08:00
kexue
cc20c7494e
Update nonebot-plugin-htmlrender (#136)
* Update pyproject.toml

* update lockfile

Co-authored-by: felinae98 <731499577@qq.com>
2022-11-14 17:53:05 +08:00
Azide
0dc4095c5f
fix(test): 修改CustomPost部分的测试深度 2022-10-09 19:45:56 +08:00
felinae98
3b548ce2cf
update deps 2022-10-09 00:17:34 +08:00
dependabot[bot]
2e8d42d143
Bump mako from 1.2.1 to 1.2.2
Bumps [mako](https://github.com/sqlalchemy/mako) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/sqlalchemy/mako/releases)
- [Changelog](https://github.com/sqlalchemy/mako/blob/main/CHANGES)
- [Commits](https://github.com/sqlalchemy/mako/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-07 10:08:37 +00:00
felinae98
2b0a552468
Merge branch 'main' into next 2022-07-31 22:01:28 +08:00
felinae98
6e801a1624
Merge branch 'main' into next 2022-07-23 16:03:48 +08:00
felinae98
b868fcaa40
remove nb-cli 2022-07-14 21:01:24 +08:00
felinae98
aebdb037d7
update dep 2022-06-11 23:21:50 +08:00
felinae98
43490639c1
Merge branch 'next' into feat/db 2022-06-06 00:42:48 +08:00
felinae98
1f074b1045
Merge branch 'main' into next 2022-06-05 16:48:40 +08:00
dependabot[bot]
a6832d2c87
Bump httpx from 0.22.0 to 0.23.0
Bumps [httpx](https://github.com/encode/httpx) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.22.0...0.23.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 00:00:01 +00:00
felinae98
7b4c79acd3
update dep 2022-06-01 23:04:12 +08:00
felinae98
861441eb2b
Merge branch 'main' into feat/db 2022-05-29 00:19:40 +08:00
Azide
f9616eca4d merge upstream dev 2022-05-22 00:30:34 +08:00
Azide
d147aa0e39 初步添加Mcbbsnews的Java版本资讯订阅 2022-05-19 02:15:21 +08:00
dependabot[bot]
ac70eeee3f
Bump pillow from 8.4.0 to 9.0.1
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.4.0 to 9.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.4.0...9.0.1)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 08:55:04 +00:00
felinae98
3a0b03a8ea
update dep 2022-05-16 16:35:33 +08:00
felinae98
c6dfc9818e
bug? 2022-03-24 19:33:41 +08:00
felinae98
7affe27316
reconstruct config module 2022-03-13 16:38:12 +08:00
felinae98
d231ed123c
mark flaky 2022-03-06 22:40:39 +08:00
felinae98
cc44e45887
update group admin 2022-03-02 11:33:14 +08:00
felinae98
0c4a85481d
remove help plugin dependence 2022-02-27 17:06:39 +08:00
felinae98
539a77e7fc
bump version 2022-02-24 22:47:58 +08:00
felinae98
3fdf91ac20
drop self maintaining playwright, use nonebot-plugin-htmlrender, fix #25 2022-02-22 15:04:07 +08:00
felinae98
78276e51ee
update 2022-02-16 21:42:49 +08:00
felinae98
e7a2ab43a8
update 2022-02-11 10:31:43 +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
33de03e614
update to onebot 2022-01-19 20:19:12 +08:00
felinae98
edcefede50
use code cov 2022-01-19 12:50:32 +08:00
felinae98
35424085a5
specific poetry version 2022-01-18 17:06:39 +08:00
felinae98
af17b5042b
update 2021-12-09 22:35:07 +08:00
felinae98
80e5e721b3
update dep 2021-12-08 19:23:34 +08:00
felinae98
cc64cb5035
use playwright 2021-12-08 11:52:33 +08:00
felinae98
ff8803e89b
update frontend 2021-11-19 14:22:04 +08:00
felinae98
b5e8a508f3
update respx 2021-11-17 21:55:52 +08:00
felinae98
ed6b7f5fd5
update poetry 2021-11-17 19:49:13 +08:00
felinae98
ad6bd9c4dd
update package 2021-10-20 16:07:33 +08:00