1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 14:17:45 +01:00
Commit Graph

3898 Commits

Author SHA1 Message Date
7bec8cf3e8 Psalm fixes 2024-04-18 20:03:03 +02:00
d256e0875b Cleanup 2024-04-18 20:03:03 +02:00
8485b46934 Bump 2024-04-18 20:03:03 +02:00
c7dce6189d Bump 2024-04-18 20:03:03 +02:00
0dce27db79 Move legacy classes 2024-04-18 20:03:03 +02:00
2d03f871ee Fixe peer database 2024-04-18 20:03:03 +02:00
0c25881c27 IPC improvement 2024-04-18 20:03:03 +02:00
1e0c6e1e20 Fix issue with ORM 2024-04-18 20:03:03 +02:00
80401c3ea0 cs-fix 2024-04-18 20:03:03 +02:00
894984be95 Fix PHP 8.2 support 2024-04-18 20:03:03 +02:00
f75db20fd7 Bump 2024-04-18 20:03:03 +02:00
561b4be55a Small bugfix 2024-04-18 20:03:03 +02:00
Amir
43df573557
Merge branch 'danog:v8' into v8 2024-04-07 18:25:37 +03:30
66f150c5a8 Last migration fix 2024-04-07 15:02:14 +02:00
25c39d238a Wait for init before serializing 2024-04-07 14:59:47 +02:00
3ed607eb72 Fix typo 2024-04-07 03:33:28 +02:00
8e45a208c4 Fix 2024-04-07 03:21:02 +02:00
d765d01c11 Fixup 2024-04-07 02:42:38 +02:00
0a5d338403 Fix 2024-04-07 01:02:57 +02:00
f19af54820 Improve logs 2024-04-07 00:05:37 +02:00
42d66c09ec Fix 2024-04-06 23:47:18 +02:00
4c0bced94b cs-fix 2024-04-06 23:36:08 +02:00
a0de3ebfde Fixes 2024-04-06 23:33:55 +02:00
50919a1611 tg-file-decoder fix 2024-04-06 23:13:59 +02:00
d0c62513c4 More BC fixes 2024-04-06 22:59:03 +02:00
a3eedc9504 Migrate usernames 2024-04-06 22:25:31 +02:00
f49717bf1d More danog/AsyncOrm fixes 2024-04-06 22:17:05 +02:00
4ed82f9c47 Fix 2024-04-06 21:55:50 +02:00
6236ac5d6b Fixup 2024-04-06 21:46:07 +02:00
a6e5e5e354 Even more migration fixes 2024-04-06 21:40:04 +02:00
a29164a0d0 More migration fixes 2024-04-06 21:25:22 +02:00
c955345b22 More migration fixes 2024-04-06 21:25:12 +02:00
2c340f9963 Migration fix 2024-04-06 20:39:37 +02:00
89360602ee Fixes 2024-04-06 19:21:12 +02:00
6de83465e1 Fixup 2024-04-06 19:03:28 +02:00
ad753e7229 Avoid infinite file reference refresh loops in case of unreachable media 2024-04-06 19:03:02 +02:00
8fca83f8e6 Fixes 2024-04-06 19:01:37 +02:00
a091b06107 Update docs 2024-04-06 18:50:37 +02:00
5e261e0799 Update docs 2024-04-06 17:13:15 +02:00
6eb0954419 Switch to danog/async-orm 2024-04-06 13:08:41 +02:00
ea2471f83d Begin migration to danog/async-orm and new version of danog/tg-file-decoder 2024-04-01 19:08:32 +02:00
sc
6bc868ed4c fix typo and change log level 2024-03-27 12:09:33 +02:00
amir
e7ea239256 Add sendGif method 2024-03-26 17:17:17 +03:30
amir
970b2dd675 Add sendVoice method 2024-03-26 16:54:39 +03:30
amir
ad4fc18d06 Add sendAudio method 2024-03-26 16:16:28 +03:30
amir
adf0ea7fe0 Set the sticker to the standard size 2024-03-26 04:43:59 +03:30
amir
5e384ca89d Add some logs 2024-03-26 03:10:29 +03:30
amir
5ab6643cd4 Make the extraction a single command 2024-03-26 02:44:31 +03:30
amir
b959240788 Fixup 2024-03-25 22:28:49 +03:30
amir
ec15ca4084 Extract video data using ffmpeg 2024-03-25 22:19:47 +03:30
amir
0414f2da43 Add sendVideo method 2024-03-25 00:09:56 +03:30
amir
eea186a236 Add sendSticker method 2024-03-24 22:59:27 +03:30
d6fe0b3de3 Fixup settings 2024-03-12 19:17:28 +01:00
559a0cd209 Use integer keys in SQL databases where appropriate, migrate legacy keys 2024-03-12 19:16:13 +01:00
8acdeff0ab Fixup migration 2024-03-12 16:22:58 +01:00
bdc935fcf4 Fixup 2024-03-12 16:11:47 +01:00
9c34f2aa20 Transform all IDs 2024-03-11 20:03:07 +01:00
91490ad4df
Merge pull request #1493 from xcgu/v8
Fix the bug which spoiler wasn't applied in some conditions
2024-03-10 20:41:40 +01:00
f1519b2cdc Validate EventHandler as well 2024-03-10 19:52:37 +01:00
601a51547d Allow usage of websocket client 2024-03-10 19:51:03 +01:00
7505fecdad Prepare for use 2024-03-10 16:07:35 +01:00
d14c722db7 Finalize all methods 2024-03-10 15:55:48 +01:00
79953f2698 Fixup 2024-03-10 15:55:18 +01:00
fa33281b63 Commit parsers 2024-03-10 15:49:19 +01:00
8721db3f31 Refactor 2024-03-10 15:48:55 +01:00
61b438a38e Improve parser 2024-03-10 15:03:28 +01:00
5ab34e43c3 Fixes 2024-03-08 15:10:22 +01:00
4a9df0b37a Fixes 2024-03-08 14:40:46 +01:00
f78309e2f4 Fixes 2024-03-08 14:10:46 +01:00
e218632ffd Bump 2024-03-08 13:24:05 +01:00
26dfd6833d Bump 2024-03-08 13:19:15 +01:00
amir
d67c96a0fd Fix the bug which spoiler wasn't applied in some conditions 2024-03-07 01:25:17 +03:30
0df07f3a37 Fix #1490 2024-03-02 19:32:23 +01:00
00d0eb9f7b Small bugfix 2024-03-02 19:32:23 +01:00
3145b87007 Revert "Bump"
This reverts commit 0295968f96.
2024-02-23 13:16:01 +01:00
0295968f96 Bump 2024-02-23 13:14:52 +01:00
9630cb8ff1 Bump 2024-02-23 13:10:10 +01:00
f3fa6a4b74 Bump 2024-02-20 17:07:04 +01:00
a83e707925 Bump 2024-02-20 10:52:43 +01:00
22b95db565 Fix memory leak, bump to layer 174 2024-02-20 10:45:38 +01:00
37a66c3eb2 Small fix 2024-02-15 18:32:14 +01:00
1071028028 Slightly improve logic 2024-02-15 18:29:32 +01:00
26fc09e512 Do not expose PFS duration settings 2024-02-15 09:54:29 +01:00
be02cbb1e9 Add support for yt-dlp in downloadRenameBot.php 2024-02-13 21:46:07 +01:00
fc655e19e4 Add static TL parser 2024-02-13 21:14:18 +01:00
b764461950 Warn Termux users to move the session folder to $HOME, fix ogg conversion with the phar version 2024-02-09 20:24:14 +01:00
0aa6f8cfca Bump 2024-02-09 19:15:01 +01:00
0e75a0b5d1 Fix getDownloadLink 2024-02-09 19:01:47 +01:00
4345a18455 Small fix 2024-02-08 18:03:10 +01:00
47e2c052fa Cs-fix 2024-02-05 23:26:52 +01:00
56ecc704e5 Bump 2024-02-05 20:53:53 +01:00
AhJ
71444c946b fixing 2024-02-05 00:08:25 +03:30
AhJ
bc752046d4 fixing 2024-02-05 00:04:20 +03:30
AhJ
d3b9a4b611 Add delay to broadcast 2024-02-04 23:37:28 +03:30
3ddf217788 Bump 2024-02-04 19:52:45 +01:00
299cf1e8f4 Bump 2024-02-02 18:08:03 +01:00
AhJ
f84c0fc99c fix parseLink 2024-01-30 13:11:50 +03:30
AhJ
432f2fa023 fixing 2024-01-30 11:56:51 +03:30
AhJ
0474650023 fixing 2024-01-30 11:54:05 +03:30
AhJ
140762e493
Merge branch 'danog:v8' into new-features 2024-01-30 11:49:02 +03:30
cdf8344ed8 Bump 2024-01-26 21:55:01 +01:00
2f04e0a60f Another small fix 2024-01-26 19:02:08 +01:00
AhJ
a891ffece8
Merge branch 'danog:v8' into new-features 2024-01-25 21:45:27 +03:30
947375a263 Fix #1470 2024-01-25 18:52:30 +01:00
20f6105a5a Fix #1471 2024-01-25 18:48:52 +01:00
20a851d44a Fix data_free 2024-01-25 18:34:25 +01:00
29760e010f Basic quick ACK support 2024-01-25 18:32:37 +01:00
AhJ
1f41f3a5cf fixing 2024-01-25 20:05:57 +03:30
AhJ
478aa428f3 🔧 fix doc
 add forward method
