Commit Graph

30 Commits

Author SHA1 Message Date
Brendan Forster dc2f6ff001 first pass at cleaning up attributes (#2157) 2020-03-18 09:02:11 -03:00
Brendan Forster f96885654f add metadata to each client action (#2124) 2020-03-04 21:10:38 -04:00
Brendan Forster 28892df03d some cleanup of the project (#2063) 2020-01-23 14:51:00 -04: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
Brendan Forster c1c035cf01 moved ConfigureAwait onto same line as await 2016-04-06 20:28:46 -04:00
Brendan Forster 01c55763c7 some more usages in internals that need ConfigureAwait 2016-04-06 20:22:21 -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 78e76be7d9 Update clients 2015-03-24 00:11:52 +10:00
Haacked fa363b169f Remove StatusCode property from ApiResponse
We really want ApiResponse to be a composite of IResponse and the
deserialized content.
2015-01-04 19:25:43 -08:00
Haacked f83ad06c85 Add extension method for common checks against the HTTP status 2015-01-04 19:15:46 -08: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 90ae5d11d0 The old methods for fetching organization members are restored and marked as obsolete, minor xml doc fix 2014-12-17 21:20:31 +02:00
Georgi Baychev 5bca121737 Organization members filter added, fixes issue #609 2014-12-13 17:15:30 +01:00
Andre Rodrigues 58bae6f9fc Add a few missing team and organization APIs 2014-08-07 12:59:30 +01:00
Paul Betts c18b156fab Rename IConnection methods 2014-04-30 21:30:45 -07: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
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
Henrik Andersson 2eba031341 Fix Orgs Member Conceal method and unit tests 2013-11-06 17:22:40 +10:00
Haacked 26e777a174 Add Member property to IOrganizationsClient 2013-11-05 12:04:24 -08:00
Henrik Andersson 0426968b15 Remove unnecessary whitespace
Use <para> tags in XML comments with more than 1 paragraph
2013-11-06 04:39:34 +10:00
Henrik Andersson 008be4a2f6 Rename the Orgs Members API Client interface 2013-11-05 23:28:59 +10:00
Henrik Andersson 775bf81b09 Implement Organization Members API Client 2013-11-05 23:04:18 +10:00
Henrik Andersson 2ea66970a7 Stub out the Organization Members API Client 2013-11-05 20:37:44 +10:00