Commit Graph

412 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
Karako
4e6b16d2ae
🐛 Fix avatar_list
Signed-off-by: Karako <karakohear@gmail.com>
2023-05-04 22:27:49 +08:00
Karako
ff0f20618b
🐛 Fix avatar_list command matching
Signed-off-by: Karako <karakohear@gmail.com>
2023-05-04 22:22:40 +08:00
Karako
c83406e996
🐛 Fix avatar_list command matching issue
Signed-off-by: Karako <karakohear@gmail.com>
2023-05-04 22:10:28 +08:00
洛水居室
007ef28d0b
🐛 Fix KeyError caused by improper parameter type for character star level retrieval 2023-04-28 14:51:31 +08:00
洛水居室
3ec8b96c02
🐛 Fix the issue of name_card being replaced when it is not None 2023-04-28 14:42:19 +08:00
洛水居室
9e23c1d20d
🐛 Fix the KeyError exception caused by the character rarity not found 2023-04-28 14:34:54 +08:00
洛水居室
ca37f6948a
Add get_name_card function 2023-04-28 13:22:57 +08:00
洛水居室
85178d34ae
🎨 Update get_final_data 2023-04-28 09:29:16 +08:00
洛水居室
fa1e84bea9
Support name card 2023-04-28 09:19:20 +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
ac879cc353
🐛 Fix honey wiki data parse 2023-04-25 19:52:16 +08:00
LittleMengBot
7c3d198c7f
Update /weapon result, add some weapon's alias 2023-04-07 21:07:59 +08:00
洛水居室
46176ad875
🐛 Fix issue of incorrect parameters being passed when calling add_delete_message_job 2023-04-04 22:53:37 +08:00
洛水居室
499efa778f
🎨 Update Logo 2023-04-04 22:26:43 +08:00
LittleMengBot
5f33c5fc3a
Add HTML rendering for /material 2023-04-04 22:02:14 +08:00
洛水居室
970bb42555
🔥 Remove get_record_cards 2023-03-27 10:59:39 +08:00
洛水居室
139c6758ae
🐛 Fix issue of incorrect parameters being passed when calling add_delete_message_job 2023-03-26 16:12:11 +08:00
洛水居室
1f1734ca03
🐛 Fix TypeError exception caused by characters is None 2023-03-18 22:03:56 +08:00
LittleMengBot
72154924be
Update /play_card placeholder image
Update current player showcase after updating character list.
Use asynchronous locks to make file read/write thread-safe.
Update `EnkaNetworkCache`.

