Commit Graph

1337 Commits

Author SHA1 Message Date
Karako
28a3c69892
🎨 改进 logger 2022-10-23 17:15:09 +08:00
Karako
8a4147a4ff
🐛 修复 type hits , 兼容 py3.8
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-23 16:13:48 +08:00
omg-xtao
3f0331ed90
🚑️ 修复缺失 InlineKeyboardMarkup 2022-10-23 13:07:32 +08:00
dependabot[bot]
0e863ecaa5
⬆ Bump uvicorn from 0.18.3 to 0.19.0
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.18.3 to 0.19.0.
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/uvicorn/compare/0.18.3...0.19.0)

---
updated-dependencies:
- dependency-name: uvicorn
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-23 11:03:19 +08:00
033eaa697a
🎨 优化全局报错提醒 2022-10-23 00:40:30 +08:00
洛水居室
291b21f674
🔧 支持使用配置文件是否启用 genshin.py 模块的缓存 2022-10-22 23:52:00 +08:00
omg-xtao
bf90ca55f9
🎨 优化报错提醒 2022-10-22 21:54:04 +08:00
洛水居室
619ae76027
🎨 修改部分命令描述 2022-10-22 20:03:36 +08:00
洛水居室
ddfbcfa5c9
🎨 修改每日素材表插件图片缓存时间 2022-10-22 17:12:39 +08:00
洛水居室
51a066aff9
🎨 修改查询当前状态插件图片缓存时间 2022-10-22 17:04:36 +08:00
洛水居室
f00c4c0f11
🐛 修复 gacha 插件发送错误数据的问题 2022-10-22 17:03:50 +08:00
Li Chuangbo
79ef5cd08d
🐛 gacha_log 头部区域背景图圆角透明,外框也需要改成圆角才可以填满外框 2022-10-22 16:32:42 +08:00
洛水居室
abf44075aa
genshin.py 添加 Redis cache 2022-10-22 16:29:10 +08:00
洛水居室
465f7c4148
🔧 添加超时配置项 2022-10-22 15:49:20 +08:00
洛水居室
8c8e09be7b
📝 /help 增加角色练度查询 2022-10-22 15:13:24 +08:00
Li Chuangbo
9b4d0c5a85
📝 /help 增加每日素材 2022-10-22 15:08:31 +08:00
Chuangbo Li
f122e21092
增加 html to image 的缓存
* 增加 html to image 缓存
* 对 template_service.render 进行封装,管理缓存逻辑
* cache key 为 html 的 sha256
* cache value 为 reply_photo 后 telegram 返回的 file_id
* 存入 redis,并设置合理的 ttl

Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-22 15:03:59 +08:00
洛水居室
f55077e713
🐛 修复文章定时抓取时返回全部文章而不是新文档的问题 2022-10-22 14:35:18 +08:00
Li Chuangbo
2f8d70334f
🐛 hotfix: 删除 line_profiler_pycharm 2022-10-22 11:58:18 +08:00
dependabot[bot]
e027da8eec
⬆ Bump pytest-asyncio from 0.19.0 to 0.20.1
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.19.0 to 0.20.1.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.19.0...v0.20.1)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-22 11:57:08 +08:00
Karako
27a5abf1de
🐛 修复 refresh_metadata
*  添加 GitHub 的代理网址
* 🚧 使用流式传输下载数据

Signed-off-by: Karako <karakohear@gmail.com>
2022-10-22 11:56:36 +08:00
Karako
2c671d0dc2
🐛 修改每日素材缓存刷新规则
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-22 11:31:44 +08:00
cf8e725a1f
🐛 修复 gacha_log 无法分析单抽五星的问题 2022-10-22 01:13:10 +08:00
dependabot[bot]
c16aed1df3
⬆ Bump sentry-sdk from 1.9.10 to 1.10.0
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.9.10 to 1.10.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/1.9.10...1.10.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-22 01:09:17 +08:00
Karako
e524a1b8bb
️ 提升 avatars-list 的性能
并发获取角色详情

