225 Commits

Author SHA1 Message Date
Simple Geebus
8f8dc2fa65 Prepared changelog for build 4 2010-11-15 19:30:19 +00:00
François de Metz
7c40755a01 expose authHeader better integration in app 2010-11-10 00:57:53 +01:00
François de Metz
6d01536d66 refactor code from oauth.signUrl and oauth._performSecureRequest 2010-11-10 00:49:00 +01:00
ciaranj
83d4566331 Bumping version to 0.8.3 2010-11-02 20:43:46 +00:00
ciaranj
b6f7e03061 Extra params when passed as a POST will now properly get set as the POST body rather than be discarded as previously 2010-10-31 23:15:22 +00:00
ciaranj
bd90236624 Added some tests to cover the existing behaviours before a refactor 2010-10-31 22:28:17 +00:00
ciaranj
bfaa9c4e11 Merge branch 'master' of http://github.com/coopernurse/node-oauth into merge_coopernurse
Conflicts:
	lib/oauth.js
2010-10-31 19:59:54 +00:00
James Cooper
bd54d3f899 add scope as an allowed oauth param so we can support google 2010-10-30 11:57:44 -07:00
Yohei Sasaki
fedf5776e7 more strict comparison. 2010-10-23 11:52:31 +01:00
Yohei Sasaki
6c27fa9ead testcase for _buildAuthorizationHeader to check the dependency on Array.prototype.toString. 2010-10-23 11:49:25 +01:00
ciaranj
417f367ae2 Remove some trailing whitespace 2010-10-17 17:19:27 +01:00
ciaranj
98c2e01a75 Tests all ported to Vows. No excuses now to not provide tests, I need to go back and write a lot more to cover what has already been done. 2010-10-17 12:23:45 +01:00
ciaranj
8a4b7e6b94 Gentle refactor to improve testability of the authorization headers code 2010-10-17 12:23:06 +01:00
ciaranj
29b5abd1f8 Making the current sole test a little more textually exciting 2010-10-17 10:42:54 +01:00
ciaranj
cd23affb23 Bootstrapping up tests on Vows (DEPENDS ON NPM) 2010-10-17 10:39:19 +01:00
Simple Geebus
af88dcdece Prepared changelog for build 2 2010-10-14 17:51:51 +00:00
Simple Geebus
24674faa31 Merge commit '46d9e008fda1b5c7794ebc39a70dc634454f93bf' 2010-10-14 17:51:49 +00:00
Wade Simmons
46d9e008fd update copyright 2010-10-14 10:01:55 -07:00
Simple Geebus
e200f5b462 Prepared changelog for build 1 2010-10-13 23:19:29 +00:00
Wade Simmons
0d0caa886e debianized 2010-10-13 16:13:12 -07:00
ciaranj
d53cb01282 Changing the readme to reflect latest version changes 2010-09-20 21:54:46 +01:00
ciaranj
3c22a78d9e Bumping version and updating package to use index.js instead of main.js 2010-09-20 21:50:03 +01:00
Chris Anderson
72648d0bfc write the post_body before returning the request object 2010-09-21 04:30:21 +08:00
Paul McKellar
2fa7f4ecb7 clone was too agressive, was getting some functions copied to headers from a bad library 2010-09-21 04:28:47 +08:00
ciaranj
d265de82f3 Bumping version number 2010-08-26 22:32:33 +01:00
ciaranj
3b94a77e5c Possible mechanism for returning a signed request object.
if oauth.get/post is called without a callback parameter it will return
a valid request object that can have custom listeners etc. attached to it.

Don't forget to call 'end' on it :)
2010-08-26 19:28:54 +01:00
ciaranj
b79bce508f Trying again with package.json 2010-08-26 09:36:01 +01:00
ciaranj
999a2bc5e8 Still struggling to get the repositories link in package.json right 2010-08-26 09:14:25 +01:00
ciaranj
b106405248 Updating the package.json file 2010-08-25 21:03:24 +01:00
Mark Wubben
ea09e67244 Error object rather than string in OAuth2 as well. 2010-08-24 06:12:49 +08:00
ciaranj
817e9680af Merge branch 'fix_up_0.7.8' 2010-08-16 23:01:00 +01:00
ciaranj
5ee443e9c3 Bumping version to 0.8.0 2010-08-16 22:53:56 +01:00
ciaranj
24c91e02b9 Add support for specifying whatever static HTTP headers one wishes with the OAuth requests 2010-08-14 19:21:12 +01:00
ciaranj
752c4419f9 Changed the post method to support passing of either a POST body string and optional content-type,
or a hash of query parameters that will be url form encoded.
2010-08-06 09:01:40 +01:00
ciaranj
ca370f3f5a Added new get method to OAuth2. Deprecated older getProtectedResource method 2010-08-05 22:49:55 +01:00
ciaranj
7117b2df3e Added new post method and get method. Deprecated older getProtectedResource method 2010-08-05 22:49:27 +01:00
ciaranj
3564e2e60b Ughh, my later changesets appear to have blown away some of Mark's changes :(
Put back in the capitalisation change to getOAuthAccessToken.
2010-07-29 22:58:58 +01:00
ciaranj
680d064e50 Updating documentation to reflect some received contributions. 2010-07-29 22:54:04 +01:00
Mark Wubben
0b4353bd38 Merge branch 'master' of http://github.com/ciaranj/node-oauth
Conflicts:
	lib/oauth.js
2010-07-29 23:24:56 +02:00
Mark Wubben
33df3dfd17 Error object rather than string, which allows for better verification of the HTTP status code of the response. 2010-07-28 19:24:56 +02:00
Mark Wubben
c8393eb053 Support for passing extra parameters when getting a request token. Changed getOAuthAccessToken to always expect an oauth_verifier value (although it could be null). 2010-07-28 19:24:13 +02:00
Mark Wubben
e38ab951f1 Fixed getOAuthAccessToken (rather than getOauthAccessToken). 2010-07-28 19:22:57 +02:00
ciaranj
40cc690275 Ooops != != == ! ;) 2010-07-19 00:29:17 +01:00
ciaranj
1c93463189 it looks like non oauth_ parameters where being included within the authorization headers
I believe this to be incorrect.
2010-07-19 00:25:00 +01:00
ciaranj
ebcf1c2950 Weird, found a missing argument that I could swear I'd put in previously?!!? 2010-07-18 23:43:39 +01:00
ciaranj
171b6d4599 Bumping version to 0.7.5, adding a top-level main file to ease
npm inclusion.
2010-07-18 21:26:22 +01:00
ciaranj
6942f60797 Bumping version 0.7.4 2010-06-23 19:59:59 +01:00
Troy Kruthoff
6ad738d395 added error listener to request socket, no node does not crash on socket error 2010-06-23 05:51:51 +08:00
ciaranj
09d613cd46 Bumping to 0.7.3 oauth 2 now sending a Content-Length header of 0 to
play well with github/nginx.
2010-06-01 21:03:23 +01:00
ciaranj
76cddbdf2b Bumping version number (0.7.2) 2010-05-18 19:14:06 +01:00