Brendan Forster
c3cf8d1cca
updated tests to use correct mock
2014-02-18 11:13:28 +11:00
Haacked
e9602a3dad
Fix base address to end with slash
2013-10-29 16:51:45 -07:00
Haacked
1d64210ac5
Fix endpoint URLs for Enterprise support
...
Since Enterprise base URLs end with /api/v3 we need to make sure
the endpoints are relative and not absolute.
2013-10-29 16:02:00 -07:00
Haacked
6b7a6b7137
Build user agent from user supplied product info
...
Rather than create a default user agent, we'll build the user agent for
the user of the library. We only require that the user provide us
product information.
fixes #61
2013-10-28 11:20:38 -07:00
Haacked
70b94187b3
Add NotFoundException for 404 status
2013-10-23 14:46:59 -07:00
Haacked
a1887837be
Implement 403 exception handling
...
This implements exception handling for the various 403 cases based off
of the Octokit.rb implementation.
https://github.com/octokit/octokit.rb/blob/master/lib/octokit/error.rb
Fixes #85
2013-10-17 22:22:56 -07:00
Haacked
995e0c5b55
More api cleanup
...
Make accepts come before contentType everywhere. Also remove unnecessary
overloads of IConnection.
2013-10-15 15:43:52 -07:00
Haacked
c839c33b5a
Fix up tests
2013-10-15 14:17:19 -07:00
Haacked
d6e560c737
Remove type argument from DeleteAsync
2013-10-15 13:43:16 -07:00
Haacked
2168d92e8f
Fix bug with Put setting invalid content type
...
Turns out we were calling the wrong overload.
2013-10-15 10:18:17 -07:00
Haacked
33ad79c0fe
Implement GetOrCreateApplicationAuthentication
...
Implements the endpoint for creating an application authorization token.
2013-10-09 19:54:05 -07:00
half-ogre
6f3fa81789
move internal stuff to .Internal namespace
2013-10-08 15:14:06 -07:00
Haacked
f8e7d2da29
Improve accepts and content type handling
2013-10-06 22:26:24 -07:00
Haacked
be7a14539e
Set request content type appropriately
2013-10-06 22:26:23 -07:00
Haacked
d79b526d70
Ensure user agent not empty string
...
Also added more ctor tests
2013-10-04 09:48:46 -07:00
Paul Betts
ace70b9a4b
Add UserAgent to GitHubClient and Connection
2013-10-04 09:37:45 -07:00
Matt Burke
84b42b7074
Implement PostRawAsync, for asset uploading.
2013-10-03 09:09:26 -07:00
Haacked
a39a80cc88
Add exception handling for non-OK status codes
2013-10-02 16:17:36 -07:00
Haacked
372fd25914
Move error handling to Connection
...
The adapter shouldn't be responsible for translating errors
into the proper exception.
2013-09-30 10:45:03 -07:00
Haacked
91b5449ddd
Removed fluent assertions
2013-09-23 17:41:04 -07:00
Haacked
997e955f38
Rename to Octokit to be consistent with other API libs
...
GitHub is naming all of the libraries Octokit for their respective
platforms
2013-01-29 14:00:27 -08:00