Commit Graph

168 Commits

Author SHA1 Message Date
Daniil Gentili
64aca6040b Apply fixes from StyleCI 2017-01-01 16:14:24 +00:00
danogentili
378dd9ac1d Added first alpha of web version and fixed bugs 2017-01-01 17:13:59 +03:00
Daniil Gentili
2f8149c4d9 Apply fixes from StyleCI 2017-01-01 16:13:19 +00:00
danogentili
96efd18e13 Added first alpha of web version and fixed bugs 2017-01-01 17:12:46 +03:00
Daniil Gentili
396261a25b Apply fixes from StyleCI 2016-12-31 11:32:15 +00:00
Daniil Gentili
ad9591c71b Fixed some bugs 2016-12-31 12:32:02 +01:00
Daniil Gentili
b3d75b106c Apply fixes from StyleCI 2016-12-30 20:21:55 +00:00
danogentili
bfc665ace0 Fixed bugs 2016-12-30 23:21:36 +03:00
Daniil Gentili
0c68e58103 Apply fixes from StyleCI 2016-12-30 15:36:44 +00:00
Daniil Gentili
d2d54398c4 Fixed update handling, now usernames or bot api ids can be passed as parameters instead of Peer, inputPeer, Channel, User (and other) objects, fixed bugs and typos. 2016-12-30 16:32:25 +01:00
Daniil Gentili
7b36562cfb Fixed misteak 2016-12-27 11:45:57 +01:00
Daniil Gentili
0a8c04998e Apply fixes from StyleCI 2016-12-26 19:24:24 +00:00
danogentili
84abb27f18 Killed fread with fire, improved peer handling, written basic update handling features, written static class for serializing and deserializing MadelineProto easily, fixed lots of bugs, more stuff kek 2016-12-26 20:23:46 +03:00
Daniil Gentili
7515530b37 Apply fixes from StyleCI 2016-12-24 16:21:15 +00:00
Daniil Gentili
34865686da Working on updates 2016-12-24 17:20:45 +01:00
Daniil Gentili
f0f8ae56bf Apply fixes from StyleCI 2016-12-23 20:07:19 +00:00
Daniil Gentili
884232aec3 random_ids are now computed automagically, added methods to ease working with peers and updated docs 2016-12-23 21:06:38 +01:00
Daniil Gentili
1940195949 Apply fixes from StyleCI 2016-12-23 11:19:37 +00:00
Daniil Gentili
cfc7cb4e04 Started writing update handlers 2016-12-23 12:19:13 +01:00
Daniil Gentili
7a9e258de1 Apply fixes from StyleCI 2016-12-21 10:31:59 +00:00
Daniil Gentili
7e9383981c Fixed handling of all service messages exactly as described in the API (closes #20), fixed bug in authorization module, added hover logo. 2016-12-21 11:31:34 +01:00
danogentili
cb7a07f2b0 Now an exception won't be thrown if the ack methods can't find the message id. 2016-12-19 21:07:11 +03:00
Daniil Gentili
9fd4b22c42 Apply fixes from StyleCI 2016-12-19 17:58:09 +00:00
danogentili
fa1183b25e Merge branch 'master' of https://github.com/danog/MadelineProto 2016-12-19 18:57:29 +03:00
danogentili
04a2504c17 Fixed a few bugs, switched to traits for MTProtoTools modules, written documentation creator and added documentation 2016-12-19 18:56:52 +03:00
Daniil Gentili
f15631ab86 Apply fixes from StyleCI 2016-12-12 15:37:19 +00:00
Daniil Gentili
ba740d7be7 Throw exception if not running on 64 bit system 2016-12-12 15:36:46 +00:00
Daniil Gentili
1611c0f8ec Fixed bugs 2016-11-30 21:46:46 +00:00
Daniil Gentili
80ae7e9478 Apply fixes from StyleCI 2016-11-29 23:02:37 +00:00
Daniil Gentili
0c578f25c9 Fixed response handling 2016-11-29 23:02:17 +00:00
danogentili
0cc2ea1cef Improved response handling 2016-11-29 20:45:06 +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
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
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
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