Commit Graph

  • 8eabdad711 Remove confussion on issue template suggesting to remove last block Lonami Exo 2017-09-09 10:40:30 +0200
  • bce88446ef Fix incorrect condition causing updates to be ignored v0.13.2 Lonami Exo 2017-09-08 18:43:37 +0200
  • 54ba0661c6 Fix wrong variable name causing .connect() to fail Lonami Exo 2017-09-08 18:28:31 +0200
  • fa4042a80e Update to v0.13.2 Lonami Exo 2017-09-08 13:22:05 +0200
  • 2dea665721 New way to work with updates (#237) Lonami 2017-09-08 13:11:04 +0200
  • c81537bed0 Simplify the workflow with UpdateState exposing a single flag param Lonami Exo 2017-09-08 12:54:38 +0200
  • 25bbb20b0c Use RLocks properly on MtProtoSender (only needed on net IO) Lonami Exo 2017-09-07 21:32:46 +0200
  • 16a5ab3070 Add back the periodic PingRequest Lonami Exo 2017-09-07 21:23:37 +0200
  • a24b4020fe Allow adding update handlers without the need to poll updates Lonami Exo 2017-09-07 20:29:51 +0200
  • b8e881b6b6 Add basic updates processing to ignore updates with lower .pts Lonami Exo 2017-09-07 20:17:40 +0200
  • d237375208 Allow adding callback methods to UpdateState Lonami Exo 2017-09-07 18:58:54 +0200
  • d4f36162cd Create and use UpdateState to .process() unhandled TLObjects Lonami Exo 2017-09-07 18:49:08 +0200
  • 49e884b005 Raise AssertionError if trying to invoke requests from ReadThread Lonami Exo 2017-09-07 18:25:17 +0200
  • 06b2834c02 Fix GetContactsRequest using str instead int (layer 70->71) (#234) Lonami Exo 2017-09-07 10:44:54 +0200
  • edf325d580 Fix username regex (#235) Birger Jarl 2017-09-07 10:41:49 +0300
  • 8fe6724448 Fixed username regex Birger Jarl 2017-09-07 00:25:25 +0300
  • a93abed737 Add ISSUE_TEMPLATE for GitHub Lonami Exo 2017-09-05 19:14:24 +0200
  • cd40f4a949 Add RPCError for MESSAGE_NOT_MODIFIED (#231) xkdnyan 2017-09-06 00:06:35 +0900
  • 755c4e3b57 Handle RPCError MESSAGE_NOT_MODIFIED (400) xkdnyan 2017-09-05 23:55:18 +0900
  • 49555ad018 Stick to the offset and limit CdnFileHashes dictates (#222) Lonami Exo 2017-09-05 16:43:53 +0200
  • 2924912931 Fix CDN downloads not always calling GetCdnConfigRequest (#222) Lonami Exo 2017-09-05 16:11:02 +0200
  • d5cd59de8a Update to v0.13.1 v0.13.1 Lonami Exo 2017-09-04 20:34:05 +0200
  • a38381665c Support invoking requests from within the ReadThread (fixes #226) Lonami Exo 2017-09-04 20:28:41 +0200
  • fe86b88bef Make .sign_up() return the logged user just like .sign_in() Lonami Exo 2017-09-04 18:07:20 +0200
  • 15fd5390ae Optimize imports Lonami Exo 2017-09-04 17:18:33 +0200
  • 97cab7347b Make lint happier Lonami Exo 2017-09-04 17:10:04 +0200
  • 7f700c3bc1 Remove unused attributes and methods from the base TLObject class Lonami Exo 2017-09-04 16:39:16 +0200
  • 0e45f46ad5 Properly ignore core types when generating code Lonami Exo 2017-09-04 16:29:00 +0200
  • e8cdcf369d Sort generated code by name for more predictable results Lonami Exo 2017-09-04 15:11:46 +0200
  • c5b562d4f6 Move the from tlobject import TLObject to only the top of the file Lonami Exo 2017-09-04 14:08:36 +0200
  • 64f1031a45 Move comments from auto-generated code to the generator itself Lonami Exo 2017-09-04 14:05:30 +0200
  • c3f679597c Move the auto-generated notice to only the top of the file Lonami Exo 2017-09-04 13:57:40 +0200
  • e83b250a22 Replace generated directory modules with simply files Lonami Exo 2017-09-04 13:51:47 +0200
  • 7eab28206b Change the code generator to use a single file per namespace Lonami Exo 2017-09-04 13:44:39 +0200
  • dc238df2e0 Update to v0.13 v0.13 Lonami Exo 2017-09-04 12:18:45 +0200
  • a5d86b4572 Update to layer 71 Lonami Exo 2017-09-04 11:54:37 +0200
  • 6f0bd14c2f Use an Enum for the ConnectionMode and support specifying it Lonami Exo 2017-09-04 11:24:10 +0200
  • 9ad42a1e41 Add libssl interface for AES CTR Christian Stemmle 2017-09-03 21:03:58 +0200
  • 62a52679f4 Ensure the state of the requests is clean before invoking them Lonami Exo 2017-09-03 13:45:13 +0200
  • 27408b46da Only reconnect from background thread if .disconnect wasn't called Lonami Exo 2017-09-03 13:44:52 +0200
  • 626778bd32 Ignore EBADF when closing the socket Lonami Exo 2017-09-03 13:44:29 +0200
  • 68cdc9eaf1 Treat OSError.errno == EBADF as a ConnectionResetError Lonami Exo 2017-09-03 11:54:26 +0200
  • f8f389c850 Fix ack requests removing pending requests when they shouldn't Lonami Exo 2017-09-03 11:21:42 +0200
  • db6fd4bdc2 Fix RPC errors being ignored due to modifying the wrong attribute Lonami Exo 2017-09-03 11:19:28 +0200
  • 83f3f66113 Fix MtProtoSender never clearing self._pending_receive requests Lonami Exo 2017-09-03 10:50:55 +0200
  • fa34c4bb77 Handle ConnectionResetError on background thread (removed on 9bc1f64) Lonami Exo 2017-09-03 10:05:18 +0200
  • 2a5d08b23d Turn socket.timeout error into the more general TimeoutError Lonami Exo 2017-09-03 10:01:00 +0200
  • 494b82ea9d Fix check to avoid (dis)connecting if already (dis)connected Lonami Exo 2017-09-03 09:59:37 +0200
  • 4de4026bb3 Move the "constant read" thread to the main TelegramClient Lonami Exo 2017-09-03 09:56:10 +0200
  • 69d182815f Merge branch 'constant_read' Lonami Exo 2017-09-02 21:51:11 +0200
  • 9bc1f64efe Move update handling to the MtProtoSender, being functional again Lonami Exo 2017-09-02 21:45:27 +0200
  • 21eaf8bd72 Allow setting whether the MtProtoSender should use constant_read Lonami Exo 2017-09-02 21:27:11 +0200
  • 863d2e8368 Make confirm_received a flag, avoid race conditions, fix bg RPCError Lonami Exo 2017-09-02 20:41:00 +0200
  • b908296efa Remove unused TcpClien.read(timeout=...) param, change other accessors Lonami Exo 2017-09-02 19:33:42 +0200
  • 36f51e1e3f Remove ability to TcpClient.cancel_read() Lonami Exo 2017-09-02 19:14:11 +0200
  • cc280a129d Remove TcpClient.write/read shared locks Lonami Exo 2017-09-02 18:49:29 +0200
  • 43b79c3d36 Add a thread to constantly read messages from the network Lonami Exo 2017-09-02 18:27:22 +0200
  • 49c5cf745f Fix SignUpRequest using an incorrectly named parameter Lonami Exo 2017-09-02 16:53:29 +0200
  • 0197271f74 Fix SignUpRequest using an incorrectly named parameter Lonami Exo 2017-09-02 16:52:56 +0200
  • 5f4e79542f Restore updates thread on reconnection and fix restarting it alexvelickiy 2017-08-31 19:57:32 +0300
  • 9fe7a53303 Fixed multiple start() of same UpdatesThread. Alex Velickiy 2017-08-31 19:28:39 +0300
  • 876ec218f8 added restoring running updates thread on reconnection. Alex Velickiy 2017-08-31 17:31:18 +0300
  • bea1b7f526 Preserve backward compatibility with old .sign_in() code Lonami Exo 2017-08-31 10:38:53 +0200
  • 5f636fdf31 Let .sign_in() call .send_code_request() Lonami 2017-08-31 10:34:09 +0200
  • 8bff10d956 Fix get_input_* not skipping None entities (#215) Lonami Exo 2017-08-30 11:12:25 +0200
  • b4811261e9 Set a known buffer size if possible on BinaryWriter()s Lonami Exo 2017-08-29 20:25:49 +0200
  • aa67364e26 Fixes++++ (that's how I commit sorry <3) Daniil Gentili 2017-08-29 16:49:11 +0200
  • 9259811d96 First pony commit Daniil Gentili 2017-08-29 16:42:32 +0200
  • 7ad2ece168 Simplify modifying TelegramClient.session through its __init__ Lonami Exo 2017-08-29 16:06:14 +0200
  • 22673aec0e Replace the old Session+pickle with JsonSession (name change) Lonami Exo 2017-08-29 15:59:08 +0200
  • 82304b18eb Attempt at supporting IPv6 (#211 and #112) Lonami Exo 2017-08-29 13:49:41 +0200
  • 592e107f52 Recreate the TCP socket only when needed Lonami Exo 2017-08-29 13:35:56 +0200
  • cff7655a10 Add support for TCP intermediate mode (#112) Lonami Exo 2017-08-29 11:39:44 +0200
  • a3c2c462a7 Add support for tcp_obfuscated on the Connection class (#112) Lonami Exo 2017-08-28 21:44:02 +0200
  • fa22a3f848 Create a centralized Connection class, replaces TcpTransport (#112) Lonami Exo 2017-08-28 21:23:31 +0200
  • bc72e52834 Reuse the AESModeCTR class on CdnDecrypter Lonami Exo 2017-08-28 20:30:33 +0200
  • 5404670469 Implement and use TCP obfuscated as a PoC (#112) Lonami Exo 2017-08-28 20:25:44 +0200
  • adfebfc82c Remove ThreadTcpClient test (committed by mistake) Lonami Exo 2017-08-28 17:45:54 +0200
  • 2c6377e069 Update to v0.12.2 v0.12.2 Lonami Exo 2017-08-28 17:29:08 +0200
  • 06b2d5d786 Fix CDN client not being disconnected Lonami Exo 2017-08-28 16:33:23 +0200
  • 8afcd0b91f Turn HashChecker into CdnDecrypter to abstract CDN-specific aspects Lonami Exo 2017-08-28 16:25:10 +0200
  • b504ce14bc Verify the files downloaded from CDNs and raise on sha256 mismatch Lonami Exo 2017-08-28 14:17:31 +0200
  • 00b5b5021b Report errors to pwrtelegram.xyz by default Lonami Exo 2017-08-25 15:34:20 +0200
  • 2517b9787d TLObject.stringify() was showing bytes as lists Lonami Exo 2017-08-24 20:56:08 +0200
  • 2e55998d7f Update to v0.12.1 v0.12.1 Lonami Exo 2017-08-24 19:09:37 +0200
  • 633bf4684a Add a new super simple README.rst Lonami Exo 2017-08-24 19:08:21 +0200
  • b05b43153c Update README.rst Lonami Exo 2017-08-24 18:43:06 +0200
  • 98bbcb6cd6 Favour rsa module over PyCrypto since the former is pure Python Lonami Exo 2017-08-24 18:39:38 +0200
  • b7dbf9767e Fix TelegramClient.sign_in not accepting an integer for the code Lonami Exo 2017-08-24 18:05:32 +0200
  • 4384ccb132 Tidy up TelegramBareClient.download_file CDN's mess Lonami Exo 2017-08-24 18:00:27 +0200
  • d5323c5506 Enhance a lot choosing a valid path when downloading files Lonami Exo 2017-08-24 17:44:38 +0200
  • 8cfc4d0fda Add a unit test for CDN-downloads Lonami Exo 2017-08-24 16:12:38 +0200
  • e5e7715a31 Decrypt files downloaded from CDNs (closes #208) Lonami Exo 2017-08-24 15:50:44 +0200
  • 940a2896e8 Part size when downloading files is now 4096 bytes, not 1024 Lonami Exo 2017-08-24 13:15:33 +0200
  • 09272ef6fc Support connecting and downloading encrypted files from CDNs (#208) Lonami Exo 2017-08-24 13:02:48 +0200
  • ba32d6f270 Add crypto test to ensure calculating RSA fingerprints works Lonami Exo 2017-08-23 22:26:31 +0200
  • d5fd147881 Add a few more default RSA public keys from Telegram Lonami Exo 2017-08-23 21:50:33 +0200
  • 66876b6722 Use pycrypto's RSA instead the old weird RSA implementation Lonami Exo 2017-08-23 21:49:27 +0200
  • 0cae62f091 Fix silly bug with two wrongly ordered lines (on download document) Lonami Exo 2017-08-23 16:06:41 +0200
  • 571d8bc21f Update to v0.12 v0.12 Lonami Exo 2017-08-23 01:47:52 +0200