Commit graph

229 commits

Author SHA1 Message Date
Ilya P 6d106b4425 Merge fix 2016-10-23 14:10:54 +03:00
Ilya P a53800ba16 Merge remote-tracking branch 'refs/remotes/origin/master' into pr/258
# Conflicts:
#	TLSharp.Tests/TLSharpTests.cs
2016-10-23 14:09:16 +03:00
Ilya Pirozhenko 4046109761 Merge pull request #259 from knocte/avoidNRE
Tests: avoid NullReferenceException
2016-10-23 14:05:59 +03:00
Ilya Pirozhenko b7f3da1756 Update README.md 2016-10-23 13:46:28 +03:00
Andres G. Aragoneses 1719fd9f19 Tests: avoid NullReferenceException
Instead of throwing cryptic NullReferenceException
when this test fails, let's give more information
about what is going on, to the developer.
2016-10-23 18:44:37 +08:00
Ilya P f6ad50ce94 - added getFile method 2016-10-23 13:29:18 +03:00
Andres G. Aragoneses bbc84f0748 Tests: put API settings also in app.config
For these tests to pass you not only needed to change
the app.config file but the .cs file as well with your
API settings (Hash & ID).

So let's put everything of them in the app.config so
it's easier to discover.
2016-10-23 18:11:26 +08:00
Ilya P 1d6035aeb7 - fix file Uploader
- refactor file uploader
- added test for file uploading
2016-10-23 13:02:44 +03:00
Andres G. Aragoneses d96daec6d1 Tests: remove unneeded usings 2016-10-23 17:00:52 +08:00
Ilya P 7fd0413c7e - removed non-generic TLVector
- write length of Vector during Serialization
2016-10-23 11:17:59 +03:00
Ilya P f40034ad09 Merge remote-tracking branch 'refs/remotes/origin/master' into pr/250
# Conflicts:
#	TLSharp.Core/TLSharp.Core.csproj
2016-10-23 11:06:00 +03:00
Ilya Pirozhenko 6c54164726 Update README.md 2016-10-23 10:59:20 +03:00
Ilya Pirozhenko 1b90e64ec5 Merge pull request #255 from knocte/netFrameworkVersion
build: switch to lower framework version (4.5.2 -> 4.5)
2016-10-23 10:56:51 +03:00
Ilya Pirozhenko 92e5bb32d5 Merge pull request #256 from knocte/improveExceptionHandlingForPhoneMigrateX
Improve exception handling
2016-10-23 10:56:19 +03:00
Andres G. Aragoneses 77867b44e6 Use better exception handling
Parsing the message of an exception to decide what to do
next is a bad practice, because it's easy that the message
might be changed by mistake in the future. To enforce the
coupling in a stronger way it's better to use exceptions
of different type depending on the kind of error, so that
we rely on the compiler enforcing the behaviour when doing
changes in this error handling areas in the future.

