Commit Graph

41 Commits

Author SHA1 Message Date
Mordechai Zuber fe51d42c23 Remove IConnection.Get<T>(... allowAutoRedirect) 2016-04-13 14:37:45 -04:00
Prayank Mathur 8e49f04a5d Added implementation for delete that takes custom media type header and changed definition for Unlock accordingly 2016-03-30 14:30:37 +05:30
Ryan Gribble 1f13001fd8 Change the QueueLdapSync calls to use Post<T>(uri) with no body/data 2016-02-12 09:37:33 +10:00
Brendan Forster 9367001894 obsolete the interface member 2015-12-10 08:24:11 +10:30
Kristian Hellang a6a6fdf13f Renamed IApiInfo -> IApiInfoProvider 2015-07-31 12:08:16 +02:00
Mark Taylor f8ee4f94a1 WIP checkin for getting last ApiInfo object 2015-07-31 10:35:51 +01:00
Brendan Forster 982dca5f3d specify the timeout interval when downloading the archive 2015-06-15 14:17: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
Henrik Andersson 3a915fe6cf 🚦 for following redirects 2015-05-08 18:31:46 +10:00
Haacked afd5f8ab56 Help POST learn about 2fa codes 2015-04-21 16:12:30 -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
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 09d5c236a4 Rename IResponse<T> to IApiResponse 2015-01-04 18:33:48 -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 aae005701a fix whitespace 2014-11-08 09:47:50 -08:00
Brendan Forster fc5c060588 well shit, this builds 2014-10-24 13:06:29 -07:00
Dillon Buchanan f45fc8e3ff Implementing the rest of the Notifications API 2014-10-14 10:40:26 -02:00
Brendan Forster f777bc5b63 added overloads for Delete to accept a payload 2014-07-08 10:09:34 +09:30
Paul Betts 02ba6b7926 Sorry VB users 2014-04-30 21:35:14 -07:00
Paul Betts c18b156fab Rename IConnection methods 2014-04-30 21:30:45 -07:00
Haacked 459299b730 We don't need to make this property public after all 2014-04-20 21:50:04 -07:00
Haacked d7a69e20d7 Implement OAuth Web Flow
Provide methods to make it easy for developers to implement the
web flow.

https://developer.github.com/v3/oauth/#web-application-flow
2014-04-19 16:01:35 -07:00
Nigel Sampson 90aa5696a0 Accepts parameter for Patch 2014-03-26 22:58:37 +13:00
Amy Palamountain a1e62ec4d6 GetAsync<T> overload with cancellation token
Left the rest of the connection api as is. I feel like all of these
should support cancellation. But this can be done in another PR.
2014-02-16 17:04:55 +13:00
Haacked c96b00650e Add comments to concrete types
We now have a build task that copies comments from interface to
implementation.
2013-12-11 14:22:39 -08:00
Peter MacNaughton 4edab7ca7e IConnection documented 2013-12-02 22:11:16 -07:00
Haroon 8233219095 Add new PUT method onto IConnection 2013-11-14 11:49:19 +00:00
James R Sconfitto cdad0ad809 Return a status code from Delete requests 2013-11-09 10:46:46 -05:00
James R Sconfitto ff136ee824 Add ability to stop starring a repository
Change the `DeleteAsync` method to return `Task<IResponse<object>>` in
order to check the status code
2013-11-08 07:51:51 -05:00
Haacked 995e0c5b55 More api cleanup
Make accepts come before contentType everywhere. Also remove unnecessary
overloads of IConnection.
2013-10-15 15:43:52 -07:00
Haacked fa4402f957 Rename endpoint to uri everywhere 2013-10-15 14:06:04 -07:00
Haacked 50a197742d Fix releases client to pass accepts header 2013-10-15 13:59:14 -07:00
Haacked d6e560c737 Remove type argument from DeleteAsync 2013-10-15 13:43:16 -07:00
Haacked 33ad79c0fe Implement GetOrCreateApplicationAuthentication
Implements the endpoint for creating an application authorization token.
2013-10-09 19:54:05 -07:00
Haacked 2d81cb37cc Move more types into the Octokit namespace
This makes it so GHfW doesn't have to reference Octokit.Internal
2013-10-08 17:02:51 -07:00
half-ogre 6f3fa81789 move internal stuff to .Internal namespace 2013-10-08 15:14:06 -07:00
Haacked f8e7d2da29 Improve accepts and content type handling 2013-10-06 22:26:24 -07:00
Matt Burke d0a5c5f9a6 Implement upload in ApiConnection. 2013-10-03 09:06:30 -07:00
Haacked 6a0e27274b Allow passing query parameters to connection
Change the API to support dictionary of query parameters.
2013-09-23 10:15:08 -07:00
Haacked 997e955f38 Rename to Octokit to be consistent with other API libs
GitHub is naming all of the libraries Octokit for their respective
platforms
2013-01-29 14:00:27 -08:00