Commit Graph

19 Commits

Author SHA1 Message Date
Brendan Forster 327020750f add convention test for preview APIs (#2154) 2020-03-18 08:52:50 -03:00
Brendan Forster 28892df03d some cleanup of the project (#2063) 2020-01-23 14:51:00 -04:00
Henrik Andersson a05d49e81d Expose affiliation parameter when listing collaborators (#2043) 2019-11-18 07:10:35 -04:00
Itai Bar-Haim 4e804f61a6 Prefer using nameof(x) over literal "x" (#1781)
* updated XML docs and added some missing bits.

* prefer nameof(x) over literal "x"
2018-03-07 20:43:10 +10:00
Henrik Andersson cda714bef6 Organization membership preview API changes - Review user permission (#1633)
* Add organization membership preview header

* Add API endpoints to preview a collaborators permission

* Add methods to preview a collaborators permission

* Add methods to the observable repo collaborator client

* Fix convention test failure

* Use correct API endpoint when using repository ID

* Move the helper function pair so they aren't in between another pair

* Use the correct URL for the review permission API endpoint

* Add unit tests

* Add integration tests for review permission methods

* Fix spelling mistake

* Renaming enum as per review
2017-07-29 15:08:44 +10:00
Andreia Gaita 9e958bf998 Make Repository Id a long, it's going to grow... 2016-09-15 02:15:11 +02:00
Martin Scholz 89500f4b8a Repository invitations changes (#1410)
* add invitations accept header

* create class RepositoryInvitation

* add repository invitations client

* add api urls for invitations

* [WIP]

* add methods to repository invitations client

* add invite method to repo collaborators client

need to add some new overload to post method in apiconnection

* some changes

* add observable client

* add dependings

* add missing observable client

* add missing xml params

* check client

* change repository invitation model

* [WIP] tests

* [WIP] tests; fix overloads for client

* change GetAllForCurrent; suppress message

* some more tests

* [WIP]

* [WIP]

* add collaborator request model

* change return types

change return types for invitation methods. add permission attribute for
repository collaborators invite method.

* add some more tests

* fix xml doc

* check for null arguments

* fix tests

* some fixes from @ryangribble

* add parameterless constructor for RepositoryInvitation

* change setter

* change constructor

* fix merge conflicts

* [WIP] RepositoryInvitationsClientTests

* fix api url xml

* change collaborator request constructor

* change unit tests for collaborator request

* change repocollaboratorsclient

change overloads for add in invite methods to set permissions

* [WIP] integration tests

* add methods for interface

* NotFoundExceptions

* add overload for invite method

* rename repo property

* gramar

* overloads for observable repo collaborators client

* change integration tests

* new integration tests

* add decline test

* add test for accept invitation
2016-07-23 18:50:22 +10:00
aedampir@gmail.com bfb1b3f991 burned<returns> tags 2016-07-06 02:58:01 +07:00
Alexander Efremov fc07359dc7 cleared <returns> tags 2016-06-17 06:04:06 +07:00
aedampir@gmail.com d2719f635f updated XML documentation of IObservableRepoCollaboratorsClient 2016-06-15 19:16:09 +07:00
aedampir@gmail.com ae6c5b7405 added overloads with repositoryId for IObservableRepoCollaboratorsClient 2016-06-15 19:16:09 +07:00
aedampir@gmail.com 18b3306b9c added ensure checks to ObservableRepoCollaboratorsClient 2016-06-15 19:16:09 +07:00
aedampir@gmail.com 3ac0ea8efa Synchronized XML documentation of IObservableRepoCollaboratorsClient and IRepoCollaboratorsClient 2016-06-15 19:16:09 +07:00
Alexander Efremov 63a8c1d70a Add ApiOption overloads to methods on IRepoCollaboratorsClient (#1282) 2016-04-29 14:16:07 +10:00
aedampir@gmail.com 5c94791192 Usages of Ensure.ArgumentNotNull were fixed. 2016-03-30 12:38:28 +07:00
Mordechai Zuber 10c3b2ad5f IRepositoriesClient.RepoCollaborators -> IRepositoriesClient.Collaborator 2015-12-23 18:29:18 +02:00
Haacked eb5d14cfdc Organize usings and remove unused 2015-08-04 21:12:37 -07:00
Brendan Forster ef5ff2f81e renamed name -> repo 2014-02-18 10:51:59 +11:00
Haroon f6b647ee3c implementation for reactive repo collab client 2013-11-14 23:02:14 +00:00