Commit Graph

947 Commits

Author SHA1 Message Date
Daniil Gentili
801934775c Implemented GZIP compression for methods 2017-09-26 14:41:53 +02:00
Daniil Gentili
777870a67b Apply fixes from StyleCI 2017-09-25 20:34:13 +00:00
Daniil Gentili
f168b0134a Fixes for old sessions 2017-09-25 22:33:37 +02:00
Daniil Gentili
9267d711f3 Readable errors 2017-09-24 22:26:06 +00:00
Daniil Gentili
860ebcce8b Readable errors 2017-09-24 22:24:04 +00:00
Daniil Gentili
2e3551e218 Bugfixes to magnaluna, dialog fetching and phone calls 2017-09-18 09:05:28 +00:00
Daniil Gentili
7e7409e549 Fixes to update handler and calls 2017-09-17 16:58:57 +00:00
Daniil Gentili
980a7fef27 Merge branch 'master' of https://github.com/danog/Madelineproto 2017-09-17 16:21:17 +00:00
Daniil Gentili
694aa101b7 Fixes to magnaluna, and phone calls. 2017-09-17 16:20:59 +00:00
danogentili
29e77aa1ea Fixed a bug in type detection for TL string serialization (changed erroneus byte wrapper class name) 2017-09-06 20:44:29 +03:00
danogentili
058e8ca7e9 Better errors 2017-09-06 20:26:49 +03:00
Daniil Gentili
40059c9b3f Better docs 2017-09-01 10:27:38 +00:00
Daniil Gentili
dfef5e3458 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-29 17:41:48 +02:00
Daniil Gentili
379138c476 Fixed logout 2017-08-29 17:41:26 +02:00
Daniil Gentili
1c9f43c852 Apply fixes from StyleCI 2017-08-29 15:00:47 +00:00
Daniil Gentili
fefbe41f29 Added new serialization method 2017-08-29 17:00:31 +02:00
Daniil Gentili
9417e49a2b double bugfix 2017-08-28 19:38:09 +02:00
Daniil Gentili
52eaa053a8 Apply fixes from StyleCI 2017-08-28 10:45:11 +00:00
Daniil Gentili
d69a27867f Better docs 2017-08-28 12:44:50 +02:00
Daniil Gentili
f93007f8b1 Try now 2017-08-28 12:00:49 +02:00
Daniil Gentili
e2e0c775e7 Fixes 2017-08-28 11:45:25 +02:00
Daniil Gentili
d30bf4b4ee now download_to_file and download_to_dir return an absolute path, and accept document objects 2017-08-28 01:22:04 +02:00
Daniil Gentili
5f7bf4c907 PHP 5 fixes 2017-08-27 20:24:05 +02:00
Daniil Gentili
dffe765edc Apply fixes from StyleCI 2017-08-27 18:21:24 +00:00
Daniil Gentili
90fc78014e Huge performance improvements 2017-08-27 20:20:55 +02:00
Daniil Gentili
691426ae3a Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-25 15:06:04 +02:00
Daniil Gentili
da57215397 Update TD scheme 2017-08-25 15:05:53 +02:00
Daniil Gentili
23a54585bc Apply fixes from StyleCI 2017-08-25 12:43:50 +00:00
Daniil Gentili
cf22652968 Removed examples 2017-08-25 14:43:29 +02:00
Daniil Gentili
2519d19498 Better docs 2017-08-25 14:32:11 +02:00
Daniil Gentili
44cd3fc6aa Better docs 2017-08-25 14:29:02 +02:00
Daniil Gentili
371362db02 cdn fixes 2017-08-24 11:42:52 +00:00
giuseppeM99
057db34af3 Fixes (#174) 2017-08-23 23:59:29 +04:00
danogentili
5dfc160f1d aaaa 2017-08-23 17:50:21 +03:00
Daniil Gentili
3e182dbee5 Apply fixes from StyleCI 2017-08-23 13:54:15 +00:00
danogentili
ec5b3e2d18 Small fix 2017-08-23 15:53:24 +03:00
danogentili
76fc5b9203 namespace fix 2017-08-23 15:36:10 +03:00
Daniil Gentili
1f2fb7a010 Improved docs 2017-08-21 19:01:33 +02:00
Daniil Gentili
68749f63e1 Updated to layer 71, added getSignalBarsCount to php-libtgvoip docs 2017-08-21 18:22:02 +02:00
Daniil Gentili
3347064ab8 Better errors 2017-08-21 07:43:34 +00:00
Daniil Gentili
865a5841fd docufix 2017-08-20 19:09:52 +02:00
Daniil Gentili
9d77dc0919 AMP fixes 2017-08-20 09:05:56 +00:00
Daniil Gentili
d1eb14fae2 Fixes 2017-08-19 22:23:42 +00:00
Daniil Gentili
40ad567e65 Apply fixes from StyleCI 2017-08-18 16:11:04 +00:00
Daniil Gentili
116271ca85 Docufix 2017-08-18 18:10:30 +02:00
Daniil Gentili
65f6cf6a68 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-18 13:28:02 +02:00
Daniil Gentili
a4b8a39437 Better docs 2017-08-18 13:27:44 +02:00
Daniil Gentili
c5a7011a91 fix desc 2017-08-16 22:31:42 +00:00
Daniil Gentili
db6ee920fc Apply fixes from StyleCI 2017-08-16 09:58:38 +00:00
Daniil Gentili
4c62140c53 Fixed update handling (closes #156) 2017-08-16 11:58:24 +02:00
Daniil Gentili
d3724a43f2 Apply fixes from StyleCI 2017-08-15 22:42:41 +00:00
Daniil Gentili
ba2ff52639 You can now reply to calls in lua 2017-08-15 22:41:58 +00:00
Daniil Gentili
c2add62c4c Your fix is coming soon aaron <3 2017-08-15 23:44:33 +02:00
Daniil Gentili
b00bf4f1f4 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-14 20:44:37 +02:00
Daniil Gentili
df84276b3c fixes 2017-08-14 20:44:28 +02:00
Daniil Gentili
19e699f404 Apply fixes from StyleCI 2017-08-14 18:43:46 +00:00
Daniil Gentili
5e7babfa76 fixes 2017-08-14 20:42:58 +02:00
Daniil Gentili
f16aa7c63a Apply fixes from StyleCI 2017-08-13 16:52:32 +00:00
Daniil Gentili
913fc912ee Fetch RPC error descriptions from API 2017-08-13 18:52:05 +02:00
Daniil Gentili
62d99ab776 Apply fixes from StyleCI 2017-08-10 08:18:52 +00:00
Daniil Gentili
8203aebae0 Finally, a way to make people RTFM 2017-08-10 08:18:28 +00:00
Daniil Gentili
de38033f3c Removed all traces of old API id/hash 2017-08-09 15:20:30 +02:00
Daniil Gentili
62818d102d fix 2017-08-09 14:23:44 +02:00
Daniil Gentili
4cf3c1b306 fixes 2017-08-09 00:08:13 +02:00
Daniil Gentili
5ee47f3d89 Better exceptions 2017-08-08 23:25:45 +02:00
Daniil Gentili
fa17f005b4 Fix 2017-08-07 18:13:48 +02:00
Daniil Gentili
099bb17c34 Apply fixes from StyleCI 2017-08-06 14:06:07 +00:00
Daniil Gentili
ce9f258924 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-06 16:05:52 +02:00
Daniil Gentili
837f670fa5 Fixes 2017-08-06 16:05:34 +02:00
Daniil Gentili
74212cc6bd Apply fixes from StyleCI 2017-08-06 13:04:06 +00:00
Daniil Gentili
420e71bfbc Don't log useless shiz 2017-08-06 15:03:50 +02:00
Daniil Gentili
2b9d6319f3 Fixes 2017-08-06 12:24:19 +02:00
Daniil Gentili
8f8351b406 Fix default settings 2017-08-05 17:56:52 +02:00
Daniil Gentili
b598a02b8e Improved bitrate settings in @magnaluna and made sure shared config is actually parsed 2017-08-05 17:41:36 +02:00
Daniil Gentili
e124806b9f Apply fixes from StyleCI 2017-08-04 08:02:14 +00:00
Daniil Gentili
b0260809cf Small cdn fix 2017-08-04 10:01:54 +02:00
root
a3a78dcfc4 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-03 15:02:38 +04:30
root
03df107439 Fixes to CDN files 2017-08-03 15:01:22 +04:30
giuseppeM99
04e1b8c4d7 Gotta catch 'em all!!! (#164)
* Update get_dialogs

* Gotta catch 'em all!!!
2017-08-02 15:12:18 +02:00
Daniil Gentili
5a2a515f33 fixes 2017-08-01 12:17:53 +02:00
Daniil Gentili
5cc6719c3d Fixes I guess 2017-08-01 11:59:07 +02:00
Daniil Gentili
e4a3fc9484 Apply fixes from StyleCI 2017-07-31 19:00:11 +00:00
Daniil Gentili
33427698f2 Final fixes 2017-07-31 18:57:13 +00:00
Daniil Gentili
bfda1d9a7c Apply fixes from StyleCI 2017-07-31 17:09:16 +00:00
Daniil Gentili
de86ccd923 fixes 2017-07-31 17:08:48 +00:00
Daniil Gentili
cbf9d99ec2 fixes 2017-07-31 17:08:14 +00:00
Daniil Gentili
346cd55109 Apply fixes from StyleCI 2017-07-31 14:42:50 +00:00
Daniil Gentili
13edc2e289 Merge branch 'master' of https://github.com/danog/Madelineproto 2017-07-31 14:42:33 +00:00
Daniil Gentili
6fdb63bac2 Fixed visualization 2017-07-31 14:42:24 +00:00
giuseppeM99
2931e96979 Update get_dialogs (#162) 2017-07-31 15:32:33 +02:00
Daniil Gentili
f06e459e5d Apply fixes from StyleCI 2017-07-30 21:16:34 +00:00
Daniil Gentili
b2e9930d16 Secret chat fixes 2017-07-30 23:16:05 +02:00
Daniil Gentili
12a25163d5 Apply fixes from StyleCI 2017-07-28 21:21:36 +00:00
Daniil Gentili
ade8c07a2c Lua fixes 2017-07-28 23:20:50 +02:00
Daniil Gentili
3024dc4a15 Update RPCErrorException.php 2017-07-28 22:51:35 +02:00
Daniil Gentili
a195f57e77 Fixes 2017-07-28 22:38:13 +02:00
Daniil Gentili
99bee52238 fix 2017-07-27 18:03:57 +02:00
Daniil Gentili
5e549b92e7 Apply fixes from StyleCI 2017-07-27 15:30:17 +00:00
Daniil Gentili
5e9df575da DAMN LOOK AT THE SPEED METER 2017-07-27 16:59:46 +02:00
Daniil Gentili
d4975caa21 Apply fixes from StyleCI 2017-07-27 13:46:44 +00:00
Daniil Gentili
9c161dfc58 The session will no corrupt 2017-07-27 15:46:14 +02:00
Daniil Gentili
e191bdc59d Fixes to file sizes 2017-07-27 09:22:34 +02:00
Daniil Gentili
29c0542d80 Apply fixes from StyleCI 2017-07-27 07:06:20 +00:00
Daniil Gentili
0610e33631 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-07-27 09:06:03 +02:00
Daniil Gentili
cac9b280b0 Lua fixes 2017-07-27 09:04:46 +02:00
Daniil Gentili
23d2b718a3 Array it is then 2017-07-27 00:48:19 +02:00
Daniil Gentili
ac32bb6bc6 Apply fixes from StyleCI 2017-07-26 22:28:48 +00:00
Daniil Gentili
5f056d12d7 fixed get_pwr_chat 2017-07-27 00:28:31 +02:00
Daniil Gentili
bf14298188 Per il dottore 2017-07-26 23:49:33 +02:00
Daniil Gentili
34010fa4e6 Apply fixes from StyleCI 2017-07-26 21:36:17 +00:00
Daniil Gentili
c26cd36b74 Per il dottore 2017-07-26 23:36:02 +02:00
Daniil Gentili
1adf1b4120 Apply fixes from StyleCI 2017-07-26 18:03:12 +00:00
Daniil Gentili
6b7d19ed56 Fix booleans 2017-07-26 20:02:51 +02:00
Daniil Gentili
89137fe82e Do not report helpful errors 2017-07-26 19:28:25 +02:00
Daniil Gentili
9d97ebb843 Helpful errors 2017-07-26 19:27:13 +02:00
Daniil Gentili
7d7bcdbed5 Small fix 2017-07-26 19:04:30 +02:00
Daniil Gentili
99c2053540 Apply fixes from StyleCI 2017-07-26 16:38:53 +00:00
Daniil Gentili
d79ffc1349 Fixes to dialog fetching, participant list fetching, exceptions, documentation, and lotsa other stuff 2017-07-26 18:38:10 +02:00
Daniil Gentili
4b1af4d274 Apply fixes from StyleCI 2017-07-26 08:57:23 +00:00
Daniil Gentili
62af29c1c9 improv da tl trace 2017-07-26 10:56:55 +02:00
Daniil Gentili
2e92a8ed20 Fixes 2017-07-26 10:35:12 +02:00
Daniil Gentili
e72d941671 fixes 2017-07-26 09:25:26 +02:00
Daniil Gentili
9496ce054b fixes 2017-07-26 09:04:46 +02:00
Daniil Gentili
ef13b191be Apply fixes from StyleCI 2017-07-26 06:54:30 +00:00
Daniil Gentili
c6114c6c71 Merge branch 'master' of https://github.com/danog/Madelineproto 2017-07-26 08:54:13 +02:00
Daniil Gentili
541db2e507 whoops 2017-07-26 08:53:58 +02:00
Daniil Gentili
8aaedac7a7 Apply fixes from StyleCI 2017-07-26 06:31:15 +00:00
Daniil Gentili
849ee4aa73 Added custom TL exception trace, reduced memory usage, fixed fetching of dialog list 2017-07-26 08:30:48 +02:00
Daniil Gentili
e1503ab68a CELESTIA SANTISSIMA 2017-07-24 17:01:23 +02:00
Daniil Gentili
c177a4dde0 Try to avoid serialization issues 2017-07-24 13:43:09 +02:00
Daniil Gentili
4d6365fc3d docufixes 2017-07-24 11:40:02 +02:00
Daniil Gentili
3e0f512c92 A bit more explicit errors 2017-07-24 09:27:46 +02:00
Daniil Gentili
c41a670d33 Apply fixes from StyleCI 2017-07-24 07:18:37 +00:00
Daniil Gentili
4c05506baf Some CDN fixes 2017-07-24 09:18:10 +02:00
Daniil Gentili
54f69ece92 Bugfixes 2017-07-24 01:32:29 +02:00
Daniil Gentili
6e50c16df2 Improve logging 2017-07-24 00:37:39 +02:00
Daniil Gentili
ea21597237 fixed 2017-07-24 00:00:31 +02:00
Daniil Gentili
2d6f6369dd Apply fixes from StyleCI 2017-07-23 15:44:47 +00:00
Daniil Gentili
9b58979ed0 Updated to layer 70 2017-07-23 17:44:01 +02:00
Daniil Gentili
ecc73b0a9e xd 2017-07-23 16:40:54 +02:00
Daniil Gentili
a90d7a9ae4 xd 2017-07-23 16:35:53 +02:00
Daniil Gentili
0b92c9bc9a More doc fixes 2017-07-23 16:34:36 +02:00
Daniil Gentili
8b7502d9d2 More doc fixes 2017-07-23 16:33:46 +02:00
Daniil Gentili
5c0de9b711 Apply fixes from StyleCI 2017-07-23 14:11:59 +00:00
Daniil Gentili
a44e7a65d0 Added call and PWRTelegram docs 2017-07-23 16:11:02 +02:00
Daniil Gentili
4b9e8875f1 YAY 2017-07-22 16:40:49 +02:00
Daniil Gentili
35fade1535 Merge branch 'master' of https://github.com/danog/Madelineproto 2017-07-22 15:28:27 +01:00
Daniil Gentili
7dc348ae6f Added call docs 2017-07-22 15:28:15 +01:00
Daniil Gentili
cd87ed8c25 Apply fixes from StyleCI 2017-07-22 12:11:48 +00:00
Daniil Gentili
8535df5908 You can now export/import the current authorization key 2017-07-22 14:11:07 +02:00
Daniil Gentili
1dc451d6bb Apply fixes from StyleCI 2017-07-21 23:02:48 +00:00
Daniil Gentili
908fb3854f CALLS ARE WORKING 2017-07-22 00:02:27 +01:00
Daniil Gentili
4870bba4e0 yay 2017-07-21 23:04:31 +01:00
Daniil Gentili
5da056eb98 Apply fixes from StyleCI 2017-07-21 21:07:29 +00:00
Daniil Gentili
4aa9578c4f Final fixes 2017-07-21 23:06:47 +02:00
Daniil Gentili
fe3fa04361 Apply fixes from StyleCI 2017-07-21 10:24:07 +00:00
Daniil Gentili
432b723678 smore fixes 2017-07-21 11:23:09 +01:00
Daniil Gentili
f254284630 Apply fixes from StyleCI 2017-07-20 17:32:07 +00:00
Daniil Gentili
ed099be65c lalala 2017-07-20 18:31:09 +01:00
Daniil Gentili
a59bcf7b26 Apply fixes from StyleCI 2017-07-20 14:21:07 +00:00
Daniil Gentili
eae7b6df7d done 2017-07-20 16:20:19 +02:00
Daniil Gentili
5cd8c6d367 thx 2017-07-19 22:51:19 +01:00
Daniil Gentili
2e83d0991e lel 2017-07-19 23:43:42 +02:00
Daniil Gentili
af1df14fc3 danog 2017-07-19 23:43:16 +02:00
Daniil Gentili
d278293589 8912pwzx! 2017-07-19 23:41:35 +02:00
Daniil Gentili
d2ce6c0684 Apply fixes from StyleCI 2017-07-19 10:42:04 +00:00
Daniil Gentili
3a5e5a9c43 Improvements 2017-07-19 12:41:18 +02:00
Daniil Gentili
cceab5c56b Apply fixes from StyleCI 2017-07-13 23:54:33 +00:00
Daniil Gentili
71986cf536 memes 2017-07-14 00:54:16 +01:00
Daniil Gentili
d74b6d3b2d Apply fixes from StyleCI 2017-07-12 12:33:57 +00:00
Daniil Gentili
6113c0d63c Improved parsing of settings and logging 2017-07-12 14:33:10 +02:00
Daniil Gentili
91f43c5442 Apply fixes from StyleCI 2017-07-09 22:09:10 +00:00
Daniil Gentili
9eda7c34e9 refactoring 2017-07-10 00:08:21 +02:00
Daniil Gentili
c5135942ce Apply fixes from StyleCI 2017-07-09 10:08:21 +00:00
Daniil Gentili
b96c31e893 I really like abstraction 2017-07-09 11:08:01 +01:00
Daniil Gentili
aa80209f6f Apply fixes from StyleCI 2017-07-08 21:43:30 +00:00
Daniil Gentili
f82aad3b22 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-07-08 23:42:54 +02:00
Daniil Gentili
3b1d380016 Fixed obfuscated2 2017-07-08 23:42:27 +02:00
giuseppeM99
f8ba74dd35 catch all the exception (#150) 2017-07-08 23:37:30 +02:00
Daniil Gentili
b786f3b544 Apply fixes from StyleCI 2017-07-08 18:26:03 +00:00
Daniil Gentili
f9293a67f3 We may be running on non-posix systems 2017-07-08 19:25:40 +01:00
Daniil Gentili
adc4df525a Apply fixes from StyleCI 2017-07-08 15:40:41 +00:00
Daniil Gentili
02ca048238 xd 2017-07-08 16:40:21 +01:00
Daniil Gentili
8e1ac1a3f8 Trying to make obfuscated2 protocol work 2017-07-08 16:19:17 +01:00
Jonas Fowl
adb377fb44 Update Logger.php (#149) 2017-07-08 10:53:01 +02:00
Daniil Gentili
9519b8f78e nibbas were interfering 2017-07-08 09:45:47 +01:00
Daniil Gentili
bac4ed2c10 Improve color scheme 2017-07-07 23:35:34 +01:00
Daniil Gentili
593efe2b3b Check if is a tty 2017-07-07 23:31:42 +01:00
Daniil Gentili
3f54e69c0c Apply fixes from StyleCI 2017-07-07 22:14:05 +00:00
Daniil Gentili
c1fd3c4ea7 COLORS!!!! (and custom logging callbacks 2017-07-08 00:11:27 +02:00
Daniil Gentili
4a6335a8b2 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-07-07 22:56:48 +02:00
Daniil Gentili
e7f0bac44b I simply love telegram's coherency 2017-07-06 19:18:55 +02:00
Daniil Gentili
87dc456844 Apply fixes from StyleCI 2017-07-06 16:37:43 +00:00
Daniil Gentili
77c8d5d748 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-07-06 18:36:05 +02:00
Daniil Gentili
890e4d65cc Do not delete secret chat/call creation updates 2017-07-06 18:36:02 +02:00
Daniil Gentili
53f3d6ee9d Fixes 2017-07-05 22:18:01 +02:00
giuseppeM99
671b995205 Fixes (#144) 2017-07-01 21:36:53 +02:00
Daniil Gentili
54e7499930 Fixes to lua 2017-07-01 19:39:35 +02:00
Daniil Gentili
cf9fd67eda Merge branch 'master' of https://github.com/danog/MadelineProto 2017-07-01 16:30:59 +02:00
Daniil Gentili
8e75010d11 Lua stuff 2017-07-01 16:30:04 +02:00