Commit Graph

19 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
洛水居室
33b5f3b3bd
🎨 Handling Genshin Exception Return Code -120 2023-02-14 15:22:44 +08:00
洛水居室
98db3fe755
🎨 Update Handle InvalidCookies Exception 2023-01-07 15:27:00 +08:00
洛水居室
3de0f8beb5
🎨 Update Handle InvalidCookies Exception 2022-12-23 21:35:26 +08:00
洛水居室
81e0c6f35d
🎨 Handle InvalidCookies Exception in Ledger 2022-12-22 23:09:28 +08:00
洛水居室
80b96d4c51
🎨 Update get_args 2022-12-01 10:27:27 +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
3fe62c0100
🐛 修复 ledger 无法查询其他月份 2022-10-13 00:41:40 +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
Chuangbo Li
345edb9fe5
🎨 使用 black 格式化所有代码 2022-10-10 19:07:28 +08:00
59942ba8aa
🐛 修复 ledger 在月初查询失败的问题 2022-10-01 00:26:16 +08:00
洛水居室
b252768dfc
🐛 修复旅行札记接收其他消息类型引发的错误 改正错字 2022-09-11 18:50:04 +08:00
Karako
8f424bf0d4
♻ 更新V3版本
♻️ 重构插件系统
⚙️ 重写插件
🎨 改进代码结构
📝 完善文档

Co-authored-by: zhxy-CN <admin@owo.cab>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
Co-authored-by: Li Chuangbo <im@chuangbo.li>
2022-09-08 09:08:37 +08:00
洛水居室
55cd8c530d
🐛 修复调用的模板渲染时参数不存在的问题 2022-09-02 23:48:36 +08:00
洛水居室
7adf404600
♻ 移动插件路径 区分系统插件和查询插件 2022-08-09 20:25:25 +08:00