Commit Graph

403 Commits

Author SHA1 Message Date
洛水居室
d3fb2ef386
🎨 Use random module instead of secrets module 2022-10-29 12:11:26 +08:00
SiHuaN
755c224ca0
🎨 daily_material: optimize get skills level code
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-10-29 11:54:07 +08:00
洛水居室
31d71fd6a1
🎨 Skip auto check-in when status is NEED_CHALLENGE 2022-10-29 00:37:27 +08:00
洛水居室
884afa3087
🐛 Fix to get the question id
梅开二度
2022-10-28 23:38:48 +08:00
SiHuaN
6e8f29786e
Add talent levels to daily materials
Co-authored-by: kotoriのねこ <minamiktr@outlook.com>
2022-10-28 23:36:59 +08:00
Karako
fe9c1261a0
🐛 fix logger config
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-28 15:39:17 +08:00
Karako
f0b287dcfe
🎨 Improve config 2022-10-28 15:11:14 +08:00
洛水居室
be5f4c51d5
🐛 Fix the exception caused by update.message is None 2022-10-28 12:10:30 +08:00
洛水居室
cfae262c0e
🐛 Fix to get the question id 2022-10-28 12:04:10 +08:00
SiHuaN
514d1bf3b0
🔧 avatar_list: optimize retry code 2022-10-28 11:53:59 +08:00
SiHuan
3e4cd1db1c
🐛 fix avatar 2022-10-27 21:16:48 +08:00
kotoriのねこ
d3a0da3d9f
🔧 Add docker integration 2022-10-27 20:13:57 +08:00
dependabot[bot]
aca5271fad
⬆ Bump fakeredis from 1.9.4 to 1.10.0
Bumps [fakeredis](https://github.com/cunla/fakeredis-py) from 1.9.4 to 1.10.0.
- [Release notes](https://github.com/cunla/fakeredis-py/releases)
- [Commits](https://github.com/cunla/fakeredis-py/compare/v1.9.4...v1.10.0)

---
updated-dependencies:
- dependency-name: fakeredis
  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-27 15:40:42 +08:00
洛水居室
20ff3c5cf4
remove numpy
*  remove numpy

* 🗑️ remove `MT19937Random`
2022-10-27 13:15:11 +08:00
dependabot[bot]
7b62097b87
⬆ Bump arko-wrapper from 0.2.3 to 0.2.4
Bumps [arko-wrapper](https://github.com/ArkoClub/ArkoWrapper) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/ArkoClub/ArkoWrapper/releases)
- [Commits](https://github.com/ArkoClub/ArkoWrapper/compare/v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: arko-wrapper
  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-25 20:13:56 +08:00
dependabot[bot]
a1afc9317c
⬆ Bump pytest from 7.1.3 to 7.2.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.3 to 7.2.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.3...7.2.0)

---
updated-dependencies:
- dependency-name: pytest
  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-25 19:19:33 +08:00
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