1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-12 06:18:16 +01:00
Commit Graph

3024 Commits

Author SHA1 Message Date
96e95b5d95
Fix login into testmode 2023-08-06 16:44:16 +02:00
a3094016e8
Fix logout in case of session termination 2023-08-06 16:29:29 +02:00
Mahdi
a974475959
Update Message.php
Completely remove text as it doesnt need here
2023-08-06 03:05:55 +03:30
Mahdi
b64c649f2b Fix translate method bug! 2023-08-06 02:50:14 +03:30
27485be888 Recommend uv 2023-08-05 23:42:57 +02:00
9ba8af106a
Improve tests 2023-08-05 23:09:40 +02:00
5255cf3460
Increase release 2023-08-05 22:55:13 +02:00
203815a322
Psalm fixes 2023-08-05 21:26:58 +02:00
663afb6a76
Psalm fixes 2023-08-05 20:53:57 +02:00
b540eefc73
Improvements 2023-08-05 20:15:50 +02:00
e79ba357b2
Cleanup 2023-08-05 19:13:26 +02:00
2ddc72e106
Merge pull request #1380 from mtalaeii/v8
Add too many features!
2023-08-04 20:30:13 +02:00
6cdf32e5e1
Improve bot API conversion 2023-08-04 20:28:27 +02:00
89e1230b06
Add FromAdminOrOutgoing simple filter, markdownUrlEscape function, fix pagination hash & other fixes 2023-08-04 20:15:37 +02:00
Mahdi
cdf491fc8e Fix 2023-08-04 20:24:03 +03:30
Mahdi
ed8a1c9b13 Small fixes 2023-08-04 15:45:52 +03:30
Mahdi
3aa6c68355 Some fixes
- Also remove empty assertion from edit bound method as it doesn't need here
2023-08-04 11:52:37 +03:30
Mahdi
4f0630a79d Fix
- Forgot to add constructor for ChatGameQuery
2023-08-04 01:57:36 +03:30
Mahdi
69b93456e3 Fix some bug 2023-08-04 01:54:55 +03:30
Mahdi
8df1c30240
Update InlineGameQuery.php 2023-08-04 01:35:23 +03:30
Mahdi
935da6ec70 Do all tasks
- separate ChatButtonQuery ChatGameQuery InlineButtonQuery and InlineGameQuery from CallbackQuery class
- add private wrapQuery to handle both inline and chat queries
- some changes to some methods and some fixes ...
2023-08-04 01:13:42 +03:30
17e84ec003
Fix usage of inputMediaPhotoExternal and inputMediaDocumentExternal in sendMultiMedia 2023-08-03 20:52:48 +02:00
Mahdi
a02074c6c5 Fix the translate method bug
- Add phpDoc for CallbackQuery class methods
2023-08-03 19:14:57 +03:30
Mahdi
eaecbe6f7d
Merge branch 'danog:v8' into v8 2023-07-31 14:07:00 +03:30
373824c620
Increase release 2023-07-30 17:09:41 +02:00
Mahdi
b578b4ceb0 Add to many features!
- Add CallbackQuery class for handle callbackQueries updates with 2 bound method(edit and answer)
- Add support for CallbackQueries in UpdateHandler class
- Add FilterCallback & FilterCallbackRegex class for handle callbackQueries texts
- Change structure for FilterFromAdmin to handle also callbackQueries requests
- add 2 method edit and translate to Message class
2023-07-30 16:12:04 +03:30
b5055c1c38
Populated imported flag 2023-07-29 15:53:52 +02:00
2663703547
Increase release 2023-07-27 13:21:21 +02:00
d9541808fe
Multiple fixes 2023-07-27 13:20:30 +02:00
7ccbf3af3b
Tentative fix 2023-07-26 18:16:19 +02:00
3d6186235f
Allow inclusion of traits, interfaces in plugins, fix creation of sessions, improve addReaction/delReaction/getOurReactions methods 2023-07-26 17:36:53 +02:00
34431630d9
Merge pull request #1377 from mtalaeii/v8
Add 3 bound methods
2023-07-26 12:16:26 +02:00
Mahdi
05e986cf9f Fix 2023-07-26 13:41:47 +03:30
Mahdi
725e47d21c Fix some bugs
- Run composer cx-fix
2023-07-26 13:37:57 +03:30
15080096b2
Increase release 2023-07-26 11:56:55 +02:00
7f7326acd8
Fix 2023-07-26 11:56:38 +02:00
Mahdi
9fe0b7b372 Merge remote-tracking branch 'origin/v8' into v8 2023-07-26 12:34:06 +03:30
Mahdi
a3db39568e
Merge branch 'danog:v8' into v8 2023-07-26 12:33:44 +03:30
Mahdi
ed60ee5f80 Change addReaction to just accept int|string
- Fix some bugs
- Run composer cx-fix
2023-07-26 12:32:17 +03:30
188bb29b93
Small IPC fix 2023-07-26 08:18:04 +02:00
0439daeae0
Small IPC fix 2023-07-26 08:17:41 +02:00
Mahdi
af318e72bd Fix
- Fix getReaction bug
- Run composer cs-fix
2023-07-26 02:01:39 +03:30
Mahdi
79d546ad46 Fix
- Fix delReaction bug
- Run composer cs-fix
2023-07-26 01:48:38 +03:30
Mahdi
e16980b368 Fix
- Run composer cs-fix
2023-07-26 00:06:55 +03:30
Mahdi
8c25a773fe
Merge branch 'danog:v8' into v8 2023-07-25 23:55:40 +03:30
Mahdi
958b619286 Fix 2023-07-25 20:42:58 +03:30
ce857fa26f
Increase timeout 2023-07-25 19:12:54 +02:00
Mahdi
b915d661b9 Fix 2023-07-25 20:40:54 +03:30
Mahdi
093cc383c6
Merge branch 'v8' into v8 2023-07-25 20:39:29 +03:30
Mahdi
bdd0baac59 Delete replyInlineBotResult as incomplete!
- also add 3 methods delReaction addReaction and getReactions
2023-07-25 20:37:27 +03:30
55e1d2f15f
Update localization 2023-07-25 19:06:31 +02:00
Mahdi
de625e5311
Merge branch 'danog:v8' into v8 2023-07-25 20:16:04 +03:30
76446a2d82
Remove non-IPC fallback, improve IPC logic 2023-07-25 18:44:30 +02:00
b2446fd4d7
Add FilterFromSender 2023-07-25 18:01:23 +02:00
Mahdi
717635c9a2
Merge branch 'danog:v8' into v8 2023-07-25 18:58:58 +03:30
8eb2268bcf
Increase release 2023-07-25 16:13:16 +02:00
26713b1349
Fix update checks on composer 2023-07-25 16:12:42 +02:00
Mahdi
1dbbca27e9
Merge branch 'danog:v8' into v8 2023-07-25 16:10:42 +03:30
0114106b77
Make sure the event handler class is in scope before unserializing 2023-07-25 14:27:16 +02:00
2e1b564afc
Update release 2023-07-25 14:22:30 +02:00
ebe06ad96a
Do not unreference timeout cancellations 2023-07-25 14:05:51 +02:00
5f7325f71b
Add separate StaticSticker, AnimatedSticker, VideoSticker classes 2023-07-25 13:34:30 +02:00
3e09a1ee13
Multiple improvements 2023-07-25 13:13:17 +02:00
Mahdi
266350ae38 Add 4 bound method :
- pin that will pin a message
- unpin that will unpin a message
- react that will react to a message(accept array and string for reaction)
- replyInlineBotResult that Reply inlineBotResult to message
Other Replies methods will add in next pr.
2023-07-25 14:32:50 +03:30
Mahdi
243279d40b Add 3 bound method :
- pin that will pin a message
- unpin that will unpin a message
- react that will react to a message(accept array and string for reaction)
Replies methods will add in next pr
2023-07-25 12:13:56 +03:30
db8103a31c
Fix localization 2023-07-24 14:35:54 +02:00
4e84b4ff38
Update release 2023-07-23 16:55:29 +02:00
a1267b75c6
Improve getReply 2023-07-23 16:47:19 +02:00
69b8c64260
Improvements 2023-07-23 16:42:18 +02:00
6e3312917e
Update localization 2023-07-23 16:33:02 +02:00
42f5eb04cd
Display performance warnings in the login UI 2023-07-23 16:31:56 +02:00
64de1c0242
Fix HTTP(s) transports 2023-07-23 16:16:31 +02:00
9ced15326c
Fix ws and wss transport 2023-07-23 16:10:13 +02:00
bb90df0248
Increase release 2023-07-23 15:53:09 +02:00
ba98ea5b74
Improve renaming of bot API file IDs 2023-07-23 15:44:56 +02:00
d2c68b6372
Validate all attributes 2023-07-23 13:26:07 +02:00
6dc03776ee Increase release 2023-07-23 00:22:19 +02:00
ce208f9ae1 Fix CDN downloads 2023-07-23 00:21:26 +02:00
bd97e3075e Add extra assertion 2023-07-22 21:14:37 +02:00
d4fee048d1
Add FilterTextCaseInsensitive filter 2023-07-22 20:52:57 +02:00
475c47a94b
Async buffering in case of missing content-length 2023-07-22 20:46:53 +02:00
e032773a8a
Update release 2023-07-22 20:41:12 +02:00
3374760977
More photosize fixes 2023-07-22 20:40:08 +02:00
3278f7f999
More improvements 2023-07-22 20:23:34 +02:00
a0bd11b142
Make more syscalls async 2023-07-22 18:06:44 +02:00
6b33318f27
Add caseInsensitive flag to FilterText 2023-07-22 15:31:22 +02:00
555ebac434
Update relase 2023-07-22 14:00:29 +02:00
937f67102a
Fixes to logger updateSettings, getReply and FilterReplyToSelf. 2023-07-22 13:57:59 +02:00
4dc3e557e8
Update changelog 2023-07-21 21:37:59 +02:00
78eb97944a
Fixes 2023-07-21 21:30:19 +02:00
40ad4e0174
Fixes 2023-07-21 21:01:47 +02:00
96b9bd0b75
Fixes 2023-07-21 21:00:20 +02:00
03b293bdf9
Fixed getDownloadLink for non-event-handler web IPC instances. 2023-07-21 20:31:26 +02:00
fd1e2fae87
Add source code of @tgstories_dl_bot 2023-07-21 20:02:01 +02:00
82917126e5
Make stories downloadable and repostable 2023-07-21 19:38:35 +02:00
7c871d977b
Multiple fixes and improvements 2023-07-21 19:21:34 +02:00
bae4851671
Cache getReply 2023-07-21 18:03:30 +02:00
4ce2cbd187
Increase release 2023-07-21 17:51:57 +02:00
296d9500ac
cs-fix 2023-07-21 17:49:55 +02:00
9c3c52ce23
Fixes 2023-07-21 17:46:41 +02:00
cc740b73f2 Update release 2023-07-20 22:40:26 +02:00
d0ea3d285e Fix getReply 2023-07-20 22:40:26 +02:00
1b76f591b1 Polyfill BC-breaking changes 2023-07-20 22:09:26 +02:00
923afaf651
Add support for stories (and fix some bugs, too) 2023-07-20 21:09:57 +02:00
2a32bc5402 I forgot how fun it is to edit on a phone 2023-07-20 10:52:53 +02:00
0c03ad2121 Allow only users in the admin list 2023-07-20 10:07:11 +02:00
421f23183d Increase release 2023-07-20 06:08:18 +02:00
a13d16c7ea Fix delete() 2023-07-20 06:07:57 +02:00
637219438d
Increase version 2023-07-19 18:17:46 +02:00
867a88bcba
Improve logging 2023-07-19 18:14:46 +02:00
bde2d0ef58
Reorder params a bit 2023-07-19 16:51:51 +02:00
67d4ae6a51
Update localization 2023-07-19 16:45:43 +02:00
5a14961692
Improve UI 2023-07-19 16:44:38 +02:00
b0c4d3562f
Update 2023-07-19 16:41:28 +02:00
2cb86c2ef1
Improve messages 2023-07-19 16:40:35 +02:00
9785ab2d5b
Improve status codes 2023-07-19 16:37:11 +02:00
45cc77dac5
Handle downloadToBrowser errors 2023-07-19 16:21:48 +02:00
d40d5b759a
Fix 2023-07-19 12:15:43 +02:00
c0ea4c7d91
Fix thumbnail parsing 2023-07-19 12:14:46 +02:00
8d3a92cc1d Fix parsing of round videos, fix content-type/extension of getDownloadLink/downloadToBrowser 2023-07-19 12:14:14 +02:00
1ba93f1d35
Allow specifying a class name to getEventHandler, fix FilterCommand 2023-07-19 08:23:40 +02:00
19390a8026 Increase version 2023-07-18 21:47:48 +02:00
866591325c
Fix IPC with pure madeline.phar 2023-07-18 20:51:44 +02:00
8f6bea02a5
Allow specifying command types in FilterCommand 2023-07-18 20:35:01 +02:00
34a226c660
Final fix 2023-07-18 19:43:42 +02:00
c331983b74
Add logging 2023-07-18 19:21:13 +02:00
d7a713971b
Localize more errors 2023-07-18 16:11:27 +02:00
ca885a1bc5
Print fatal exceptions 2023-07-18 16:08:23 +02:00
baf51da94b
Provide login endpoint 2023-07-18 16:03:24 +02:00
00fa47ae64
Localize account ban message 2023-07-18 15:51:39 +02:00
ae45f71af3
Improve logs 2023-07-18 15:46:27 +02:00
2f8c3016c0
Download script improvements 2023-07-18 15:44:09 +02:00
71ba3bc564 Fixup phar 2023-07-17 07:52:13 +02:00
d4391f2b52 Update release 2023-07-16 23:30:51 +02:00
633c3118b4 Fixes 2023-07-16 23:25:18 +02:00
ee0e99becc Fix multi event handler 2023-07-16 22:26:23 +02:00
72f71c1576 beta 103 2023-07-16 22:11:06 +02:00
25bb884c05 PHP 8.1 support 2023-07-16 22:10:12 +02:00
c75f44529e Increase release 2023-07-16 20:35:36 +02:00
dc56b08771 Fixup 2023-07-16 20:31:44 +02:00
e60c58615f Fixup 2023-07-16 20:30:12 +02:00
b9e512bf57 Fix 2023-07-16 20:22:22 +02:00
7d1f3f4e15 Fix 2023-07-16 20:14:07 +02:00
c05f2f39da Choose best quality 2023-07-16 18:52:11 +02:00
11f29ae8b5 Fix 2023-07-16 18:43:12 +02:00
171968eda1 Protect script creator with mutex 2023-07-16 18:42:24 +02:00
2e0d9355be Protect script creator with mutex 2023-07-16 18:39:49 +02:00
65e5cc8a87 Fix 2023-07-16 17:45:09 +02:00
9bf97fb067 Fix 2023-07-16 17:42:16 +02:00
e17d2e3885
BC fix 2023-07-16 17:26:59 +02:00