Commit Graph

1824 Commits

Author SHA1 Message Date
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
4d599e017b Improve socket management 2019-09-13 17:24:52 +02:00
aff46a1cc3 Update docs 2019-09-13 17:14:37 +02:00
a75ee912fd Update 2019-09-13 15:10:08 +00:00
41f070b33e Fix 2019-09-13 16:56:29 +02:00
b6a517ede5 Fix 2019-09-13 16:55:48 +02:00
99d878d4f7 bugfix 2019-09-13 13:34:30 +02:00
0702ea6ec9 bugfix 2019-09-13 13:24:54 +02:00
b461a69197 fix 2019-09-12 22:23:51 +00:00
dc34903d33 Backwards compatibility 2019-09-12 20:30:49 +02:00
c411b3a746 Fix web 2019-09-12 20:14:11 +02:00
f15c8fa278 Fix CHANNEL_INVALID errors 2019-09-12 17:54:43 +00:00
dad344b18b Basic 105 docs 2019-09-12 19:08:48 +02:00
0db1196afb Better logging 2019-09-12 18:56:26 +02:00
5c104180f0 php 7.4 fixes 2019-09-04 16:50:34 +00:00
4cd966c5c0 Log during tests 2019-09-04 16:33:27 +00:00
4619d44b12 Clean up 2019-09-04 17:48:07 +02:00
75945704dd Just update callbacks 2019-09-03 19:10:39 +02:00
1ba3258581 Allow ctrl-c at any time 2019-09-03 19:03:39 +02:00
848d1f310b Remove duplicates to avoid problems with PHP 5 2019-09-03 18:30:52 +02:00
d7c7445207 Proper exit code 2019-09-03 18:29:50 +02:00
662c947953 Properly shutdown in case of exception 2019-09-03 18:21:43 +02:00
f26665479e Logger bugfix 2019-09-03 18:04:16 +02:00
59e00e8ba9 Finally fix CTRL-C 2019-09-03 17:55:44 +02:00
105ffb443a Better docs 2019-09-03 16:53:39 +02:00
4f248b030b Bugfixes 2019-09-03 14:40:50 +02:00
737048c1ae Backwards compatibility 2019-09-02 15:53:10 +00:00
f63065f1f3 Magnaluna bugfix 2019-09-02 17:44:13 +02:00
cfaa6241c2 Bugfix for magnaluna 2019-09-02 15:42:19 +00:00
4c8c6043c6 Log multireason exceptions 2019-09-02 17:31:44 +02:00
28e236e880 Bugfix 2019-09-02 17:29:29 +02:00
824b62cd10 Fix tests 2019-09-02 17:21:20 +02:00
e0b293b9a1 cs-fix 2019-09-02 17:08:36 +02:00
72d353fff0 Parallelized uploads and downloads, upload by URL and rename files 2019-09-02 16:54:36 +02:00
d1bbc86d21 Bugfixes 2019-09-02 15:30:29 +02:00
0f7ffc2da7 Save 2019-09-02 14:37:30 +02:00
ea2b28dbb1 Refactor auth key management 2019-09-01 23:39:29 +02:00
3107aee776 PHPDOC 2019-09-01 14:07:04 +02:00
40c0976c5a Almost finished refactoring 2019-09-01 01:52:28 +02:00
a1d139d526 Refactor 2019-08-31 23:07:20 +02:00
3fe86e0162 Refactoring 2019-08-31 22:43:58 +02:00
d2010cc259 Merge 2019-08-29 18:34:33 +02:00
9321f3d0af Convert inputEncryptedChat 2019-08-25 20:40:42 +02:00
2c2e33636f Layer 104 2019-08-15 20:33:07 +02:00
andrew-ld
e1100b3fc6 bugfix (#680) 2019-08-12 21:10:09 +02:00
92fb0c95de Undo 2019-08-10 18:24:24 +02:00
80b0432b1c Manually generate email and phone entities 2019-08-10 18:22:54 +02:00
8fb21a8b74 Ignore secure values, will implement later 2019-08-04 12:23:12 +02:00
eabce85f6e Small bugfix 2019-08-02 13:09:43 +02:00
30426db3df Conversion bugfix (closes #662) 2019-07-27 15:51:54 +02:00
60efcb67c5 Use static rpc endpoints 2019-07-27 12:37:05 +02:00
b38366dd55 Add getEventHandler in combinedAPI 2019-07-24 20:31:46 +02:00
9bf529b483 Some fixes 2019-07-23 13:07:54 +02:00
Daniil Gentili
c31f4493a1 Smaller timeout for database 2019-07-21 14:52:34 +00:00
Daniil Gentili
1067d24e7c Call bugfix 2019-07-21 14:50:48 +00:00
261ce6401b Update system and reference database bugfixes 2019-07-20 20:50:00 +02:00
Daniil Gentili
2f5dcf5daa Create perioc loop 2019-07-18 22:02:18 +00:00
Daniil Gentili
c614acd43c Small merge fixes 2019-07-18 21:59:02 +00:00
a951ae380f
Async magnaluna and more async bugfixes (#667) 2019-07-18 23:48:35 +02:00
005d762a8f Cast to string to avoid issues with Bytes objects 2019-07-16 15:18:37 +02:00
Daniil Gentili
c5f078cc1d bugfix 2019-07-15 20:15:01 +00:00
22bac48aee Self-restart bugfix 2019-07-11 20:18:08 +02:00
b5786a6502 RPC error description fetching bugfix 2019-07-11 17:07:38 +02:00
62caab773f "localize" 2019-07-09 20:53:25 +02:00
1efbe6a337 Small bugfix and improvement for layer diffing script 2019-07-07 19:37:54 +02:00
26d13c6e5c Layer 103 2019-07-07 19:34:15 +02:00
c97b3e72d8
Update Loop.php 2019-07-07 13:00:29 +02:00
bdc3ff6d8b bugfixes 2019-07-06 19:27:13 +02:00
4fa69920fa Merge branch 'master' of https://github.com/danog/MadelineProto 2019-07-06 19:22:13 +02:00
c1a8229ff3 Backwards compatibility 2019-07-06 19:22:02 +02:00
60989481ff More fixes 2019-07-06 19:01:11 +02:00
f33c3c9ee6 Typo fix 2019-07-06 17:57:14 +02:00
92e8b58bd9 Merge 2019-07-06 17:48:34 +02:00
3dc3d6e5c8 Some bugfixes 2019-07-06 17:45:03 +02:00
53bf8176f5 Stuffs 2019-07-01 13:14:56 +02:00
c451471f78 Setting alias 2019-07-01 10:04:34 +02:00
37a9133a6f Improved 2FA 2019-06-30 15:12:43 +02:00
6b5775da79 Default to obfuscated transport with websocket 2019-06-29 15:21:29 +02:00
5cfaee670c Merge 2019-06-29 14:54:12 +02:00
49903b215e
Obfuscated bugfix 2019-06-28 19:37:23 +02:00
5af3fe77c6 Bugfix 2019-06-27 11:27:13 +02:00
11c8f627a6 Bugfix 2019-06-27 11:26:39 +02:00
9d86507eb8 Better exceptions 2019-06-26 17:16:06 +02:00
eafa19eb4e Small workaround 2019-06-25 18:11:42 +02:00
214fc0d0f9 Bugfix 2019-06-25 18:02:56 +02:00
Daniil Gentili
6f5d1b16fa Fix upload by URL 2019-06-25 15:11:37 +00:00
cd5cd8611c Fixes 2019-06-25 15:38:30 +02:00
e1556822c0 Upload files with no content-length, too 2019-06-25 15:36:09 +02:00
8ab033e995 Add PremadeStream 2019-06-25 14:11:04 +02:00
3f3f2f5ea1 Bugfixes 2019-06-25 14:09:39 +02:00
45841add14 Bugfixes 2019-06-25 12:39:31 +02:00
5f50fa4636 Bugfix 2019-06-24 20:14:28 +02:00
83d9c2e1a0 Finish implementing new upload 2019-06-24 20:03:15 +02:00
7dbf529bb1 Implement parallelized upload 2019-06-24 18:55:37 +02:00
58d71a390a Merge 2019-06-24 16:35:37 +02:00
949bd194ed HTML escaping bugfixes 2019-06-24 16:28:54 +02:00
a23d71b44f Layer 102 2019-06-24 15:46:38 +02:00
3886305284 Start rewriting upload 2019-06-24 15:14:09 +02:00
2b1f44a31f Implement download_to_callback 2019-06-24 14:42:14 +02:00
Daniil Gentili
506d1b1fd4 Phone call bugfix (subrelease) 2019-06-24 10:47:44 +00:00
698d0cb59f Parallelize downloads 2019-06-23 17:46:51 +02:00
8bfeb13176 Update docs 2019-06-23 13:08:44 +02:00
5fa5a14139 Another bugfix 2019-06-23 12:35:30 +02:00
2672728fe3 Add getPropicInfo method and fix some bugs 2019-06-23 12:32:23 +02:00
09fc49459f Merge branch 'master' of https://github.com/danog/MadelineProto 2019-06-22 20:34:32 +02:00
caae5a8fd9 Bugfixes for my.telegram.org wrapper 2019-06-22 20:34:15 +02:00
Alexander Pankratov
e67c06e355 Cleanup memory and session files (#608)
* Cleanup memory and session files

* Codestyle

* composer.json

* add setting to control cleanup

* Typo fix

* revert composer edits

* Version change
2019-06-22 19:54:44 +02:00
74ab5d2ff5 Small bugfix 2019-06-22 18:39:40 +02:00
5468858298 Update to layer 100 2019-06-22 18:22:38 +02:00
2d2a3bd01f Wrap wait 2019-06-22 16:34:46 +02:00