Commit Graph

15 Commits

Author SHA1 Message Date
Jose de Jesus Medina 5eb9f06b24 Fix typos in comments (#2040) 2019-10-30 13:51:20 -03:00
Henrik Andersson 8b263cdc0f Add get/update/delete methods for organization memberships (#2014) 2019-10-21 20:08:58 -03: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 7c170213fd List pending organization / team invitations (#1640)
* Add methods for listing pending organization invites

* Add unit/integration tests

* Add methods for getting all pending invites for a team

* Add unit/integration tests

* 🔥 whitespace 🔥

* Move new enum to it's own correct file and location

* Invite(s) -> Invitation(s)

* Add helper functions for adding invitations and cleaning the invitations up at the end of the test

* Add methods with ApiOptions

* Fix helper methods for adding/removing invitations

* Forgot to actually pass in the ApiOptions to the API call

* Add tests for new ApiOptions methods

* tweak integration tests

* Update outside collaborator tests to use [OrganizationTest] attribute for consistency

* Update test accounts used

* use octokitnet-test2 account now it has 2FA turned on
2017-08-14 16:52:53 +10:00
Alexander Efremov 437bf91117 Add ApiOptions overloads to methods on I(Observable)OrganizationMembersClient (#1332) 2016-06-01 16:16:55 +02:00
Mordechai Zuber 0a0829d568 🔥 IOrganizationMembersClient.GetAll(string org, string filter) 2016-04-13 18:26:02 -04:00
Ryan Gribble a3d43b636c Add member role filter to Members.GetAll() functions
Add unit tests
Added integration tests for this method (previously there were none)
... but then disabled the integration tests that use the filters, as they require the requester to be an org member (for role filter) or owner (for 2 factor filter)
2016-01-31 06:45:04 +10:00
Brendan Forster 80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
Henrik Andersson 2427ab6922 Update observable clients 2015-03-24 00:12:41 +10:00
Georgi Baychev 9e4c8404c7 Added the missing obsolete GetAll(string,string) method to IObservableOrganizationMembersClient, fixed 2 small typos in the comments 2014-12-18 14:36:14 +02:00
Georgi Baychev 5bca121737 Organization members filter added, fixes issue #609 2014-12-13 17:15:30 +01:00
Andre Rodrigues df668abcc1 Add observable methods 2014-08-07 17:37:26 +01: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
Henrik Andersson 2979b1009c Implement Observable Organization Members API 2013-11-07 17:39:04 +10:00