Commit Graph

1833 Commits

Author SHA1 Message Date
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
e81ecc87c9
Start cleaning up repo 2019-10-28 19:48:59 +01:00
579dfe3563
Do not remove subconnection from DataCenterConnection if reconnecting 2019-10-28 18:49:10 +01:00
e9e66f3835
Fix connection to proxies 2019-10-28 17:08:04 +01:00
d7306ab713
Temporarily disable intl 2019-09-24 12:40:48 +02:00
c66e1fcbef Return coroutines, will implement object access in promises in amphp 2019-09-22 00:06:14 +02:00
383f3baff0 rel 2019-09-21 21:01:44 +02:00
32693698b6 Bring back support for PHP 5 2019-09-21 17:11:37 +02:00
2356d0b14a Multiple bugfixes 2019-09-21 16:52:27 +02:00
11a939c403 Asynchronously call methods of yielded objects, no extra syntax required (+ automatically release tagged commits) 2019-09-21 15:38:54 +02:00
30f52aad15 Avoid problems with sync APIs 2019-09-18 21:49:26 +02:00
6c8a43debd Add extra parameter 2019-09-18 21:45:08 +02:00
e43d32615f phpcs 2019-09-18 21:32:24 +02:00
e3f6774588 Final phpdoc fixes 2019-09-18 21:31:51 +02:00
bbb908ac68 Method phpdoc 2019-09-18 21:21:34 +02:00
445c647438 New phpdoc 2019-09-18 20:46:20 +02:00
f1eecff25d Handle some pts errors 2019-09-18 16:01:27 +02:00
1f33dc9e33 MyTelegram wrapper improvements 2019-09-17 23:54:42 +02:00
9e0fdae65f Add admin rank to get_pwr_chat 2019-09-17 22:42:38 +02:00
44877ff776 magnaluna improvements 2019-09-17 19:57:53 +00:00
9e194f3950 Make WsStream a plain stream again 2019-09-17 21:45:48 +02:00
8c33e5e820 Syntax fix 2019-09-17 21:40:08 +02:00
8147d5fca5 Huge bugfixes, avoid problems with unbound keys and add more config loops 2019-09-17 21:35:53 +02:00
f6573be332 Avoid problems with HTTP 2019-09-15 18:19:51 +02:00
0fcf83d9ad Return new peer info 2019-09-14 17:09:36 +02:00
6b0e53fb68 Avoid circular resolving issues 2019-09-14 16:59:34 +02:00
3bdcaa1f2c Do not throw exceptions on unknown messages 2019-09-14 16:16:56 +02:00
cf9a30521a final bugfixes 2019-09-14 16:04:40 +02:00
03287a586d Improve user management 2019-09-14 15:51:03 +02:00
c5506f5a74 cs-fix 2019-09-14 15:39:42 +02:00
38c29240ad FInal improvements to channels 2019-09-14 13:31:52 +00:00
5570f9ddc9 Improvements to web logging 2019-09-14 14:21:11 +02:00
e479bf6bf3 Try ignoring missing min info 2019-09-13 21:57:01 +02:00
c2126b524b Ignore errors while fetching channel difference 2019-09-13 21:40:33 +02:00
e6fc0d3cb8 hotfix 2019-09-13 18:39:56 +02:00
d968477125 Getdialogs bugfix 2019-09-13 18:32:43 +02:00
310b489dfb Avoid issues with bad connections 2019-09-13 18:03:18 +02:00
d681df8aff Better logging 2019-09-13 17:34:39 +02:00