Commit Graph

21 Commits

Author SHA1 Message Date
Nick Floyd
6565a07974 [BREAKING CHANGES]: int to long Ids for PreReceiveHook, Deployment Environments, Repository, Org Team, Repo Invitations, Public Key, Project Cards, Organization Invitation, Migrations, GpgKey, Deployment, Authorizations, Accounts / Profiles, Codespace / Workspaces (#2941)
* Fixes ids for Releases, Collaborators, and Contributors

* updates the interface for releases

* update the obverable release client

* updates ids from int to long based on GH database schema

* converts a test condition to use the proper type

* updates generated paging and observable classes
2024-06-26 10:57:30 -05:00
skyemcleman
41d5d240ec feat: Add create organization invitation via email (#2895)
* Add API request to create org invitation

* Add tests for create org invitation

* Add IObservable API request to create org invitation

* Add tests for IObservable create org invitation
2024-03-11 13:02:31 -05:00
Thomas Lem
c2178a4ea2 feat: Adds cancel invitation
* Added api request to cancel an organization invitation

* Added tests

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-02-13 15:11:14 -06:00
Lian Duan
ddb66ed712 [FEAT] Implement GetAllOrganizationMembershipsForCurrent (#2654) 2023-03-10 12:42:42 -06:00
Sean Killeen
05aa951d41 Remove /en slug in docs.github.com links (and stop VSCode from formatting on save) (#2573) 2022-09-20 14:35:13 -05:00
Fredi Kats
5386257a3f feat: implement getting failed org invites (#2533) 2022-08-09 09:10:12 -05:00
Brendan Forster
28892df03d some cleanup of the project (#2063) 2020-01-23 14:51:00 -04:00
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
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
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
25aa5090f0 Fix small compilation error 2014-08-07 17:44:03 +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