1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 23:14:38 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
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
0767d1bc80 Updated to layer 57 and added logging 2016-11-22 16:37:48 +00:00
danogentili
1ded657739 Added APIFactory for calling namespaced mtproto methods, cleaned up testing.php and API.php, moved authorization keys, session_id, seq_no and time delta to the Connection class, added close_and_reopen method to the Connection class, improved DataCenter class, renamed Logging class to Logger, added a bit more logging, added setup_logger, switch_dc, init_authorization methods to the MTProto class, added parameter to disable automatic switching to nearest DC in write_client_info, added a try catch block in the create_auth_key method, fixed switching of DCs in wait_for_response method, added arguments check in the method calling methods, added a message id check in MessageHandler, added method_name_namespaced array in TL for APIFactory, renamed a lot of stuff and removed a few checks in the TL class, moved sendCode test call to testing.php 2016-11-16 17:05:27 +03:00
Daniil Gentili
c0932c7db2 Removed save file 2016-09-14 12:25:06 +02:00
danogentili
e7487ab60c Fixed prime module, removed dependencies from repository, adapted for hhvm. 2016-08-10 14:51:28 +02:00
danogentili
79e8041aab Added credentials 2016-08-04 22:22:48 +02:00
danogentili
192981eacc Remove gitignore entry 2016-07-21 14:46:19 +02:00
Daniil Gentili
b1cfc06a10 Fix syntax mistakes, added vendor dir. 2016-07-15 13:10:38 +02:00
Daniil Gentili
6e622883f2 Removed .swp files 2016-07-15 13:04:24 +02:00
Daniil Gentili
e30ccb6717 Change aes engine 2016-07-15 13:03:36 +02:00
lds56
4d8cd202f1 Add auth error handling 2015-04-04 15:18:45 +08:00
chidea
5a39d105fa gitignore fix for intellij 2015-03-14 22:05:44 +09:00
chidea
d92d969e13 gitignore fix for jetbrains ide 2015-03-12 00:46:02 +09:00
Anton Grigoryev
0f5927909d Credentials parser.
Now testing example is in REPO
2015-02-26 14:46:38 +03:00
Anton Grigoryev
e3dfa1df41 Initial commit 2015-02-24 12:47:31 +03:00
griganton
3ca693702a Initial commit 2015-02-23 13:59:12 +03:00