Commit Graph

8422 Commits

Author SHA1 Message Date
Ben Newman
29a3f310ca Bump package versions for 1.5-beta.16 release. 2017-04-20 17:36:02 -04:00
Ben Newman
b057415048 Merge branch 'devel' into release-1.5 2017-04-20 16:46:03 -04:00
Jesse Rosenberger
ce54e02269 Bump google-oauth package version in preparation for publishing. 2017-04-20 05:50:54 -07:00
Jesse Rosenberger
936df52b92 Exchange serverAuthCode for an accessToken in packages/google-oauth.
The `accessToken` isn't always immediately provided (for example on
Android devices) but instead needs to be retrieved by exchanging the
`serverAuthCode`.

Fixes https://github.com/meteor/meteor/issues/8613.
2017-04-20 05:29:40 -07:00
Ben Newman
6f75eae135 Remove automatic Buffer polyfill.
This polyfill is unnecessary in Node, and added a whopping 22KB to the
minified client bundle. If you really need the Buffer API on the client,
you can get it from require("buffer").Buffer.
2017-04-19 17:41:11 -04:00
Ben Newman
0042ae55f1 Split ecmascript-runtime into client and server packages.
This split gives us the ability to use different sets of polyfills for
server and client, which allows us to take better advantage of native
support in Node 4+.

We now rely on core-js as a peer dependency on the client (which is a win
because core-js is always installed along with babel-runtime), and as an
Npm.depends-style dependency on the server (which is necessary because
there's not always an an application to provide peer node_modules on the
server, e.g. in isopackets and compiler plugins).

