Commit Graph

4765 Commits

Author SHA1 Message Date
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
Brendan Forster
39fb9f6a24 add a simple netcore build for Windows/macOS/Linux (#2066) 2020-01-27 13:50:19 -04:00
Brendan Forster
d8e6008b1a upgrade sourcelink tools (#2065) 2020-01-27 12:52:58 -04:00
Brendan Forster
8605b8cf76 add .NETFX reference assemblies so that builds can be created without needing Mono for non-Windows platforms (#2064) 2020-01-27 10:57:42 -04:00
Brendan Forster
7669dcbc3d no longer testing with net452 2020-01-23 15:35:35 -04:00
Brendan Forster
28892df03d some cleanup of the project (#2063) 2020-01-23 14:51:00 -04:00
Mattias Karlsson
00f60510d6 (build) Update to Cake 0.36.0 (#2062) 2020-01-23 14:15:10 -04:00
dependabot-preview[bot]
6719e870ce Bump Microsoft.NET.Test.Sdk from 16.2.0 to 16.4.0 (#2042) 2020-01-19 21:00:59 -04:00
dependabot-preview[bot]
95d4951fab Bump GitHubJwt from 0.0.3 to 0.0.4 (#2057)
Bumps [GitHubJwt](https://github.com/adriangodong/githubjwt) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/adriangodong/githubjwt/releases)
- [Commits](https://github.com/adriangodong/githubjwt/compare/0.0.3...0.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-19 19:00:13 -04:00
Steve Desmond
e9409e0cb5 Update IssueEvent ID field from int to long (#2060) 2020-01-19 18:54:46 -04:00
Henrik Andersson
a05d49e81d Expose affiliation parameter when listing collaborators (#2043) 2019-11-18 07:10:35 -04:00
Jose de Jesus Medina
fd6bca910c fix language with spaces giving wrong results (#2038) 2019-11-13 09:31:24 -04:00
Mattias Karlsson
f61654a74b (build) Update to Cake 0.35.0, update dependencies and improve dotnet-format execution. (#2039)
* (build) Update to Cake 0.35.0
* Cake.Frosting 0.35.0
* Cake.Coverlet 2.3.4
* Cake.Codecov 0.7.0
* Codecov 1.7.2
* Make dotnet-format execution more robust (fails if not installed globally)

* Fix codecov.exe path
2019-10-30 17:08:10 -03: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
Jose de Jesus Medina
90812951f4 add JupyterNotebook to Repository Search (#2032) 2019-10-21 20:02:33 -03:00
Henrik Andersson
311e89a5e9 Add missing issue event types (#2024)
* Add 'transferred' event type

* Add missing force push event. Fixes https://github.com/octokit/octokit.net/issues/2025
v0.36.0
2019-10-07 21:19:07 -03:00
Eric Carlson
3e7c70cf4e add support for multiple extension filters (#2019)
* add support for multiple extension filters

* update documentation, use ienumerable instead of ilist
2019-10-03 08:53:33 -03:00
Brendan Forster
ce5ea64428 migrate to dotnet-format tool (#2016)
* migrate to new dotnet-format tool in build script (run on local build)
* reformat code
v0.35.0
2019-09-24 11:34:50 -03:00
Brendan Forster
aeb8d19f29 address new Travis build warning (#2017)
* make explicit that which previously was fine

* suppress build warning
2019-09-24 11:19:10 -03:00
Brendan Forster
7c31109099 bring tests from unrelated PR into this project (#2013) 2019-09-22 18:56:37 -03:00
Brendan Forster
c78b3cf21a tidy up new tests (#2012) 2019-09-22 17:27:30 -03:00
Brendan Forster
8cd0b341dd Begin implementation of Enterprise ManagementConsole API, redux (#2010)
* Initial implementation of ManagementConsole - maintenance mode

* Add environment var support for management console password for integration tests

* Add reactive client and unit tests

* Update some xmlDoc

* I think this is a better way to setup the underlying baseUri on IConneciton, to achieve managemet console access rather than requiring a specific GitHubClient that cant call normal API's
Instead, the management client methods can check the base Url and if it contains /api/v3/ they can set their relative endpoint Uri to include a leading "/" which will cause the /api/v3/ to be removed.

* Update EnterpriseClient.cs

Fix xml comments

* Update IEnterpriseClient.cs

Fix xml comments

* Still trying to get the xmDoc perfect, thanks app veyor :)

* XmlDoc'ing my way to success

* Add specific test attribute for management console tests

* check chronic string empty/null

* Use helper's password field in test

* Tidy up maintenance mode tests by using a context/destructor to manage the initial/end state of maintenance mode

* make internal and tidy up URL concatenation

* move GHE endpoint fixup inside ApiUrls methods

* Rework request object to be the correct structure so SimpleJsonSerializer can be used to serialize it.  Remove MaintenanceDate class and just pass in the Date/string for when
Still need to use UrlFormEncoding rather than json in the POST body though...

* Create abstract base class for FormUrlEncoded parameters (similar to existing RequetParameters) and inherit from it in UpdateMaintenanceRequest

* Fix maintenance context logic - destructor should always turn maintenance OFF regardless of initial requested state

* Fix xml comment

* Fix Xml comment

* Those pesky xml comments!

* Fine, I give up!

* Fix string.Format

* fix bad rebase

* fix failing convention tests

* restore missing whitespace

* writing some docs

* some edits

* edit
2019-09-22 15:09:56 -03:00
Henrik Andersson
fafbf33b78 Implement Draft Pull Requests (#2009)
* Add draft PR preview header

* Add Draft property to models

* Update pull requests client and tests to use draft PR accept header

* Update observable pull requests client and tests to use draft PR accept header

* Add integration tests to create and retrieve draft pull requests
2019-09-22 13:38:56 -03:00
Brendan Forster
d955d7facd never email notification on success or error 2019-09-21 13:21:15 -03:00
Henrik Andersson
9e5a76886f Add ability to specify 'since' request parameter to issue comments (#2008)
* Update issue comments client to allow returning comments 'since' a specific date

* Update observable issue comments client to allow returning comments 'since' a specific date

* Add test cases to cover newly added methods
2019-09-21 13:17:14 -03:00
Henrik Andersson
63a4deae35 Add missing ID property to Milestone (#2007)
* Add Id property to Milestone model

* Exclude Riders workspace directory
2019-09-21 13:14:20 -03:00
Brendan Forster
ae10ba3cab add netstandard2.0 output (#2006) 2019-09-20 11:07:20 -03:00
Brendan Forster
eb65e090ca next batch of test cleanup (#2004) 2019-09-20 10:41:04 -03:00
Brendan Forster
89423fd69a no need to build and run tests against net46 (#2005) 2019-09-20 09:23:36 -03:00
Stanley Goldman
f70c402d78 Generate code coverage output with coverlet (#1866)
* add support for Codecov reporting on Windows
2019-09-17 09:49:44 -03:00