Commit Graph

44 Commits

Author SHA1 Message Date
xris
3fcab79349
🐛 Skip exception when dailynote has no data 2024-02-12 09:56:02 +08:00
xris
d5165ff4e6
🐛 Fix daily_material 2023-11-23 11:31:49 +08:00
xris
c4c452fb60
♻️ refactor /daily_material 2023-11-22 21:36:56 +08:00
xris
94c0b249cb
♻️ Refactor daily_material sort_item
Co-authored-by: omg-xtao <100690902+omg-xtao@users.noreply.github.com>
2023-10-24 22:25:00 +08:00
xris
9f96d1df7b
🎨 Shrink daily_material width to exactly 7 items per line 2023-10-23 22:49:18 +08:00
2a069c6a96
🐛 Fix daily material game v4.1 2023-10-12 21:06:39 +08:00
luoshuijs
468ed22a26
Mask sensitive information in player id 2023-08-26 18:19:00 +08:00
luoshuijs
eb3752923e
🎨 Refactor download_icon for improved readability and efficiency 2023-08-21 17:17:15 +08:00
洛水居室
7d9ddfc0e8
🐛 Fix unexpected value 2023-08-21 16:35:01 +08:00
洛水居室
3b1460a177
🎨 Update Material Domain Data 2023-08-21 12:39:38 +08:00
luoshuijs
c1012d206b
Use SIMNet and Remove genshin.py
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-07-18 17:29:31 +08:00
洛水居室
ceaf0a1b09
🐛 Fixed the issue where some commands did not run in a non-blocking manner 2023-06-06 17:03:08 +08:00
omg-xtao
04d0f3cf31
🐛 Fix Some Bugs 2023-05-14 18:02:28 +08:00
洛水居室
eed418477f
♻️ Rename HTML templates to use .jinja2 extension
Previously, all templates were named with the .html extension, which caused problems for editors to recognize the Jinja2 syntax used in them. In this commit, all templates have been renamed to use the .jinja2 extension to better reflect their use of Jinja2 and to improve editor recognition.
2023-05-09 19:19:32 +08:00
Karako
6efddb364a
🐛 Fix honey impact data parse error
Signed-off-by: Karako <karakohear@gmail.com>
2023-04-25 22:35:58 +08:00
洛水居室
233e7ab58d
♻️ PaiGram V4
Co-authored-by: luoshuijs <luoshuijs@outlook.com>
Co-authored-by: Karako <karakohear@gmail.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-03-14 09:27:22 +08:00
洛水居室
6552606cc7
🎨 Improve code quality 2022-12-25 21:26:08 +08:00
Karako
330a7b22e8
🐛 fix AssetsService
🐛 修复 `AssetsService`
2022-12-07 16:40:30 +08:00
洛水居室
80b96d4c51
🎨 Update get_args 2022-12-01 10:27:27 +08:00
omg-xtao
7457fef7f3
🐛 Fix material character weapon miss 2022-11-22 18:36:52 +08:00
洛水居室
304eb5e740
🐛 Fix weapon plugin not handling notice correctly in AssetsCouldNotFound exception 2022-11-19 16:08:35 +08:00
洛水居室
762c9bc907
🐛 Fix plugin not handling notice correctly in InvalidCookies exception 2022-11-17 16:35:00 +08:00
SiHuan
dea8a4128c
🐛 Fix GenshinException exception and blank return when no cookie is set in daily_material
修复了 client 为 None 时返回空白的信息
修复了未授权使用养成计算器引发的异常导致无法获取信息的问题
2022-11-01 22:00:13 +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
SiHuaN
6e8f29786e
Add talent levels to daily materials
Co-authored-by: kotoriのねこ <minamiktr@outlook.com>
2022-10-28 23:36:59 +08:00
omg-xtao
bf90ca55f9
🎨 优化报错提醒 2022-10-22 21:54:04 +08:00
洛水居室
ddfbcfa5c9
🎨 修改每日素材表插件图片缓存时间 2022-10-22 17:12:39 +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
Karako
2c671d0dc2
🐛 修改每日素材缓存刷新规则
Signed-off-by: Karako <karakohear@gmail.com>
2022-10-22 11:31:44 +08:00
洛水居室
ab2c0226b8
🎨 优化每日素材表插件 2022-10-19 14:19:00 +08:00
Chuangbo Li
ada56a2382
增加用于模板预览和调试的 web server 2022-10-12 21:39:47 +08:00
洛水居室
ec8175eea2
🎨 提高代码质量 2022-10-11 14:45:07 +08:00
Chuangbo Li
345edb9fe5
🎨 使用 black 格式化所有代码 2022-10-10 19:07:28 +08:00
0fe61d5f44
🐛 每日素材跳过不存在或者已忽略的角色、武器 2022-10-08 08:56:27 +08:00
Karako
4c702515a0
Enhance AssetsService
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-07 13:02:49 +08:00
Karako
72fc828c55
💄 更新 daily_material 的样式
🐛 修复了材料系列名不正确的 `bug`
2022-09-22 11:11:23 +08:00
Karako
28b3c4dd9a
️ 提升性能
异步并发下载素材
2022-09-21 00:40:36 +08:00
Karako
5c263ad83d
🎨 改进 daily_material 模块 2022-09-20 23:00:08 +08:00
Karako
0babbc7351
🐛 修复 daily_material 参数错误的问题 2022-09-18 16:14:23 +08:00
Karako
e038046365
🎨 改进代码
💡 给 `daily_material` 模块添加注释
🎨 使用 `AssetsService` 管理 `weapon` 模块的武器和材料图标
2022-09-18 12:19:29 +08:00
Karako
a7b28b0688
🎨 改进代码
1. 取消了 daily_material 模块的提示消息撤回
2. 为 daily_material 添加命令日志
3. 删除无用代码
2022-09-18 02:07:42 +08:00
omg-xtao
b477dc7648
🐛 修复模板复用不正确导致的错误并改进代码避免触发洪水模式
Co-authored-by: Karako <karakohear@gmail.com>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-09-18 01:33:11 +08:00
Karako
7f8db29c1e
🐛 修复一个小问题 2022-09-18 00:34:50 +08:00
Karako
5016f7cb0f
添加查看今日素材表功能 2022-09-18 00:28:51 +08:00