* Bump NSubstitute from 3.1.0 to 4.2.1
Bumps NSubstitute from 3.1.0 to 4.2.1.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* fix failing tests
* Add a warning to the statistics client about caching
* Simplify note about caching and direct users to the API docs
Also update to use summary instead of remarks
* Merge the summary sections as the 2nd section is ignored in VS
* squash duplicate summary tags together
* Also squash these lines
* DateRange does not include time #1904
* DateRange does not include time #1904
* DateRange does not include time #1904
* DateRange does not include time #1904
* DateRange does not include time #1904
* Requested changed by ryangribble
* Update to Obselete Attribute messages
#1904#1905
* Add pagination to *CommitCommentReactionsClient
* Add unit tests for *CommitCommentReactionsClient
* Add integration tests for *CommitCommentReactionsClient
* Add pagination to *IssueCommentReactionsClient
* Add unit tests for *IssueCommentReactionsClient
* Add integration tests for *IssueCommentReactionsClient
* Add pagination to *IssueReactionsClient
* Add unit tests for *IssueReactionsClient
* Add integration tests for *IssueReactionsClient
* Add pagination to *PullRequestReviewCommentReactionsClient
* Add unit tests for *PullRequestReviewCommentReactionsClient
* Add integration tests for *PullRequestReviewCommentReactionsClient
* Remove rogue using statement and whitespace
* Add null check tests for GetAll with repositoryid overload
* Introduce 'NoFramework' switch
This enables building via cake on linux without requiring adjustments on
other platforms, fixes#1745
* Revert hardcoding NoFramework in build.sh
* Skip GitVersion query for NoFramework build
This implies that NoFramework is intended for local use only
Accordingly a warning message has been set up in the Lifetime of the Build
* Rename NoFramework switch to CoreOnly
* Skip tool installation and formatting step for CoreOnly builds
* Default CoreOnly to false on windows and true otherwise
* Add CoreOnly switch to build variable output
* Fix 'native' msbuild on windows for both platforms
'native' msbuild invocations do not automatically set CoreOnly according to the platform
they are running on. As such we set CoreOnly to False on Windows, unless CoreOnly has been
specified already.
* Attempt to handle both old and new annotations models so we support the changes on github.com as well as still support GHE2.14
add Path and AnnotationLevel fields
flag Filename and WarningLevel as deprecated/obsolete
also flag BlobHref as deprecated on NewCheckRunAnnotation
Adjust ctors to handle new and legacy field options
* adjust tests to remove use of obsoleted fields
* fix a couple of other tests using unrelated obsoleted fields
* Mark check suite Request method and request object as obsolete
* Add Rerequest() method to normal and observable clients
Add unit and integration tests
* add StartColumn and EndColumn as optional fields for CheckRunAnnotation response and NewCheckRunAnnotation request
* remove integration tests for Request() method as they no longer work on github.com anyway
* Adding functionality to query installations for user
* Rename method
* Adding installation methods
* Adding tests
* Adding observable client methods
* Adding InstallationResponse
* Adding GitHub Apps Installations Client
* Tweaking doc comments
* Undoing unintentional changes and cleaning up
* Reordering functions in clients to keep the same code look and feel
* Making sure all methods are documented with their authentication requirements
* Syntax error
* Renaming methods and tests
* Renaming property
* Test cleanup
* XmlDoc comment fixups and consistency
* rename User -To-Server auth methods from xxxForUser to xxxForCurrentUser
* rename GitHubAppsInstallationsClient to GitHubAppInstallationsClient to be consistent with single/plural naming conventions
* make method order match the order on github docs site
* tidy up usings
* correct implementation of GetALlInstallationsForCurrent method to be consistent
* Add missing unit and integration tests for ObservableGitHubAppsClient
* fix renamed method in observable tests
* Add EnsuresNonEmptyArguments tests and fixup asserts in GitHubAppsClient
* Add tests for new Observable client methods and fixup Null/Empty asserts in Observable client
* change non paginated call to call through to other method but with ApiOptions.None
* add unit tests for observable client and fixup errors they found
* add integration tests for new GitHubAppsClient methods, fixed an incorrect route that the tests found!
* add integration tests for extra methods on observable client
* add integration tests for new clients GitHubAppInstallationsClient and ObservableGitHubAppInstallationsClient
* deprecate renamed method properly, to avoid breaking change
* change existing CreateInstallationToken method to use new /app/installations route, and provide an obsolete CreateInstallationTokenPreview() method still using the old route, in order to support GHE 2.14
* suppress obsolete usage warning in tests
* add unit test for new method
* add new method to observable client
* fix routes in tests
* remove CreateInstallationTokenPreview() as it isnt actually required
In implementing this, I found that `appClient.GetCurrent()` (etc.) don't work, but that there is a subclass, so that `appClient.GitHubApps.GetCurrent()` etc does work. Took me a while to figure it out, thought that updated docs might help others.
* Fixes check runs taking over 2017 years to complete
* Make StartedAt and Status fields nullable, since they dont have to be provided on new or update requests
* Fix whitespace/formatting with /FormatCode build option
* Update release notes
* fix a few failing integration tests
* Adjust required fields on UpdateCheckRun and NewCheckRun request models and fix tests
Tidy up field accessors and XmlDoc comments
* Update date in ReleaseNotes
* Keeping request models simple (avoid inheritance) - makes it easier when we move to generated models