Commit Graph

1845 Commits

Author SHA1 Message Date
883ace5d3c Bugfix 2020-02-27 00:36:33 +01:00
936729ba45 Bugfix 2020-02-27 00:05:53 +01:00
43ee5342f4
Bugfix 2020-02-26 19:17:46 +01:00
5af7130b25
Further public API improvements 2020-02-26 18:12:00 +01:00
fe8e795f8a
Bugfixes 2020-02-26 15:59:34 +01:00
b0d512b77d
Reduce boilerplate 2020-02-26 15:15:37 +01:00
86672d6683
Add startAndLoopBackground method 2020-02-26 14:14:26 +01:00
e50dd79e70
Send the logfile when reporting errors 2020-02-26 12:45:30 +01:00
753e6575ac
Bugfix 2020-02-26 11:47:30 +01:00
f22263ed78
Provide DNS fallback 2020-02-26 00:11:06 +01:00
e03e707815
Final fixes 2020-02-25 19:10:49 +01:00
b5267beaa2
Refactor and clean up serialization and APIFactory APIs, automatically unreference instance on destruction to clean up memory 2020-02-25 18:02:32 +01:00
82599e686e
Merge branch 'master' of github.com:danog/MadelineProto 2020-02-23 19:30:11 +01:00
c3270a5c63
Add native error reporting functions and slash boilerplate 2020-02-23 19:28:42 +01:00
Sean
dfe9edb132
Update copyrights (#767) 2020-02-17 14:13:46 +01:00
ebd4245d9d bugfix 2020-02-15 22:03:41 +01:00
0aa75af3e4
Upload from stream 2020-02-15 20:02:32 +01:00
5d50e90f59
Update Noop.php 2020-02-15 14:45:21 +01:00
df8f50dff8
Update Events.php 2020-02-15 14:34:53 +01:00
6b2f812a7e
Add stripped inflater 2020-02-13 14:04:00 +01:00
c8635c12d6
Bugfix 2020-02-12 21:15:22 +01:00
afbc6a3e0e
Make logging less verbose 2020-02-12 18:51:53 +01:00
23d27e4d47
Final fixes 2020-02-12 18:36:11 +01:00
4289661094
Fix file download 2020-02-12 18:16:08 +01:00
e4d56f32c2
Merge branch 'master' of github.com:danog/MadelineProto 2020-02-09 19:29:34 +01:00
4b1cf229e5
Adding getUrl command in the downloadbot 2020-02-09 17:29:39 +01:00
47228712a6
Improve tests 2020-02-09 16:24:57 +01:00
3b21304d8b
Implement downloadToBrowser and downloadToResponse methods 2020-02-08 19:32:36 +01:00
f899fc56e6 Create mIdHandler on startup 2020-02-08 01:51:07 +01:00
bdd86d4efb
7.0 backwards compatiblity 2020-02-07 21:23:29 +01:00
f8ea85a551
Performance improvements 2020-02-07 21:13:49 +01:00
17bacd1389 Improve multi logic 2020-02-06 02:44:00 +01:00
36495bffe9
Improve composer reporter 2020-02-05 23:11:29 +01:00
c0a0c693e3
Bugfix 2020-02-05 21:21:31 +01:00
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