---------

Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2023-03-17 13:33:29 +08:00
洛水居室
ff84757ed3
🐛 Fix the issue of regular expression not matching uppercase characters 2023-03-17 09:19:11 +08:00
洛水居室
4d4aa30069
🎨 Update Callback Query Handler 2023-03-16 23:00:04 +08:00
LittleMengBot
c25184f3de
🎨 Optimize /gacha_log long image send method 2023-03-16 15:47:24 +08:00
洛水居室
3dbb0e74a0
🎨 Set the running mode to non-blocking 2023-03-15 20:41:41 +08:00
洛水居室
1525d7cafd
🐛 Fix the exception caused by player or cookie not found 2023-03-15 16:06:36 +08:00
洛水居室
622313e15b
🐛 Fix WishLogPlugin has no attribute get_genshin_client 2023-03-14 19:54:57 +08:00
洛水居室
221dffef1b
🎨 Modify the text of the reply 2023-03-14 16:19:41 +08:00
洛水居室
56cf315747
🐛 Fix incorrect initialize function declared in BirthdayPlugin 2023-03-14 12:20:54 +08:00
洛水居室
7805a2879e
🐛 Fix incorrect passing of context 2023-03-14 12:19:09 +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
LittleMengBot
baceace292
🎨 Text correction and supplementation
Fixed the issue of unable to correctly retrieve traveler information in `/strategy`, `/player_card`, `/birthday`; added and corrected nicknames for several characters.
2023-03-13 22:47:36 +08:00
34bdd0ef53
🐛 Fix FileNotFoundError in pay_log plugin 2023-03-06 17:04:31 +08:00
omg-xtao
8a89721dfa
🐛 Fix TypeError in birthday plugin 2023-02-28 22:25:05 +08:00
omg-xtao
18d2590374
☁️ Use remote birthday 2023-02-28 22:15:48 +08:00
洛水居室
a4bf5b1e03
🐛 Fix wrong variable 2023-02-22 19:42:32 +08:00
洛水居室
0d1388d8ae
🎨 Update Map Plugin 2023-02-22 14:38:28 +08:00
洛水居室
346e78481f
🐛 Fix failure to add entry when description is empty 2023-02-22 14:20:19 +08:00
洛水居室
a7f597708f
🎨 Use CookiesModel to parse cookies 2023-02-22 12:47:44 +08:00
洛水居室
b258deb864
🎨 Update parse_cookie 2023-02-21 22:34:53 +08:00
Karako
9efea3f398
🐛 Fix cookie parser
Signed-off-by: Karako <karakohear@gmail.com>
2023-02-21 22:19:28 +08:00
洛水居室
876bc6c6bc
♻️ Refactor AuthClient 2023-02-21 17:49:59 +08:00
omg-xtao
f564a1db02
♻️ Refactor Map 2023-02-19 18:12:47 +08:00
5945d7451e
⬆️ Upgrade EnkaNetwork 2023-02-19 14:20:34 +08:00
omg-xtao
38cd0925d0
🎨 Add Download File Size Setting 2023-02-18 13:03:58 +08:00
洛水居室
fa4f43ed3e
🎨 Update Handle InvalidCookies Exception 2023-02-17 15:45:27 +08:00
ced51c84cb
🎨 Calendar Data Expire in next hour 2023-02-16 17:59:10 +08:00
omg-xtao
ea94583a5b
Support calendar 2023-02-16 16:47:48 +08:00
洛水居室
33b5f3b3bd
🎨 Handling Genshin Exception Return Code -120 2023-02-14 15:22:44 +08:00
洛水居室
974157d35c
🎨 Handling Genshin Exception Return Code -501101 2023-02-14 15:22:43 +08:00
omg-xtao
4c9afa174d
🐛 Fix a birthday_card bug 2023-02-14 00:12:47 +08:00
omg-xtao
5acfcc342f
Support Get Birthday Card 2023-02-13 13:13:32 +08:00
omg-xtao
a3e0461f41
Support Query Game Registration Time 2023-02-11 22:48:21 +08:00
洛水居室
5f3da3b55c
🐛 Fix Handling Exception Error 2023-02-09 13:57:16 +08:00
ef31faf1ae
🐛 Fix gacha_log command filter
Co-authored-by: Nahida <CHxCOOH@googlemail.com>
2023-02-09 11:12:47 +08:00
洛水居室
2cf4b7e55d
🐛 Fix Bug Due to enkanetwork.py Code Update
5b344f609f
eaab479b8b
2023-02-08 22:56:25 +08:00
洛水居室
138aa27dd6
Add Request Full Access Cookie Token 2023-02-08 17:07:11 +08:00
c501605273
🐛 Fix gacha_log pay_log command filter 2023-02-04 16:02:50 +08:00
Karako
b5d5dcf735
🐛 Fix qlogin command block
Signed-off-by: Karako <karakohear@gmail.com>
2023-02-02 18:40:13 +08:00
洛水居室
e31d4bb48c
🎨 Update Player Card Restricts Time 2023-02-01 17:01:36 +08:00
omg-xtao
65144bb469
fix: CookiesNotFoundError when setcookie
* fix: CookiesNotFoundError when setcookie

