Commit Graph

1409 Commits

Author SHA1 Message Date
felinae98 358d6a0a4b 🔖 release 0.7.0 2023-02-05 20:46:33 +08:00
github-actions[bot] cce34ab5d3 📝 Update changelog 2023-02-05 17:09:43 +08:00
AzideCupric 7fa31b6060 ♻️ 使用更加简约的方法生成mcbbsnews的推送,修改测试用例 (#170)
* change(mcbbsnews):使用更加简约的方法生成mcbbsnews的推送,修改测试用例

test(mcbbsnews):添加测试函数小工具

change(mcbbsnews):优化代码

test(mcbbsnews):调整测试

test(mcbbsnews):完善细节部分

fix(mcbbsnews):修改traceback的import位置

test fix(mcbbsnews):删除错误传参

* fix(mcbbsnews): 更新过时的category名称

feat(platform): 添加新的异常(CategoryNotRecognize), 用以区别已知但不支持的category(CategoryNotSupport)和未知的新增category(CategoryNotRecognize)

chore: 为各处的CategoryNotRecognize和CategoryNotSupport添加异常描述

test(mcbbsnews): 更新测试用文件的过时category名称
2023-02-05 17:09:31 +08:00
github-actions[bot] 15e8dca5f8 📝 Update changelog 2023-02-03 13:15:45 +00:00
uy/sun 04f58d6a06 适配 Nonebot 插件元数据 (#184) 2023-02-03 21:15:01 +08:00
github-actions[bot] 0ca9770711 📝 Update changelog 2023-02-02 12:54:59 +00:00
AzideCupric 2ac6f00e1b 👷 添加打上test-render的标签后进行带render标记测试的功能 (#176)
* feat(workflow pytest): 添加打上test-render的标签后进行带render标记测试的功能

fix(workflow pytest): 将env变量变成直接的表达式

fix(test): 删除重复的测试,补充assert

👷 change poetry install action

* ci(workflow): 将触发 all-test 测试的标签更名从 test-render 更名为 all-test
ci(codecov): 为 smoke-test 和 all-test 设置不同的 codecov target
2023-02-02 20:54:22 +08:00
uy/sun 840bfb1bbd ♻️ 清理代码和依赖,并调整目录结构 (#181)
* 删除 alembic 依赖,并提高 datastore 依赖至 0.5.6 及以上

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

* 删除 old_sched
2023-02-01 17:51:39 +08:00
github-actions[bot] 3d9d3b435f 📝 Update changelog 2023-01-31 13:04:43 +00:00
uy/sun bec252c48c 多机器人支持 (#179)
* 维护一个群号和QQ号与机器人实例的表

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

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

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

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

* 合并相同类型的函数

* 添加测试
2023-01-31 21:04:00 +08:00
uy/sun 69a705dcf5 👷 升级版本,解决报错问题 (#180) 2023-01-31 09:26:11 +08:00
github-actions[bot] 278bd33eda 📝 Update changelog 2023-01-30 14:52:54 +00: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 312847fb6a 👷 change poetry install action 2023-01-08 19:27:32 +08:00
felinae98 d4ca592b78 📝 remove config src code path in doc 2023-01-06 16:05:16 +08:00
felinae98 84a1f4c0dd 📝 fix nonebot2 doc url 2023-01-06 16:05:16 +08:00
felinae98 f1c1d0297c 📝 update vuepress and readme 2023-01-06 16:05:16 +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
github-actions[bot] 53535d02d3 📝 Update changelog 2022-12-23 14:57:42 +00:00
felinae98 6dfdca53d3 🐛 fix able to modify target bug 2022-12-23 22:56:54 +08:00
felinae98 0ebbdd2c0d ♻️ refactor api code 2022-12-23 22:56:41 +08:00
felinae98 410cac1af3 add flaky flag for send with queue 2022-12-23 22:43:55 +08:00
felinae98 cd0a6088e6 📝 update readme badge 2022-12-20 23:48:35 +08:00
github-actions[bot] e601af8034 🔖 Release 0.6.3 2022-12-03 11:23:49 +00:00
felinae98 0b4af8fb92 🔖 release v0.6.3 2022-12-03 19:06:56 +08:00
felinae98 49271398ad 👷 lock setup-python commit hash 2022-12-03 18:19:46 +08:00
MeetWq 0ff13eea98 fix require name (#159)
* fix require name
* require before import
2022-12-03 18:19:23 +08:00
github-actions[bot] dc232f86d9 📝 Update changelog 2022-11-28 13:03:01 +00:00
felinae98 4dfc6cdf17 👷 use new setup-python 2022-11-28 21:02:22 +08:00
felinae98 2811874818 add python3.11 in gh-ci 2022-11-28 21:02:22 +08:00
felinae98 95a2e48019 🐛 fix empty weibo parse error 2022-11-28 17:44:54 +08:00
felinae98 0d73d74287 fix test 2022-11-28 17:36:03 +08:00
github-actions[bot] 2f8abc1c1d 📝 Update changelog 2022-11-25 13:31:37 +00:00
felinae98 1277f6951f 🐛 fix rss deletion error 2022-11-25 21:31:02 +08:00
github-actions[bot] 4233147c28 📝 Update changelog 2022-11-24 06:12:45 +00:00
felinae98 bd679914eb add context to log http error 2022-11-24 14:12:11 +08:00
felinae98 aa810cc903 ⬆️ upgrade nb 2022-11-24 13:19:59 +08:00
github-actions[bot] e1950d66a5 📝 Update changelog 2022-11-23 12:57:27 +00:00
AzideCupric f6e7e95d1e fix(bilibili-live): 修正bilibili-live与bilibili-bangumi中过时的api
fix(bilibili-live): 修改另一个过时api

test(bilibili-live):调整bilibili-live测试文件

test(bilibili-bangumi):调整测试用的api
2022-11-23 20:56:52 +08:00
felinae98 a6b6612d3b 💚 update poetry version 2022-11-23 14:58:12 +08:00
github-actions[bot] 2fc3e82cee 🔖 Release 0.6.2 2022-11-23 05:49:19 +00:00
felinae98 986022f7f4 update to v0.6.2 2022-11-23 13:47:01 +08:00
github-actions[bot] 18cea4606b 📝 Update changelog 2022-11-22 14:31:27 +00:00
felinae98 2730bd0e62 add pic merge test back 2022-11-22 22:30:40 +08:00
felinae98 6c6021e2b9 👷 add docker sentry tag for release 2022-11-22 22:28:25 +08:00
github-actions[bot] 6888eb53b9 📝 Update changelog 2022-11-22 14:12:07 +00:00
felinae98 e249a8d685 🐛 download weibo pics in parse 2022-11-22 22:11:30 +08:00
felinae98 02c03bf80d chore: update readme (#142)
* chore: update readme

* auto fix by pre-commit hooks

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-14 20:03:50 +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
felinae98 9b04578869 use pnpm (#140) 2022-11-14 17:24:48 +08:00