|
|
c09d10b799
|
🐛 修复排行榜 Users.League 的部分字段为 None 时 错误处理的错误
|
2023-11-14 00:47:52 +08:00 |
|
呵呵です
|
ca8ab5871b
|
🔖 Release 1.0.0.a1 (#80)
* 使用 `pathlib` 替代 `os`
* 防止建立多个数据库连接对象
* 调整数据库结构 # 破坏性更新
* 格式化代码
* ➖ 去除依赖Brotli
➖ 去除开发依赖autopep8 pylint
➕ 添加开发依赖ruff black
🔥 删除.pylintrc
🎨 使用black格式化代码
* 📝 一些很赞的小牌子
* ✏️ 修正`config`变量名
* 🐛 修复OperationalError语法错误
* ➕ 添加 debug 依赖 objprint
* 🚧 数据记录器demo
* 🔥 这个init好像没什么用(
* 💡 ✏️ 修改错误的注释
* 📝 🍱 添加一个logo
* 📝 添加logo的悬浮提示
* 🙈 更新 .gitignore
* 🚨 消除了一些 init 文件中的错误警告
* ♻️ 💩 重构 IO 的 processor 模块
🐛 修复了 bind user_id 不能正确处理的bug
🎨 使用一些自定义类型和基于异常的编程(
* 🐛 忘记写try了
* 👷 将 Release CI 切换到 Python 3.11 版本
* 🎨 修改 Exception 类的变量名
* 🎨 修改捕获的 aiohttp 的错误类型
* 🎨 将 AsyncCallable 放进 typing 模块
* 🏗️ 将 recorder 装饰器中执行函数的部分放在 collector 函数中
🚧 完善数据收集部分
* 🚧 receive 记录添加 message_id 以辅助消息上下文识别
* ➕ 添加依赖 tortoise-orm
* ♻️ 🗃️ 将数据库操作替换成 tortoise-orm
* 🎨 显式传递 locals 字典
* 🎨 将装饰器封装到类里
* 🐛 忘记 exec 需要拿变量了
* 🗃️ 微调数据类型
* 🗃️ 调整数据库索引
* Bump playwright from 1.29.0 to 1.30.0 (#72)
* Bump ujson from 5.6.0 to 5.7.0 (#69)
* Bump pandas-stubs from 1.5.2.221213 to 1.5.2.230105 (#57)
* Bump types-ujson from 5.6.0.0 to 5.7.0.0 (#68)
* ✨ 存储命令历史 #58
* Bump nonebot2 from 2.0.0rc2 to 2.0.0rc3 (#73)
* Bump nonebot-adapter-onebot from 2.2.0 to 2.2.1 (#74)
* Bump tortoise-orm from 0.19.2 to 0.19.3 (#75)
* Bump black from 23.1a1 to 23.1.0 (#77)
* Bump pandas from 1.5.2 to 1.5.3 (#76)
* ⬆️ 更新 ruff
* 🔧 启用更多的检查规则
* 🎨 使用单引号编写配置文件
* 💡 为 ignore 添加注释
* 🎨 使用 ruff 规范化引号
* 🔧 启用 PEP8 命名规范检查
* 🚨 添加一些 noqa(
* 💡 添加和修改了一些注释
* 🔊 添加一条日志
* 🎨 🚨 使用 replace 替换 strip
* 🎨 🚨 规范化命名
* 🎨 格式化代码
* 🔊 修改日志等级
* 🎨 去除重复的 get_driver() 调用
* ✨ 自动安装 playwright 浏览器 close #71
* 🙈 更新 gitignore
* ✨ 将所有 playwright 相关整合进 BrowserManager 类
* 📝 更换开源许可证 (#78)
* 📝 更新 README
* Bump pandas-stubs from 1.5.2.230105 to 1.5.3.230203 (#79)
* ➕ 添加依赖 nonebot-plugin-datastore
* ✨ 使用 nonebot_plugin_datastore 提供的路径存储缓存
* Bump nonebot-plugin-datastore from 0.5.7 to 0.5.8 (#81)
* ⬆️ Bump aiohttp from 3.8.3 to 3.8.4 (#82)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.3 to 3.8.4.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.3...v3.8.4)
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump pandas-stubs from 1.5.3.230203 to 1.5.3.230214 (#84)
Bumps [pandas-stubs](https://github.com/pandas-dev/pandas-stubs) from 1.5.3.230203 to 1.5.3.230214.
- [Release notes](https://github.com/pandas-dev/pandas-stubs/releases)
- [Changelog](https://github.com/pandas-dev/pandas-stubs/blob/main/docs/release_procedure.md)
- [Commits](https://github.com/pandas-dev/pandas-stubs/compare/v1.5.3.230203...v1.5.3.230214)
---
updated-dependencies:
- dependency-name: pandas-stubs
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump ruff from 0.0.239 to 0.0.253 (#90)
* ⬆️ Bump playwright from 1.30.0 to 1.31.1 (#89)
* ⬆️ Bump types-ujson from 5.7.0.0 to 5.7.0.1 (#86)
* ⬆️ Bump pandas-stubs from 1.5.3.230214 to 1.5.3.230227 (#88)
* ⬆️ Bump ruff from 0.0.253 to 0.0.254 (#91)
* ⬆️ Bump pandas-stubs from 1.5.3.230227 to 1.5.3.230304 (#92)
* ⬆️ Bump mypy from 0.991 to 1.0.1 (#93)
* ⬆️ Bump mypy from 1.0.1 to 1.1.1 (#94)
* ⬆️ Bump ruff from 0.0.254 to 0.0.284 (#139)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.254 to 0.0.284.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.254...v0.0.284)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot-adapter-onebot from 2.2.1 to 2.2.4 (#137)
Bumps [nonebot-adapter-onebot](https://github.com/nonebot/adapter-onebot) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/nonebot/adapter-onebot/releases)
- [Commits](https://github.com/nonebot/adapter-onebot/compare/v2.2.1...v2.2.4)
---
updated-dependencies:
- dependency-name: nonebot-adapter-onebot
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump playwright from 1.31.1 to 1.36.0 (#133)
Bumps [playwright](https://github.com/Microsoft/playwright-python) from 1.31.1 to 1.36.0.
- [Release notes](https://github.com/Microsoft/playwright-python/releases)
- [Commits](https://github.com/Microsoft/playwright-python/compare/v1.31.1...v1.36.0)
---
updated-dependencies:
- dependency-name: playwright
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump pandas-stubs from 1.5.3.230304 to 2.0.2.230605 (#124)
* ⬆️ Bump mypy from 1.1.1 to 1.5.1 (#144)
Bumps [mypy](https://github.com/python/mypy) from 1.1.1 to 1.5.1.
- [Commits](https://github.com/python/mypy/compare/v1.1.1...v1.5.1)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump types-ujson from 5.7.0.1 to 5.8.0.1 (#142)
Bumps [types-ujson](https://github.com/python/typeshed) from 5.7.0.1 to 5.8.0.1.
- [Commits](https://github.com/python/typeshed/commits)
---
updated-dependencies:
- dependency-name: types-ujson
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot2 from 2.0.0rc3 to 2.0.1 (#141)
Bumps [nonebot2](https://github.com/nonebot/nonebot2) from 2.0.0rc3 to 2.0.1.
- [Release notes](https://github.com/nonebot/nonebot2/releases)
- [Changelog](https://github.com/nonebot/nonebot2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nonebot/nonebot2/compare/v2.0.0rc3...v2.0.1)
---
updated-dependencies:
- dependency-name: nonebot2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump lxml from 4.9.2 to 4.9.3 (#140)
Bumps [lxml](https://github.com/lxml/lxml) from 4.9.2 to 4.9.3.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.2...lxml-4.9.3)
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump black from 23.1.0 to 23.9.1 (#148)
Bumps [black](https://github.com/psf/black) from 23.1.0 to 23.9.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.1.0...23.9.1)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump pandas-stubs from 2.0.2.230605 to 2.0.3.230814 (#149)
Bumps [pandas-stubs](https://github.com/pandas-dev/pandas-stubs) from 2.0.2.230605 to 2.0.3.230814.
- [Changelog](https://github.com/pandas-dev/pandas-stubs/blob/main/docs/release_procedure.md)
- [Commits](https://github.com/pandas-dev/pandas-stubs/compare/v2.0.2.230605...v2.0.3.230814)
---
updated-dependencies:
- dependency-name: pandas-stubs
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump pandas from 1.5.3 to 2.1.1 (#152)
Bumps [pandas](https://github.com/pandas-dev/pandas) from 1.5.3 to 2.1.1.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](https://github.com/pandas-dev/pandas/compare/v1.5.3...v2.1.1)
---
updated-dependencies:
- dependency-name: pandas
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump aiohttp from 3.8.4 to 3.8.5 (#155)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.4 to 3.8.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.4...v3.8.5)
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump ruff from 0.0.284 to 0.0.291 (#154)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.284 to 0.0.291.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.284...v0.0.291)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump playwright from 1.36.0 to 1.38.0 (#153)
Bumps [playwright](https://github.com/Microsoft/playwright-python) from 1.36.0 to 1.38.0.
- [Release notes](https://github.com/Microsoft/playwright-python/releases)
- [Commits](https://github.com/Microsoft/playwright-python/compare/v1.36.0...v1.38.0)
---
updated-dependencies:
- dependency-name: playwright
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot-plugin-datastore from 0.5.8 to 1.1.2 (#151)
Bumps [nonebot-plugin-datastore](https://github.com/he0119/nonebot-plugin-datastore) from 0.5.8 to 1.1.2.
- [Release notes](https://github.com/he0119/nonebot-plugin-datastore/releases)
- [Changelog](https://github.com/he0119/nonebot-plugin-datastore/blob/main/CHANGELOG.md)
- [Commits](https://github.com/he0119/nonebot-plugin-datastore/compare/v0.5.8...v1.1.2)
---
updated-dependencies:
- dependency-name: nonebot-plugin-datastore
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot2 from 2.0.1 to 2.1.0 (#156)
Bumps [nonebot2](https://github.com/nonebot/nonebot2) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/nonebot/nonebot2/releases)
- [Changelog](https://github.com/nonebot/nonebot2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nonebot/nonebot2/compare/v2.0.1...v2.1.0)
---
updated-dependencies:
- dependency-name: nonebot2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump ujson from 5.7.0 to 5.8.0 (#157)
Bumps [ujson](https://github.com/ultrajson/ultrajson) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/ultrajson/ultrajson/releases)
- [Commits](https://github.com/ultrajson/ultrajson/compare/5.7.0...5.8.0)
---
updated-dependencies:
- dependency-name: ujson
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⚡️ 移除无意义的async
* 🎨 修正 type hint
* ➕ 添加依赖 aiofiles
* 🎨 将文件读写操作换成 aiofiles
* ⚡️ 移除无意义的async
* 🎨 重命名一些函数
* 🎨 去除不需要的转换
* ⬆️ Bump pandas-stubs from 2.0.3.230814 to 2.1.1.230928 (#158)
Bumps [pandas-stubs](https://github.com/pandas-dev/pandas-stubs) from 2.0.3.230814 to 2.1.1.230928.
- [Changelog](https://github.com/pandas-dev/pandas-stubs/blob/main/docs/release_procedure.md)
- [Commits](https://github.com/pandas-dev/pandas-stubs/compare/v2.0.3.230814...v2.1.1.230928)
---
updated-dependencies:
- dependency-name: pandas-stubs
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot2 from 2.1.0 to 2.1.1 (#159)
Bumps [nonebot2](https://github.com/nonebot/nonebot2) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/nonebot/nonebot2/releases)
- [Changelog](https://github.com/nonebot/nonebot2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nonebot/nonebot2/compare/v2.1.0...v2.1.1)
---
updated-dependencies:
- dependency-name: nonebot2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ➕ 添加依赖 nonebot-plugin-orm
➕ 添加依赖 nonebot-plugin-localstore
➖ 移除依赖 nonebot-plugin-datastore
* 📌 取消 python 最高版本限制
* ⬆️ Bump objprint from 0.2.2 to 0.2.3 (#161)
Bumps [objprint](https://github.com/gaogaotiantian/objprint) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/gaogaotiantian/objprint/releases)
- [Commits](https://github.com/gaogaotiantian/objprint/compare/0.2.2...0.2.3)
---
updated-dependencies:
- dependency-name: objprint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump ruff from 0.0.291 to 0.0.292 (#160)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.291 to 0.0.292.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.291...v0.0.292)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump mypy from 1.5.1 to 1.6.0 (#163)
Bumps [mypy](https://github.com/python/mypy) from 1.5.1 to 1.6.0.
- [Commits](https://github.com/python/mypy/compare/v1.5.1...v1.6.0)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ➕ 添加依赖 httpx
* ⬆️ Bump nonebot-plugin-orm from 0.1.1 to 0.2.1 (#166)
Bumps [nonebot-plugin-orm](https://github.com/nonebot/plugin-orm) from 0.1.1 to 0.2.1.
- [Release notes](https://github.com/nonebot/plugin-orm/releases)
- [Commits](https://github.com/nonebot/plugin-orm/compare/v0.1.1...v0.2.1)
---
updated-dependencies:
- dependency-name: nonebot-plugin-orm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ➕ 添加开发依赖 nonebot2
* 🎨 改为直接使用 nonebot_plugin_localstore 提供缓存路径
* 🐛 忘记 require
* 🐛 顺序错了
* 🗃️ 使用 nb orm
* 🏗️ 再次重构 IO 模块
* 🐛 忘记 push 这个了
* 🏗️ 将 request 改成通用的
* ⬆️ Bump nonebot-plugin-orm from 0.2.1 to 0.2.2 (#167)
Bumps [nonebot-plugin-orm](https://github.com/nonebot/plugin-orm) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/nonebot/plugin-orm/releases)
- [Commits](https://github.com/nonebot/plugin-orm/compare/v0.2.1...v0.2.2)
---
updated-dependencies:
- dependency-name: nonebot-plugin-orm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump ruff from 0.0.292 to 0.1.0 (#168)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.292 to 0.1.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.292...v0.1.0)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot-adapter-onebot from 2.3.0 to 2.3.1 (#165)
Bumps [nonebot-adapter-onebot](https://github.com/nonebot/adapter-onebot) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/nonebot/adapter-onebot/releases)
- [Commits](https://github.com/nonebot/adapter-onebot/compare/v2.3.0...v2.3.1)
---
updated-dependencies:
- dependency-name: nonebot-adapter-onebot
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 🏗️ 重构 TOS 模块
* 🩹 补充返回值类型标注
* 🐛 写错变量了
* 🐛 缺个 else
* 🐛 忘记声明变量
* 🐛 忘记初始化变量
* 🎨 去除不需要的 else
* 🎨 去除不需要的判断
* 🎨 减少一次函数调用
* 🐛 写错命令了
* ⬆️ Bump nonebot-plugin-orm from 0.2.2 to 0.2.3 (#170)
Bumps [nonebot-plugin-orm](https://github.com/nonebot/plugin-orm) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/nonebot/plugin-orm/releases)
- [Commits](https://github.com/nonebot/plugin-orm/compare/v0.2.2...v0.2.3)
---
updated-dependencies:
- dependency-name: nonebot-plugin-orm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump black from 23.9.1 to 23.10.0 (#171)
Bumps [black](https://github.com/psf/black) from 23.9.1 to 23.10.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.9.1...23.10.0)
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump mypy from 1.6.0 to 1.6.1 (#172)
Bumps [mypy](https://github.com/python/mypy) from 1.6.0 to 1.6.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.6.0...v1.6.1)
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump playwright from 1.38.0 to 1.39.0 (#169)
Bumps [playwright](https://github.com/Microsoft/playwright-python) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/Microsoft/playwright-python/releases)
- [Commits](https://github.com/Microsoft/playwright-python/compare/v1.38.0...v1.39.0)
---
updated-dependencies:
- dependency-name: playwright
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ➖ 去除开发依赖 lxml-stubs
➕ 添加开发依赖 types-lxml
* 🏗️ 重构 TOP 模块
* 🐛 忘记传参了
* 🐛 忘记判断有没有绑定了
* 🎨 忘记用封好的函数了
* 📝 把 wakatime 的小牌牌放上去 并且格式化
* ⬆️ Bump ruff from 0.1.0 to 0.1.1 (#174)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.0...v0.1.1)
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot-plugin-orm from 0.2.3 to 0.2.4 (#173)
Bumps [nonebot-plugin-orm](https://github.com/nonebot/plugin-orm) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/nonebot/plugin-orm/releases)
- [Commits](https://github.com/nonebot/plugin-orm/compare/v0.2.3...v0.2.4)
---
updated-dependencies:
- dependency-name: nonebot-plugin-orm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 🏗️ 把 config 从 utils 里拿出来
* 🔥 orm 搞错用法了
* 🗃️ 创建新的迁移脚本
* ✨ 添加插件元数据
* 🐛 导包顺序又错了
* ➕ 添加依赖 nonebot-adapter-qq
* ➕ 添加依赖 nonebot-plugin-alconna
* ➖ 移除依赖 tortoise-orm
* ⬆️ Bump nonebot-plugin-orm from 0.2.4 to 0.3.0 (#175)
* ⬆️ Bump types-lxml from 2023.3.28 to 2023.10.21 (#176)
* ⬆️ Bump black from 23.10.0 to 23.10.1 (#177)
* ⬆️ Bump ruff from 0.1.1 to 0.1.2 (#178)
* ➕ 添加debug依赖 viztracer
* ➕ 添加开发依赖 nonebot-plugin-orm[default]
* ✨ IO 基础查询功能适配所有平台
* ⬆️ Bump nonebot-plugin-alconna from 0.30.3 to 0.30.6 (#179)
Bumps [nonebot-plugin-alconna](https://github.com/nonebot/plugin-alconna) from 0.30.3 to 0.30.6.
- [Release notes](https://github.com/nonebot/plugin-alconna/releases)
- [Commits](https://github.com/nonebot/plugin-alconna/compare/v0.30.3...v0.30.6)
---
updated-dependencies:
- dependency-name: nonebot-plugin-alconna
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 🩹 防止在使用其他命令的时候意外触发
* 🚧 暂时去除记录器 待重构
* 🐛 修正输出信息格式
* ✨ TOP 基础查询功能适配所有平台
* ⬆️ Bump ruff from 0.1.2 to 0.1.3 (#180)
* ⬆️ Bump nonebot-plugin-alconna from 0.30.6 to 0.30.7 (#181)
* ✨ TOS 基础查询功能适配所有平台
* 🐛 修复一些输出消息问题
* 🔥 删除一些不需要的常量
* 🔥 把手搓的解析器爆了
* 🏷️ 添加一个不知道有什么用的类型注释
* 🎨 从 black 迁移 到 ruff format
➖ 删除开发依赖 black
* ✨ 启用 pyupgrade 规则
* ✨ 启用 flake8-2020 规则
* ✨ 启用 flake8-annotations 规则
* ✨ 启用 flake8-async 规则
* ✨ 启用 flake8-bandit 规则
* ✨ 启用 flake8-blind-except 规则
* ✨ 启用 flake8-boolean-trap 规则
* ✨ 启用 flake8-builtins 规则
* ✨ 启用 flake8-datetimez 规则
* ✨ 启用 flake8-future-annotations 规则
* ✨ 启用 flake8-implicit-str-concat 规则
* ✨ 启用 flake8-pie 规则
* ✨ 启用 flake8-print 规则
* ✨ 启用 flake8-raise 规则
* ✨ 启用 flake8-return 规则
* ✨ 启用 flake8-simplify 规则
* ✨ 启用 flake8-use-pathlib 规则
* ✨ 启用 pandas-vet 规则
* ✨ 启用 tryceratops 规则
* ✨ 启用 flynt 规则
* ✨ 启用 Perflint 规则
* ⬆️ Bump nonebot-plugin-alconna from 0.30.7 to 0.31.0 (#183)
Bumps [nonebot-plugin-alconna](https://github.com/nonebot/plugin-alconna) from 0.30.7 to 0.31.0.
- [Release notes](https://github.com/nonebot/plugin-alconna/releases)
- [Commits](https://github.com/nonebot/plugin-alconna/compare/v0.30.7...v0.31.0)
---
updated-dependencies:
- dependency-name: nonebot-plugin-alconna
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot-plugin-orm from 0.3.0 to 0.4.0 (#182)
* ⬆️ Bump nonebot-plugin-orm from 0.4.0 to 0.4.1 (#186)
Bumps [nonebot-plugin-orm](https://github.com/nonebot/plugin-orm) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/nonebot/plugin-orm/releases)
- [Commits](https://github.com/nonebot/plugin-orm/compare/v0.4.0...v0.4.1)
---
updated-dependencies:
- dependency-name: nonebot-plugin-orm
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot2 from 2.1.1 to 2.1.2 (#185)
Bumps [nonebot2](https://github.com/nonebot/nonebot2) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/nonebot/nonebot2/releases)
- [Changelog](https://github.com/nonebot/nonebot2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nonebot/nonebot2/compare/v2.1.1...v2.1.2)
---
updated-dependencies:
- dependency-name: nonebot2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot-plugin-alconna from 0.31.0 to 0.31.3 (#187)
Bumps [nonebot-plugin-alconna](https://github.com/nonebot/plugin-alconna) from 0.31.0 to 0.31.3.
- [Release notes](https://github.com/nonebot/plugin-alconna/releases)
- [Commits](https://github.com/nonebot/plugin-alconna/compare/v0.31.0...v0.31.3)
---
updated-dependencies:
- dependency-name: nonebot-plugin-alconna
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* 🐛 修复拼接 url 的 bug
* ⬆️ Bump nonebot-plugin-orm from 0.4.1 to 0.5.0 (#189)
Bumps [nonebot-plugin-orm](https://github.com/nonebot/plugin-orm) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/nonebot/plugin-orm/releases)
- [Commits](https://github.com/nonebot/plugin-orm/compare/v0.4.1...v0.5.0)
---
updated-dependencies:
- dependency-name: nonebot-plugin-orm
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump nonebot-plugin-alconna from 0.31.3 to 0.31.7 (#191)
Bumps [nonebot-plugin-alconna](https://github.com/nonebot/plugin-alconna) from 0.31.3 to 0.31.7.
- [Release notes](https://github.com/nonebot/plugin-alconna/releases)
- [Commits](https://github.com/nonebot/plugin-alconna/compare/v0.31.3...v0.31.7)
---
updated-dependencies:
- dependency-name: nonebot-plugin-alconna
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ⬆️ Bump ruff from 0.1.3 to 0.1.4 (#190)
* ⬆️ Bump httpx from 0.25.0 to 0.25.1 (#188)
* ✨ 绑定适配所有平台
* ⬆️ Bump nonebot-plugin-alconna from 0.31.7 to 0.32.0 (#192)
Bumps [nonebot-plugin-alconna](https://github.com/nonebot/plugin-alconna) from 0.31.7 to 0.32.0.
- [Release notes](https://github.com/nonebot/plugin-alconna/releases)
- [Commits](https://github.com/nonebot/plugin-alconna/compare/v0.31.7...v0.32.0)
---
updated-dependencies:
- dependency-name: nonebot-plugin-alconna
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ♻️ 重构 recorder
* ➕ 添加依赖 nonebot-plugin-apscheduler
* ⬆️ Bump mypy from 1.6.1 to 1.7.0 (#194)
* ⬆️ Bump ruff from 0.1.4 to 0.1.5 (#193)
* ✨ 将数据库内存储时间时区切换为UTC
* ✨ 添加 iorank 指令
* 🎨 将行长限制改为120
* 🥚 :fkosk:
* 🗃️ 迁移旧版本 sqlite 中的数据
* 🚨 添加 type: ignore
* ✨ 更新 PluginMetadata
* ➖ 移除所有 nonebot-adapter 依赖
* ➖ 移除依赖 aiohttp
* ➖ 移除依赖 asyncio
(为什么会有这个)
* ➕ 添加开发依赖 nonebot-adapter-onebot
* ➕ 添加开发依赖 nonebot-adapter-satori
* 📝 更新 readme
* 🔖 1.0.0.a1
* 🔒️ 修复 Incomplete URL substring sanitization
* 🔒️ 修复 Incomplete URL substring sanitization
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
2023-11-13 23:37:51 +08:00 |
|
|
|
86adf2621a
|
🐛 修复使用 ID 绑定账号错误的bug
|
2023-09-21 22:32:27 +08:00 |
|
|
|
0d78007262
|
👽️ 由于 osk 封了 aiohttp 所以换 httpx
|
2023-09-21 11:57:53 +08:00 |
|
|
|
9d37d05b24
|
💬 小改段位查询消息样式
|
2023-05-30 06:08:39 +08:00 |
|
渣渣120
|
32d34c93d7
|
✨ 新增查分段指令 (#121)
* 忽略 .idea 文件夹
* 新增查分段指令
* 修复未知段位可能导致程序无限死循环的异常
* 我 keys 呢
* 🎨 整理 import
* 🎨 规范引号
* 🐛 记得await
* ⚡️ 一些优化
* 🐛 多个逗号
* 🚨 修正typing hint
* 🐛 返回值是 tuple 哦
* 🐛 少个逗号
* 🐛 你得删前缀啊
* 🐛 怎么能用 is 呢
* 🐛 记得await
* 试图匹配查询格式
* 💬 小改返回消息样式
* 🎨 修改变量名
* 🐛 修复查询大写问题
* 🐛 使用 get_db 获取数据库对象
---------
Co-authored-by: scdhh <wallfjjd@gmail.com>
|
2023-05-30 04:57:31 +08:00 |
|
|
|
09e18c526a
|
整理代码
|
2022-10-09 13:37:16 +08:00 |
|
|
|
af8fa05394
|
补回查bot本身的特判
|
2022-10-09 13:20:19 +08:00 |
|
|
|
d0a0baa275
|
拆分io部分
|
2022-09-28 09:04:21 +08:00 |
|
|
|
d62c53031e
|
只在bot结束运行的时候写入缓存
|
2022-08-10 15:20:37 +08:00 |
|
|
|
d3258c2bb7
|
整理代码
|
2022-08-09 02:50:06 +08:00 |
|
|
|
b320a23c77
|
将数据库操作封装成类,并添加数据库路径的config选项
|
2022-08-09 02:12:29 +08:00 |
|
|
|
c6f83230c8
|
修复写入缓存时 传递了错误的变量的bug
|
2022-08-08 13:44:16 +08:00 |
|
|
|
e473dca4df
|
对于io_data_processor:
1.将请求相关封装成了Request类
2.新增了获取cookies后使用aiohttp请求的机制,理论上可以提速+减少不必要的性能开销,并且将cookies存储至cache
3.整理代码
新增config.py,用于配置cache路径
添加依赖项Brotli
|
2022-08-08 13:32:31 +08:00 |
|
|
|
2aef281e8c
|
修复正确请求到api后没有正确关闭浏览器标签页导致内存溢出的bug
|
2022-08-07 00:42:59 +08:00 |
|
scdhh
|
88ba7cd3af
|
引入pylint对代码进行检查
代码规范:使用PEP8推荐的命名规范
删除Request模块,改为每个游戏的processor单独实现,因为每个游戏的api请求都不太一样
对于io_data_processor:
1. 引入了playwright以应对api套的cloudflare五秒盾
对于top_data_processor:
1. 添加了lxml和pandas的stubs库,并修复了所有type hint错误
对于sql:
1. 使用全局变量保存数据库连接对象,理论上运行一次只会连接一次数据库
2. 移动初始化数据库的hook函数到sql.py
其他:
优化代码
版本推进
|
2022-08-06 00:56:05 +00:00 |
|