Commit Graph

200 Commits

Author SHA1 Message Date
Daniil Gentili cfc7cb4e04 Started writing update handlers 2016-12-23 12:19:13 +01:00
Daniil Gentili 306f581f1c Fixed logo 2016-12-21 11:39:52 +01: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
Daniil Gentili eda02d75f6 Added logo to readme 2016-12-20 17:15:47 +01:00
Daniil Gentili ffb8f2267c Improved documentation generation 2016-12-20 13:15:22 +01: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 ba740d7be7 Throw exception if not running on 64 bit system 2016-12-12 15:36:46 +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 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 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 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
danogentili 4060b5c854 Updated docs 2016-11-17 14:10:22 +03: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 7b468c9d0d Fixed serialization of vectors, written bind_temp_auth_key function 2016-10-18 16:46:31 +00:00
danogentili 028cadc349 First step to initConnection 2016-10-14 00:49:43 +02:00
danogentili f331931365 Refactored AuthorizationHandler and written DataCenter class 2016-10-09 17:42:39 +02:00
danogentili 9affe20857 Added a bit of documentation 2016-10-07 00:36:18 +02:00
Daniil Gentili 62dab809a3 Update README.md 2016-10-03 14:04:03 +02:00
Daniil Gentili b4f4fa5fb2 Trying to fix msg ids 2016-08-22 15:19:10 +02:00
Daniil Gentili 7a1f7c1145 Implemented tcp full, tcp intermediate and tcp abridged connections 2016-08-15 15:43:58 +02:00
Daniil Gentili f99f432056 Finally fixed authorization 2016-08-15 02:37:59 +02:00
danogentili a7acfb388c Trying to make the ige module work 2016-08-14 21:38:32 +02:00
Daniil Gentili f4d5a298ed Added support for tcp abridged and tcp intermediate connections. Added todo list in readme. 2016-08-10 03:14:35 +02:00
danogentili 9d4c53795b refactoring 2016-08-09 23:32:34 +02:00
danogentili 90af9857ff Added tests, added layer 55 json 2016-08-09 22:28:50 +02:00
danogentili 741f166640 Reorganized code 2016-08-08 18:10:13 +02:00
Daniil Gentili 651459edb0 Reorganized classes and started to write RSA class 2016-08-08 16:09:11 +02:00
danogentili 5edd3f5cb7 Moved readme 2016-08-07 23:26:27 +02:00
danogentili 4a8826bdad Started to reorganize class 2016-08-07 23:23:10 +02:00
danogentili 2b31699ffd update 2016-07-20 20:23:26 +02:00
Daniil Gentili 57a87a1638 Update README.md 2016-07-14 16:32:55 +02:00
Daniil Gentili 3b2ade94ba Got the sending to work 2016-06-28 03:10:15 +02:00
Daniil Gentili fcb7885dce Update README.md 2016-06-24 00:15:13 +02:00
Daniil Gentili c280c13179 Update README.md 2016-06-24 00:14:48 +02:00
danogentili 3ce36dff92 Update 2016-06-24 00:09:58 +02:00
danogentili b5326b4cbb Let the madness begin! 2016-06-23 23:51:08 +02:00
agrigoryev 8fb4edf2a0 try to commit from new machine 2015-03-17 14:40:37 +03:00
Anton Grigoryev 74f2e64452 Update README.md 2015-03-13 15:48:33 +03:00
Anton Grigoryev 2f571aec2c Update README.md 2015-03-13 15:48:10 +03:00
chidea 4557b23a3d updated plan checklist 2015-03-13 03:28:13 +09:00
chidea 9f1af6cc8a readme.md fix 2015-03-12 01:57:12 +09:00
chidea 19d4f5a958 readme.md fix 2015-03-12 01:54:52 +09:00
chidea ec4904f205 readme.md - added chat room link, structured descriptions and future plan 2015-03-12 01:52:28 +09:00
Anton Grigoryev f11a55e7d6 Update README.md 2015-03-11 19:21:30 +03:00
Anton Grigoryev 9f023c2c78 Update README.md 2015-03-11 19:05:34 +03:00
Anton Grigoryev dd2439e9b8 README.md file
First Readme commit
2015-03-11 18:42:20 +03:00