This also makes the code a bit more simple and readable.
2016-10-22 22:00:15 +08:00
Andres G. Aragoneses b129e655f8 build: switch to lower framework version (4.5.2 -> 4.5)
This change is good because:
a) It's better to target a lower target framework version if
the project doesn't necessarily depend on the new features
of the newer versions (so, bigger target audience).
b) It lets compile the project with implementations of the
.NET Framework that are not compatible with 4.5.2. For example,
after this change I can successfully build TLSharp with the
Mono v4.2.1 that comes in my Ubuntu Linux 16.04.1.
2016-10-21 23:58:21 +08:00
Afshin Arani 7d436e3954 Merge pull request #1 from sochix/master
Ilya's Works
2016-10-16 21:22:44 +03:30
Ilya Pirozhenko bbc6308a54 Update README.md 2016-10-15 13:37:01 +03:00
Ilya P 40c1725e41 - Layer 53
- Fix bug in generator
- Fix DC switching
- change default server
2016-10-15 13:35:54 +03:00
Afshin Arani a20a73f29f Remove GC.Collect() 2016-10-14 11:48:06 +03:30
Afshin Arani 79b02b9295 Upload Helper 2016-10-14 11:45:33 +03:30
Afshin Arani 23e647e81c Layer-57 2016-10-13 21:03:16 +03:30
Ilya Pirozhenko 0752c60082 Update README.md 2016-10-13 09:20:55 +03:00
Ilya Pirozhenko 76b1935bf7 Update README.md 2016-10-13 09:19:51 +03:00
Ilya P 169e293757 added link to scheme 2016-10-11 18:03:12 +03:00
Ilya P c578ece37e readme update 2016-10-11 17:41:51 +03:00
Ilya P 066e9cacfe - Updated README 2016-10-11 17:31:30 +03:00
Ilya P 0351c0f1df Add AsyncSuffix to methods 2016-10-11 16:32:38 +03:00
Ilya P 2ffa954246 Fixes 2016-10-11 16:28:57 +03:00
Ilya Pirozhenko a14dfdc1fe Merge pull request #237 from aarani/master
Bug Solved
2016-10-11 13:05:43 +03:00
Afshin Arani e626e76a66 Temporary Update for TLVector Deserialization Bug 2016-10-06 14:21:21 +03:30
The Gitter Badger cd48986200 Add Gitter badge 2016-10-02 19:43:02 +03:30
Afshin Arani 85a29f505a Update Link 2016-10-02 18:01:37 +03:30
Afshin Arani 82d65f5a34 Add My Copyright 2016-10-02 18:00:41 +03:30
Afshin Arani 8093c8a1f1 Update README.md 2016-10-02 17:58:39 +03:30
Afshin Arani 58143ad978 Update README.md 2016-10-01 15:38:21 +03:30
Ilya Pirozhenko edea686c57 Merge pull request #216 from aarani/develop
Redesigned TLSharp With Layer 53
2016-10-01 10:11:30 +03:00
Afshin Arani 6af7c66a81 Redesign Everything 2016-09-24 17:08:26 +03:30
Afshin Arani b5472c6cd7 Add DownloadFileRequest Class 2016-09-22 17:09:56 +03:30
Afshin Arani 56b2092b9b Merge branch 'develop' of https://github.com/aarani/TLSharp into develop 2016-09-22 17:05:40 +03:30
Afshin Arani a6478c44f8 Merge pull request #1 from sochix/master
Merge pull request #206 from steavy29/merge-pr203-fix
2016-09-22 17:04:31 +03:30
Afshin Arani 1c2e354967 Update Everything 2016-09-22 17:01:59 +03:30
Afshin Arani f083fb9b30 Remove Test Project 2016-09-22 16:59:28 +03:30
Ilya Pirozhenko 86d373db26 Merge pull request #206 from steavy29/merge-pr203-fix
Merge fix.
2016-09-16 20:48:20 +03:00
steavy29 78e3a7794f Merge fix. 2016-09-14 14:57:07 +03:00
Ilya Pirozhenko 8411235fe1 Merge branch 'pr/203'
Conflicts:
	README.md
	TLSharp.Core/TelegramClient.cs
	TLSharp.Tests/TLSharpTests.cs
2016-09-13 22:24:00 +03:00
Ilya Pirozhenko 148828edc1 Merge branch 'pr/198'
Conflicts:
	TLSharp.Tests/TLSharpTests.cs
2016-09-13 22:17:31 +03:00
steavy29 24653e4cdc Updated readme.md 2016-09-13 13:50:04 +03:00
steavy29 1c31794751 Added GetUpdatesDifference and GetUpdatesState functions implementations. 2016-09-13 13:34:32 +03:00
Ilya Pirozhenko d6331c2352 Merge pull request #196 from steavy29/signup-impl
Added SignUp implementation.
2016-09-11 14:58:16 +03:00