* remove cookies_database_data
2023-01-27 11:50:47 +08:00
77fd0406ae
🍱 Update 2.44.1 ds salt 2023-01-26 17:29:27 +08:00
omg-xtao
28e0890390
Support Flip In Player Cards 2023-01-20 23:43:39 +08:00
omg-xtao
b0576589b7
Support File Cache Player Cards 2023-01-20 23:43:39 +08:00
401e55f4bc
🐛 fix get public cookies 2023-01-14 22:45:06 +08:00
b590463699
🐛 Fix pay log AttributeError 2023-01-12 23:28:54 +08:00
Nahida
764834de2f
🎨 Move All user_mismatch Notice to the Aame Place 2023-01-08 04:01:28 +08:00
834dd30b7e
🐛 Fix pay log count error 2023-01-07 18:48:53 +08:00
omg-xtao
d377c4c241
Support Pay Log 2023-01-07 16:01:31 +08:00
洛水居室
16dfd5021e
🎨 Use ujson to Convert Data 2023-01-07 16:00:52 +08:00
洛水居室
24ce0dac92
🎨 Add Handle 1034 Error Raised by Public Query 2023-01-07 15:39:54 +08:00
洛水居室
98db3fe755
🎨 Update Handle InvalidCookies Exception 2023-01-07 15:27:00 +08:00
洛水居室
738e94d9ed
🎨 Update Get Cookie Help Message 2023-01-07 15:17:51 +08:00
Nahida
50cc134452
🐛 optimize regex in gacha_log.py
by #340
2023-01-06 19:59:13 +08:00
8996e538bc
🐛 Fix log 2023-01-06 19:23:32 +08:00
Nahida
b0300134cb
🐛 Fix avatar_list: AttributeError: 'NoneType' object has no attribute 'avatar'
The list of `Character` may contain `None`
2023-01-06 15:45:22 +08:00
Nahida
7f91d7ef31
🎨 Update help.html 2023-01-05 16:40:46 +08:00
Nahida
7013a61f49
🎨 Adjust Sort Rules in avatar_list.py 2023-01-05 15:06:59 +08:00
omg-xtao
3419088c89
🐛 Fix Avatar List Get name_card 2023-01-05 13:29:33 +08:00
洛水居室
cea7698644
🎨 Update Help Message 2022-12-30 17:01:54 +08:00
洛水居室
f5ebe19ff1
Add New Authkey Exception for Wish Log 2022-12-28 21:57:40 +08:00
洛水居室
6371db3b5e
Use Redis to Cache EnkaNetwork Data 2022-12-27 21:56:12 +08:00
洛水居室
f5f8735e88
🎨 Better Exception-Handling for AvatarListPlugin.get_final_data 2022-12-27 20:42:56 +08:00
洛水居室
4aa00fc43c
🐛 Fix Incorrect Region 2022-12-27 14:30:48 +08:00
洛水居室
6552606cc7
🎨 Improve code quality 2022-12-25 21:26:08 +08:00
洛水居室
e5ab9d71ca
🐛 Fix Field Does Not Exist
--
reason:
[EnkaNetwork](7a1a1489e5)
2022-12-25 20:51:30 +08:00
洛水居室
a8d1fe19ff
🐛 Fix Account Info Not Completely Remove from Database 2022-12-25 15:56:52 +08:00
洛水居室
5f65dc18a5
🎨 Update Get Cookies Step Description 2022-12-24 14:21:37 +08:00
0ca0739903
🎨 Update ds salt 2022-12-23 23:44:40 +08:00
洛水居室
3de0f8beb5
🎨 Update Handle InvalidCookies Exception 2022-12-23 21:35:26 +08:00
omg-xtao
c927b7b86b
Use qrcode to add cookies only CN users 2022-12-23 21:06:08 +08:00
洛水居室
5b7d26f9ac
🎨 Update Wish Export Log and Text 2022-12-22 23:51:45 +08:00
洛水居室
750c062f28
🎨 Update Reply Text 2022-12-22 23:27:26 +08:00
洛水居室
81e0c6f35d
🎨 Handle InvalidCookies Exception in Ledger 2022-12-22 23:09:28 +08:00
洛水居室
807ae86e8a
🎨 Handle Not Enough Permissions Exception 2022-12-18 22:24:27 +08:00
洛水居室
0f63a5aaff
🔥 Remove fix_skills_level
EnkaNetwork.py has submitted this fix
[Add Skill boosted](821ce2f420)
2022-12-11 15:03:23 +08:00
洛水居室
a4d7593ab0
🎨 Filter empty strings in parse cookies 2022-12-11 14:00:12 +08:00
洛水居室
4b976f70d5
♻ Refactor ApiHelper 2022-12-10 20:37:43 +08:00
洛水居室
0ca5f0314e
🎨 Catch ValueError exception in input cookie 2022-12-10 20:24:40 +08:00
Karako
8beb2cf442
🐛 fix cookie parser 2022-12-08 22:22:59 +08:00
Karako
330a7b22e8
🐛 fix AssetsService
🐛 修复 `AssetsService`
2022-12-07 16:40:30 +08:00
洛水居室
f2b89134cb
🎨 Make GachaHandle.de_item_list Raise GachaDataFound 2022-12-07 11:03:42 +08:00
洛水居室
e20e20111d
Add inline search 2022-12-04 19:56:39 +08:00
洛水居室
63b0e4afff
🎨 Update ch bbs url 2022-12-01 19:58:03 +08:00
Karako
4543377462
🐛 fix cookies
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
2022-12-01 19:54:40 +08:00
洛水居室
7e12832239
🎨 Rename de_cookie to parse_cookie 2022-12-01 18:41:27 +08:00
洛水居室
7a2efd16dd
🎨 Rename AddUserCommandData to SetUserUidCommandData 2022-12-01 18:31:38 +08:00
洛水居室
f2d10273af
🐛 Fix unresolved attribute reference 'hoyolab_uid'
Reason:
hoyolab_uid → hoyolab_id
- [genshin.py](8c71c0d965)
2022-12-01 11:27:10 +08:00
洛水居室
3573c68120
🎨 Update get cookies help message 2022-12-01 11:04:59 +08:00
洛水居室
56c8d66215
🎨 Update Wish Simulator command 2022-12-01 10:33:09 +08:00
洛水居室
80b96d4c51
🎨 Update get_args 2022-12-01 10:27:27 +08:00
洛水居室
272f104166
🐛 Fix cookie can't be deleted 2022-11-30 12:02:52 +08:00
洛水居室
fb03f09b9d
Add delete user command 2022-11-30 11:49:48 +08:00
洛水居室
8331698a7c
🎨 Update set cookies command 2022-11-29 21:15:46 +08:00
洛水居室
0e4b1cdc1b
Use Client.get_hoyolab_user to get hoyolab id 2022-11-28 22:46:09 +08:00
洛水居室
a2656d2df7
Use create_deep_linked_url to create url 2022-11-28 16:38:49 +08:00
洛水居室
c090dd97ba
Add simplified processing of cookies 2022-11-27 18:42:49 +08:00
洛水居室
15532234b6
🎨 Update get cookie help message 2022-11-26 16:33:55 +08:00
omg-xtao
09b211d65d
Added code to get the old account_id 2022-11-26 16:31:05 +08:00
洛水居室
84e8d00831
⬆ Update PTB related dependencies and add version check 2022-11-25 15:33:25 +08:00
洛水居室
4d67904118
🎨 Update help message 2022-11-24 11:48:37 +08:00
洛水居室
c7b0f530f7
🎨 black code 2022-11-23 09:11:29 +08:00
洛水居室
aa890c539f
🎨 Update help message 2022-11-23 08:59:25 +08:00
洛水居室
79b7244981
🎨 Add a way to get cookies in iOS platform 2022-11-23 08:22:27 +08:00
omg-xtao
7457fef7f3
🐛 Fix material character weapon miss 2022-11-22 18:36:52 +08:00
洛水居室
827b97e36d
🎨 Add filters.ChatType.PRIVATE to Verify Command And Update Log 2022-11-21 20:50:25 +08:00
洛水居室
c4db39c3df
🎨 Update verification reply text and log 2022-11-20 19:52:36 +08:00
洛水居室
2b83985efd
Add Webapp 2022-11-20 19:32:56 +08:00
洛水居室
e83a9fd8cb
🐛 Fix unable to get genshin account information correctly 2022-11-19 21:41:12 +08:00
洛水居室
a3f3091702
🎨 Update sign-in log 2022-11-19 16:15:30 +08:00
洛水居室
304eb5e740
🐛 Fix weapon plugin not handling notice correctly in AssetsCouldNotFound exception 2022-11-19 16:08:35 +08:00
洛水居室
a10ff3728b
🎨 Pass title to banner if html_title is None 2022-11-18 18:18:01 +08:00
洛水居室
e6de707c67
🐛 Fix old challenge being passed by sign-in 2022-11-18 16:36:52 +08:00
洛水居室
762c9bc907
🐛 Fix plugin not handling notice correctly in InvalidCookies exception 2022-11-17 16:35:00 +08:00
洛水居室
b7d2e1962a
♻ Refactor handling of sign-in verification
重构每日签到的验证码处理
2022-11-17 16:34:59 +08:00
洛水居室
684cba06a3
🎨 Update Verification log and reply text 2022-11-17 16:34:59 +08:00
洛水居室
79272ab330
🐛 Fix abyss not handling TooManyRequestPublicCookies exception correctly 2022-11-17 16:34:59 +08:00
hakureiyuyuko
3f4d9031b7
📝 Update player_cards.py
6
2022-11-17 16:34:59 +08:00
洛水居室
ff6f0b6f39
🐛 Fix wrong message reply 2022-11-14 21:56:02 +08:00
洛水居室
ffbb224644
🎨 Update log output and exception handler in validation 2022-11-13 13:45:01 +08:00
洛水居室
9c60087673
🎨 Update User-Agent 2022-11-13 01:47:34 +08:00
洛水居室
80577042da
🐛 Fix challenge is not stored in the cache
修复 challenge 变量没有存储到 redis 缓存问题
2022-11-13 01:47:33 +08:00
洛水居室
9ed30d4143
🎨 Cancel authentication if cookies is None
处理 CookiesNotFoundError 异常
2022-11-12 23:08:25 +08:00
洛水居室
12ca9af57b
🎨 Return URL button when chat is private in sign function
私聊时应该返回签到URL按钮而不是callback按钮,避免重复工作
2022-11-12 21:39:17 +08:00
洛水居室
38541428b9
Add verification pass plugin
 添加验证通过插件

Co-authored-by: xtaodada <xtao@xtaolink.cn>
2022-11-12 20:59:42 +08:00
15bc2b2724
🔥 Delete Artifact Rate 2022-11-04 17:56:37 +08:00
洛水居室
101cb76503
🐛 Fix exception raised by empty gacha card pool information 2022-11-02 08:39:25 +08:00
9272405151
🐛 Plugin birthday fix a bug
修复每月上旬获取当天信息失败的问题
2022-11-02 00:47:25 +08:00
kotoriのねこ
d937e1e3c6
Send uid to manual pass challenge page
适配新版手动验证界面
2022-11-01 22:33:23 +08:00
c83f1c0afc
🐛Fix some problems 2022-11-01 22:12:18 +08:00
洛水居室
72192351df
🎨 使用 assets 服务获取图片 2022-11-01 22:00:13 +08:00