Commit Graph

4795 Commits

Author SHA1 Message Date
Brendan Forster
d9f9ca86a6 set default push source to simplify package publishing (#2160) 2020-03-25 21:29:13 -03:00
Brendan Forster
87d2b0fdc1 more cleanup of route metadata (#2158) v0.46.0 2020-03-19 16:21:16 -03:00
Brendan Forster
dc2f6ff001 first pass at cleaning up attributes (#2157) 2020-03-18 09:02:11 -03:00
Brendan Forster
327020750f add convention test for preview APIs (#2154) 2020-03-18 08:52:50 -03:00
Brendan Forster
e9516bb6c1 bugfix: improve fallback when StringEnum encounters null value (#2156) v0.45.0 2020-03-17 15:09:15 -03:00
Brendan Forster
f6a9a47200 Graduate review requests to what eventually shipped (#2153) v0.44.0 2020-03-15 11:33:32 -03:00
Cédric Luthi
3918685be3 Mark ReleasesClientTests.TheCreateReleasesMethod tests as integration (#2152)
They were using [Fact] instead of [IntegrationTest] so they would run and fail if no credentials are supplied.
2020-03-13 09:26:18 -03:00
Brendan Forster
5de5258257 add attribute for tracking preview usage in the codebase (#2128) 2020-03-07 10:40:15 -04:00
Brendan Forster
216e4e315a move GitHubAppInstallationsClient into root namespace for consistency, annotate routes (#2131) 2020-03-06 09:30:53 -04:00
Brendan Forster
43d1b8b60d remove deprecated code for old Check Suites API (#2130) 2020-03-05 09:14:11 -04:00
Brendan Forster
f96885654f add metadata to each client action (#2124) 2020-03-04 21:10:38 -04:00
Alexander Salamatov
a2b0d87ce8 added Octokit.PullRequest.RequestedTeams property (#2123) 2020-03-04 09:57:38 -04:00
Cédric Luthi
c94cd05b8b Obsolete UnixTimestampExtensions methods (#2121)
* The equivalent of `public static DateTimeOffset FromUnixTime(this long unixTime)` exists in the framework since .NET Framework 4.6: https://docs.microsoft.com/en-us/dotnet/api/system.datetimeoffset.fromunixtimeseconds
* The equivalent of `public static long ToUnixTime(this DateTimeOffset date)` exists in the framework since .NET Framework 4.6: https://docs.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tounixtimeseconds
2020-03-03 09:30:30 -04:00
Gudge
faedc8dc35 Minor improvements to authorization tests (#2118)
Minor improvements to a couple of tests in
TheGetOrCreateApplicationAuthenticationMethod to verify the interesting
piece of the request object. This brings these tests into line with
recent changes to tests in TheCheckApplicationAuthenticationMethod
et.al.
v0.43.0
2020-03-02 19:05:47 -04:00
Gudge
c1c6366a63 Update OAuth Token operations to new APIs (#2116)
* Update OAuth Token operations to new APIs

Per ['Deprecating OAuth Application API'](https://developer.github.com/changes/2020-02-14-deprecating-oauth-app-endpoint/)
the HTTP API endpoints called by CheckApplicationAuthentication,
ResetApplicationAuthentication and RevokeApplicationAuthentication are
being deprecated.

This PR updates those APIs to call the new HTTP API endpoints as
documented at the above link.

* Details

Amend CheckApplicationAuthentication, ResetApplicationAuthentication and
RevokeApplicationAuthentication to create an object containing the OAuth
access token and to call the single arg version of
ApiUrls.ApplicationAuthorization. The object is used as the request
body.

Amend CheckApplicationAuthentication to use POST.

Amend ResetApplicationAuthentication to use PATCH.

Remove the two arg version of ApiUrls.ApplicationAuthorization as it is
no longer called. Amend the single arg version to use the new API path.

Amend unit tests to account for the above changes.

* Update unit tests to check request payload

Add a check to the unit tests to verify that the request payload
contains an access_token field with the expected value.
2020-03-02 15:01:34 -04:00
Brendan Forster
9b3cf309cf fix minor formatting issue (#2115) v0.42.0 2020-02-25 22:32:51 -04:00
Ridwan Hoq
8cf6dd2ff2 Add Rocket and Eyes emoji reactions (#2114)
Co-authored-by: Brendan Forster <brendan@github.com>
2020-02-25 22:29:43 -04:00
Brendan Forster
01b6086094 ship a simple vscode config (#2113) 2020-02-25 20:44:49 -04:00
Jordan Brown
b904ada89f Implement Deployment Statuses Preview (#1895)
Co-authored-by: Brendan Forster <brendan@github.com>
2020-02-25 19:59:03 -04:00
Grzegorz Dziadkiewicz
04c9a9a0de Update MiscellaneousClient to ApiClient approach and add pagination support to GetAllLicenses. (#1716)
Co-authored-by: Brendan Forster <brendan@github.com>
2020-02-25 18:48:00 -04:00
Brendan Forster
65bb8d57d7 Allow fully qualified or short references to be used to generate "reference" Uri (#2110)
Co-authored-by: Brian <brian.hart@xylogix.net>
2020-02-25 18:24:42 -04:00
Brendan Forster
a5b27c315c drop development versioning rules (#2111) 2020-02-25 09:14:55 -04:00
Brendan Forster
3932e939eb move dotnet-format global tool out of Lifetime (#2109) 2020-02-24 20:04:35 -04:00
Brendan Forster
eee57895ed just some cleanup (#2106) 2020-02-24 18:17:20 -04:00
Brendan Forster
5223d1af5f improve handling of GetAllContentsByRef where root path is requested (#2105)
* add failing test for handling / as the path

* workaround issue by passing in what the API expects
2020-02-24 18:12:48 -04:00
Itai Bar-Haim
6fdd800f72 add new types for webhook commit payload (#1844)
Co-authored-by: Itai Bar-Haim <itai.barhaim@applitools.com>
v0.41.0
2020-02-24 13:37:03 -04:00
Maxim Lobanov
fe6639f270 Add ProjectCard property to Issue Events model (#2102) 2020-02-24 10:56:52 -04:00
Maxim Lobanov
0074e76a8f add missed events (#2101) 2020-02-18 09:28:51 -04:00
dependabot-preview[bot]
804aa48344 Bump Cake.Frosting from 0.36.0 to 0.37.0 in /build (#2096)
Bumps [Cake.Frosting](https://github.com/cake-build/frosting) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/cake-build/frosting/releases)
- [Commits](https://github.com/cake-build/frosting/compare/v0.36.0...v0.37.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 08:26:32 -05:00
Brendan Forster
9f6de38074 bump minimum versions in README (#2094) 2020-02-10 06:43:44 -04:00
dependabot-preview[bot]
2b2626be0d Bump System.Reactive from 3.1.0 to 4.3.2 (#2055)
* drop mentions of net45 from core

* Bump System.Reactive from 3.1.0 to 4.3.2

Bumps [System.Reactive](https://github.com/dotnet/reactive) from 3.1.0 to 4.3.2.
- [Release notes](https://github.com/dotnet/reactive/releases)
- [Commits](https://github.com/dotnet/reactive/compare/v3.1.0...rxnet-v4.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* upgrade from net452 to net46 in test projects

* drop netstandard1.1 support

* correct this test reference

* add necessary dependency for test project

* add new dependency needed for integration tests

* upload net462 code coverage

* upgrade environment for validating linqpad examples

* bump linqpad to latest 5.x release

Co-authored-by: Brendan Forster <brendan@github.com>
2020-02-10 06:33:41 -04:00
Brendan Forster
5de3791626 ensure datetime offset is encoded correctly for search APIs (#2091)
* add failing integration test for timestamp

* make the test pass by encoding the value

* generalize this pattern for now

* update tests to reflect change in date formatting
v0.40.0
2020-02-09 22:13:44 -04:00
Brendan Forster
736c3bd388 handle int32 overflow with IssueTimeline API (#2092) 2020-02-09 22:11:26 -04:00
Brendan Forster
8dac9688d9 add new field to model for indicating whether repository is a template (#2090) v0.39.0 2020-02-09 12:44:24 -04:00
Brendan Forster
8cf4d5840e upgrade project tooling to .NET Core 3.1 (#2089) 2020-02-09 12:34:34 -04:00
Haytam Zanid
911dd4a9c3 Double quote issue labels in search API (#2084) 2020-02-09 11:38:59 -04:00
dependabot-preview[bot]
9b136b1f41 Bump Codecov from 1.7.2 to 1.10.0 in /build (#2088)
* Bump Codecov from 1.7.2 to 1.10.0 in /build

Bumps [Codecov](https://github.com/codecov/codecov-exe) from 1.7.2 to 1.10.0.
- [Release notes](https://github.com/codecov/codecov-exe/releases)
- [Changelog](https://github.com/codecov/codecov-exe/blob/master/GitReleaseManager.yaml)
- [Commits](https://github.com/codecov/codecov-exe/compare/1.7.2...1.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* bump version for executable

Co-authored-by: Brendan Forster <brendan@github.com>
2020-02-09 11:37:10 -04:00
dependabot-preview[bot]
26d770b206 Bump Cake.Coverlet from 2.3.4 to 2.4.2 in /build (#2087)
Bumps [Cake.Coverlet](https://github.com/romanx/Cake.Coverlet) from 2.3.4 to 2.4.2.
- [Release notes](https://github.com/romanx/Cake.Coverlet/releases)
- [Commits](https://github.com/romanx/Cake.Coverlet/commits/v2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
v0.38.0
2020-02-07 10:15:15 -04:00
dependabot-preview[bot]
d4b8601172 Bump Cake.Codecov from 0.7.0 to 0.8.0 in /build (#2086)
Bumps [Cake.Codecov](https://github.com/cake-contrib/Cake.Codecov) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/cake-contrib/Cake.Codecov/releases)
- [Changelog](https://github.com/cake-contrib/Cake.Codecov/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-contrib/Cake.Codecov/compare/0.7.0...0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 10:02:52 -04:00
Brendan Forster
56895ea621 move formatting code to optional flag (#2085)
* move formatting code to flag

* reformat code
2020-02-06 10:48:38 -04:00
dependabot-preview[bot]
45621c0c79 Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0 (#2083)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.4.0 to 16.5.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.4.0...v16.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 09:48:13 -04:00
Ben Emdon
2d0124f8d8 Add stale check conclusion (#2080) 2020-02-03 20:33:35 -04:00
Jeffrey Palmer
321c9ba575 Add the undocumented (but used) check suite conclusion "skipped" (#2077) v0.37.0 2020-01-28 15:26:59 -04:00
Brendan Forster
529020271e we can ignore that this clashes with something it inherits (#2075) 2020-01-28 09:15:24 -04:00
Brendan Forster
03aa908935 switch to Microsoft.SourceLink.GitHub package to perform linking in build (#2074) 2020-01-28 09:07:20 -04:00
Brendan Forster
43ae40fa00 remove Travis metadata and replace with Actions (#2073) 2020-01-28 08:56:00 -04:00
Brendan Forster
e065c86118 strip CoreOnly usages from codebase as they are no longer needed (#2072) 2020-01-28 08:46:10 -04:00
Brendan Forster
44dc2a9e11 bump framework to re-enable Actions tests for non-Windows environments (#2071) 2020-01-28 08:37:30 -04:00
Brendan Forster
bbae519055 tidy up the mentions of the supported platforms (#2068) 2020-01-27 15:08:48 -04:00
Brendan Forster
2431bb48bb drop travis config for CI builds (#2067) 2020-01-27 14:11:35 -04:00