Commit Graph

25 Commits

Author SHA1 Message Date
Itai Bar-Haim 4e804f61a6 Prefer using nameof(x) over literal "x" (#1781)
* updated XML docs and added some missing bits.

* prefer nameof(x) over literal "x"
2018-03-07 20:43:10 +10:00
aedampir@gmail.com 44b0f4039d ID -> Id 2016-07-17 16:29:32 +07:00
Alexander Efremov 85a87dade3 Add ApiOptions overloads to methods on I(Observable)StarredClient (#1336) 2016-06-02 12:15:35 +02:00
Prayank Mathur 43f6cfe28b Added ApiOption overloads to methods on IRepositoryCommitsClient (#1247)
* Added ApiOptions overloads for RepositoryCommitClient methods

* Added overloads to Reactive clients

* Integration tests in progress

* Integration test addition in progress

* More integration tests added

* Added Ensure things

* Minor changes

* Minor changes

* Few changes

* Tried to fix errors

* Tried to fix errors

* Fixed a few things

* Fixed integration tests

* Tidying up

* Added public keyword

* Added unit tests for GetAll() in normal and reactive methods

* Minor changes

* Changed the class name

* Fixed the unit test
2016-04-10 17:28:01 -04:00
aedampir@gmail.com 5c94791192 Usages of Ensure.ArgumentNotNull were fixed. 2016-03-30 12:38:28 +07:00
Brendan Forster b97254c5a7 swap in shared component for existing rules 2016-02-14 18:14:02 +11:00
Brendan Forster aa3ce0db92 updated IObservableReleasesClient to use ApiOptions, and added some tests 2016-02-14 18:13:40 +11:00
Brendan Forster 80719c0033 aaaand format the code 2015-11-04 13:38:51 -08:00
Haacked 0b13411ef5 🎨 Remove unnecessary assignment 2015-08-04 21:20:13 -07:00
Haacked e76c8b9f2d Make a method public
And rename them for good cause.
2015-04-21 17:27:00 -07:00
Haacked c401d7e283 Fix extension method to handle GHfW and other scenarios
In GHfW, if you submit an authentication code, and it's wrong, we go
back to the login dialog. In other applications, you may want to retry
the 2fa dialog and show the error there.
2015-04-21 15:03:12 -07:00
Haacked 2e1ade43f1 Implement extension method for authentication flow 2015-04-21 14:46:16 -07:00
Brendan Forster b8bb2a8277 Merge branch 'master' into new-authorization-api
Conflicts:
	Octokit.Tests/Clients/AuthorizationsClientTests.cs
	Octokit.Tests/Reactive/AuthorizationExtensionsTests.cs
	Octokit/Http/Connection.cs
	Octokit/Models/Response/Authorization.cs
	Octokit/Octokit-Mono.csproj
	Octokit/Octokit-MonoAndroid.csproj
	Octokit/Octokit-Monotouch.csproj
	Octokit/Octokit-Portable.csproj
	Octokit/Octokit-netcore45.csproj
2015-01-28 09:16:16 +09:30
Haacked 6c05651d64 Remove the redundant ApiInfo property 2015-01-04 19:15:44 -08:00
Haacked 4c8bab20eb IApiResponse no longer inherits IResponse 2015-01-04 18:58:53 -08:00
Haacked 09d5c236a4 Rename IResponse<T> to IApiResponse 2015-01-04 18:33:48 -08:00
Brendan Forster d613cef196 introduce ApplicationAuthorization which contains raw token result 2015-01-04 14:38:59 +09:30
Haacked 12548e04cb Make GetAndFlatten public
This allows us to tweak the accepts header and build up
our own requests without duplicating this logic.
2014-07-22 09:32:32 -07:00
Paul Betts 9f53b7d6e9 Fix up Octokit.Rx 2014-04-30 21:41:26 -07:00
Keith Dahlby 854c6afe94 Don't use parameters beyond first page 2013-10-31 21:44:48 -05:00
Keith Dahlby 5baaa171d6 Add optional GetAndFlattenAllPages() parameters 2013-10-30 22:51:36 -05:00
Haacked ad4be39ea3 Clean up the Octokit.Reactive namespaces
Fixes #84
2013-10-18 22:26:36 -07:00
Haacked 04958410ea Flatten the observables for repositories 2013-10-16 18:54:06 -07:00
Haacked ae41b81025 Address code review changes and add XML comments 2013-10-10 14:22:09 -07:00
Haacked 33ad79c0fe Implement GetOrCreateApplicationAuthentication
Implements the endpoint for creating an application authorization token.
2013-10-09 19:54:05 -07:00