Commit Graph

31 Commits

Author SHA1 Message Date
Brendan Forster
43e82e124f doing await right by calling .ConfigureAwait(false) 2013-10-31 12:06:46 +11:00
Brendan Forster
c22a9c874f some more cleanup of unnecessary async/await 2013-10-31 11:39:09 +11:00
Haacked
e1d618dcaa Implement AssigneesClient
Implement client to list and check available assignees for a repository
2013-10-23 14:51:48 -07:00
Haacked
998f5f54fd Change ReadOnlyPagedCollection to accept a Func
This is technically better because the old way was actually losing
accepts header and parameters.
2013-10-15 16:12:58 -07: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
25c83ac206 Reorder accepts and contentType parameters 2013-10-15 13:47:49 -07:00
Haacked
d6e560c737 Remove type argument from DeleteAsync 2013-10-15 13:43:16 -07:00
half-ogre
6dc68a29af add API doc for ApiConnection 2013-10-15 11:44:03 -07:00
Haacked
f49939ab10 Add Put tests and fix test names 2013-10-15 10:09:25 -07:00
half-ogre
5ff270dc55 use HTTP verbs for clarity: PATCH edition 2013-10-14 12:41:35 -07:00
half-ogre
e933ca7391 make Upload a generic POST
The Releases API-specific part of uploading (the accept header) is now
in the Releases client and the API connection just has a generic POST
method. /cc @spraints
2013-10-14 12:38:10 -07:00
half-ogre
a0306ae1df use HTTP verbs for clarity: PUT edition
GetOrCreate no more
2013-10-14 12:14:29 -07:00
half-ogre
e7da50cb9d remove the T from ApiConnection{T}
It isn't buying is much, and by getting rid of it we can make API
connection more general. getting rid of strangeness like GetItem and
Upload
2013-10-14 12:05:10 -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
half-ogre
39b4c35e7c move clients into root namespace
Only we can stop namespace proliferation.
2013-10-08 15:08:00 -07:00
Haacked
f8e7d2da29 Improve accepts and content type handling 2013-10-06 22:26:24 -07:00
Haacked
f6c156f371 Return IReadOnlyList over IReadOnlyCollection
ReadOnlyCollection implements IReadOnlyList. Whodathunkit?
2013-10-04 10:23:28 -07:00
Haacked
adfb50198e Applying our private member naming convention
Just trying to make @half-ogre happy
2013-10-04 10:01:20 -07:00
Haacked
c979b342b6 Upload should take explicit contenttype parameter
Rather than accept an arbitrary dictionary, let's make it accept the
values we know. We still need to tackle the arbitrary headers problem
soon though.
2013-10-03 09:49:55 -07:00
Matt Burke
6092c4f491 Reduce noise.
* Remove using statements that were the only change to a file.
* Remove methods that were added and are no longer used.
2013-10-03 09:09:28 -07:00
Matt Burke
d0a5c5f9a6 Implement upload in ApiConnection. 2013-10-03 09:06:30 -07:00
Matt Burke
15a5cc9591 Front end for uploading a release asset. 2013-10-03 09:05:57 -07:00
Matt Burke
3ee008cfca Create a new release. 2013-10-03 09:05:01 -07:00
Matt Burke
903fb84d97 Move Releases API to RepositoriesClient.
Releases are grouped under Repositories on developer.github.com.
2013-10-03 09:03:58 -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
e07b6d62c2 Add null checks and fix CodeAnalysis errors.
I enabled code analysis to the Octokit.Reactive project and
needed to fix things up.
2013-01-29 14:36:24 -08: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