Commit Graph

32 Commits

Author SHA1 Message Date
Ryan Gribble 046c5a36cc Rename client.User.Keys to client.User.GitSshKey
Mark client.User.Keys as [Obsolete]
2016-06-09 06:44:28 +10:00
Henrik Andersson 77b04efbdd Fixes as per PR review comments 2016-06-08 22:55:41 +10:00
Henrik Andersson 3ad22b5d9d Add ObservableUserGpgKeysClient and fixes to satisfy convention tests 2016-06-08 22:55:41 +10:00
Alexander Efremov efa2942669 Fix usage of FormatUri method (#1290)
* updated xml documentation of Deployments method

* fixed in OrganizationMembersClient.Delete method.

* Revert "fixed in OrganizationMembersClient.Delete method."

This reverts commit f47405f5337e60945fdb3ccf1368f16069599217.

* fixed usage of "repos/{0}/{1}".FormatUri(owner, name);

* fixed usage of "user/keys/{0}".FormatUri(id)

* fixed usage of "users/{0}".FormatUri(login)

* added ApiUrls.StatsContributors method

fixed usage of "repos/{0}/{1}/stats/contributors".FormatUri(owner, repositoryName)

* added method ApiUrls.StatsCommitActivity
fixed usage of "repos/{0}/{1}/stats/commit_activity".FormatUri(owner, repositoryName)

* fix to prev. commit

* added method ApiUrls.StatsCodeFrequency
fixed usage of "repos/{0}/{1}/stats/code_frequency".FormatUri(owner, name)

* added method ApiUrls.StatsParticipation
fixed usage of "repos/{0}/{1}/stats/participation".FormatUri(owner, name)

* added method ApiUrls.StatsPunchCard
fixed usage of "repos/{0}/{1}/stats/punch_card".FormatUri(owner, name)
fixed documentation

* added method ApiUrls.RepoCollaborator
fixed usage of "repos/{0}/{1}/collaborators/{2}".FormatUri(owner, repo, user)

* added method ApiUrls.OrganizationMember
fixed usage of"orgs/{0}/members/{1}".FormatUri(org, user)

* added method ApiUrls.Organization
fixed usage of "orgs/{0}".FormatUri(organizationName)

* Fixed inconsistency in ApiUrls.cs (#1287)

* Fix inconsistecy in parameters name that used in methods that use "repos/{0}/{1}" syntax.

* added XML documentation for PullRequestFiles method

* updated XML documentation of some methods in ApiUrls

* added needed XML doc tags

* fixed name of parameter

* fixed name of parameter

* undo prev. commit

* updated XML documentation of ApiUrls

* fixed after merge errors

* fxied after merge errors

* added OrganizationMembersClient accidentaly missed during rebase

* errors fixed arises during merging

* fixed by remarks
2016-05-11 08:51:31 +02:00
Brendan Forster 6bedf1ee9b just a bit of code cleanup 2016-02-02 10:01:16 +10:30
Jasmine 9e2eda5cee Implemented the rest of the User Administration Client and tests, including observable classes. 2016-01-28 19:29:30 -05:00
Jasmine 19f0bf389e Added Observable classes and got started on observable tests 2016-01-28 14:29:08 -05:00
Brendan Forster 5a24bbb9f8 stubbed the client and a couple of methods 2014-07-08 11:08:37 +09:30
Brendan Forster 7dc70a2192 💄 using statements, incorrect docs, deprecated Octokit.Response namespace 2014-03-08 16:33:46 +11:00
Brendan Forster 5ff3987d05 IObservableUserClient should have Emails underneath 2014-02-18 21:50:06 +11:00
Peter MacNaughton aa1303399b Merge branch 'master' into user_emails_client 2014-02-02 11:31:46 -07:00
Peter MacNaughton 0788c058fe Added IUserEmailsClient property to IUsersclient
not sure how I missed that before :-/
2014-02-01 16:54:00 -07:00
Henrik Andersson f368645da5 Rename UserFollowersClient to FollowersClient 2014-02-01 06:43:20 +10:00
Henrik Andersson 9e892a2d06 Implement the User Followers API
Update comments with links to API documentation
Remove API methods that were invalid
2014-02-01 06:43:05 +10:00
Henrik Andersson f2a53c6a88 Stub out User Followers API 2014-02-01 06:43:01 +10:00
Peter MacNaughton 38aec1694b Implemented UserEmailsClient GetAll and Add...
methods plus unit tests.
2014-01-23 11:57:21 -07:00
lbargaoanu 1d6729f6c6 use IReadOnlyList as return type 2014-01-20 10:48:06 +02: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 3b7488c4da API client constructors documented 2013-12-02 22:09:04 -07:00
Haacked a363696544 Filled in more documentation. Made it consistent. 2013-11-07 10:14:01 -08:00
Haacked 03fce7001c Add Member property to observable Orgs client 2013-11-07 10:05:35 -08: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 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
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 189a8e1da8 Flatten the observables for users 2013-10-16 18:54:09 -07:00
half-ogre 5ff270dc55 use HTTP verbs for clarity: PATCH edition 2013-10-14 12:41:35 -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 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 a39a80cc88 Add exception handling for non-OK status codes 2013-10-02 16:17:36 -07:00
Haacked 1f0f5d1dc9 Add support for retrieving user emails 2013-09-27 14:43:05 -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