2024-01-25 19:59:48 +03:30
0de601baab Fixup 2024-01-22 20:30:29 +01:00
8e99c489e8 Bump 2024-01-22 16:47:14 +01:00
70755db4a1 Fixup 2024-01-20 19:41:56 +01:00
0347cc2fe1 Fixup 2024-01-20 19:39:56 +01:00
ad91942cd3 Reuse same filtering logic 2024-01-20 19:07:36 +01:00
20fd005fcf Update layer 172 2024-01-19 20:39:59 +01:00
AhJ
6c1cbe1f4f
Update Creator.php 2024-01-19 14:00:45 +03:30
bd4643fa97 Psalm fix 2024-01-17 11:10:46 +01:00
7f0dd3bfb3 cs-fix 2024-01-17 11:03:20 +01:00
41adf5fc87 Fix small order issue during creation of secret chat message object (closes #1463) 2024-01-16 21:11:25 +01:00
f06ecde2c9 Bump version 2024-01-16 21:11:25 +01:00
61c380f69e Cleanup 2024-01-16 21:11:25 +01:00
ae0852d53e Update to layer 171 2024-01-16 21:11:25 +01:00
ecc13f1f0e Small fix 2024-01-16 21:11:25 +01:00
7d7eb349e1 Fix 2024-01-16 21:11:25 +01:00
07da52a902 Build 2024-01-16 21:11:25 +01:00
ac5ddd3234 Add missing file 2024-01-16 21:11:25 +01:00
c0aba3b4e3 Add VoIP writing functionality 2024-01-16 21:11:25 +01:00
4372be6db6 Bump minimum versions 2024-01-16 21:11:25 +01:00
40d8e76f13 Update localization 2024-01-16 21:11:25 +01:00
ed56dbd3d4 Re-enable FFI 2024-01-16 21:11:25 +01:00
15331b8d11 Bump 2024-01-16 21:11:25 +01:00
b49d40d8ed Sync lang 2024-01-16 21:11:25 +01:00
AhJ
41cdcbd34d fixing 2024-01-06 21:17:14 +03:30
AhJ
f93b6de3fc add more deep link for getId method 2024-01-06 21:07:48 +03:30
AhJ
8657940860 fixing content 2024-01-06 19:40:32 +03:30
AhJ
6ca86777a8 Add two filter 2024-01-06 19:34:24 +03:30
AhJ
2f0bec11da fixing 2024-01-06 19:34:14 +03:30
AhJ
d033365030 fixing nullable 2024-01-06 18:32:05 +03:30
AhJ
4674aa18cd fix getReply secret chat I guess? 2024-01-06 13:50:22 +03:30
AhJ
a3a454d49c fix docs 2024-01-06 13:48:32 +03:30
AhJ
3eea4d43ae fixing 2024-01-05 18:46:36 +03:30
AhJ
41091710e4 add poll object and its filters 2024-01-05 18:42:55 +03:30
AhJ
cb38b371cf Improve text filters 2024-01-04 14:02:35 +03:30
AhJ
54b39937a4 fixing 2024-01-04 13:18:34 +03:30
AhJ
0f5718731d add topic filter 2024-01-04 13:15:29 +03:30
AhJ
c3d967aa9c fixing 2023-12-31 23:05:02 +03:30
AhJ
44f3f81282 add editReplyMarkup, Improve logic 2023-12-31 23:04:46 +03:30
AhJ
0898d7cc68 add editReplyMarkup 2023-12-31 23:04:07 +03:30
AhJ
10e43a7569 fix getDiscussion 2023-12-26 19:37:52 +03:30
AhJ
671e447e68 Improve text filters 2023-12-25 22:13:33 +03:30
AhJ
26064d0d60 Improve regex filter, add preg_match_all 2023-12-25 12:48:34 +03:30
AhJ
478c33ed2b Add update objects to filters 2023-12-25 12:48:11 +03:30
AhJ
28a69e4f84 add text filters 2023-12-25 00:08:06 +03:30
53f1fac201 Small fix for IPC exceptions 2023-12-24 19:28:21 +01:00
6b5ba25354 Move around files 2023-12-24 15:15:09 +01:00
73adf72434 Add takeout ID to API 2023-12-23 22:13:17 +01:00
3ed0b6c5c1 Update to layer 169 2023-12-23 20:35:35 +01:00
c535924017 Compile php from scratch 2023-12-23 19:15:01 +01:00
664c4ca2fc Attempt re-enabling JIT and opcache 2023-12-22 20:47:49 +01:00
4e007dc301 Update 2023-12-21 20:24:22 +01:00
49c9c190db Automatically optimize database 2023-12-21 19:32:35 +01:00
a9bef7480a Fix update handling in supergroups and channels after botched revert 2023-12-19 19:03:16 +01:00
8dbffe9228 Fix 2023-12-19 14:37:24 +01:00
c9775a97d0 Handle exceptions thrown in the handler loop 2023-12-19 14:37:18 +01:00
491016b185 Bugfix 2023-12-19 11:29:27 +01:00
d2d187bc9a Small fix 2023-12-19 11:22:23 +01:00
2fbf196cbe Fix FFI usage for opus conversion 2023-12-18 21:19:11 +01:00
61fccf35f3 Bump 2023-12-18 20:34:23 +01:00
9c4c6ddae8 Cleanup internal fields 2023-12-18 20:32:27 +01:00
54dbb5310c Misc improvements 2023-12-18 20:29:32 +01:00
a3ddd49881 cs-fix 2023-12-17 18:42:28 +01:00
7d6a7f24c1 Log reported messages as well 2023-12-17 18:39:01 +01:00
6de51f55f5 Recover from network issues in update handler 2023-12-17 18:35:49 +01:00
04a626b274 Update handling fixes 2023-12-17 18:29:03 +01:00
8f30dad5d1 Persist more state 2023-12-17 17:03:13 +01:00
8cc9685433 Improve peer handling logic 2023-12-17 16:54:01 +01:00
26e93def2f Do not refresh full info, just expire the TTL 2023-12-16 19:30:28 +01:00
831b45859c Improve types 2023-12-15 18:45:28 +01:00
7000de110d Fix issue in broadcasts 2023-12-15 17:55:39 +01:00
028f3b2303 Bump 2023-12-15 17:37:55 +01:00
27addd112f Improve IPC TL stacktrace 2023-12-15 16:59:22 +01:00
1dde960b95 Peer improvements 2023-12-15 14:58:28 +01:00
211404665c Bump 2023-12-15 14:08:02 +01:00
a3e66c8b53 Fix broadcasts with bot API file IDs, fix MTProtoToBotAPI 2023-12-15 14:06:19 +01:00
Mahdi
6c5f566317 Fix #1444
- Add some bound method to ChatTrait trait
2023-12-15 13:09:33 +03:30
7194a59627 Bugfix 2023-12-15 00:15:25 +01:00
b39f29ead5 cs-fix 2023-12-14 19:57:41 +01:00
2343ad8eb3 Cleanup 2023-12-14 19:45:28 +01:00
f0cd35f039 Remove internal details from API, remove getDialogs (use only getDialogIds now), remove useless getInfo fields 2023-12-14 19:38:22 +01:00
9dcfa24197 Remove remaining usages of Peer constructors 2023-12-14 19:24:08 +01:00
72a31e2ea6 Bump 2023-12-14 18:12:47 +01:00
717902ec48 Secret chat media improvements and report errors thrown from event handler to the report peer of the current event handler. 2023-12-14 18:05:04 +01:00
7efce84128 Use getOutputBufferStream 2023-12-14 17:10:47 +01:00
6065782560 Completely remove postponing from the API to avoid unwanted side effects (sequentially queued requests are still bundled in a single container anyway) 2023-12-14 17:08:19 +01:00
1dbbc0d441 Improve performance 2023-12-14 16:44:50 +01:00
30d437e294 Bump 2023-12-14 16:20:12 +01:00
2dba4dadb5 cs-fix 2023-12-14 16:05:46 +01:00
55401ec1cc
Merge pull request #1440 from ahjdev/update-example
Update example + FilterTopic
2023-12-14 16:04:50 +01:00
2c9e6c9faa Refactoring and performance improvements 2023-12-14 15:44:09 +01:00
7e2a479a9e Bump 2023-12-13 22:57:33 +01:00