Commit Graph

1794 Commits

Author SHA1 Message Date
2e3f49ef36
Enable DataCenter tests 2020-02-05 19:01:48 +01:00
377b266d7b
Bugfix 2020-02-05 18:47:36 +01:00
ce94a70263
Fully implement bot API file IDs 2020-02-05 18:41:37 +01:00
76b6e24ac0
Improve tests 2020-02-05 17:55:18 +01:00
43952841a9
Greatly reduce coroutine overhead 2020-02-05 17:37:01 +01:00
cd217c147d
Reduce overhead 2020-02-05 17:29:48 +01:00
066a10e2dc
Bugfixes 2020-02-05 17:18:22 +01:00
e96f3ab593
Add tests, + various bugfixes 2020-02-04 21:46:38 +01:00
e4ba475970
Fix bot API file IDs 2020-02-04 17:34:02 +01:00
dcd6500737
Rethrow original exception 2020-02-03 12:52:31 +01:00
e78be0ba49
Remove last reference 2020-02-01 16:25:45 +01:00
6b0aaca08c
Remove useless promise wrapper 2020-02-01 16:06:06 +01:00
5f5556aacc
Upgrade to layer 109 2020-01-31 21:30:45 +01:00
c5789f38bb
More logs 2020-01-31 21:21:52 +01:00
80aebfa359
Fully make use of yield from and async-friendly stack traces 2020-01-31 20:34:21 +01:00
3b8334e073
Fully make use of yield from and async-friendly stack traces 2020-01-31 20:33:18 +01:00
2ba80af424
yield from fixes 2020-01-31 20:28:47 +01:00
7ea0d9da91
Yield from even more things 2020-01-31 19:49:58 +01:00
000839a1b5
Yield from all the things 2020-01-31 19:29:43 +01:00
b842c8f7e5
Minor fix 2020-01-31 18:07:31 +01:00
379cd0f247
Proper async traces 2020-01-31 18:03:23 +01:00
Gabriele
91590ff360 fix required type for PhoneCallDiscardReason (#756)
* fix type for PhoneCallDiscardReason

* change PhoneCallDiscardReason parameters type to array
2020-01-22 13:31:03 +01:00
db40848866
Add method to stop loop 2020-01-19 15:44:12 +01:00
9b7ae03d8f
Cleanup external API 2020-01-19 13:46:49 +01:00
995a489704
Fix type hinting 2020-01-18 16:59:59 +01:00
3939e113f5
Improve fileCallback 2020-01-18 16:11:40 +01:00
235aab55e9 Bugfix 2020-01-17 13:30:12 +00:00
painor
0d6f09565f Fix secret chat's completeRekey (#753)
* Fix secret chat's completeRekey

* Update AuthKeyHandler.php

Co-authored-by: Daniil Gentili <daniil@daniil.it>
2020-01-17 01:19:51 +01:00
48368be109
Bugfix 2020-01-16 21:14:38 +01:00
489ce873d0
Bugfix 2020-01-16 20:23:39 +01:00
170308d574
Bot API file IDs v4 2020-01-16 20:19:03 +01:00
Sajjad Servatjoo
a9c35bd987 Wrong return type on API::getEventHandler (#751)
* Update InternalDoc.php

wrong return type it must be ```php \danog\MadelineProto\EventHandler``` and not ```php \EventHandler```

* Update Events.php

wrong namespace on return type
2020-01-15 18:03:15 +01:00
7daac3a0f8
Upgrade libtgvoip 2020-01-11 12:48:38 +01:00
ea197a115f Bugfixes in response management 2020-01-05 17:29:36 +00:00
dd6803e4d7
Update docs 2020-01-05 17:58:45 +01:00
669da87e81
Fix #739 2020-01-05 14:47:09 +01:00
54040e14a1
Bugfixes 2020-01-03 18:28:27 +01:00
becc68f41b
Avoid memory leaking 2020-01-03 16:47:57 +01:00
a63131583b Fix type hinting (now, make sure the API is start()ed before calling get methods 2020-01-03 13:09:42 +01:00
0f50f565cf Avoid issues with non-connected DCs 2019-12-31 12:12:58 +00:00
01304a39fc
Surface exceptions properly 2019-12-31 12:45:49 +01:00
eb14611b02 docufix 2019-12-30 20:41:06 +01:00
425ba50ba5 Merge branch 'master' of github.com:danog/MadelineProto 2019-12-30 17:28:19 +00:00
5b5c00b5a1 Improve bot 2019-12-30 17:27:28 +00:00
4416466b19 bugfix 2019-12-30 02:24:05 +01:00
a3150540d7 Improve tests 2019-12-30 00:04:06 +00:00
e46e707702 Improve cb 2019-12-29 23:30:02 +00:00
62dfaa0abe Add rename tests 2019-12-30 00:22:01 +01:00
d3f0889e56
Disable hashing for now 2019-12-29 21:45:52 +01:00
3b07546889
Small fix 2019-12-29 20:47:03 +01:00
f85f7bd8ba
Fix self-restart, avoid exceptions surfacing in the download bot 2019-12-29 20:32:19 +01:00
4de96f2e45
Truly parallelized upload for renaming 2019-12-29 18:28:47 +01:00
acd66a8bc4
Fix upload restriction 2019-12-29 16:30:15 +01:00
8ba10b047e
Update file callback interfaces 2019-12-29 15:20:46 +01:00
203d86cb28
Add speed and time to progress callbacks 2019-12-29 15:12:45 +01:00
0596231704
Reduce logging 2019-12-29 14:53:03 +01:00
1bf41186de
Allow automatic upload for URLs 2019-12-29 14:21:25 +01:00
c8baa8092d
Avoid problems with reconnections 2019-12-29 14:04:02 +01:00
44d18f24a2
Merge branch 'master' of github.com:danog/MadelineProto 2019-12-29 13:20:48 +01:00
4d3543b49b
Proxy bugfixes 2019-12-29 13:20:18 +01:00
3ec8ad8a81 revert 2019-12-29 02:58:15 +01:00
e5e82f0b58
Do not override global settings 2019-12-28 23:55:09 +01:00
e600f91975
Do not rely on old data 2019-12-28 23:53:10 +01:00
08c3752048
Finally fix files 2019-12-28 20:28:29 +01:00
c2b5275819 update 2019-12-28 19:16:02 +01:00
87453af759 Change typings 2019-12-28 19:00:19 +01:00
b11b31ce6d Return generator 2019-12-28 18:53:37 +01:00
a3ad3b5c2f Bugfixes 2019-12-28 18:44:56 +01:00
cb2367ab1b
Make even more methods internal 2019-12-28 17:38:09 +01:00
75602e5de0
Make more methods internal 2019-12-28 17:34:04 +01:00
3a9dde8c3f
Make function static again 2019-12-28 17:14:59 +01:00
2850c5acfa
Strictly typed API 2019-12-28 17:11:08 +01:00
a83c40b762
Improve public API 2019-12-28 16:45:00 +01:00
894470a147
Refactor public API: full encapsulation and strict typing 2019-12-28 16:07:09 +01:00
9899d34b11 Fix param type 2019-12-28 03:43:21 +01:00
c77e47a8c5
Bugfixes 2019-12-28 00:18:12 +01:00
be46eb5d13
Fix PHPDOC for void functions 2019-12-28 00:13:39 +01:00
99300304f1
Save 2019-12-27 21:24:50 +01:00
1110a70bcd
Document file methods 2019-12-27 20:29:22 +01:00
b1ffe1dffc
Redirect from old docs 2019-12-27 18:50:56 +01:00
76044ae1aa
Fix descriptions 2019-12-27 18:26:47 +01:00
b2596c483d
Refactor docs 2019-12-27 17:43:29 +01:00
93ff2ccab9
Misc bugfixes 2019-12-27 15:25:33 +01:00
7b6c3690d3
Support http-client 2019-12-27 15:08:24 +01:00
660e7112e5 Bugfixes 2019-12-27 12:24:01 +01:00
37cc92d014
Logger bugfix 2019-12-26 22:23:23 +01:00
288e99c0f4
Trigger build 2019-12-26 21:05:25 +01:00
d2be65d4ad
Wait for packagist, first 2019-12-26 20:26:27 +01:00
103c774236
Improve tests and conversion 2019-12-26 19:17:31 +01:00
bc17422418
Merge branch 'master' of github.com:danog/MadelineProto 2019-12-26 15:14:41 +01:00
05ee3c8b15
Multiple improvements for secret chat files, event handler, exception traces, update handling, file download 2019-12-26 15:14:27 +01:00
6f578c6647 Further improvements 2019-12-26 00:20:15 +01:00
f8b1bd270d fixes 2019-12-25 23:48:42 +01:00
0bcef40328
Bugfixes 2019-12-25 21:11:38 +01:00
b44e23cee8
Fix TL serializer bugs 2019-12-25 21:01:53 +01:00
d4c188ece4
Merge branch 'master' of github.com:danog/MadelineProto into maybe-v5 2019-12-22 19:11:21 +01:00
b8067c7e95
Switch to custom fork of phpseclib, change namespace 2019-12-18 14:21:27 +01:00
791d6b6b43
Finish impl 2019-12-17 13:10:30 +01:00
ee99686d97
Implement 2019-12-16 21:14:57 +01:00
01a8e2dbf3
Implement ECDH 2019-12-16 15:48:34 +01:00