1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 09:34:38 +01:00
Commit Graph

41 Commits

Author SHA1 Message Date
Daniil Gentili
19517be069 update 2016-07-21 11:54:46 +02:00
danogentili
864b0bfec2 Update 2016-07-20 20:12:32 +02:00
danogentili
fe2078f566 update 2016-07-18 18:56:33 +02:00
danogentili
fced0ddc0f Update 2016-07-18 18:43:50 +02:00
danogentili
b3bfacea85 Fixed serialization/deserialization, now fixing mess in prime number generation module... 2016-07-18 17:11:37 +02:00
danogentili
0be0bf090f Update 2016-07-15 15:42:49 +02:00
danogentili
74ffc15157 Fixing substr 2016-07-15 15:01:32 +02:00
danogentili
24396b23f0 Implemented phpstruct and started turning everything into classes. 2016-07-14 14:22:46 +02:00
danogentili
a6bd5655c0 Translating... 2016-07-14 12:43:38 +02:00
danogentili
ddd92f5b30 Translating... 2016-06-28 17:21:10 +02:00
Daniil Gentili
d4bdc545a4 Translating... 2016-06-28 16:28:25 +02:00
Daniil Gentili
f13efd4e77 Translating... 2016-06-28 13:38:39 +02:00
Daniil Gentili
3b2ade94ba Got the sending to work 2016-06-28 03:10:15 +02:00
Daniil Gentili
28193b99ad Translating... 2016-06-27 22:52:07 +02:00
Daniil Gentili
f7f54791e5 Translating... 2016-06-27 18:53:15 +02:00
Anton Grigoryev
433e9bc5d3 Now it works in case if we have bad clock settings on the client. 2015-04-11 08:46:49 +03:00
Anton Grigoryev
308b76fce1 Now deserialized answer is an object.
name = tl_elem.predicate
It can help us  avoid keys collision in case of TL element has parameter "name"
2015-04-11 09:43:13 +03:00
lds56
4d8cd202f1 Add auth error handling 2015-04-04 15:18:45 +08:00
Anton Grigoryev
77a192e0a8 Naive TL message container implementation 2015-03-24 08:49:27 +03:00
Anton Grigoryev
262f0f5f2b Some bytearrays were replaced with bytes. 2015-03-17 20:26:22 +03:00
Anton Grigoryev
32b99a298c Could not extract type: vector<%Message> 2015-03-17 19:28:24 +03:00
Anton Grigoryev
a3c300ee3e Now works on Py2.7 2015-03-17 17:26:36 +03:00
Anton Grigoryev
94ed33bb15 Start of refactoring
A lot of work to be done
2015-03-17 02:02:01 +03:00
Anton Grigoryev
0d79c88636 Auth successful
Python 2 is not supported since to_bytes function in testing.py
2015-03-17 01:04:23 +03:00
Anton Grigoryev
e21614b1b2 crypt module refactor. need to be tested in py2 2015-03-16 17:59:59 +03:00
Sammy Pfeiffer
343d07240b Unified py3 checking of version (kind of) and now we support py3.2+ as I've tried it on a machine 2015-03-16 12:38:12 +01:00
Sammy Pfeiffer
438a1c294b Fixed something that didnt happen before in py2 2015-03-16 12:23:14 +01:00
Anton Grigoryev
d4e229b084 next step - to decrypt answer with AES 2015-03-13 19:21:49 +03:00
Anton Grigoryev
67ccf0f5ea 3-byte error in large string send fixed.
Now getting encrypted answer!
2015-03-13 16:58:27 +03:00
Anton Grigoryev
4c1b5bd54f tests directory 2015-03-13 13:39:31 +03:00
Sammy Pfeiffer
65683a1686 Adapted the current testing.py to work also with python2.7
This sets a 'way of working' on py3 to make it work on both versions (i think)
2015-03-12 22:42:24 +01:00
Anton Grigoryev
c01bb7871b Trying to go through step 4.
Generatin encrypted_data

But server doesn't answer ((
2015-03-12 19:29:56 +03:00
Anton Grigoryev
66a5577ab9 Some refactor
now testing.py looks almost just like i want.
2015-03-12 03:17:43 +03:00
Anton Grigoryev
24a1b9b36b Method_send implemented
I want to call methods like a functions in Python.
Then I can go further.
2015-03-12 02:51:24 +03:00
Anton Grigoryev
c1c5c5d18a testing.py works
please test it :)
2015-03-12 01:52:26 +03:00
Anton Grigoryev
904c6c0f6a Some comments to continue tomorrow 2015-03-11 20:06:53 +03:00
Anton Grigoryev
80b7367a02 TL Schema moved to JSON mode.
Important comments added
2015-03-11 19:55:55 +03:00
Anton Grigoryev
0f5927909d Credentials parser.
Now testing example is in REPO
2015-02-26 14:46:38 +03:00
Anton Grigoryev
7d22608fbd TL schema parsing. PQ factorization
TODO: dynamic methods and constructors generator
2015-02-26 14:03:41 +03:00
Anton Grigoryev
57afc246ee Send and receive messages successfully.
TL schema parsing

TODO: dynamic methods and constructors generator
2015-02-25 18:30:03 +03:00
Anton Grigoryev
ea8f34852f Initial commit3 2015-02-24 12:54:00 +03:00