Commit Graph

7800 Commits

Author SHA1 Message Date
Ben Newman
d808bc2a49 Bump package versions for 1.4.1-beta.2 release. 2016-08-11 16:29:45 -04:00
Ben Newman
e9f6b2b404 Bump package versions for 1.4.1-beta.1 release. 2016-08-11 12:26:32 -04:00
Ben Newman
027a7b6e32 Merge branch 'devel' into release-1.4.1 2016-08-11 11:30:40 -04:00
Ben Newman
3c7f83778f Move server-side component of meteor shell into a package. (#7624)
This will make it much easier to fix bugs and make improvements going
forward, since they won't have to wait for the next release of Meteor.

One functional change: when the parent process exits, it no longer forces
all connected shell clients to disconnect, which is actually a more
convenient behavior, because it gives the clients a chance to reconnect
when/if the server starts up again, and it's easy enough to kill the
clients if that's what you want.
2016-08-11 09:11:40 -04:00
Ben Newman
491a413cb5 Update shrinkwrap for ecmascript-runtime. 2016-08-10 19:05:38 -04:00
Ben Newman
fe9f46c8a0 Upgrade ecmascript-runtime to include stage 4 proposals.
https://github.com/meteor/ecmascript-runtime/pull/4
2016-08-10 17:40:07 -04:00
Ben Newman
a1c3516053 Use pure-JavaScript implementation for npm-bcrypt package. (#7595)
According to the README, this implementation is approximately 2.7 times
slower than native: https://www.npmjs.com/package/bcryptjs

Apps that wish to continue using the native bcrypt package should run
`meteor npm install --save bcrypt` in the root application directory, and
the npm-bcrypt package will prefer that implementation.
2016-08-09 16:42:41 -04:00
Ben Newman
c8f1633012 Fix typo in Accounts#_expirePasswordResetTokens.
Needed to add version constraints to all the dependencies in
accounts-base/package.js so that I can publish it independently from a
Meteor release.

Follow-up to #7534.
Fixes #7611.
2016-08-09 13:27:26 -04:00
Ben Newman
d15e87c823 Fix typo in Accounts#_expirePasswordResetTokens.
Follow-up to #7534.
2016-08-09 13:06:19 -04:00
Ben Newman
15684bc47e Bump package versions for 1.4.1-beta.0 release. 2016-08-08 21:02:34 -04:00
Ben Newman
cb587f6145 Upgrade meteor-ecmascript-runtime to 0.2.8.
Most notably, this version reuses global.Symbol when possible.
2016-08-08 18:44:34 -04:00
Ben Newman
0d4cf02361 Add version constraints for all dependencies of accounts-password.
This is necessary to allow publishing accounts-password independently of a
Meteor release.

Note that the npm-bcrypt version has been bumped to 0.8.7_1.
2016-08-08 12:51:39 -04:00
Ben Newman
5b35fc5573 Bump npm-bcrypt version to republish for all architectures. 2016-08-08 12:46:30 -04:00
Ben Newman
70b620511d Fix tests for #7534. 2016-08-05 18:10:51 -04:00
Tom Coleman
d7c509b5fb Merge pull request #7534 from Ben305/expire-password-reset-tokens
Expire Password reset tokens
2016-08-04 11:39:41 +10:00
Ben Newman
a83f6da059 Don't minify non-web .css files.
We shouldn't be processing .css files on the server anyway, because of a
similar restriction in packages/meteor/plugin/basic-file-types.js, but
it seemed wise to enforce that restriction redundantly here.
2016-08-03 16:34:31 -04:00
Ben Newman
2f6a6921b9 Don't minify non-web .js files.
Fixes #7479, #7441, and similar issues for server-only files that
contain syntax supported by Node 4 but not supported by UglifyJS.
2016-08-03 16:34:30 -04:00
Ben Newman
7363d9c0be Upgrade uglify-js to version 2.7.0.
This version still doesn't support many ES2015 features, but we might as
well use the latest stable version.
2016-08-03 16:34:30 -04:00
Benedikt Huss
4c31d68087 Password reset tokens have now a default expiration time of 3 days 2016-08-03 13:39:30 +02:00
Tom Coleman
eeab0202d8 Merge branch 'feature/google-permissions' of https://github.com/MasterAM/meteor into MasterAM-feature/google-permissions
Conflicts:
	History.md
2016-08-03 09:07:44 +10:00
Tom Coleman
6a79922a7c Merge pull request #7550 from gsabran/expose-fb-auth-from-access-token
Expose the function that gets fb data from an access token
2016-08-03 09:00:33 +10:00
Tom Coleman
f89dc15607 Merge pull request #7433 from Ragsboss/devel
[7397] onLogout should provide connection information
2016-08-03 08:48:48 +10:00
Guillaume Sabran
b165d3e935 Attach to the Facebook scope the function to get fb data from an access token 2016-08-02 09:32:36 -07:00
Ben Newman
b853935710 Specify version constraints for modules and ejson in oauth-encryption. 2016-08-02 10:39:32 -04:00
Ben Newman
f834b59b52 Remove underscore dependency from oauth-encryption. 2016-08-02 10:37:48 -04:00
Ben Newman
d4ab84df65 Update inaccurate comment about AAD data.
https://github.com/meteor/meteor/pull/7548#issuecomment-236916851
2016-08-02 10:37:45 -04:00
Ben Newman
accde8048f Remove now-unused npm-node-aes-gcm package. 2016-08-02 00:00:44 -04:00
Ben Newman
d411ba66d0 Use native Node aes-gcm support in oauth-encryption package. 2016-08-01 23:58:20 -04:00
Tom Coleman
67c3664e16 Preparing 1.4.0.1 release 2016-07-29 16:06:55 +10:00
Tom Coleman
c47aae693d Release 1.4.0.1-rc.3 2016-07-29 13:26:47 +10:00
Tom Coleman
7485f02118 Trying 1.4.0.1-rc.2 2016-07-29 12:26:41 +10:00
Alon Amster
ca09e9d19b Improve backward compatibility and add note
The default value for the `requestPermissions` option is now `profile`,
thus preserving the old behavior in case the option was not
explicitly set.

Added a note in the History.md file regarding this change.
2016-07-27 10:53:56 +03:00
Alon Amster
c239effdad Removed the google profile scope.
The `email` scope is enough for getting the required data, including the
user ID.
2016-07-27 10:14:34 +03:00
Ben Newman
1ec0a46982 Bump package versions for the official 1.4 release. 2016-07-25 11:51:33 -04:00
Ben Newman
d946b0940e Update npm-mongo shrinkwrap file (trivial). 2016-07-25 11:51:29 -04:00
Ben Newman
f9688fe855 Bump package versions for 1.4-rc.2 release. 2016-07-22 17:19:54 -04:00
Raghavendra Rachamadugu
4fc88f9012 Merge remote-tracking branch 'upstream/devel' into devel 2016-07-20 12:08:55 -07:00
Ben Newman
11833c4e66 Bump package versions for 1.4-rc.1 release. 2016-07-20 14:05:27 -04:00
Ben Newman
918f9bddad Merge branch 'devel' into release-1.4 2016-07-20 14:03:47 -04:00
Raghavendra Rachamadugu
4a609c2783 [7397] Change argument to onLogout callback to be consistent with onLogin argument
onLogin argument is an object that has user and connection fields among other fields. So I'm making onLogout also have user and connection fields to make things consistent.

Other fields that onLogin callbacks receive include type, allowed, methodName, methodArguments - which are not available or applicable for onLogout.
2016-07-19 21:26:50 -07:00
Tom Coleman
258b14af0c Allow passing applySkipLimit to count and default it to false.
Not currently supported in minimongo, so I'm not sure we want to
document it yet. Supporting it (and making it consistent) in MM
will take a little bit of work:
https://github.com/meteor/meteor/issues/1201
2016-07-20 11:24:32 +10:00
Tom Coleman
bb0a9e2e99 Merge pull request #7425 from meteor/findOne-undefined
Note in docs that findOne can return undefined
2016-07-20 08:33:54 +10:00
Tom Coleman
8a64476b5f Merge branch 'meteor-issue-7416' of https://github.com/abernix/meteor into abernix-meteor-issue-7416
Conflicts:
	History.md
2016-07-20 08:26:22 +10:00
Raghavendra Rachamadugu
0e1d3c7f92 Add check for connection field in test 2016-07-19 13:18:23 -07:00
Raghavendra Rachamadugu
5d4de13cfd [7397] onLogout should provide connection information
Adding an argument to onLogoutCallback. The callback is an object with two properties - userId and connection. I thought of loading up the user and instead have the user property, but felt like this maybe redundant. Logout hooks can always do this if they need. However one advantage of having user instead of userId is it makes it symmetric/consistent with onLogin callback. Let me know if you strongly feel we should have user instead userId..

Also extended an existing test to validate the onLogout callback gets this argument with expected user id
2016-07-18 16:20:48 -07:00
Ben Newman
79d5a7139f Bump package versions for 1.4-rc.0 release. 2016-07-18 14:57:24 -04:00
Ben Newman
00c05facde Merge branch 'devel' into release-1.4 2016-07-18 14:52:14 -04:00
Ben Newman
ea3153230e Bump package versions for the official 1.3.5.1 release. 2016-07-17 21:51:38 -04:00
Ben Newman
df7d19915a Bump package versions for 1.3.5.1-rc.1 release. 2016-07-17 21:33:32 -04:00
Loren Sands-Ramshaw
9511c9f0b5 Note in docs that findOne can return undefined 2016-07-17 16:30:31 -04:00