Signed-off-by: Karako <karakohear@gmail.com>
2022-10-21 23:52:59 +08:00
洛水居室
7c34167ff4
🐛 修复通知无法发送的问题 2022-10-21 20:31:58 +08:00
洛水居室
ab1c490a13
♻️ 重构 gacha_log
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-21 19:34:49 +08:00
洛水居室
24c63002cd
🐛 修复未配置错误通知时依然发送日记导致的异常 2022-10-21 19:07:49 +08:00
SiHuan
333994281e
🐛 修复导入 xlsx 时 uid 为 0, 物品类型都为武器的 bug 2022-10-21 16:30:09 +08:00
洛水居室
e6c25aaa98
🎨 优化异常处理 2022-10-21 15:07:41 +08:00
洛水居室
57f0029a42
🎨 优化错误平台模块 2022-10-20 22:21:26 +08:00
洛水居室
c2b78b84fa
🎨 修改 胡桃 圣遗物有效词条列表 2022-10-20 21:50:30 +08:00
omg-xtao
e9edf915ff
🐛 修复未知命令不回复
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-10-20 21:04:53 +08:00
SiHuaN
54146a97af
gacha_log 支持导入从 paimon.moe 和非小酋导出的抽卡记录 2022-10-20 15:48:40 +08:00
dependabot[bot]
0e3e6fcbb6
⬆ Bump fakeredis from 1.9.3 to 1.9.4
Bumps [fakeredis](https://github.com/cunla/fakeredis-py) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/cunla/fakeredis-py/releases)
- [Commits](https://github.com/cunla/fakeredis-py/compare/v1.9.3...v1.9.4)

---
updated-dependencies:
- dependency-name: fakeredis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 20:25:57 +08:00
omg-xtao
1f17e56824
添加错误平台
Co-authored-by: SiHuan <sihuan@sakuya.love>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-10-19 20:22:24 +08:00
洛水居室
8c12237e85
🐛 修复用户邀请识别错误的问题 2022-10-19 19:12:53 +08:00
dependabot[bot]
4fc6f901f7
⬆ Bump fastapi from 0.85.0 to 0.85.1
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.85.0 to 0.85.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](https://github.com/tiangolo/fastapi/compare/0.85.0...0.85.1)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 16:03:44 +08:00
洛水居室
55f3086c4c
🐛 修复回复消息时 photoNone 引发的错误 2022-10-19 15:15:47 +08:00
洛水居室
ab2c0226b8
🎨 优化每日素材表插件 2022-10-19 14:19:00 +08:00
洛水居室
39354444a2
🎨 修改签到随机睡眠时间范围 2022-10-19 13:36:10 +08:00
洛水居室
aafcb424a9
🎨 设置 avatar_list 函数为非堵塞调用 2022-10-18 14:47:40 +08:00
洛水居室
f86c8baff3
🎨 设置抽卡模拟器武器定轨为2
应该为2才才对
2022-10-17 22:35:44 +08:00
洛水居室
0c51dd3c5d
🎨inline_query 函数添加 error_callable 修饰器 2022-10-17 18:21:04 +08:00
洛水居室
0120984991
🎨send_log 命令添加 reply_chat_action 2022-10-17 18:11:57 +08:00
omg-xtao
adec83108a
🐛 avatar 修复错误 2022-10-17 14:27:37 +08:00
SiHuaN
5b09ccdf76
🐛 fix typo 2022-10-17 10:59:11 +08:00
Karako
cfbbfe91fb
🐛 修复未向养成计算器授权时出现的错误
🐛 修复读取名片时错误

Signed-off-by: Karako <karakohear@gmail.com>
2022-10-16 22:00:28 +08:00
Karako
cf7012bed0
🐛 当解析旅行者数据错误时、跳过旅行者
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-16 20:57:35 +08:00
3b1a46837d
🐛 练度统计对旅行者特殊判断 2022-10-16 19:39:42 +08:00