Commit Graph

581 Commits

Author SHA1 Message Date
洛水居室
f3fe7139f7
🐛 Fix bug 2023-05-10 17:30: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
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
omg-xtao
0a63b8250d
🐛 Fix sign referer AttributeError 2023-04-26 00:11:25 +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
omg-xtao
30ea0b99cb
🚚 Isolated recognize method 2023-04-22 21:14:31 +08:00
洛水居室
0566769ee1
🎨 Improve the ffmpeg return status judgment and automatic jump to video width and height
* 🎨 Use `return_code` to determine whether ffmpeg has executed successfully

* 🎨 Automatically adjust the width and height of a video using the scale filter from ffmpeg
2023-04-14 20:51:39 +08:00
洛水居室
47a1c33abe
🐛 Fix file not found error 2023-04-14 13:13:20 +08:00
洛水居室
3fd01d5d80
Use ffmpeg to convert GIF to MP4 2023-04-14 11:53:15 +08:00
洛水居室
f991c8b5fd
🐛 Fix the Forbidden exception caused by the failure to send a message successfully 2023-04-11 09:47:14 +08:00
洛水居室
d386a47ac7
🐛 Fix TypeError exception caused by message is None 2023-04-11 09:45:06 +08:00
omg-xtao
def32d89b9
🐛 Fix post cannot get text 2023-04-10 22:13:29 +08:00
LittleMengBot
7c3d198c7f
Update /weapon result, add some weapon's alias 2023-04-07 21:07:59 +08:00
洛水居室
387558bdaf
Update the expiration detection mechanism for public cookies and add status feedback 2023-04-04 23:46:04 +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
洛水居室
5799db53e3
🐛 Handling AccountNotFound exception caused by the uid not found 2023-03-29 16:35:24 +08:00
洛水居室
b40a478ca7
🐛 Fix incorrect type after updating cookies 2023-03-28 22:34:10 +08:00
洛水居室
970bb42555
🔥 Remove get_record_cards 2023-03-27 10:59:39 +08:00
洛水居室
a06eb61b49
🎨 Improve code quality 2023-03-27 10:55:12 +08:00
洛水居室
db2741b515
🐛 Fix ValueError caused by incorrect player ID 2023-03-27 09:56:27 +08:00
洛水居室
f03f524a47
Support cookies refresh and export 2023-03-27 09:44:22 +08:00
洛水居室
16af8d965b
Use cache dual write strategy for class CharacterDetails 2023-03-26 16:57:45 +08:00
洛水居室
139c6758ae
🐛 Fix issue of incorrect parameters being passed when calling add_delete_message_job 2023-03-26 16:12:11 +08:00
洛水居室
444d3e2bdc
Support SQLite 2023-03-25 11:17:38 +08:00
洛水居室
d429553488
🎨 Update Log 2023-03-22 21:16:22 +08:00
洛水居室
8814979cef
🎨 Update timeout config of Hyperion client 2023-03-22 13:09:24 +08:00
洛水居室
9a1b9271e7
🐛 Fix parse content url and gif support
Fixed the problem of [233e7ab](233e7ab58d) and [73d204d](73d204d497) modifications being overwritten due to the submission of [c260165](c26016561a)
2023-03-22 13:06:05 +08:00
洛水居室
a2c2087162
🐛 Fix TypeError exception caused by data is None 2023-03-18 22:15:07 +08:00
洛水居室
1f1734ca03
🐛 Fix TypeError exception caused by characters is None 2023-03-18 22:03:56 +08:00
洛水居室
15f50253a3
🐛 Fix instance PlayerInfoSQLModel is not persisted 2023-03-17 17:45:19 +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
洛水居室
b60094eef0
🎨 Update exception notifications 2023-03-17 12:06:58 +08:00
洛水居室
ff84757ed3
🐛 Fix the issue of regular expression not matching uppercase characters 2023-03-17 09:19:11 +08:00
洛水居室
51c01268fa
🐛 Fix Exception Handler 2023-03-17 08:31:31 +08:00
洛水居室
27e1b16ef4
🐛 Fix no default account ID provided 2023-03-17 08:31:22 +08:00
洛水居室
e025a3a656
🐛 Fix PlayerInfo is not persisted 2023-03-17 00:23:31 +08:00
洛水居室
63c75307e3
🎨 Update Exception Handler 2023-03-16 23:18:39 +08:00
洛水居室
4d4aa30069
🎨 Update Callback Query Handler 2023-03-16 23:00:04 +08:00
洛水居室
70fde1ac9b
🎨 Optimize Group Captcha 2023-03-16 18:58:22 +08:00
LittleMengBot
c25184f3de
🎨 Optimize /gacha_log long image send method 2023-03-16 15:47:24 +08:00
洛水居室
6d540b9c66
🎨 Optimize auto-sign login 2023-03-16 11:25:10 +08:00
洛水居室
c19eb4679a
🐛 Fix the issue of incorrect account_id retrieval 2023-03-16 11:03:24 +08:00
洛水居室
df1c00a0dd
🐛 Remove unexpected end tag 2023-03-15 23:51:12 +08:00
洛水居室
c07e9cf097
🐛 Fix the issue of still getting incorrect cookies when account_id is None 2023-03-15 21:35:46 +08:00
洛水居室
3dbb0e74a0
🎨 Set the running mode to non-blocking 2023-03-15 20:41:41 +08:00
洛水居室
6435dabf39
🎨 Improve AccountCookies Plugin 2023-03-15 20:36:57 +08:00
洛水居室
4e87424766
Add binding by player ID 2023-03-15 20:32:36 +08:00
洛水居室
e2649f63ee
🐛 Fix the issue of duplicate data being written to the database 2023-03-15 16:55:46 +08:00
洛水居室
7bca698c18
🐛 Fix wrong file identifier specified
When encountering an error file ID, it should be removed from the cache.
2023-03-15 16:33:59 +08:00
洛水居室
1525d7cafd
🐛 Fix the exception caused by player or cookie not found 2023-03-15 16:06:36 +08:00
洛水居室
5ecdfc3c09
🐛 Fix the issue of incorrect parameter passing 2023-03-15 12:34:46 +08:00
洛水居室
f1e56c0318
🐛 Fix the exception caused by not handling the non-existent player 2023-03-15 12:27:53 +08:00
洛水居室
4cd8eda043
🎨 Delete the login_ticket after use 2023-03-14 22:03:33 +08:00
洛水居室
622313e15b
🐛 Fix WishLogPlugin has no attribute get_genshin_client 2023-03-14 19:54:57 +08:00
洛水居室
a1a0c6913c
🐛 Fix the issue where the owner cannot be retrieved 2023-03-14 18:19:29 +08:00
洛水居室
c0fbabaf14
🐛 Fix BindAccountPlugin has no attribute player_info_service 2023-03-14 16:23:14 +08:00
洛水居室
221dffef1b
🎨 Modify the text of the reply 2023-03-14 16:19:41 +08:00
洛水居室
3f20430b70
🐛 Fix the exception raised when player_info is None 2023-03-14 16:19:41 +08:00
洛水居室
913e566f5e
🐛 Fix the incorrect parameter passing 2023-03-14 16:19:41 +08:00
洛水居室
bd11e7d831
♻️ Refactor WikiPlugin 2023-03-14 14:09:18 +08:00
洛水居室
7b62d86f46
🎨 Add to schedule for deletion after sending exception information 2023-03-14 13:53:05 +08:00
洛水居室
06ff5d9bcd
🐛 Fix issue where players could not be found 2023-03-14 13:43:02 +08:00
洛水居室
df8d36da3c
🐛 Fix account ID being 0 2023-03-14 12:43:23 +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
洛水居室
d20b23d978
🐛 Fix incorrect reply text 2023-03-14 10:50:55 +08:00
洛水居室
17a40c2199
🐛 Fix incorrect exception handling 2023-03-14 10:45:26 +08:00
洛水居室
e24cd2a44d
🐛 Fix incorrect handling of timeout exceptions in httpx 2023-03-14 10:40:27 +08:00
洛水居室
503bd0b498
🐛 Fix the exception not being thrown for all exceptions except "Too Many Requests" 2023-03-14 10:16:43 +08:00
洛水居室
393c410821
🐛 Fix Exception that 'Question' object is not subscriptable 2023-03-14 09:53:35 +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
598587a74d
🐛 Fix Invite Bot Cannot Exit 2023-03-13 20:35:22 +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
洛水居室
9c8def3ce9
🎨 Update error handler for UpdatePlugin 2023-02-22 12:55:56 +08:00
洛水居室
a7f597708f
🎨 Use CookiesModel to parse cookies 2023-02-22 12:47:44 +08:00
Karako
2afd0d2d03
📝 Update for annotation messages that failed validation
Signed-off-by: Karako <karakohear@gmail.com>
2023-02-22 11:58:23 +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
c26016561a
Post support gif 2023-02-18 15:41:10 +08:00
omg-xtao
38cd0925d0
🎨 Add Download File Size Setting 2023-02-18 13:03:58 +08:00
73d204d497
🎨 Add parse content url 2023-02-18 01:59:39 +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
洛水居室
1d50f367b5
🐛 Fix SignJob Not Handling Daily Reward Again When Status is NEED_CHALLENGE 2023-02-09 17:49:59 +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
洛水居室
cecc497ac9
🎨 Request Daily Reward Again When Status is NEED_CHALLENGE 2023-02-06 00:14:02 +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
洛水居室
d28db63707
🎨 Update Input Message Content
部分查询输入的消息修改为命令而不是文本
2023-01-24 14:42:51 +08:00
洛水居室
7ab92b630c
Add Allow Bind User Invite Bot 2023-01-23 21:34:58 +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
洛水居室
20eed878ec
🐛 Fix Incorrect Reply Message 2023-01-03 17:23:40 +08:00
洛水居室
471ed052ea
Use ChatMemberHandler to Get Chat Member Updates
使用 ChatMemberHandler 获取 chat member updates

解决在部分群开启了隐藏成员列表后Bot无法工作的问题
2023-01-03 17:14:57 +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
洛水居室
0218ac7648
🎨 Use html.escape to Escape Special Characters 2022-12-25 15:50:19 +08:00