* created the interface and models for the repository secrets client
* created a repository actions client to sit between repository and secrets for future extensibility
* created the repository secret client and supporting objects to enable data transfer
* created object for create or update secret body and made fixes to pass unit tests
* created repository action unit tests
* created unit tests for RepositorySecretsClient
* removed set from secrets interface
* fixed docs and added observable actions client
* added Actions to repository client
* created IObservable repository secrets client
* fixed property in wrong interface
fixed wrong Ctor unit test
* created repository decrets reactive tests and clients
* created organization actions and scerets classes and made them available through the oprganizations client
* fixed intellisense text
* removed uneeded getall call after return type change
* created organization secret client and classes to support it
* created the observable org secrets client and fixed a typo in a method name
* added more ensure checks
* removed unused xml doc setting
* created the unit tests for the organization secrets client
fixed broken unit test for repository secrets client
* created observable organization actions and secrets client unit tests
* added sodium.core to the integration tests to test secret creation
* fixed keyid type
* added actions client integration test classes (empty since the class currently doesn't have any native methods)
* fixed deserialization issue
* changed property name for deserialization issues
* added doc for repoid on orginzation secrets url generator
* created integration tests for repository and organization secrets
* changed how return occurs for setting list of repos for secret
* fixed some names and removed reset org name
* created integration tests for observable org secrets client
* removed default org value
* created the integration tests for the observable repository secrets client
* removed default owner project value
* fixed unit tests
* Update links to new docs site
* Update doc links to new docs site
* Update docs links to new docs site
* Fix doc link to point to new docs site
* Update links to new docs site
* Update doc links to new docs site
* Update docs links
* Update docs
* Update docs
* Update doc links
* Update docs
* Update doc links
* Update doc links
* Update doc links
* updated documentation links in actions and secrets clients
* Update Octokit/Models/Response/SecretsPublicKey.cs
Removing line for consistency.
Co-authored-by: Thomas Hughes <iamhughes@github.com>
* Update Octokit/Models/Response/RepositorySecret.cs
Removing line for consistency.
Co-authored-by: Thomas Hughes <iamhughes@github.com>
* set default owner and repo
* switched to using the Helper.Organization from a ORG constant set at the top of the file
* swapped out variable at top of file for the Helper.Organization property
* switched to helper method to create new repositories
* Protected setters --> private setters in response models
* RepositorySecret needs protected setters
Co-authored-by: Mike Tolly <mike.tolly@takeda.com>
Co-authored-by: Thomas Hughes <iamhughes@github.com>
Co-authored-by: mptolly-takeda <61791994+mptolly-takeda@users.noreply.github.com>
* Add client for organization outside collaborators
* Add unit/integration tests
* Add methods for removing an outside collaborator
* Add unit/integration tests
* Add new Put method to Connection which accepts a preview header
* Add methods for converting an org member to an outside collaborator
* Fix copy paste errors in new exceptions
* According to API docs, a 403 should be returned if the member is not a member of the org, but a 404 is actually returned
* Add unit/integration tests
* Remove unused using directives
* Got a bit overzealous with my removal of using directives
* Fix integration tests by using the configured Organization and test username rather than henrik's :)
* Remove ApiOptions overloads as it isn't currently supported
* Fix XML doc grammar
* Fix failing unit tests
* Missed a couple of nameof replacements
* Add release notes and bump version to 0.24
* run "build FormatCode" to fix up whitespace/formatting issues
* Fix failing Ssh key tests due to "validation exception". This key must be in use on github (under another user, most likely from these tests failing). Changed to a new SSH key and tweaked tests to reduce chance of a key being created and not destroyed
* Assignee and Assignees cant both be specified on NewIssue. We missed this one in the PR. Marked Assignee as [Obsolete] and fixed tests to use Assignees
* Fix a couple of Reactions tests that were calling the wrong client methods
* Fix timeline tests - looks like the response class has changed shape a bit, it now has an Issue object in the payload and Id field isnt present (leaving Id field there in case other timeline events do use it)
* Fix some following tests that require the test user to follow more than 1 other user
* Unskip these Event tests now because apparently they work!
* add breaking changes notes
* Update ApiErrorMessageSafe to return null for empty and whitespace strings (#1540)
* return null if ApiError.Message is empty or whitespace
* Uncomment test, which now passes
* update release notes to include PR1540
* Add "Bot" AccountType, was causing a deserialization exception when running the integration test "SearchForExcludedLanguage" (#1541)
* Update to include PR1541
* add bullets to make release notes easier to read
* markup additional code mentions in notes
* Fix grammar
fields => field
* Update IOrganizationsClient.cs
* Added the Uri for the organizations
Renamed the existing organizations uri to userOrganizations and created a new organizations uri.
* Implementation of the GetAllOrganizations
* Interface modification for the GetAllOrganizations
* Implementation of the GetAllOrganizations
* Created the tests for the two new methods
* remove new line
* Reverted the changes i did to the ApiUrls class to be backward compatible.
Created new client method and marked the old one [Obsolete] to be removed in a futur release.
Created a new request class to support the since attribute.
Updated the Unit Tests
Updated all the csproj to have the proper references.
* Renamed test
* Deprecated the Organizations method to be replaced by the new UserOrganizations method.
* Created 2 new test for the getAll method.
Renamed the existing one to make it clear they test the user organization.
* tweaks to integration tests