Commit Graph

242 Commits

Author SHA1 Message Date
ciaranj 5041ca168a closes 24 - Now compatible with node v0.3.7 2011-02-02 21:35:04 +00:00
Rasmus Andersson 98e432b431 Compatibility with node 0.3.8 2011-02-02 19:34:32 +00:00
Daniel Hofstetter 40b70bb9ef Renaming variable sshEnabled -> sslEnabled 2010-12-18 07:52:48 -08:00
ciaranj 0a786bdcbc Updating readme 2010-12-13 20:12:59 +00:00
ciaranj 3331aefe27 Resolves Issue 18 - Handles node.js querystring a little better
in the edge case on composite parameters such as foo[bar] :)
2010-12-13 20:04:41 +00:00
ciaranj 7daacdb084 Updating readme 2010-12-12 23:10:08 +00:00
ciaranj fd2fad54da Adds support for PUT & DELETE verbs. Fixes #13 2010-12-12 23:06:24 +00:00
ciaranj 213bc49a20 Updating readme 2010-12-12 22:40:37 +00:00
ciaranj 2c0b8c3b79 Fixes issue 17 - Handles rev07 and above of the OAuth spec 2010-12-12 22:38:56 +00:00
ciaranj b3175f8b21 Fixes Issue 16. Now uses POST to get hold of the access tokens as per the specification.
Tested against Twitter/FourSquare and Yahoo.
2010-12-05 22:58:17 +00:00
ciaranj f5beadcee4 If running on a node that has openssl built in, then this will be used for the SHA1 hashing.
Otherwise will fallback to the pure JS (original) SHA! implementation.
2010-12-05 22:32:19 +00:00
ciaranj a5a913823b Updating readme notes and package.json for next release 2010-12-05 21:59:29 +00:00
ciaranj 5f000d6858 Removing kiwi package file 2010-12-05 21:58:06 +00:00
ciaranj 14ce3e51e5 Merge commit '0.8.3' 2010-12-05 21:57:06 +00:00
ciaranj caebbc2ca1 Fixed the parameter ordering, and added support for repeated arguments. Fixes issue 14 2010-12-05 21:52:50 +00:00
ciaranj 1d6eefec70 Merge branch 'master' of https://github.com/simplegeo/node-oauth into simplegeo-debianise 2010-11-23 23:06:46 +00:00
François de Metz c35f184420 added tests about oauth.authHeader 2010-11-23 23:23:07 +01:00
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