Since we're using different sets of polyfills on the client and the
server, it didn't seem to make sense to rely on a single npm package, so
meteor-ecmascript-runtime has been removed.
2017-04-19 17:36:04 -04:00
Ben Newman
b491985b4a Make babel-runtime use ecmascript-runtime on server only. 2017-04-19 15:56:33 -04:00
Jesse Rosenberger
6a9f8b9044 Merge pull request #8571 from Akarshit/fix-passwordIndex
Move the index creation to a location which will cover applications which do not use `accounts-password` but still need the benefit of the index.
2017-04-19 08:28:18 -07:00
Wexpo Lyu
1c9eacaeb8 Accounts login functions (#2375) (#8452)
Provide AccountsClient#{call,apply}LoginFunction methods.
2017-04-19 11:17:53 -04:00
Erik Demaine
6d45626566 Switch to modern nodemailer 4, Node 4 version. Fix #8591 (#8605)
* Switch to modern nodemailer 4, Node 4 version. Fix #8591

* Most critically, use a pool instead of direct SMTP connection,
  to handle dropped connections and increase throughput,
  like mail module 1.1.  (#8591)
* New nodemailer's sendMail wants an options object, not a MailComposer
  object.  Luckily, a MailComposer object has a "mail" field that
  remembers the original options, so we can keep original behavior.
* However, we no longer support the mailComposer option set to a compiled
  MailComposer object (functionality that was briefly added in 1.2.0).
* nodemailer does SMTP URL parsing now automatically for us, simplifying code.
* Tests' outputs now end with additional "\r\n"
* Drop underscore package dependency (no longer needed)

* General formatting/style cleanup for `packages/email`.

* snake_cased => camelCased for some local variables.
* Added curly-brackets to `if`s.
* Removed trailing spaces.
* Removed commented-out code.
* Removed older doc text and changed some links.

* Get rid of back-and-forth assigning of `mailUrlString`.
2017-04-17 12:41:44 -07:00
Ben Newman
7a9dd2b7a4 Use tokens from Google Sign-In instead of calling getTokens. (#8604)
* Use tokens from Google Sign-In instead of calling getTokens.

Follow-up to https://github.com/meteor/meteor/pull/8588.

* Bump google-oauth package version to 1.2.3.
2017-04-14 18:11:06 -04:00
Ben Newman
353bea75b7 Bump ecmascript package version to 0.7.3.
Bumping this version is necessary after upgrading babel-compiler since
ecmascript registers a compiler plugin that uses babel-compiler.
2017-04-14 02:38:27 -04:00
Ben Newman
d8fa46b5aa Update npm-shrinkwrap.json for babel-compiler package. 2017-04-14 02:37:35 -04:00
Ben Newman
895321e35f Upgrade meteor-babel and reify to fix #8595. (#8599)
* Upgrade meteor-babel to version 0.20.1 and reify to 0.7.4.
* Bump $BUNDLE_VERSION to 4.7.25 before rebuilding dev bundle.
2017-04-14 02:35:01 -04:00
Ben Newman
9bd5194fa4 Merge pull request #8529 from s7dhansh/patch-1
Add the name of the field to MiniMongo error messages.
2017-04-12 15:25:51 -04:00
Ben Newman
1887031733 Bump minimongo package version to 1.0.22. 2017-04-12 15:25:12 -04:00
Ben Newman
c41a65ce59 Bump google-oauth package version to 1.2.2. 2017-04-12 15:20:43 -04:00
Ben Newman
c67540cf56 Remove underscore dependency from google-oauth package. 2017-04-12 14:36:11 -04:00
Tomas Brambora
fde92c9d79 Fixed Google OAuth user data fetching. 2017-04-12 21:51:35 +10:00
Ben Newman
caf7f3d7dd Merge branch 'master' into devel 2017-04-07 18:46:07 -04:00
Ben Newman
384023ecbd Bump package versions for the official 1.4.4.1 release. 2017-04-07 17:58:50 -04:00
Ben Newman
ce29815ae7 Bump package versions for 1.4.4.1-rc.0 release. 2017-04-07 16:27:22 -04:00
Ben Newman
e1ac5bf1f3 Replace module.importSync with module.import in older Meteor versions.
Also bumping the ecmascript version because it registers a compiler plugin
that uses babel-compiler.

Fixes #8572, albeit somewhat hackily.
2017-04-07 16:27:17 -04:00
Ben Newman
fb2290960c Bump package versions for 1.5-beta.14 release. 2017-04-07 13:28:39 -04:00
Ben Newman
43d339d087 Merge branch 'devel' into release-1.5 2017-04-07 12:45:29 -04:00
Ben Newman
ac5131d1d7 Replace module.importSync with module.import in older Meteor versions.
Also bumping the ecmascript version because it registers a compiler plugin
that uses babel-compiler.

Fixes #8572, albeit somewhat hackily.
2017-04-07 11:53:46 -04:00
Jesse Rosenberger
948ec2b05f Merge branch 'master' into devel 2017-04-07 18:50:17 +03:00
Jesse Rosenberger
ddfa7083e7 Change MinimongoError to accept field in a new options parameter.
This allows the field name to be dynamically introduced into the error
message.

Follows-up on meteor/meteor#8529.
2017-04-07 17:09:08 +03:00
Jesse Rosenberger
68afef2050 Bump package versions for the official 1.4.4 release. 2017-04-07 13:55:36 +03:00
Jesse Rosenberger
13c55e734c Bump package versions for 1.4.4-rc.9 release. 2017-04-06 22:51:33 +03:00
Akarshit
7594b749e9 Index creation in the file using the query 2017-04-07 01:18:46 +05:30
Jesse Rosenberger
f62b25e3f0 Bump package versions for 1.4.4-rc.8 release. 2017-04-05 20:09:52 +03:00
Max Nowack
759671dc6c add function to expose tracker inFlush variable (#8565) 2017-04-05 11:54:40 -04:00
ScaY
52fb594659 test(accounts-password): tests email verification for same email (#8555)
Test that email verification is case-insensitive.
2017-04-05 11:41:28 -04:00
mutdmour
9bcb3a47b6 Store expiresAt for all OAuth providers (#8547).
Fixes #576.
2017-04-05 11:33:05 -04:00
Hugh Willson
f4e41cbf1b Adjust Mongo.Collection._rewriteSelector to allow a custom fallback _id. (#8525)
* Adjust Mongo.Collection._rewriteSelector to allow a custom fallback _id.

* Adjusted insertedId fallback handling to include the options.insertedId.

* Adjusted _rewriteSelector to use an options object for fallbackId.
2017-04-05 11:25:09 -04:00
Jesse Rosenberger
eb827b2515 Bump package versions for 1.4.4-rc.7 release. 2017-04-05 14:43:43 +03:00
Ben Newman
337a61c426 Disable dynamic module fetching in Cordova apps.
Instead of fetching a bundle of JavaScript from the server, Cordova apps
include the complete bundle in the installed app, so there's no compelling
reason to allow dynamic module fetching.

The dynamic import(...) function will still work on Cordova, of course.
It will just never have to fetch anything from the server.
2017-04-04 19:09:26 -04:00
Ben Newman
fc626eaf4c Use fork of cordova-plugin-googleplus to ease iOS keychain sharing.
https://github.com/meteor/meteor/issues/8253
https://github.com/EddyVerbruggen/cordova-plugin-googleplus/pull/366
2017-04-04 15:26:28 -04:00
Ben Newman
f3c2eaf5bf Bump package versions for 1.4.4-rc.6 release. 2017-04-03 20:24:06 -04:00
Ben Newman
954efa7f5a Support Google Sign-In in google-oauth package. (#8549)
* Support Google Sign-In in google-oauth package.

Addresses #8253.

* Use Meteor.startup instead of listening for deviceready event.

* Fix mobile-config.js typo.

* Bump accounts-google and google-oauth package versions.

I'm only bumping the patch versions, even though the recent changes to
these packages may seem significant, for two reasons:

1. Bumping the minor versions would force Meteor 1.4.3 developers to
   upgrade to Meteor 1.4.4 if they wanted to use these changes.

2. The accounts-google and google-oauth packages without these changes
   will stop working completely in two weeks, which is much worse than the
   risks of upgrading.
2017-04-03 17:07:55 -04:00
Ben Newman
0a73a80b4b Upgrade uglify-js in an attempt to fix #8536. 2017-04-03 16:54:20 -04:00
Jesse Rosenberger
2fd61b83a7 Bump package versions for 1.4.4-rc.5 release. 2017-03-30 15:47:07 +03:00
Jesse Rosenberger
e3d9bac133 Add -rc.n suffix to rate-limit. 2017-03-30 03:14:45 +03:00
vix3
26544d696f Fix typo in comment (#8540)
Fixed small word typo in comments (meteor/packages/tracker/tracker.js).
2017-03-29 19:44:31 -04:00
Jesse Rosenberger
de11f73477 Add -rc.n suffix to modules-runtime. 2017-03-30 02:17:18 +03:00
Jesse Rosenberger
276f828359 Bump package versions for 1.4.4-rc.4 release. 2017-03-30 02:16:40 +03:00
Jesse Rosenberger
d24cd94f20 Merge branch 'release-1.4.3.x' of https://github.com/meteor/meteor into release-1.4.3.x 2017-03-30 02:15:20 +03:00
Ben Newman
fcbd398ab7 Appending module identifier extensions should not match directories.
This logic needed to change not only in meteor/tools/isobuild/resolver.js
but also in the runtime module system:
cfcc422725

Fixes #8539.
2017-03-29 18:50:41 -04:00
Jesse Rosenberger
6d2b7c8070 Merge pull request #8520 from dhrubins/accounts-password-ambiguous-errors
Add ambiguous error messages option to Accounts config
2017-03-29 23:54:52 +03:00