Skip to content

Commit

Permalink
Merge from pete dolye providing fixes for GRAILSPLUGINS-2459, GRAILSP…
Browse files Browse the repository at this point in the history
…LUGINS-2449, GRAILSPLUGINS-2458, GRAILSPLUGINS-2457, GRAILSPLUGINS-2456, GRAILSPLUGINS-2455, GRAILSPLUGINS-2454, GRAILSPLUGINS-2453,GRAILSPLUGINS-2452, GRAILSPLUGINS-2451, GRAILSPLUGINS-2450, GRAILSPLUGINS-2449, GRAILSPLUGINS-2438, GRAILSPLUGINS-2437. In addition, small code style fixes, typos and documentation updates.
  • Loading branch information
acampbell3000 committed Sep 8, 2010
2 parents 4dea0b1 + 59fd951 commit 1d71858
Show file tree
Hide file tree
Showing 4 changed files with 415 additions and 133 deletions.
16 changes: 15 additions & 1 deletion oauth-plugin/CHANGES.txt
Expand Up @@ -3,13 +3,27 @@ Version 0.10
Potential improvements: Potential improvements:
- Unit test coverage. - Unit test coverage.


Release notes 0.10 (TBA) Release notes 0.10 (8th September, 2010)
- Fix for GRAILSPLUGINS-2459, Add support for PUT/DELETE/HEAD/OPTIONS.
- Fix for GRAILSPLUGINS-2458, Don't wrap all exceptions in OauthServiceException (Allow for easier handling of
different types of failures).
- Fix for GRAILSPLUGINS-2457, Add support for signing (and not executing) custom HttpUriRequest objects.
- Fix for GRAILSPLUGINS-2456, Add support for signing and executing custom HttpUriRequest objects.
- Fix for GRAILSPLUGINS-2455, Add support for retrieving an HttpResponse instead of just the body.
- Fix for GRAILSPLUGINS-2454, Add shortcut for setting Accept header.
- Fix for GRAILSPLUGINS-2453, Add support for setting Content-Type.
- Fix for GRAILSPLUGINS-2452, Add support for adding body content.
- Fix for GRAILSPLUGINS-2451, Add support for adding headers.
- Fix for GRAILSPLUGINS-2450, Use HttpClient instead of HttpURLConnection.
- Fix for GRAILSPLUGINS-2449, Better support for REST API calls.
- Fix for GRAILSPLUGINS-2438, OauthService#getRequest(Map) does not set access token on OAuthConsumer. - Fix for GRAILSPLUGINS-2438, OauthService#getRequest(Map) does not set access token on OAuthConsumer.
- Fix for GRAILSPLUGINS-2437, OauthService should not re-use provider/consumer objects. - Fix for GRAILSPLUGINS-2437, OauthService should not re-use provider/consumer objects.
- Make getRequest() append params to the URL's query string. Services such as the Twitter API expect - Make getRequest() append params to the URL's query string. Services such as the Twitter API expect
the params as URL parameters and will ignore headers. Unfortunately, for now we still add the params as URL parameters and will ignore headers. Unfortunately, for now we still add
headers otherwise signpost doesn't seem to sign them correctly. headers otherwise signpost doesn't seem to sign them correctly.
- Do not add params to "both" the query string and headers. - Do not add params to "both" the query string and headers.
- Code style tweaks.
- README tweaks to provide HttpClient 4.x resources.


Release notes 0.9 (31 August, 2010) Release notes 0.9 (31 August, 2010)
- Fix the HttpURLConnection to apply the request method (i.e. GET, POST etc). - Fix the HttpURLConnection to apply the request method (i.e. GET, POST etc).
Expand Down
2 changes: 2 additions & 0 deletions oauth-plugin/README.txt
Expand Up @@ -324,6 +324,7 @@ documentation:


* http://oauth.net * http://oauth.net
* http://code.google.com/p/oauth-signpost * http://code.google.com/p/oauth-signpost
* http://hc.apache.org/httpcomponents-client/index.html


------------------------ ------------------------
Example usage Example usage
Expand All @@ -340,3 +341,4 @@ If you wish to contribute to the project you can find the full
source available on GitHub.org: source available on GitHub.org:


* http://wiki.github.com/dhou/grails-oauth * http://wiki.github.com/dhou/grails-oauth

3 changes: 2 additions & 1 deletion oauth-plugin/grails-app/conf/BuildConfig.groovy
Expand Up @@ -14,7 +14,8 @@ grails.project.dependency.resolution = {


dependencies { dependencies {
//runtime 'net.oauth:oauth-core:20090531' //runtime 'net.oauth:oauth-core:20090531'
runtime 'oauth.signpost:signpost-core:1.2' runtime 'oauth.signpost:signpost-core:1.2.1.1'
runtime 'oauth.signpost:signpost-commonshttp4:1.2.1.1'
} }


plugins { plugins {
Expand Down

0 comments on commit 1d71858

Please sign in to comment.