Commit Graph

18682 Commits

Author SHA1 Message Date
Jesse Rosenberger
1ac0d4ca2f Bump package versions for the official 1.4.4.2 release. release/METEOR@1.4.4.2 2017-05-02 10:56:09 +03:00
Jesse Rosenberger
15542d7de2 Add date to History.md for official 1.4.4.2 release. 2017-05-02 10:46:59 +03:00
Jesse Rosenberger
0223c6a8ed Add message about MAIL_URL scheme in History.md.
This should act as a reminder for those who may be using `smtp://` when
they should be using `smtps://`.  Previously, the scheme was implied by
the port number, however this is not the ideal behavior in the same way
that it is unsafe to assume that port 443 is always `https://`.
2017-05-02 10:42:42 +03:00
Jesse Rosenberger
30e9e01afa Bump package versions for 1.4.4.2-rc.1 release. release/METEOR@1.4.4.2-rc.1 2017-04-26 13:26:09 -07:00
Bartosz Wojtkowiak
5a4d5035c3 Implement CORDOVA_COMPATIBILITY_VERSION_IOS/ANDROID and EXCLUDE (#8581)
* Implement CORDOVA_COMPATIBILITY_VERSION_EXCLUDE and CORDOVA_COMPATIBILITY_VERSION_IOS/ANDROID

CORDOVA_COMPATIBILITY_VERSION_IOS or CORDOVA_COMPATIBILITY_VERSION_ANDROID allows to override compatibility version for a specified platform.

CORDOVA_COMPATIBILITY_VERSION_EXCLUDE provides a way of excluding a certain plugin from compatibility version calculation. You can pass several plugin names with ';'. For example: `CORDOVA_COMPATIBILITY_VERSION_EXCLUDE='cordova-plugin-crosswalk-webview;cordova-plugin-device'`

* Changes after review
2017-04-26 13:23:22 -07:00
mutdmour
9da6767447 Handle legacy coordinates as GeoJSON in minimongo (#2077) (#8620) 2017-04-26 13:23:21 -07:00
mutdmour
f46b5f9e41 [Fix #5165] don't allow invalid field names (#8608) 2017-04-26 13:23:00 -07:00
Jesse Rosenberger
3d04c48b25 Bump package versions for 1.4.4.2-rc.0 release. release/METEOR@1.4.4.2-rc.0 2017-04-25 17:36:24 -07:00
Jesse Rosenberger
6cf0783282 Additions to the History.md for 1.4.4.2. 2017-04-25 16:41:32 -07:00
Ben Newman
1a036553c1 Fix faulty content-length comparison in utils/http-helpers.js.
Since body is a string, body.length is not necessarily the number of bytes
in the response body.
2017-04-25 16:11:29 -07:00
Jesse Rosenberger
3438a3ac94 Merge branch 'abernix/feature/fix-meteor-debug' into release-1.4.4.2-2 2017-04-25 16:07:03 -07:00
Jesse Rosenberger
feb079b4bc Update versions of node-inspector and v8-profiler packages.
Notable changes in `node-inspector`:
  https://github.com/node-inspector/node-inspector/blob/master/ChangeLog.md#2017-04-24-version-111

Fixes meteor/meteor#8469.
2017-04-25 16:05:14 -07:00
Jesse Rosenberger
bb859d8fda Add History.md for Node.js and npm package updates. 2017-04-25 16:05:13 -07:00
Jesse Rosenberger
d3ab206a7a Update npm package to v4.5.0.
Notable changes:
  https://github.com/npm/npm/releases/tag/v4.5.0
2017-04-25 16:05:12 -07:00
Hugh Willson
cfd804150c Upgraded to Node 4.8.2 and bumped the dev bundle version. 2017-04-25 16:05:11 -07:00
Jesse Rosenberger
11db32b40d Bump google-oauth package version in preparation for publishing. 2017-04-25 16:05:10 -07:00
Jesse Rosenberger
c527be388b 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-25 16:05:09 -07:00
Akarshit
11cf43f348 Index creation in the file using the query 2017-04-25 16:05:08 -07:00
Erik Demaine
beb60090d7 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-25 16:05:07 -07:00
Ben Newman
d5ba2a1a37 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-25 16:05:07 -07:00
Ben Newman
0d1cf9e7ed 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-25 16:05:06 -07:00
Ben Newman
708bbe4991 Update npm-shrinkwrap.json for babel-compiler package. 2017-04-25 16:05:05 -07:00
Ben Newman
0d8e58b09d 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-25 16:05:04 -07:00
Ben Newman
bc7cc19d41 Bump minimongo package version to 1.0.22. 2017-04-25 16:05:03 -07:00
Jesse Rosenberger
eedf8bddbf 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-25 16:05:02 -07:00
Sudhanshu
9163643906 Add the field name in the error
When Minimongo throws an error, most of the times, the field names are not present, making it a bit difficult to debug. Updated the error messages to include the field name for which it threw the error.
2017-04-25 16:05:01 -07:00
Ben Newman
a954efc2f2 Bump google-oauth package version to 1.2.2. 2017-04-25 16:05:00 -07:00
Ben Newman
6b44ded1e4 Remove underscore dependency from google-oauth package. 2017-04-25 16:04:59 -07:00
Tomas Brambora
db093ff316 Fixed Google OAuth user data fetching. 2017-04-25 16:04:58 -07:00
Jesse Rosenberger
450c734b8f Add History.md entries for node-inspector and meteor debug fixes. 2017-04-25 15:50:31 -07:00
Jesse Rosenberger
99fffd8670 Fix disappearance of debug banner when running meteor debug.
This was broken due to a change in Node.js which enabled support for
using `--debug` in combination with IPv6 addresses.
2017-04-25 15:49:52 -07:00
Erik Demaine
78c6ac915c 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-25 15:40:27 -07:00
Ben Newman
150ef7100e 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-25 15:38:15 -07:00
Ben Newman
a00bcd026e Update npm-shrinkwrap.json for babel-compiler package. 2017-04-25 15:38:03 -07:00
Ben Newman
da9e3971f8 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-25 15:37:36 -07:00
Jesse Rosenberger
94f8c9d7ce Remove experimental trailing comma to avoid problems with jsdoc.
The comma in question: a trailing comma a rest-parameter, within a
function argument's parameter de-structuring:

	function a({
	  a = false,
	  ...b,
	}) {
	  // ...
	}

Espree, the parser used by `jsdoc` (used in Meteor docs) previously
allowed this with `experimentalObjectRestSpread` enabled but now throws
an error with the addition of 652990a7bf.

It might have been argued at one point that the trailing-comma could
allow for the easy, future addition of another parameter, ala:

	function a({
	  a = false,
	  ...b,
	  c = true,
	}) {
	  // ...
	}

Having the rest-parameter in the last position is certainly more clear
(it is the "rest", after-all, and there can be only one) but I'm not
going to have that discussion at the cost of docs not deploying!
2017-04-25 15:36:10 -07:00
Jesse Rosenberger
411dd81a45 Update versions of node-inspector and v8-profiler packages.
Notable changes in `node-inspector`:
  https://github.com/node-inspector/node-inspector/blob/master/ChangeLog.md#2017-04-24-version-111

Fixes meteor/meteor#8469.
2017-04-25 15:30:03 -07:00
Jesse Rosenberger
d9f559ccc5 Add History.md for Node.js and npm package updates. 2017-04-25 15:29:52 -07:00
Jesse Rosenberger
66f353ffb0 Update npm package to v4.5.0.
Notable changes:
  https://github.com/npm/npm/releases/tag/v4.5.0
2017-04-25 15:21:43 -07:00
Hugh Willson
1886bdb9d6 Upgraded to Node 4.8.2 and bumped the dev bundle version. 2017-04-25 15:21:31 -07:00
Jesse Rosenberger
27b2a04f6f Remove experimental trailing comma to avoid problems with jsdoc.
The comma in question: a trailing comma a rest-parameter, within a
function argument's parameter de-structuring:

	function a({
	  a = false,
	  ...b,
	}) {
	  // ...
	}

Espree, the parser used by `jsdoc` (used in Meteor docs) previously
allowed this with `experimentalObjectRestSpread` enabled but now throws
an error with the addition of 652990a7bf.

It might have been argued at one point that the trailing-comma could
allow for the easy, future addition of another parameter, ala:

	function a({
	  a = false,
	  ...b,
	  c = true,
	}) {
	  // ...
	}

Having the rest-parameter in the last position is certainly more clear
(it is the "rest", after-all, and there can be only one) but I'm not
going to have that discussion at the cost of docs not deploying!
2017-04-12 09:59:09 -07:00
Ben Newman
caf7f3d7dd Merge branch 'master' into devel 2017-04-07 18:46:07 -04:00
Ben Newman
06e82b845c Merge pull request #8574 from meteor/release-1.4.4.1
Release 1.4.4.1
2017-04-07 18:43:40 -04:00
Ben Newman
384023ecbd Bump package versions for the official 1.4.4.1 release. release/METEOR@1.4.4.1 2017-04-07 17:58:50 -04:00
Ben Newman
22cefeec15 Update History.md to reflect changes in Meteor 1.4.4.1. 2017-04-07 16:50:57 -04:00
Ben Newman
ce29815ae7 Bump package versions for 1.4.4.1-rc.0 release. release/METEOR@1.4.4.1-rc.0 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
6055b49f8d Wait on removal of garbage directories.
This would have been a nice optimization if it had worked, but (in
addition to leaving garbage directories lying around sometimes if the
process was killed), it appears to have some unintended consequences for
meteorNpm.rebuildIfNonPortable and related functions, since the garbage
directories are easily confused for npm package directories.

Example stack trace:

  Error: ENOENT: no such file or directory, open '/home/travis/build/meteor/galaxy-server/node_modules/heapdump-garbage-1c2jqib/package.json'
      at Error (native)
   => awaited here:
      at Promise.await (/home/travis/.meteor/packages/less/.2.7.9.9fh5c1++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:39:12)
      at copyFileHelper (/tools/fs/files.js:633:6)
      at Object.files.cp_r (/tools/fs/files.js:532:7)
      at /tools/isobuild/meteor-npm.js:393:11
      at Array.forEach (native)
      at copyNpmPackageWithSymlinkedNodeModules (/tools/isobuild/meteor-npm.js:386:29)
      at /tools/isobuild/meteor-npm.js:325:5
      at Array.forEach (native)
      at Object.rebuildIfNonPortable (/tools/isobuild/meteor-npm.js:315:17)
      at NodeModulesDirectory.rebuildIfNonPortable (/tools/isobuild/bundler.js:273:22)
      at /tools/isobuild/compiler.js:650:13
2017-04-07 16:21:43 -04:00
Jesse Rosenberger
f345786194 Merge pull request #8573 from meteor/add-header-for-1.4.4
Update `History.md` for Meteor 1.4.4 release.
2017-04-07 19:42:21 +03:00
Ben Newman
bbabc83d9a Add heading to History.md for Meteor 1.4.4. 2017-04-07 19:37:44 +03:00