Commit Graph

20483 Commits

Author SHA1 Message Date
Hugh Willson
ae1783bd4b Update Email.send docs to show how to add header objects (#9443)
* Update Email.send docs to show how to add header objects

Recent versions of `mailcomposer` (which Meteor is now using) no
longer `JSON.stringify` added header objects. This commit updates
the `Email.send` `options.headers` docs to show how to properly
associate objects with custom headers using `JSON.stringify`.

Fixes #8660.

* Adjust header object docs property naming to avoid confusion
2017-12-13 11:30:19 -05:00
Hugh Willson
56a86bf298 Help browser account saving with accounts-ui login/signup forms (#9442)
* Help browser account saving with accounts-ui login/signup forms

`accounts-ui-unstyled` currently uses `<div />`'s to hold its
login/signup forms, as well as `<div />`'s to represent the
login/signup buttons in the form. By not using proper
`<form />` and `<button />` elements, certain browser's do not
notice incoming login/signup requests, and therefore do not
trigger their built in "would you like to save your user/password"
functionality. This commit adjusts the `accounts-ui-unstyled`
login/signup form to use proper `<form />` and `<button />`
elements, allowing most (Chrome, Firefox, IE - Safari will
recognize the request when a user attempts to leave the page)
browsers to recognize incoming login/signup requests.

Fixes #1746.

* Add History.md entry outlining potential back compat issues

* Bump minor versions
2017-12-13 11:29:55 -05:00
Jesse Rosenberger
577088551a Merge pull request #9467 from meteor/abernix/fix-test-versioning-hot-code-push
Define Sandbox `clients` when running `versioning hot code push test`.
2017-12-13 17:38:31 +02:00
Jesse Rosenberger
e8fad2af2d Define Sandbox clients when running versioning hot code push test.
Since this test utilizes the `testWithAllClients` technique, which runs
the tests in various clients/browsers, it's necessary for the tests
`Sandbox` to define `clients`, otherwise the function within
`testWithAllClients` will not be executed at all.  This was causing this
particular test to always return success (it was running without failure
on exactly zero clients).

Also the technique of setting `this.baseTimeout` appeared to cause
problems, likely because it overrides various other values instead of
using `waitSecs` (we don't use the `baseTimeout` technique in other
places within self-tests either).

Discovered during testing, as mentioned in
https://github.com/meteor/meteor/pull/9439#pullrequestreview-83139232.
2017-12-13 16:07:59 +02:00
Ben Newman
bee21a63f8 Bump modules package version to 0.11.1. 2017-12-12 17:57:24 -05:00
Ben Newman
9a391d9b04 Fix #9428 by registering dynamic-import HTTP endpoint earlier. (#9465) 2017-12-12 17:27:41 -05:00
Ben Newman
acde4cca61 Merge pull request #9464 from meteor/bundle-package.json-when-main-absent
Bundle package.json stub even when "main" field is absent.
2017-12-12 16:17:37 -05:00
Ben Newman
b16a61c98b Fix #9235 by bundling package.json stubs even if "main" absent. 2017-12-12 15:45:02 -05:00
Ben Newman
d4d3df1428 Inline Resolver#_resolvePkgJsonMain into sole calling method. 2017-12-12 15:45:01 -05:00
Jesse Rosenberger
ae3c05cb34 Merge pull request #9448 from skirunman/patch-3
Update to Cordova iOS v4.5.4
2017-12-12 22:06:17 +02:00
Ben Newman
12ca5104a8 Merge pull request #9463 from meteor/issue-9305-fix-module.watch-default
Fix #9305 by including `default` when mirroring module exports.
2017-12-12 14:25:29 -05:00
Ben Newman
b343ec8568 Fix #9305 by including default when mirroring module exports.
This functionality was added in reify@0.13.3:
10c90cd0a2

The changes to modules-test-plugin/plugin.js cause files like array.arson
to mirror array.arson.js, which exercises module.makeNsSetter(true) and
relies on default exports.
2017-12-12 13:31:28 -05:00
Ben Newman
ac705ebd92 Bump reify npm package to version 0.13.3. 2017-12-12 13:30:59 -05:00
Ben Newman
c28440ab81 Fix warnings about missing @-scoped npm packages. 2017-12-12 13:30:59 -05:00
Jesse Rosenberger
f1ab4d7b37 Remove iPad sizes which aren't expected to be supported.
The current believe, per @skirunman (whose perspective on the matter I trust), is that these sizes won't be supported in this manner by Apple, but rather as storyboards.

Ref: https://github.com/meteor/meteor/pull/9448#issuecomment-351123720
2017-12-12 19:37:25 +02:00
Jesse Rosenberger
4d32c1ca3d Merge pull request #9457 from phurinaix/patch-1
Change http link to https in README.md file
2017-12-12 18:38:51 +02:00
PHuRinaT PuEkkHaM
c6e3695534 Change http link to https in README.md file
-change two link
1. from "http://docs.meteor.com/#ddp_connect" to "https://docs.meteor.com/api/connections.html#DDP-connect"
2. from "http://docs.meteor.com/" to "https://docs.meteor.com/"
2017-12-10 01:55:40 +07:00
Ben Newman
2babb70764 Fix merge typo in mongo/collection.js. 2017-12-08 18:41:15 -05:00
Ben Newman
bf9624f644 Merge branch 'master' into devel 2017-12-08 18:02:55 -05:00
Ben Newman
2d14db1f16 Merge pull request #9449 from meteor/release-1.6.0.1
Release 1.6.0.1
2017-12-08 17:58:44 -05:00
Ben Newman
02cfd0fab1 Merge branch 'master' into release-1.6.0.1 2017-12-08 17:58:26 -05:00
Ben Newman
709834f02f Merge pull request #9455 from meteor/merge-1.5.x-and-1.4.x-into-master
Merge 1.5.x and 1.4.x into master.
2017-12-08 17:57:41 -05:00
Ben Newman
926205f5d9 Merge branch 'release-1.4.x' 2017-12-08 17:24:12 -05:00
Ben Newman
507c7649ca Merge pull request #9451 from meteor/release-1.4.4.5
Release 1.4.4.5
2017-12-08 17:19:37 -05:00
Ben Newman
db3efd3a6f Merge branch 'release-1.5.x' 2017-12-08 17:17:50 -05:00
Ben Newman
80d46d2e18 Bump package versions for the official 1.4.4.5 release. release/METEOR@1.4.4.5 2017-12-08 16:36:06 -05:00
Ben Newman
5ffa98e327 Bump $BUNDLE_VERSION to 4.7.29 before rebuilding dev bundle. 2017-12-08 16:06:39 -05:00
Ben Newman
2d8f006ce0 Upgrade Node to version 4.9.7.
https://nodejs.org/en/blog/release/v4.9.7/
https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/
2017-12-08 16:05:39 -05:00
Ben Newman
c42cb1645f Merge pull request #9450 from meteor/release-1.5.4.1
Release 1.5.4.1
2017-12-08 15:58:57 -05:00
Ben Newman
04ca53a958 Fix typo in History.md. 2017-12-08 14:31:56 -05:00
Ben Newman
5533aa7ce8 Bump package versions for the official 1.6.0.1 release. release/METEOR@1.6.0.1 2017-12-08 14:19:21 -05:00
Ben Newman
a436fde109 Bump package versions for the official 1.5.4.1 release. release/METEOR@1.5.4.1 2017-12-08 13:35:15 -05:00
Ben Newman
44ade416b1 Bump package versions for 1.5.4.1-rc.0 release. release/METEOR@1.5.4.1-rc.0 2017-12-08 12:40:28 -05:00
Ben Newman
feb68df4d6 Bump package versions for 1.6.0.1-rc.0 release. release/METEOR@1.6.0.1-rc.0 2017-12-08 12:10:11 -05:00
Ben Newman
062fcad856 Bump $BUNDLE_VERSION to 4.8.46 before rebuilding dev bundle. 2017-12-08 11:53:47 -05:00
Ben Newman
9e4010a1ba Upgrade Node to version 4.9.7.
https://nodejs.org/en/blog/release/v4.9.7/
https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/
2017-12-08 11:52:52 -05:00
Ben Newman
ea9f969774 Bump $BUNDLE_VERSION to 8.9.8 before rebuilding dev bundle. 2017-12-08 11:48:39 -05:00
Ben Newman
dfd8511e4e Upgrade Node to version 8.9.3.
https://nodejs.org/en/blog/release/v8.9.3/
https://nodejs.org/en/blog/vulnerability/december-2017-security-releases/
2017-12-08 11:47:53 -05:00
Ben Newman
40787c1a51 Update expected dev bundle tarball count from 4 to 5. 2017-12-07 21:19:50 -05:00
Ben Newman
0b89e7a235 Bump package versions for 1.4.4.5-beta.0 release. release/METEOR@1.4.4.5-beta.0 2017-12-07 20:45:37 -05:00
Ben Newman
2594470e07 Avoid using Object.getOwnPropertyDescriptors to clone inserted documents. 2017-12-07 20:39:55 -05:00
Ben Newman
e5b8c431e3 Bump $BUNDLE_VERSION to 4.7.28 before rebuilding dev bundle.
These Node and dev bundle version bumps are just to make sure nothing
significant has changed since last time, before we bump the Node version
again for the 1.4.4.5 release.
2017-12-07 20:24:15 -05:00
Ben Newman
026b298314 Upgrade Node to version 4.8.6.
https://nodejs.org/en/blog/release/v4.8.6/
2017-12-07 20:23:09 -05:00
Ben Newman
7d9ee28efc Bump package versions for 1.5.4.1-beta.0 release. release/METEOR@1.5.4.1-beta.0 2017-12-07 20:16:44 -05:00
Ben Newman
6c7531de46 Update expected dev bundle tarball count from 4 to 5. 2017-12-07 20:16:41 -05:00
Ben Newman
cfd4cc4d9c Bump $BUNDLE_VERSION to 4.8.45 before rebuilding dev bundle.
This dev bundle version bump is just to make sure nothing significant has
changed about transitive node_modules dependencies since last time, before
we bump the Node version for the 1.5.4.1 release.
2017-12-07 19:52:43 -05:00
Ben Newman
9c53e186d4 Shallow-clone inserted documents more reliably.
In a previous commit, I changed

  doc = _.extend({}, doc);

to avoid using underscore, thus:

  doc = { ...doc };

While this may seem harmless, it broke a few Mongo.Collection tests
because _.extend copies *all* properties, both own and inherited, whereas
object ...spread only copies own properties.

However, the correct way to fix this problem is *not* to revert to the old
behavior, since flattening the inherited properties of a document was
never actually what we wanted. The old behavior was subtly broken, too.

Instead, we need to create a new object with the same prototoype as the
provided document, then shallow-copy the own properties. Any properties or
methods inherited from the original prototype will then be available on
the new object, even though they didn't get copied over.

I've intentionally left some trivial formatting changes in this commit to
remind myself which broken tests were fixed by this change.
2017-12-07 19:49:09 -05:00
Ben Newman
58bdfe024d Shallow-clone inserted documents more reliably.
In a previous commit, I changed

  doc = _.extend({}, doc);

to avoid using underscore, thus:

  doc = { ...doc };

While this may seem harmless, it broke a few Mongo.Collection tests
because _.extend copies *all* properties, both own and inherited, whereas
object ...spread only copies own properties.

However, the correct way to fix this problem is *not* to revert to the old
behavior, since flattening the inherited properties of a document was
never actually what we wanted. The old behavior was subtly broken, too.

Instead, we need to create a new object with the same prototoype as the
provided document, then shallow-copy the own properties. Any properties or
methods inherited from the original prototype will then be available on
the new object, even though they didn't get copied over.

I've intentionally left some trivial formatting changes in this commit to
remind myself which broken tests were fixed by this change.
2017-12-07 19:20:22 -05:00
Ben Newman
e49c632316 Bump package versions for 1.6.0.1-beta.0 release. release/METEOR@1.6.0.1-beta.0 2017-12-07 18:53:27 -05:00
Ben Newman
1139c74d63 Bump $BUNDLE_VERSION to 8.9.7 before rebuilding dev bundle. 2017-12-07 18:44:36 -05:00