Commit Graph

392 Commits

Author SHA1 Message Date
Sarmad
792bc3f1e8 Updated git data commit response with signature verification object (#1398) 2016-06-27 08:36:54 +09:30
Henrik Andersson
dcc54991de Rename IssueCommentReactions to ReactionSummary to make it reusable in other reponse payloads 2016-06-15 16:21:56 +10:00
Henrik Andersson
5010538d68 Add Reactions property to IssueComment object 2016-06-15 16:20:01 +10:00
maddin2016
e93ac2dcd4 resolve conflicts 2016-06-09 08:36:13 +02:00
maddin2016
ff7bff0a9e Merge remote-tracking branch 'refs/remotes/octokit/master' into stand-alone-reaction-client
# Conflicts:
#	Octokit.Reactive/Octokit.Reactive-Mono.csproj
#	Octokit.Reactive/Octokit.Reactive-MonoAndroid.csproj
#	Octokit.Reactive/Octokit.Reactive-Monotouch.csproj
#	Octokit/Helpers/AcceptHeaders.cs
#	Octokit/Octokit.csproj
2016-06-09 07:39:52 +02:00
maddin2016
26348e759a merge remote 'refs/remote/octokit/master' into stand-alone-reaction-client 2016-06-08 15:29:30 +02:00
Henrik Andersson
df5d5b144f Add UserGpgKeysClient 2016-06-08 22:55:41 +10:00
maddin2016
11b1d756cc add new request 2016-06-06 19:25:30 +02:00
maddin2016
10cea07daf add TeamRepositoryUpdate model 2016-06-06 11:49:04 +02:00
maddin2016
3a4031fb9b add PullRequestReviewCommentReactionClient 2016-06-01 11:25:24 +02:00
maddin2016
eddf6023ed add IssueCommentReactionsClient 2016-06-01 09:46:00 +02:00
maddin2016
c9fdb45114 set singular on reaction clients 2016-06-01 08:50:42 +02:00
maddin2016
18946fb03f add IssuesReactionsClient; some fixes 2016-05-31 14:34:24 +02:00
lrz-hal
f983bba1b7 add observable Reactions and CommitCommentReaction client
fix
2016-05-30 10:47:17 +02:00
lrz-hal
831ff1cf31 Add observable reactions client 2016-05-29 14:07:37 +02:00
maddin2016
06fdace3b4 create classes for standalone reaction client and CommitCommentReaction 2016-05-27 15:17:56 +02:00
maddin2016
69afe63a8c change response and request clients for reactions 2016-05-27 09:53:37 +02:00
maddin2016
d90bfdbd0e add accept headers for reactions 2016-05-25 12:18:26 +02:00
Devesh Khandelwal
e5e5261aef Refactoring for consistency. 2016-05-20 19:14:36 +05:30
Devesh Khandelwal
73d321da93 Refactor: Pull out Migrations client from Enterprise.
Following the API sidebar structure, the migrations client is pulled out
and put into another Migration client.
2016-05-20 19:10:22 +05:30
Devesh Khandelwal
ce25b175b0 Implemented MigrationsClient. Added URLs to ApiUrls. 2016-05-20 19:10:22 +05:30
Devesh Khandelwal
0832c2af3f Added Migrations API models for requests and responses. 2016-05-20 19:10:22 +05:30
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
Ryan Gribble
920bef87cc Merge remote-tracking branch 'upstream/master' into search-issues 2016-04-23 09:33:54 +10:00
Devesh Khandelwal
cdd46465db Add custom exception for the HTTP 451 response (#1239)
* Add HTTP 451: Legal Takedown Exception.

* Add LegalRestrictionException in HandleErrors.

* Cast 451 to HttpStatusCode and include exception in csproj files.

* Tests added and "FixProjects".

* Fix: 403 -> 451 in 451Tests.
2016-04-10 14:07:18 -04:00
Ryan Gribble
142ea7aa5c Move exclusions to a new class, tested against the API and implemented all fields that passed tests for properly working exclusions 2016-04-01 00:01:50 +10:00
Brendan Forster
2ed5999f08 Merge pull request #760 from octokit/api-paging-part-deux
Pagination Support
2016-03-14 15:50:25 +11:00
Ryan Gribble
657e3429be Revert "Implement extension methods and PublicKeyInfo class"
This reverts commit 1d82735096.
2016-02-27 00:43:51 +10:00
Brendan Forster
aafdda2f00 Merge branch 'master' into api-paging-part-deux 2016-02-24 11:40:43 +11:00
Ryan Gribble
1d82735096 Implement extension methods and PublicKeyInfo class
Adjust Obsolete messages for ModelExtensions and SshKeyInfo to point to new implementations
2016-02-23 06:58:10 +10:00
Ryan Gribble
047a78361a Transfer methods from SshClient to UserKeysClient
Add unit and integration tests and CreatePublicKeyContext() helper method
2016-02-23 06:58:08 +10:00
Ryan Gribble
1b3fef81f2 Initial implementation of missing UserOrganization client methods 2016-02-22 21:04:13 +10:00
Ryan Gribble
f0c3b6009f Merge remote-tracking branch 'upstream/master' into enterprise-ldap-api 2016-02-21 14:57:18 +10:00
Mordechai Zuber
a70ff40c34 Merge from master 2016-02-16 08:38:51 +02:00
Brendan Forster
b41c00c4c4 extracted pagination function to separate type 2016-02-14 18:14:01 +11:00
Brendan Forster
2b9f83b876 add ApiOptions to support tailoring the response details 2016-02-14 16:21:22 +11:00
Ryan Gribble
e4eb1166b7 Due to api serialisation, must use LdapDn rather than LdapDN (the latter turns into ldap_d_n instead of ldap_dn)
Get rid of LdapTeam and LdapUser, the regular Team and User objects contain ldap_dn field if LDAP sync is enabled
2016-02-12 09:37:33 +10:00
Ryan Gribble
1f13001fd8 Change the QueueLdapSync calls to use Post<T>(uri) with no body/data 2016-02-12 09:37:33 +10:00
Ryan Gribble
29a9fca8e8 Implement Enterprise LDAP Client 2016-02-12 09:37:31 +10:00
Ryan Gribble
b50b2c737f Implement Enterprise Search Indexing Client and unit/integration tests 2016-02-11 15:07:12 +10:00
Brendan Forster
dc79d938ff Merge pull request #1073 from TattsGroup/enterprise-api
Implement GitHub Enterprise License and Organization API's
2016-02-11 13:53:47 +11:00
Mordechai Zuber
6d8e7dcd22 Add extension to create a branch 2016-02-11 01:37:03 +02:00
Andreia Gaita
e52f3cec54 Remove extraneous Bcl .targets reference
Looks like 38ef6302ec introduced a nuget warning/import to the Bcl targets. Pretty sure that should only exist on Portable projects?
2016-02-08 20:36:12 +01:00
Ryan Gribble
af169d6c55 Merge remote-tracking branch 'upstream/master' into enterprise-api 2016-02-02 21:58:04 +10:00
Jasmine
0066f60c80 Merging from master, resolved conflicts. 2016-02-01 16:46:56 -05:00
Ryan Gribble
0ed6704859 Implement Enterprise Organization client 2016-02-01 21:10:35 +10:00
Ryan Gribble
791074f9e2 Implement Enterprise License API, unit tests and integration tests 2016-02-01 21:10:33 +10:00
Jasmine
19f0bf389e Added Observable classes and got started on observable tests 2016-01-28 14:29:08 -05:00
Jasmine
fd91d72ce3 Getting started on #1030 2016-01-26 21:12:11 -05:00
Ryan Gribble
1a90c166dd Merge remote-tracking branch 'upstream/master' into enterprise-adminstats 2016-01-26 22:51:04 +10:00