Commit Graph

46 Commits

Author SHA1 Message Date
Brendan Forster
e6be0ad334 moved function out to separate client 2014-03-08 19:11:59 +11:00
Brendan Forster
ba82c4ea68 added unit tests 2014-03-08 19:01:33 +11:00
Brendan Forster
438f7f66a9 added reactive client and tidied up xml-docs 2014-03-08 18:43:54 +11:00
Brendan Forster
26127efa2f stubbed prototype method to support comparing two commits 2014-03-08 16:06:28 +11:00
Will Froese
082658083c Add IObservableRepositoryCommentsClient as well as an implementation 2014-02-28 21:23:52 -05:00
Brendan Forster
5e32c4e0ed blergh everything is terrible 2014-02-20 11:41:06 +11:00
Brendan Forster
5106db8f17 well that was a silly merge 2014-02-20 11:30:05 +11:00
Brendan Forster
221ce7fee4 Merge branch 'master' into shiftkey/convention-tests-part-deux
Conflicts:
	Octokit/Clients/RepositoriesClient.cs
2014-02-20 11:14:13 +11:00
Haacked
34ac57ccab Add exception for exceeding the private quota 2014-02-18 22:47:45 -08:00
Haacked
dae6cb2ca6 Implement RepositoryExistsException
This exception is thrown when we try to create a repository but it
already exists on the server.
2014-02-18 21:03:29 -08:00
Brendan Forster
4da060b1e2 moved Statistics under Repository as per the docs 2014-02-18 21:54:35 +11:00
Brendan Forster
5f124ee2e2 moved deployment client under Repository, updated errything related 2014-02-18 21:36:58 +11:00
Brendan Forster
dfc36a9a78 Merge branch 'master' into shiftkey/revive-pull-requests 2014-02-18 15:40:08 +11:00
Peter MacNaughton
a55db0165e Added missing methods on IRepositoriesClient
Added unit tests for newly added methods
Added models RepositoryTag, RepositoryLanguage and RepositoryUpdate
2014-02-10 00:09:09 -07:00
Brendan Forster
cb1a413255 the unit tests now pass 2014-02-03 19:04:01 +11:00
Brendan Forster
34df44410c fixing all the merge conflicts 2014-02-03 18:58:48 +11:00
Josh Sullivan
e3bf6ed0c9 Stubbed out the API for pull requests.
Still missing pull request files, commit lists and merge checks.
2014-02-03 18:30:59 +11:00
Chris Heckathorne
03b87f451a added documentation to get branches 2014-01-02 10:45:16 -05:00
Chris Heckathorne
924543dab7 Added GetBranches method 2013-12-20 14:02:25 -05:00
Haroon
84cb264099 Fix up var name for consistency 2013-11-14 11:49:21 +00:00
Haroon
5d68dcfb55 consistent naming... 2013-11-14 11:49:18 +00:00
Haroon
62a4f6c1e3 prepping repo collaborators client 2013-11-14 11:49:14 +00:00
Haacked
a363696544 Filled in more documentation. Made it consistent. 2013-11-07 10:14:01 -08:00
Brendan Forster
43e82e124f doing await right by calling .ConfigureAwait(false) 2013-10-31 12:06:46 +11:00
Brendan Forster
451eddc647 dropped a bunch of async/await usages
There's also some differences here between using IReadOnlyCollection and
IReadOnlyList. We should decide on one and be consistent
2013-10-31 10:35:24 +11:00
Haacked
dea45fa0aa Doing what I can to keep shiftkey and half-ogre happy 2013-10-30 14:50:29 -07:00
Haacked
eaa5ed4380 Implement Commit Status API Client 2013-10-29 23:15:43 -07:00
Haacked
1d64210ac5 Fix endpoint URLs for Enterprise support
Since Enterprise base URLs end with /api/v3 we need to make sure
the endpoints are relative and not absolute.
2013-10-29 16:02:00 -07:00
half-ogre
3ced973896 Merge remote-tracking branch 'origin/master' into docs-take3
Conflicts:
	Octokit/Clients/AuthorizationsClient.cs
	Octokit/Clients/OrganizationsClient.cs
	Octokit/Clients/ReleasesClient.cs
	Octokit/Clients/RepositoriesClient.cs
2013-10-25 15:19:54 -07:00
Haacked
ad210cecc7 Implement IssuesClient and interface
This required updating our serialization strategy so we handle enums
better.
2013-10-23 14:46:19 -07:00
Haacked
04958410ea Flatten the observables for repositories 2013-10-16 18:54:06 -07:00
half-ogre
0993812bf2 fix API doc for the Repos API client 2013-10-16 12:17:12 -07:00
Haacked
25c83ac206 Reorder accepts and contentType parameters 2013-10-15 13:47:49 -07:00
half-ogre
7e6373ca53 use HTTP verbs for clarity: POST edition 2013-10-14 12:10:07 -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
half-ogre
503959b27c add method for DELETE /repos/:owner/:name 2013-10-09 11:27:54 -07:00
half-ogre
9be1445e0a add method for POST /orgs/:org/repos 2013-10-09 10:57:35 -07:00
Haacked
0525e5fa50 Implement method to get README html
The old implementation would actually retrieve the entire HTML page
where the README is located. We want to simply make the same request
with a different ACCEPT header so we can retrieve the portion of the
README html that we'd actually want to display.
2013-10-09 10:44:00 -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
half-ogre
9a3e94ac82 Merge remote-tracking branch 'origin/master' into half-ogre/45-create-new-repository
Conflicts:
	Octokit/GitHubModels.cs
2013-10-07 17:53:16 -07:00
Haacked
f6c156f371 Return IReadOnlyList over IReadOnlyCollection
ReadOnlyCollection implements IReadOnlyList. Whodathunkit?
2013-10-04 10:23:28 -07:00
half-ogre
e1dbeb4551 add method to create a repository 2013-10-01 17:16: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
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