Commit graph

  • f8f31ddb19
    Merge pull request #728 from MasihAkbari/master Andres G. Aragoneses 2018-03-19 17:22:17 +08:00
  • 27fcd8242c update README.md to support new PascalCase changes of API and some other fixes Masih Akbari 2018-03-19 07:57:59 +03:30
  • 6e566c006e . meysam navaei 2018-03-15 00:21:44 +03:30
  • 6836e563ad GetUserDialogsAsync() has new parameter offset so that when a dialogsSlice is received, the continuation can be asked for. Paulo Rogerio Panhoto 2018-03-12 17:59:42 -03:00
  • 8180ee94f0 sets the _looping flag to true right from the constructor so if Close() is called before the loop starts, the client will never loop for events. Paulo Rogerio Panhoto 2018-03-08 16:38:30 -03:00
  • 5a5cd55cf5 fix encryption(all) meysam navaei 2018-03-07 16:39:24 +03:30
  • 50e8eabe37 fix get contacts meysam navaei 2018-03-06 10:48:32 +03:30
  • 1d67984481 fix dh keys exchange meysam navaei 2018-03-05 23:33:22 +03:30
  • bd7f5f09eb Core(MtProtoSender): mark immutable fields as readonly Andres G. Aragoneses 2018-03-05 03:50:09 +08:00
  • e6250b1234 Core(MtProtoSender): remove mutation-based dangerous API Andres G. Aragoneses 2018-03-05 03:53:11 +08:00
  • 3762664c14 Normalize line endings Andres G. Aragoneses 2018-03-04 00:38:51 +08:00
  • 7cc169dd3b add tlconfog meysam navaei 2018-03-03 15:03:14 +03:30
  • caae34b9a1
    Merge e9957bcc1c into c1ce5e25ba ferferga 2018-03-02 15:36:11 +00:00
  • e9957bcc1c
    Added connection checks ferferga 2018-03-02 16:34:56 +01:00
  • c1ce5e25ba
    README.md: add link to gitter channel et-al Andres G. Aragoneses 2018-03-02 11:35:21 +08:00
  • 4c112086aa Adds another callback recurrent timed tasks. Paulo Rogerio Panhoto 2018-03-01 19:50:29 -03:00
  • 8b392f5159 Rethrows BadMessageExceptions when parsing container messages. Paulo Rogerio Panhoto 2018-03-01 15:01:38 -03:00
  • 9f25a7615e logs exception caught when handling a container message. Paulo Rogerio Panhoto 2018-03-01 14:45:25 -03:00
  • 01e61f3ea4 New flag to mask event reporting. This is necessary so that Initialisation doesn't get interrupted by any event. Paulo Rogerio Panhoto 2018-03-01 14:10:03 -03:00
  • bf568d80cc TelegramClient: change Connect() to return void instead of always true Andres G. Aragoneses 2018-03-01 23:41:35 +08:00
  • b98914ed55 Reports exception to logger where it used to go to console only. Paulo Rogerio Panhoto 2018-03-01 12:02:22 -03:00
  • 4ce0f72d6d TelegramClient: move the _sender null check to RequestWithDcMigration() Andres G. Aragoneses 2018-02-28 08:43:28 +08:00
  • aae366d33c Captures all network exceptions in a new module. Adds a BadMessageException so that it can be better traced. Paulo Rogerio Panhoto 2018-02-27 18:07:03 -03:00
  • 57b804e15a Adds a function to allow the app to terminate a loop and close the client. Paulo Rogerio Panhoto 2018-02-27 16:42:10 -03:00
  • 19f7230a52 comment RSA meysam navaei 2018-02-25 00:16:54 +03:30
  • f30dc2da43 Disconsider ping delay for purpose of next ping message. Paulo Rogerio Panhoto 2018-02-22 19:24:29 -03:00
  • b71a72343c * Added logging messages. * Implemented ping. Paulo Rogerio Panhoto 2018-02-22 18:14:07 -03:00
  • 2c8ea9c7ec Fixed event waiting with timeout. Paulo Rogerio Panhoto 2018-02-22 16:09:11 -03:00
  • 083e45585d Fixed buffer "sniffer" Paulo Rogerio Panhoto 2018-02-22 11:29:14 -03:00
  • 549b831577 Instead of relying on a cancellation token, which caused some confusion on client implementation, Loop will run within constrained intervals which will be the longer waiting period for a scheduled action to run. Paulo Rogerio Panhoto 2018-02-22 11:12:32 -03:00
  • a425d142f9 Additional log messages. Paulo Rogerio Panhoto 2018-02-20 18:43:36 -03:00
  • ef1f961592 Added debug logging to MtProtoSender, so that state machine can be "visible". Paulo Rogerio Panhoto 2018-02-20 15:25:20 -03:00
  • b15cba78b7
    Merge d501cc8d49 into fe2baf5110 navaei 2018-02-18 11:36:18 +00:00
  • d501cc8d49 fix newnonce m.navaei 2018-02-18 15:04:26 +03:30
  • 3f5adeb3e9 Clears idle handlers after they've been processed. Paulo Rogerio Panhoto 2018-02-14 17:04:01 -02:00
  • 1cb332adc5 fix nonce m.navaei 2018-02-14 17:39:27 +03:30
  • 491e8c10a7 fix Step2_DHExchange m.navaei 2018-02-14 12:15:14 +03:30
  • bf7d3c831d fix step 3 m.navaei 2018-02-13 11:00:00 +03:30
  • f64abc83ea fix step 3 m.navaei 2018-02-13 10:58:43 +03:30
  • 9fe43b52f9 [Core] Drop unused files LORDofDOOM 2018-02-10 00:37:38 +01:00
  • fee6aba931 Merge branch 'master' of https://github.com/sochix/TLSharp into netstandard LORDofDOOM 2018-02-10 00:35:29 +01:00
  • 798827aecd remove comments m.navaei 2018-02-08 10:34:57 +03:30
  • b9101b46da . m.navaei 2018-02-07 18:50:36 +03:30
  • 7bca8302a3 mereg from other branch m.navaei 2018-02-06 11:56:16 +03:30
  • d86d7609e0 add console projects meysam navaei 2018-02-06 00:57:15 +03:30
  • 5f9c107397
    Merge b19a9ef9ca into fe2baf5110 Vital7 2018-02-04 13:34:18 +00:00
  • fe2baf5110
    Update README.md Ilya Pirozhenko 2018-01-23 13:34:28 +03:00
  • c621164ff4 [Core] Fix appveyor build (VS2015 dont support netstandard) LORDofDOOM 2018-01-22 22:14:56 +01:00
  • bc306495ec [Core] Upgrade packages to support netstandard LORDofDOOM 2018-01-22 22:02:20 +01:00
  • d62e35df8e [Core] Change libs to netstandard -> Make it run on Linux, rename unused files to *.cs.bak LORDofDOOM 2018-01-22 21:48:48 +01:00
  • 15163c534f Handles correctly the case of null IdleLoop handler. Paulo Rogerio Panhoto 2018-01-17 15:41:53 -02:00
  • 4ca8b9568c Merge branch 'master' of https://github.com/ppanhoto78/TLSharp Paulo Rogerio Panhoto 2018-01-08 16:53:49 -02:00
  • 9ad192c6d6 * Adds a CancellationToken to the "event" API so that it can be interrupted. * There's also a new event that allows a client app to know whether it's safe to do requests without interfering with the event loop. Paulo Rogerio Panhoto 2018-01-08 16:51:33 -02:00
  • 936a26c6bd * HandleUpdate fixed for the case where there are no subscribers. * main event loop added to TelegramClient as a single function call. Paulo Rogerio Panhoto 2018-01-05 11:12:41 -02:00
  • 73022fc37c
    Update README.md ppanhoto78 2018-01-04 19:43:22 -02:00
  • bf20298109
    Update README.md ppanhoto78 2018-01-04 19:40:50 -02:00
  • 42ace63b28
    Update README.md ppanhoto78 2018-01-04 19:39:26 -02:00
  • 76362061f6 Updated nuget packages Paulo Rogerio Panhoto 2018-01-03 19:38:47 -02:00
  • f871597de7 API modified to receive events instead of relying on polling to update chats. Paulo Rogerio Panhoto 2018-01-02 18:04:21 -02:00
  • 017f5ddc1b undone the 'async' changes. Paulo Rogério Panhoto 2017-12-29 11:39:50 -02:00
  • cf983474b4 Fixed receive only call. Paulo Rogerio Panhoto 2017-12-28 19:31:13 -02:00
  • a4a5ae4a2e First update event attempt. Paulo Rogerio Panhoto 2017-12-28 18:15:13 -02:00
  • d12da6d2f4 Merge a69db6ba27 into 687eca968a ppanhoto78 2017-12-27 19:34:42 +00:00
  • a69db6ba27 TelegramClient exposes Session as a property so that TLUser can be retrieved by application in case the sign in process is bypassed. Paulo Rogerio Panhoto 2017-12-27 17:32:27 -02:00
  • a8a82f39a5 Modifications to Session and TelegramClient to allow a customised Session object to be passed on to Telegram Client and modify, in example, IP address and port. Paulo Rogerio Panhoto 2017-12-26 15:27:05 -02:00
  • a6a9edcac7 Merge 302762d1dd into 687eca968a Afshin Arani 2017-12-23 04:29:42 +00:00
  • 431d495e1b Merge 2e587678f1 into 687eca968a agolaszewski 2017-12-20 11:18:59 +00:00
  • 2e587678f1 change hash value Andrzej Gołaszewski 2017-12-20 12:15:34 +01:00
  • ca3a71e39a update to layer 71 code formatting Andrzej Gołaszewski 2017-12-20 12:06:31 +01:00
  • 687eca968a
    Merge pull request #659 from PROger4ever/master Andres G. Aragoneses 2017-12-18 00:09:43 +08:00
  • 7cbc40a090 Make Session constructor public for custom ISessionStore implementations Load() method in ISessionStore requires public constructor of class Session in some cases. E.g., loading session from a db or a key-value store, manual loading from text-file, JSON/XML and so on. PROger4ever 2017-12-16 23:15:16 +05:00
  • a3b58d6bb0 fix forward mesages meysam navaei 2017-12-15 15:37:49 +03:30
  • 7a01fa84b4 add request forward meysam navaei 2017-12-14 20:38:49 +03:30
  • 91f837b384 . Meysam Navaei 2017-12-13 17:42:20 +03:30
  • acf53742f6 add forward message method Meysam Navaei 2017-12-04 16:17:27 +03:30
  • b19a9ef9ca
    Adds method to get SelfUser Vital7 2017-12-02 18:30:13 +03:00
  • b12ecde8e6 Added support for custom server address sh2ezo 2017-11-23 20:03:28 +03:00
  • 0940d3d982 Prepare requests for re-sending after a DC migration Robert Massa 2017-11-20 21:27:23 +01:00
  • 4706a52c1e Prepare requests for re-sending after a DC migration Robert Massa 2017-11-20 21:27:23 +01:00
  • b55b28fa5d
    Merge pull request #629 from aarani/master Andres G. Aragoneses 2017-11-16 19:16:46 +08:00
  • d15d87833e Remove Old FileMigrationException Handler Afshin Arani 2017-11-16 00:34:01 +03:30
  • 1877c9061c Handle Import & Export Authorization While Reconnecting Afshin Arani 2017-11-09 04:21:10 -08:00
  • 302762d1dd
    Propose new way to support project Afshin Arani 2017-11-09 16:28:41 +03:30
  • 659becfd51 Make TLVector implement IList Afshin Arani 2017-11-09 01:52:29 -08:00
  • 02953b8eea Make TLVector implement IList Afshin Arani 2017-11-09 01:52:29 -08:00
  • d769dd3c2f Generator Must Respect MS .NET API guidelines Afshin Arani 2017-11-09 02:35:15 -08:00
  • 509045779c Generator Must Respect MS .NET API guidelines Afshin Arani 2017-11-09 02:35:15 -08:00
  • 057d3714bd Merge e708464857 into 3ba3ea53fd Afshin Arani 2017-11-09 09:59:14 +00:00
  • e708464857 Make TLVector Implement IList Afshin Arani 2017-11-09 01:52:29 -08:00
  • 5161005b4f Merge 9cd6fddede into 3ba3ea53fd Afshin Arani 2017-11-09 09:42:42 +00:00
  • 9cd6fddede TL-Layer: Update To Layer 71 Afshin Arani 2017-11-09 01:21:33 -08:00
  • b740546bf5 Merge 4146459be2 into 3ba3ea53fd MichaelManley 2017-11-08 15:19:56 +00:00
  • 3ba3ea53fd Handle DataCenterMigration exceptions in all methods exposed by TelegramClient Robert Massa 2017-11-07 16:34:40 +01:00
  • 4a52addf6f Handle DataCenterMigration exceptions in all methods exposed by TelegramClient Robert Massa 2017-11-07 16:34:40 +01:00
  • 618824594f Merge 6c7ec7f91a into 0015cf494b Alexey Trofimenko 2017-10-29 14:49:23 +00:00
  • 6c7ec7f91a Fix V3029 warnings from PVS-Studio Static Analyzer AdmAlexus 2017-10-29 19:45:52 +05:00
  • dc78183897 Merge d1adb0ce52 into 0015cf494b TERMI80 2017-10-19 11:28:39 +00:00
  • d1adb0ce52 Add files via upload TERMI80 2017-10-19 13:06:58 +02:00
  • 096501ed62 Delete TlsTelegramAut TERMI80 2017-10-19 12:55:14 +02:00
  • 2dfbe752de Merge 8cbe77fef6 into 0015cf494b TERMI80 2017-10-19 10:27:06 +00:00