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 |
|
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
|
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
|
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 |
|
danogentili
|
f78ead188a
|
I do love logging
|
2016-11-16 17:10:06 +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
|
49a555d99f
|
Applied fixes from StyleCI
|
2016-11-15 20:43:20 +00:00 |
|
danogentili
|
417d9343c2
|
Fixed binding of authorization keys. Finally can use auth.sendCode method.
|
2016-11-15 23:42:52 +03:00 |
|
danogentili
|
6720199a33
|
Added error descriptions
|
2016-11-15 16:31:32 +03:00 |
|
Daniil Gentili
|
84d25bfaa2
|
Applied fixes from StyleCI
|
2016-11-15 12:46:25 +00:00 |
|
danogentili
|
67de600bb8
|
Removed useless dependencies, made logging class static, made access to the PHPStruct class static, added default_dc setting in the settings array
|
2016-11-15 15:39:42 +03:00 |
|
Daniil Gentili
|
37fa11e81a
|
uhh
|
2016-10-18 17:11:33 +00:00 |
|
Daniil Gentili
|
9a11d42657
|
Applied fixes from StyleCI
|
2016-10-18 16:46:55 +00:00 |
|
Daniil Gentili
|
7b468c9d0d
|
Fixed serialization of vectors, written bind_temp_auth_key function
|
2016-10-18 16:46:31 +00:00 |
|
Daniil Gentili
|
d1e7cce35b
|
Trying to make sendCode work
|
2016-10-18 14:44:44 +00:00 |
|
Daniil Gentili
|
2badf3f35e
|
Applied fixes from StyleCI
|
2016-10-18 13:43:24 +00:00 |
|
Daniil Gentili
|
6c94e2426a
|
TL now uses an istantiated version of PHPStruct, TLConstructor and TLMethod now decode vectors and optional params
|
2016-10-18 13:42:14 +00:00 |
|
Daniil Gentili
|
737c4e286b
|
Applied fixes from StyleCI
|
2016-10-14 15:16:38 +00:00 |
|
danogentili
|
f3f7772f6e
|
Fixed serialization of arrays
|
2016-10-14 17:16:23 +02:00 |
|
Daniil Gentili
|
e7da05e617
|
Throw exception when trying to serialize unknown types
|
2016-10-14 12:29:03 +02:00 |
|
Daniil Gentili
|
6798e2f4c1
|
Applied fixes from StyleCI
|
2016-10-13 22:49:54 +00:00 |
|
danogentili
|
028cadc349
|
First step to initConnection
|
2016-10-14 00:49:43 +02:00 |
|
Daniil Gentili
|
55e3905495
|
Applied fixes from StyleCI
|
2016-10-13 21:22:32 +00:00 |
|
danogentili
|
0459498eb8
|
Fixed handling of certain responses when named params aren't used and beautified logging
|
2016-10-13 23:22:11 +02:00 |
|
Daniil Gentili
|
aed44236d1
|
Applied fixes from StyleCI
|
2016-10-11 15:30:11 +00:00 |
|
Daniil Gentili
|
a540b0a4cf
|
Improved logging, extended the tools class instead of calling its methods statically, improved generation and checking of message ids
|
2016-10-11 17:29:47 +02:00 |
|
danogentili
|
528faf16b0
|
Improved logging
|
2016-10-11 00:19:39 +02:00 |
|
Daniil Gentili
|
40d6deaa13
|
Applied fixes from StyleCI
|
2016-10-10 22:05:43 +00:00 |
|
danogentili
|
669e1d8a02
|
Made the prime module work natively (closes #6) thanks to https://github.com/LonamiWebs/Telethon/blob/master/telethon/crypto/factorizator.py
|
2016-10-11 00:05:28 +02:00 |
|
danogentili
|
e4bf3fcc32
|
Merge branch 'master' of https://github.com/danog/MadelineProto
|
2016-10-09 19:47:28 +02:00 |
|
danogentili
|
a7d7eae509
|
Fixed connection recreation
|
2016-10-09 19:47:19 +02:00 |
|
Daniil Gentili
|
4b136d5f42
|
Applied fixes from StyleCI
|
2016-10-09 17:40:33 +00:00 |
|
danogentili
|
adff633caf
|
Fixed datacenter class
|
2016-10-09 19:40:20 +02:00 |
|
danogentili
|
352a7a249f
|
update
|
2016-10-09 17:43:46 +02:00 |
|
Daniil Gentili
|
f27a79561f
|
Applied fixes from StyleCI
|
2016-10-09 15:42:53 +00:00 |
|
danogentili
|
f331931365
|
Refactored AuthorizationHandler and written DataCenter class
|
2016-10-09 17:42:39 +02:00 |
|
Daniil Gentili
|
246579d645
|
Applied fixes from StyleCI
|
2016-10-07 09:57:07 +00:00 |
|
2012mjm
|
b4cd001fe9
|
+ Add more comments to understand code (#13)
- Regularizing the code for better understanding
|
2016-10-07 11:56:58 +02:00 |
|
Daniil Gentili
|
74bc308215
|
Applied fixes from StyleCI
|
2016-09-24 15:58:31 +00:00 |
|
danogentili
|
b0a0e6d70c
|
save
|
2016-09-24 17:58:17 +02:00 |
|
danogentili
|
bedab1388d
|
Fixed salt
|
2016-09-15 15:00:08 +02:00 |
|
Daniil Gentili
|
669b6950a8
|
My fingers are typing some good stuff while my head is thinking about ponies
|
2016-09-14 23:44:12 +02:00 |
|
Daniil Gentili
|
607c966462
|
Applied fixes from StyleCI
|
2016-09-14 21:10:55 +00:00 |
|
danogentili
|
700f4ddbdc
|
Finished rewriting response management module
|
2016-09-14 23:10:34 +02:00 |
|
Daniil Gentili
|
10d7b3b40b
|
Applied fixes from StyleCI
|
2016-09-14 19:37:54 +00:00 |
|
Daniil Gentili
|
66e73e20a2
|
Rewriting connection module..
|
2016-09-14 21:37:16 +02:00 |
|
Daniil Gentili
|
97fe13daad
|
Rewriting connection module..
|
2016-09-14 21:37:08 +02:00 |
|
Daniil Gentili
|
6179589fb1
|
Removed save file
|
2016-09-14 12:25:28 +02:00 |
|
Daniil Gentili
|
778ff42de2
|
Improved response handling module
|
2016-09-14 12:24:21 +02:00 |
|
Daniil Gentili
|
369673b5e9
|
Applied fixes from StyleCI
|
2016-09-13 22:15:14 +00:00 |
|
danogentili
|
016bb106f6
|
Rewrote request/response module
|
2016-09-14 00:14:50 +02:00 |
|
Daniil Gentili
|
0489abba48
|
Applied fixes from StyleCI
|
2016-09-12 20:28:44 +00:00 |
|
Daniil Gentili
|
8366d2c3b6
|
Reorganized even more code
|
2016-09-12 22:28:27 +02:00 |
|
Daniil Gentili
|
5fe5673fb7
|
Applied fixes from StyleCI
|
2016-09-10 17:53:28 +00:00 |
|
danogentili
|
c51e4cb9d8
|
Cleaning up..:
|
2016-09-10 19:53:08 +02:00 |
|
Daniil Gentili
|
3a635d8bb0
|
Applied fixes from StyleCI
|
2016-08-23 09:51:08 +00:00 |
|
Daniil Gentili
|
09350d0cab
|
Trying to fix the handling of responses
|
2016-08-23 05:50:53 -04:00 |
|
Daniil Gentili
|
5070c4616e
|
Applied fixes from StyleCI
|
2016-08-22 20:05:53 +00:00 |
|
danogentili
|
4f3ce8332b
|
Trying to fix bugs
|
2016-08-22 22:05:41 +02:00 |
|
danogentili
|
e8ba8feb92
|
Starting to handle acks
|
2016-08-22 21:24:22 +02:00 |
|
danogentili
|
a9ba7a659e
|
Trying to fix seqno
|
2016-08-22 19:22:06 +02:00 |
|
Daniil Gentili
|
3177d57fdd
|
Applied fixes from StyleCI
|
2016-08-22 13:19:28 +00:00 |
|
Daniil Gentili
|
b4f4fa5fb2
|
Trying to fix msg ids
|
2016-08-22 15:19:10 +02:00 |
|
Daniil Gentili
|
01e54fe5ff
|
Applied fixes from StyleCI
|
2016-08-18 14:54:40 -04:00 |
|
danogentili
|
f8f24b9093
|
trying to fix seqno
|
2016-08-18 20:54:29 +02:00 |
|
Daniil Gentili
|
d96fab3c89
|
Applied fixes from StyleCI
|
2016-08-18 13:08:14 -04:00 |
|
Daniil Gentili
|
4bf443cd64
|
Moved data sending/recieving functions to Connection calss, implemented other security checks
|
2016-08-18 19:07:58 +02:00 |
|
Daniil Gentili
|
69b80a0d96
|
Applied fixes from StyleCI
|
2016-08-17 15:20:18 -04:00 |
|
danogentili
|
9789311157
|
Reorganized code
|
2016-08-17 21:19:54 +02:00 |
|
Daniil Gentili
|
bf0f0de385
|
Applied fixes from StyleCI
|
2016-08-17 13:20:00 -04:00 |
|
Daniil Gentili
|
8874d3ecfa
|
Implemented lots of security checks and reorganized code.
|
2016-08-17 19:19:43 +02:00 |
|
Daniil Gentili
|
7a1f7c1145
|
Implemented tcp full, tcp intermediate and tcp abridged connections
|
2016-08-15 15:43:58 +02:00 |
|
Daniil Gentili
|
1f858ac162
|
Applied fixes from StyleCI
|
2016-08-14 20:38:17 -04:00 |
|
Daniil Gentili
|
f99f432056
|
Finally fixed authorization
|
2016-08-15 02:37:59 +02:00 |
|
Daniil Gentili
|
2bc5dc62b7
|
Applied fixes from StyleCI
|
2016-08-14 15:38:40 -04:00 |
|
danogentili
|
a7acfb388c
|
Trying to make the ige module work
|
2016-08-14 21:38:32 +02:00 |
|
Daniil Gentili
|
994014f629
|
Applied fixes from StyleCI
|
2016-08-14 14:00:39 -04:00 |
|
danogentili
|
e284fb8ef6
|
Finally fixed req_DH_params method
|
2016-08-14 20:00:30 +02:00 |
|
danogentili
|
6994d614ac
|
Updated prime module
|
2016-08-11 23:11:06 +02:00 |
|
danogentili
|
3abf9fbed1
|
Remove var_dump
|
2016-08-10 14:55:50 +02:00 |
|
Daniil Gentili
|
bf218ae218
|
Applied fixes from StyleCI
|
2016-08-10 08:51:37 -04:00 |
|
danogentili
|
e7487ab60c
|
Fixed prime module, removed dependencies from repository, adapted for hhvm.
|
2016-08-10 14:51:28 +02:00 |
|
Daniil Gentili
|
a505017c45
|
Applied fixes from StyleCI
|
2016-08-10 07:57:28 -04:00 |
|
danogentili
|
ad1552df63
|
Updated error handlign
|
2016-08-10 13:56:35 +02:00 |
|
danogentili
|
e1fc751728
|
Refactor
|
2016-08-10 13:27:50 +02:00 |
|
Daniil Gentili
|
0457aa930e
|
Applied fixes from StyleCI
|
2016-08-09 21:14:58 -04: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 |
|
Daniil Gentili
|
7794a5ab2d
|
Applied fixes from StyleCI
|
2016-08-09 17:32:43 -04:00 |
|
danogentili
|
9d4c53795b
|
refactoring
|
2016-08-09 23:32:34 +02:00 |
|
Daniil Gentili
|
34922d8c1f
|
Applied fixes from StyleCI
|
2016-08-09 16:29:06 -04:00 |
|
danogentili
|
90af9857ff
|
Added tests, added layer 55 json
|
2016-08-09 22:28:50 +02:00 |
|
Daniil Gentili
|
f037212ac8
|
Fixed some bugs
|
2016-08-09 21:47:28 +02:00 |
|
danogentili
|
270a8acec1
|
Updating PrimeModuleg
|
2016-08-08 19:13:52 +02:00 |
|
Daniil Gentili
|
8ddc8237e5
|
Applied fixes from StyleCI
|
2016-08-08 13:08:42 -04:00 |
|
danogentili
|
bf93251ee6
|
Refactor
|
2016-08-08 19:08:35 +02:00 |
|
danogentili
|
1eb730d281
|
Removed libpy2php files
|
2016-08-08 18:24:41 +02:00 |
|
Daniil Gentili
|
3a0a7179d4
|
Applied fixes from StyleCI
|
2016-08-08 12:10:28 -04:00 |
|
danogentili
|
741f166640
|
Reorganized code
|
2016-08-08 18:10:13 +02:00 |
|
Daniil Gentili
|
7eb4bb8d49
|
Applied fixes from StyleCI
|
2016-08-08 10:09:22 -04:00 |
|
Daniil Gentili
|
651459edb0
|
Reorganized classes and started to write RSA class
|
2016-08-08 16:09:11 +02:00 |
|
Daniil Gentili
|
1527f5f95f
|
Applied fixes from StyleCI
|
2016-08-07 17:25:50 -04:00 |
|
danogentili
|
b133b72b7a
|
Update composer
|
2016-08-07 23:25:42 +02:00 |
|
Daniil Gentili
|
36c69a5dd8
|
Applied fixes from StyleCI
|
2016-08-07 17:23:30 -04:00 |
|
danogentili
|
4a8826bdad
|
Started to reorganize class
|
2016-08-07 23:23:10 +02:00 |
|