Commit Graph

1633 Commits

Author SHA1 Message Date
danogentili
0cc2ea1cef Improved response handling 2016-11-29 20:45:06 +03:00
danogentili
071f63244d Updated tests 2016-11-29 16:52:41 +03:00
Daniil Gentili
e2eb4bf07b Apply fixes from StyleCI 2016-11-29 13:35:11 +00:00
Daniil Gentili
c62d8cc069 Added additional error handling 2016-11-29 13:25:11 +00:00
Daniil Gentili
885520c96a Remove part of tests 2016-11-29 01:17:36 +00:00
Daniil Gentili
b066ff1e65 Added stuff 2016-11-29 01:13:45 +00:00
Daniil Gentili
8ba0987e27 Added stuff 2016-11-29 01:11:11 +00:00
Daniil Gentili
95ba5a33f0 Merge branch 'master' of https://github.com/danog/MadelineProto 2016-11-29 00:49:13 +00:00
Daniil Gentili
2121777bb1 Added encrypted session file 2016-11-29 00:49:01 +00:00
Daniil Gentili
a3b1759b5b Apply fixes from StyleCI 2016-11-29 00:48:19 +00:00
Daniil Gentili
8bba87c353 Rewrote TL class using webogram, fixed bug in recognition of system version, improved response handling, improved tests, improved documentation 2016-11-29 00:47:59 +00:00
danogentili
1d9ea6ad0c Made small fixes to TL 2016-11-26 16:12:36 +03:00
Daniil Gentili
546d7cc46e Apply fixes from StyleCI 2016-11-26 10:50:39 +00:00
Daniil Gentili
496d6790bc Fixed handling of bad_server_salt notifications, improved switching of DCs when user is authorized, session ids and sequence numbers will now be resetted on deserialization 2016-11-26 10:50:20 +00:00
Daniil Gentili
dae2375bf3 Switch back to edge environment on travis and fix bug on datacenter switch 2016-11-25 21:59:17 +00:00
Daniil Gentili
6b9391d74d Trying to enable ipv6 on travis... 2016-11-25 21:38:24 +00:00
Daniil Gentili
2a95f6eb03 Apply fixes from StyleCI 2016-11-25 21:21:34 +00:00
Daniil Gentili
323359897b #AUGAA 2016-11-25 21:21:13 +00:00
Daniil Gentili
87a22ed0bc Apply fixes from StyleCI 2016-11-25 20:53:18 +00:00
Daniil Gentili
c6f1642264 Fixed bugs, updated docs, fixed serialization and deserialization of class, improved TL class 2016-11-25 20:52:56 +00:00
Daniil Gentili
1dca7843a9 Added instructions for dependency installation in the docs, trying to fix composer 2016-11-24 23:40:19 +00:00
Daniil Gentili
a660bb4c68 fixes to docs 2016-11-24 23:19:15 +00:00
Daniil Gentili
3bba37ef1d Applied fixes from StyleCI 2016-11-24 23:15:53 +00:00
Daniil Gentili
7be648fb20 Added documentation, simplified code, organized exceptions, added some more examples in testing.php, decided to unset flags in deserialized responses, moved message id arrays to Connection classes, added wrappers for logging in to telegram as a bot or as a user and for logging out, fixed deserializing of gzip packed objects, added more logging, fixed bugs, added methods to get and parse configuration, saved some fairies, fixed exporting/importing of authorization, added some wakeup methods to prevent problems during serialization, added support for ipv6 and automagical detection too. I think we can safely say this is now a beta. 2016-11-24 23:15:22 +00:00
Daniil Gentili
c168890384 Fixed bugs, improved exception erro rhandling, blah, blah, blah (#RTFC) 2016-11-24 12:16:06 +00:00
Daniil Gentili
87e625ea9c Applied fixes from StyleCI 2016-11-23 20:04:51 +00:00
Daniil Gentili
109c887337 Fixed computation of flags, improved serialization, written basic authorization flow in testing.php (closes #21 and #22) 2016-11-23 20:04:29 +00:00
danogentili
d7c098087e Trying to fix flags 2016-11-23 15:58:38 +03:00
Daniil Gentili
0767d1bc80 Updated to layer 57 and added logging 2016-11-22 16:37:48 +00:00
Daniil Gentili
dee7302341 Updated to layer 57 2016-11-22 16:22:30 +00:00
Daniil Gentili
0db89eaeb1 Trying to fix serialization of flags... 2016-11-22 12:13:29 +00:00
Daniil Gentili
17f0de5e73 Write client info after binding keys 2016-11-18 21:27:58 +00:00
Daniil Gentili
c39c6a8511 Applied fixes from StyleCI 2016-11-18 20:50:38 +00:00
Daniil Gentili
545b5629f6 Fixed bugs 2016-11-18 20:50:19 +00:00
Daniil Gentili
83e9ff8de9 Applied fixes from StyleCI 2016-11-17 17:44:04 +00:00
danogentili
82dc195483 Fixed bugs 2016-11-17 20:43:52 +03:00
Daniil Gentili
b18c16aedc Applied fixes from StyleCI 2016-11-17 14:26:20 +00:00
danogentili
ddf5bc7050 Fixed crc32 2016-11-17 17:25:26 +03:00
danogentili
12e2b0ab8d Updated tags 2016-11-17 15:05:31 +03:00
danogentili
c307357ebf BTW I'm doing this offline 2016-11-17 14:52:33 +03:00
danogentili
5a22fd0665 pony 2016-11-17 14:32:56 +03:00
danogentili
5a8e490e6d Updated dependencies 2016-11-17 14:27:21 +03:00
danogentili
4060b5c854 Updated docs 2016-11-17 14:10:22 +03:00
danogentili
7552ba13c7 Fixed crc32 2016-11-17 14:07:29 +03:00
danogentili
b0c7c79d3a Removed useless __destruct methods 2016-11-17 14:02:22 +03:00
danogentili
a35812c5f1 Store future salts in class variable 2016-11-17 13:56:11 +03:00
danogentili
947a1a973f Cleaned up TL class, cleaned up API and APIFactory class, fixed bugs in the DataCenter class, fixed getting and setting of time deltas. 2016-11-17 13:49:32 +03:00
danogentili
caa05510a0 Cleaned up RSA class 2016-11-16 18:11:50 +03:00
danogentili
e6093e65ac Fixed APIFactory, allowed reading of settings from the API class, changed the way of passing arguments to methods with the API (and APIFactory) class. 2016-11-16 17:37:27 +03:00
danogentili
b28aab6359 Fixed typo in the license warning 2016-11-16 17:18:35 +03:00