Brendan Forster
4d77f0eee1
suppressing a bunch of stuff because murtaugh's law
2015-05-22 17:03:21 +09:30
Brendan Forster
7f95f55d47
massaging and fighting with fxcop
2015-05-22 16:46:24 +09:30
Darrel
14fe8bcbcd
First attempt to reuse HttpClient
2015-05-22 16:33:48 +09:30
Kristian Hald
3d56bbf87f
Merge remote-tracking branch 'upstream/master' into pr-495ext
...
Conflicts:
Octokit/Octokit-MonoAndroid.csproj
Octokit/Octokit-Monotouch.csproj
2015-05-09 12:51:28 +02:00
Phil Haack
e6ce664e78
Merge pull request #796 from octokit/deprecate-httpclient-timeout
...
deprecate httpclient timeout in favour of cancellation token
2015-05-08 12:47:57 -07:00
Brendan Forster
b51598d8b1
run the specific checks first for known binary content
2015-05-08 18:25:58 +09:30
Henrik Andersson
3a915fe6cf
🚦 for following redirects
2015-05-08 18:31:46 +10:00
Henrik Andersson
09d1932b4a
Add method for getting repo archive link
2015-05-08 18:31:44 +10:00
Brendan Forster
288839543d
💄 moving things
2015-05-08 17:59:28 +09:30
Brendan Forster
a9abd0942e
move address generation into message setup
2015-05-08 17:56:42 +09:30
Brendan Forster
fc8319cc33
define a cancellation token for the request
2015-05-08 17:56:41 +09:30
csware
c710c46676
Allow to download zip-attachments
...
Fixes issue #784 .
2015-04-27 18:58:09 +02:00
Haacked
119d331b44
Somebody take the keyboard away from me
2015-04-21 16:25:08 -07:00
Haacked
afd5f8ab56
Help POST learn about 2fa codes
2015-04-21 16:12:30 -07:00
Haacked
408e95c421
Implement Authorization Create method
2015-04-21 13:51:25 -07:00
Haacked
23bb76a112
Implement Authorizations Delete method with 2fa code
...
When we delete an authorization, we often need to use basic
authentication because the client might not have the associated token
stored anymore. If 2fa is enabled, the client needs to be able to pass
that along.
2015-04-21 13:40:26 -07:00
Kristian Hald
261e47f2f5
Implemented data less 'Post' method and used in ping and test hook calls.
2015-04-20 23:19:59 +02:00
Haacked
93dd16f829
Add more info to TwoFactorChallengeFailedException
...
I was running into an issue where i wanted more information from the
TwoFactorChallengeFailedException. It turns out, the exception could
easily provide both the TwoFactorType AND the authentication code
provided. So 💥 !
2015-04-19 19:42:13 -07:00
Brendan Forster
0fd4e726d9
Merge pull request #737 from DaveWM/activity-payload
...
Activity payload
2015-03-11 16:55:46 +11:00
David Martin
c55c70f284
updated event type names
2015-03-07 18:00:22 +00:00
David Martin
2ee42b553f
removed unused references, fixed namespaces, added 'forkee' to customdictionary.xml
2015-03-04 23:29:21 +00:00
David Martin
ecc3aeec62
added more payload types and tests
2015-03-02 22:15:13 +00:00
David Martin
3490f86789
added payload to activity, implemented commit_comment type, and updated json serializer strategy (with test)
2015-03-02 18:19:59 +00:00
Brendan Forster
f257ec121c
Merge pull request #734 from octokit/release-candidate
...
0.7.2 - Can't Handle My Scale
2015-03-01 21:38:01 +10:30
Brendan Forster
c595f26515
unshipping preview API changes due to excessive paging introduced in some situations
2015-03-01 20:04:35 +09:30
Jan Ove Skogheim
46e572131f
Ignore underscores when parsing enums under deserialization.
2015-02-25 22:36:18 +01:00
Brendan Forster
4f1dde078a
Merge pull request #702 from octokit/release-candidate
...
0.7.0 - All Torn Down
2015-02-24 09:48:25 +10:30
Brendan Forster
491c1707a7
preview API first, yo
2015-02-23 09:20:36 +09:30
joshvera
53faa6a68a
add moondragon as an acceptable content-type
2015-02-19 15:41:21 -05:00
Brendan Forster
c5adaffe8a
them newlines
2015-02-16 09:27:00 +09:30
Brendan Forster
08a2b143d7
missed passing this parameter down
2015-01-29 16:25:03 +09:30
Brendan Forster
b8bb2a8277
Merge branch 'master' into new-authorization-api
...
Conflicts:
Octokit.Tests/Clients/AuthorizationsClientTests.cs
Octokit.Tests/Reactive/AuthorizationExtensionsTests.cs
Octokit/Http/Connection.cs
Octokit/Models/Response/Authorization.cs
Octokit/Octokit-Mono.csproj
Octokit/Octokit-MonoAndroid.csproj
Octokit/Octokit-Monotouch.csproj
Octokit/Octokit-Portable.csproj
Octokit/Octokit-netcore45.csproj
2015-01-28 09:16:16 +09:30
Haacked
80d8ab8463
Make some things not public
2015-01-18 10:41:47 -08:00
Haacked
cf27bf510a
It's only a Type, not a Type Type
2015-01-16 14:40:04 -08:00
Haacked
fa363b169f
Remove StatusCode property from ApiResponse
...
We really want ApiResponse to be a composite of IResponse and the
deserialized content.
2015-01-04 19:25:43 -08:00
Haacked
6c05651d64
Remove the redundant ApiInfo property
2015-01-04 19:15:44 -08:00
Haacked
4653e798a7
Make Response.StatusCode readonly
2015-01-04 19:15:42 -08:00
Haacked
89e8fdfeaf
Make Response.Body readonly
2015-01-04 19:15:40 -08:00
Haacked
c2d51570fd
Make IResponse.Headers a readonly dictionary
2015-01-04 19:13:35 -08:00
Haacked
aace9902b9
Make IResponse.ContentType readonly
2015-01-04 19:13:34 -08:00
Haacked
ff3506f3e8
Make some of the IResponse properties readonly
2015-01-04 19:13:32 -08:00
Haacked
fbfc3fcd2c
Remove empty ApiInfo constructor
2015-01-04 19:06:51 -08:00
Haacked
53a6516de2
Change IResponse.Body to object
...
This removes the awkward Body and BodyAsObject property combo we used to
have.
2015-01-04 19:06:50 -08:00
Haacked
be9f446df4
Move Response to its own file and Internal namespace
...
A class named "Response" could conflict with a lot of things.
2015-01-04 19:03:25 -08:00
Haacked
4c8bab20eb
IApiResponse no longer inherits IResponse
2015-01-04 18:58:53 -08:00
Haacked
09d5c236a4
Rename IResponse<T> to IApiResponse
2015-01-04 18:33:48 -08:00
Haacked
49f95d40f1
Remove Type parameter for IHttpClient send method
...
This keeps the IHttpClient interface simpler and ensures the
deserialization responsibility lies outside of that class. It only
needed the Type parameter for a special case that could be handled in a
better way.
2015-01-04 18:22:05 -08:00
Haacked
37dec8491c
Read binary data based on response content type
...
The HttpClientAdapter class shouldn't need to know anything about the
type we'll eventually deserialize to. In fact, reading binary data was a
little hack added _only_ to support images such as emoji and not for
general purpose content.
2015-01-04 18:22:05 -08:00
Brendan Forster
037aeb7b1e
route GetOrCreateApplicationAuthentication to new endpoint, if user has set a Fingerprint
2015-01-04 14:36:58 +09:30
Brendan Forster
2395eecf71
bugfix - dictionaries are enumerable - we shouldn't enforce this serialization rule
2015-01-04 11:22:41 +09:30