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
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
eea6c966af
7to5 fix
2019-12-25 22:03:51 +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
58918b6fad
ECDH improvements
2019-12-15 13:21:57 +01:00
1edcecb26b
Fixes to TON
2019-12-14 18:31:28 +01:00
c0b1647627
Update TL.php
2019-12-14 17:59:34 +01:00
4917fafd3a
Create TON API
2019-12-14 16:47:04 +01:00
45d12b6a9d
Start implementing TON ADNL
2019-12-14 13:58:04 +01:00
5d70ae57e6
Fix deserialization
2019-12-14 12:30:31 +01:00
9f4e245c8d
Reduce overhead
2019-12-14 12:10:09 +01:00
7b2b69e97d
Better escaping
2019-12-13 21:31:35 +01:00
f63edd9c06
Refactor obfuscation
2019-12-13 20:53:48 +01:00
544d0f3a0b
Final upgrades
2019-12-13 17:55:05 +01:00
3690339424
cs-fix
2019-12-13 17:27:51 +01:00
069c599a7c
Fix websockets
2019-12-13 17:26:08 +01:00
a7b0a16a01
Update websocket logic
2019-12-13 15:37:57 +01:00
89bb80285b
Update
2019-12-13 14:40:48 +01:00
c8ed5971d9
Update phpseclib
2019-12-13 13:38:56 +01:00
d559b1d8b6
Save
2019-12-13 13:34:14 +01:00
9ba299a9dc
Complete refactoring
2019-12-13 13:29:53 +01:00
170eb6cf10
Refactor, update amphp libs
2019-12-13 12:57:47 +01:00
fc312b137d
Quickfix
2019-12-11 16:22:34 +01:00
0cb8d7f27e
Misc bugfixes
2019-12-11 16:18:31 +01:00
bb9804290b
CDN bugfix
2019-11-10 19:31:11 +01:00
98b203ac44
No promise pls
2019-11-10 19:19:16 +01:00
28b214ce67
Move legacy code
2019-11-02 13:49:58 +01:00
883d09eccf
Continue refactoring
2019-11-01 12:45:15 +01:00
c16e174db2
Rename
2019-10-31 22:41:22 +01:00
2720c50ca0
Refactoring and encapsulation
2019-10-31 20:48:06 +01:00
d8dc41e6c3
Change link
2019-10-31 15:07:35 +01:00
612ec4cbe7
save
2019-10-31 15:06:25 +01:00
eab16c2ed7
Clean up
2019-10-31 12:45:46 +01:00
75e84f87f9
Clean up
2019-10-31 12:45:19 +01:00
f0e616aade
Document
2019-10-31 11:17:22 +01:00
9099aa4f0b
Full static
2019-10-29 23:02:47 +01:00
9c258ef406
c:
2019-10-29 22:51:14 +01:00
92717a2d05
MUUUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA BUUURN SNAKES BUUURN MUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA cough
2019-10-29 22:41:31 +01:00
40496d374e
More style improvements
2019-10-29 22:06:51 +01:00
8ea90f796b
cs-fix
2019-10-29 22:00:21 +01:00
7a9da5718e
Make everything CamelCase
2019-10-29 21:33:23 +01:00
a64cfca66c
Minor renaming
2019-10-29 21:28:02 +01:00
ba454eda24
Fix misteak
2019-10-29 21:00:00 +01:00
59b5530044
Button improvements
2019-10-29 18:56:35 +01:00