Commit Graph

823 Commits

Author SHA1 Message Date
洛水居室
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
洛水居室
4a0168d311
🎨 为邀请BOT的条件添加多种选择
为了机器人防止被滥用,或部署的服务器资源不足只能留在部分群使用,或者是私用搭建所写的一个功能
别问为啥懒得写单独认证
懒了.jpg
2022-10-16 18:18:51 +08:00
Karako
b27f8af9a4
角色练度查询 2022-10-16 18:11:04 +08:00
Karako
4eace26e77
🐛 修复 type hit
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-16 12:13:15 +08:00
kotoriのねこ
18dbeafaee
🐛 修正 .env.example 的traceback相关设置 2022-10-16 11:58:24 +08:00
洛水居室
37d453e439
🐛 修复全部重签成功后数据库的签到状态未修改的问题 2022-10-16 00:19:22 +08:00
洛水居室
9f2fc56ea5
🎨 全部重签添加随机延迟 2022-10-16 00:11:46 +08:00
洛水居室
247606fbb9
🐛 修复常驻卡池无法解析的问题 2022-10-16 00:01:37 +08:00
洛水居室
8cf18e2f95
🎨 Set the specifies the maximum amount of time to wait for a write operation to complete to 10 seconds 2022-10-15 23:51:40 +08:00
洛水居室
3f91314c65
🐛 修复各个卡池数据互相篡改问题 2022-10-15 23:15:22 +08:00
洛水居室
9660ffbd24
🐛 修复 gacha_type 判断错误的情况 2022-10-15 22:50:44 +08:00
洛水居室
09b03888eb
🎨 添加在用户定轨后清空定轨值 2022-10-15 22:17:36 +08:00
洛水居室
8c9a13c61f
为抽卡模拟器添加缓存 2022-10-15 21:10:37 +08:00
洛水居室
6a2096d1ea
♻ 重写抽卡模拟器插件 2022-10-15 21:06:42 +08:00
洛水居室
242826121d
添加新抽卡模拟系统 2022-10-15 17:13:19 +08:00