Commit Graph

1919 Commits

Author SHA1 Message Date
Alexander Pankratov
dedf20ea1b Update create table statements. 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ab168ce655 Additional mysql settings 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ae9edd5512 Mysql errors catch 2020-05-23 15:10:47 +03:00
Alexander Pankratov
46f7e63734 Async refactor 2020-05-23 15:10:47 +03:00
Alexander Pankratov
a883684f05 Cache for Mysql Data Provider 2020-05-23 15:10:47 +03:00
Alexander Pankratov
26abf9f04e Bugfixes and optimizations 2020-05-23 15:10:47 +03:00
Alexander Pankratov
0d191f4157 Bugfixes and optimizations 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ed493330a6 Database properties types 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ff7d93f52d phpDoc fix 2020-05-23 15:10:47 +03:00
Alexander Pankratov
21750f8d68 Allow downloadToResponse for media without size 2020-05-23 15:10:47 +03:00
Alexander Pankratov
ddc81d8764
Allow downloadToResponse for media without size (#817) 2020-05-23 14:08:04 +02:00
Alexander Pankratov
d5b2cbefd3
Fix memory leaks when downloading files to callback. (#816) 2020-05-22 12:30:14 +02:00
17e85d361c
Merge 2020-04-29 14:57:21 +02:00
995a4228c9
Report memory usage 2020-04-29 14:43:43 +02:00
giuseppeM99
1f71ef8258
Pollfix (#805)
* Add support for quiz solutions
also throws execeptions

* Style fix
2020-04-24 20:14:42 +02:00
giuseppeM99
234065987a
Update to layer v112 (#804)
* Update to layer v112
TL file taken from tdlib

* Added TL file
2020-04-24 11:16:10 +02:00
77a955c25e
More psalm fixes 2020-04-05 22:22:47 +02:00
8b80396ddb
Further psalm fixes 2020-04-05 15:33:01 +02:00
23e3c5b12c
Apply misc fixes 2020-04-05 14:57:33 +02:00
979d7575fc
Update docs 2020-04-03 14:10:46 +02:00
giuseppeM99
eb43707118
Add support for layer 111 (#782) 2020-03-31 17:30:25 +02:00
832aff00da
Properly set call layer 2020-03-28 17:10:35 +01:00
6720ffff79
32-bit filename bugfix 2020-03-28 11:42:02 +01:00
iDavidef
ae00a307a0
Bugfix that fixes stuff (#779) 2020-03-20 16:24:20 +01:00
68e3f99757
Bugfix 2020-03-20 15:13:40 +01:00
93bd9073e1
Bugfix 2020-03-14 17:29:49 +01:00
ce0e12c747
More fixes 2020-03-08 17:36:29 +01:00
0a467beb53
Misc bugfixes 2020-03-08 17:24:31 +01:00
ec2719db4e
Small cleanups 2020-03-07 21:45:50 +01:00
a545e3463e
Possibly fix upgrade issue 2020-03-06 14:30:00 +01:00
2a5a84a6f1
Add scheme file 2020-03-06 13:17:10 +01:00
91d730ab66
Update to layer 110 2020-03-06 13:11:40 +01:00
5232d477b4
Update to layer 110 2020-03-06 13:09:52 +01:00
32acc99581 Improvement for factorization 2020-03-04 01:08:19 +01:00
74187b8132 Bugfix 2020-03-03 00:15:21 +01:00
80f162a116 Bugfix 2020-03-03 00:08:39 +01:00
c0af617862
Update settings when upgrading 2020-03-01 17:36:55 +01:00
55d4de2df9
Update for latest php-libtgvoip 2020-03-01 16:31:56 +01:00
38382bf053
Link eventHandler APIFactory 2020-02-28 16:02:19 +01:00
997b3d3b3b
Misc improvements 2020-02-28 15:19:11 +01:00
98e56ba62f
ipv6 fixes 2020-02-28 14:14:02 +01:00
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
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