Merge branch 'master' into devel

Conflicts:
	History.md
	packages/oauth1/oauth1_server.js
This commit is contained in:
Emily Stark
2014-04-21 15:29:31 -07:00
12 changed files with 26 additions and 19 deletions

View File

@@ -29,6 +29,13 @@
- Node.js from 0.10.25 to 0.10.26.
- MongoDB driver from 1.3.19 to 1.4.1
## v0.8.0.1
* Fix security flaw in OAuth1 implementation. Clients can no longer
choose the callback_url for OAuth1 logins.
## v0.8.0
Meteor 0.8.0 introduces Blaze, a total rewrite of our live templating engine,

View File

@@ -1 +1 @@
0.8.0
0.8.0.1

View File

@@ -1,5 +1,5 @@
// While galaxy apps are on their own special meteor releases, override
// Meteor.release here.
if (Meteor.isClient) {
Meteor.release = Meteor.release ? "0.8.0" : undefined;
Meteor.release = Meteor.release ? "0.8.0.1" : undefined;
}

View File

@@ -1 +1 @@
0.8.0
0.8.0.1

View File

@@ -1 +1 @@
0.8.0
0.8.0.1

View File

@@ -1 +1 @@
0.8.0
0.8.0.1

View File

@@ -1 +1 @@
0.8.0
0.8.0.1

View File

@@ -1 +1 @@
0.8.0
0.8.0.1

View File

@@ -11,9 +11,11 @@ Oauth._requestHandlers['1'] = function (service, query, res) {
if (query.requestTokenAndRedirect) {
// step 1 - get and store a request token
var callbackUrl = Meteor.absoluteUrl("_oauth/twitter?close&state=" +
query.state);
// Get a request token to start auth process
oauthBinding.prepareRequestToken(query.requestTokenAndRedirect);
oauthBinding.prepareRequestToken(callbackUrl);
// Keep track of request token so we can verify it on the next step
Oauth._storeRequestToken(query.state,

View File

@@ -24,14 +24,9 @@ Twitter.requestCredential = function (options, credentialRequestCompleteCallback
// a credentialToken parameter to the url and the callback url that we'll be returned
// to by oauth provider
// url back to app, enters "step 2" as described in
// packages/accounts-oauth1-helper/oauth1_server.js
var callbackUrl = Meteor.absoluteUrl('_oauth/twitter?close&state=' + credentialToken);
// url to app, enters "step 1" as described in
// packages/accounts-oauth1-helper/oauth1_server.js
var loginUrl = '/_oauth/twitter/?requestTokenAndRedirect='
+ encodeURIComponent(callbackUrl)
var loginUrl = '/_oauth/twitter/?requestTokenAndRedirect=true'
+ '&state=' + credentialToken;
Oauth.showPopup(

View File

@@ -1,7 +1,4 @@
=> Meteor 0.8.0: Introducing Blaze, Meteor's new live templating engine!
Better integration with jQuery plugins, fine-grained updates,
reactive SVG support, and more!
https://github.com/meteor/meteor/wiki/Using-Blaze
=> Meteor 0.8.0.1: Fix security problem in Twitter OAuth flow.
This release is being downloaded in the background. Update your
project to Meteor 0.8.0 by running 'meteor update'.
project to Meteor 0.8.0.1 by running 'meteor update'.

View File

@@ -94,6 +94,9 @@
{
"release": "0.7.2"
},
{
"release": "0.7.2.1"
},
{
"release": "0.8.0",
"notices": [
@@ -111,6 +114,9 @@
"http://madewith.meteor.com/ no longer supports app badges."]
}
},
{
"release": "0.8.0.1"
},
{
"release": "NEXT"
}