Commit Graph

34 Commits

Author SHA1 Message Date
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
2020-02-09 22:13:44 -04:00
Brendan Forster 45bc5eced7 autofix tests based on feedback from xunit analyzers (#1997) 2019-09-16 19:46:40 -03:00
Ryan Gribble 3b2be81486 Release v0.30 - Where Have You Been All My Life? (#1816)
* run FormatCode build task to fix whitespace/formatting

* correctly flag some GitHub Enterprise tests

* Add Release Notes

* tweak appveyor to not build branch in the repo, when a PR exists already

* travis to only build master branch and PRs

* output actual "dotnet run" command being executed for cake.frosting builds

* update latest Cake.Frosting

* use normal verbosity at the moment due to apparent conflict with "verbose" and latest SDK on appveyor

* try using double dash so dotnet executable doesnt look at --verbosity argument

* travis OSX couldn't download SDK 2.0.3 anymore, lets try the latest 2.1.300
2018-06-18 08:34:14 +10:00
Jozef Izso fc3e9c2cd2 Implement improved labels API (#1802)
* Implement new attributes for labels

* Include correct API header in all Labels calls

* Add integration tests for Create and Update methods for labels

* Use improved labels API in observable client

* found even more endpoints that need the preview header!

* RemoveFromIssue actually returns the list of remaining labels rather than null.  This change should be source compatible but not binary compatible

* Implement new labels search method in SearchClient

* Implement reactive client SearchLabels

* Improve documentation for label search methods

* more comment tidy up
2018-05-17 21:48:45 +10:00
Ryan Gribble 0f0a0dc2b5 Release v0.27 - On a Roll (#1687)
* Fix integration test - protected branch status can now only be retrieved by an authorized user

* Fix integration test - labels in octokit.net repo were renamed

* Run build task "FormatCode"

* Update release notes for v0.27
2017-10-07 13:15:14 +10:00
Ryan Gribble ac5279c632 Fix forks qualifier in repo search and add tests (#1680) 2017-09-13 21:13:07 +10:00
Daniel Perez 2b28aa5bd7 Added Organization to code search (#1671) (#1672)
* Added Organization to code search (#1671)

* Added integration test (#1671) (#1672)

* Cant specify empty string, use parameterless ctor instead
Simplify test to check owner's login
2017-09-11 23:26:32 +10:00
aedampir@gmail.com 3bde78b260 changed C# -> CSharp
tests refined
removed unsed usings
2016-09-12 13:59:31 +07:00
Brendan Forster b47b05489e Fix #1406 searching repos with underscore in name (#1418) 2016-07-15 07:20:07 +10:00
Daniel Plaisted f05f6dcab9 Add support for code searches without a search term (#1338) 2016-06-03 09:39:55 +02:00
Ryan Gribble bc5dc88c7e Dont use the field i just obsoleted :) 2016-04-23 22:36:12 +10:00
Ryan Gribble a62e5806fe Use correct [IntegrationTest] attribute 2016-04-23 09:26:57 +10:00
Ryan Gribble 142ea7aa5c Move exclusions to a new class, tested against the API and implemented all fields that passed tests for properly working exclusions 2016-04-01 00:01:50 +10:00
Ryan Gribble 9fe9df7b12 Fix impacted test 2016-03-30 22:51:01 +10:00
Ryan Gribble 78c77355e5 Add integration tests (including unskipping SearchAll test that should work now)
Fixup doc comments
2016-03-30 22:31:22 +10:00
Prayank Mathur 397b1f1c82 Updated the enum ItemState with deprecating the ItemState.All and making the necessary changes 2016-03-14 23:22:18 +05:30
Prayank Mathur d03e37bf4f Issue 1082 fixed adding enum ItemStateFilter 2016-03-10 22:45:03 +05:30
Haroon 494624675c Added failing search issues test
Added failing search issues api integration test.
2016-02-02 22:39:20 +00:00
Brendan Forster 87d24f5fa7 fixed impacted tests 2015-09-10 15:38:00 +09:30
Jeff Foster 9634dd510c A simple integration test 2015-08-10 14:54:47 +01:00
Kristian Hellang f98ff15211 Added overloads with a single string 2015-07-19 13:30:32 +02:00
Kristian Hellang 7bd0447bd6 Changed repos to a specialized collection 2015-07-19 13:14:24 +02:00
Brendan Forster 07b8dd2603 tidy up ctors and deprecate usage of ctor with owner and repo name 2015-07-19 08:00:06 +09:30
Brendan Forster 8596019e14 update SearchCodeRequest to use collection for Repos 2015-07-19 07:45:00 +09:30
Brendan Forster 12e9155ce8 deprecate Repo property and update test usages 2015-07-19 07:44:58 +09:30
Brendan Forster cf1b99dd3d define a custom Repos property when searching issues 2015-07-19 07:44:58 +09:30
Brendan Forster 28e8372922 extract helper method for setting up GitHubClient 2015-01-04 10:03:45 +09:30
Brendan Forster 13a708779f test for all issues being returned 2014-07-08 14:11:09 +09:30
Brendan Forster bfb78d7ea0 💄 test fields 2014-05-05 13:41:08 +08:00
Brendan Forster 03e14a5f14 bugfix - the State value when searching for issues is case-sensitive 2014-05-01 18:51:21 +08:00
Brendan Forster 7da2cd04ac updated SearchIssues to match correct response shape 2014-03-05 23:03:26 +11:00
Brendan Forster b64527ec92 updated SearchCode to match correct response shape 2014-03-05 22:42:10 +11:00
Brendan Forster 433e9249a9 updated SearchUsers to match correct response shape 2014-03-05 22:22:10 +11:00
Brendan Forster 11514473f9 added a simple integration test and got it passing 2014-03-04 22:10:37 +11:00