Commit Graph

15 Commits

Author SHA1 Message Date
洛水居室
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
洛水居室
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
洛水居室
4b976f70d5
♻ Refactor ApiHelper 2022-12-10 20:37:43 +08:00
洛水居室
a2656d2df7
Use create_deep_linked_url to create url 2022-11-28 16:38:49 +08:00
omg-xtao
bf90ca55f9
🎨 优化报错提醒 2022-10-22 21:54:04 +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
Chuangbo Li
ada56a2382
增加用于模板预览和调试的 web server 2022-10-12 21:39:47 +08:00
洛水居室
59be6fc7a4
🎨 Update the text of a reply when bot query user does not exist 2022-10-12 17:35:59 +08:00
be8bca8011
🐛 修复配队推荐未拥有旅行者 2022-10-10 19:17:28 +08:00
c44b785118
推荐三个深渊队伍
Co-authored-by: Li Chuangbo <im@chuangbo.li>
Co-authored-by: SiHuaN <sihuan@sakuya.love>
2022-10-10 18:43:18 +08:00
SiHuaN
95b1381975
随机获取深渊推荐队伍 2022-10-08 11:16:52 +08:00
SiHuaN
12f80bde9e
🐛 修复深渊推荐队伍上下出现同一角色的问题
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: omg-xtao <100690902+omg-xtao@users.noreply.github.com>
2022-10-07 21:12:20 +08:00
omg-xtao
df71301aac
🐛 修复深渊推荐配队在未绑定时全灰 2022-10-07 14:50:25 +08:00
Karako
4c702515a0
Enhance AssetsService
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-10-07 13:02:49 +08:00
omg-xtao
1541c8fabc
支持深境螺旋推荐配队
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-10-07 00:30:38 +08:00