Commit Graph

7964 Commits

Author SHA1 Message Date
Ben Newman
45b01ba809 Bump package versions for the official 1.4.2.1 release. 2016-11-08 15:42:56 -05:00
Ben Newman
7abaa56b1a Bump package versions for 1.4.2.1-rc.2 release. 2016-11-08 14:08:08 -05:00
Ben Newman
6ce7891d9b Bump package versions for 1.4.2.1-rc.1 release. 2016-11-04 18:45:51 -04:00
Ben Newman
2e00dc3663 Bump package versions for 1.4.2.1-rc.0 release. 2016-11-03 12:19:56 -04:00
Ben Newman
11c7b2aee2 Bump package versions for 1.4.2.1-beta.1 release. 2016-11-02 18:10:10 -04:00
Ben Newman
6a137ea333 Merge branch 'devel' into release-1.4.2.1 2016-11-02 18:00:07 -04:00
Ben Newman
4ce343f56c Simplify Meteor babel-runtime package by relying on npm version.
Though this may seem like a significant change, this package will still
work for older apps as long as the developer follows the instructions
about installing the babel-runtime npm package.

Helps with #7956.
2016-11-02 12:05:33 -04:00
Ben Newman
488631ad25 Write caching-compiler cache files synchronously when testing.
Setting METEOR_DISABLE_FS_FIBERS broke these tests because
CachingCompiler#_writeFileAsync was still asynchronous, whereas other FS
operations became synchronous.
2016-11-01 19:38:08 -04:00
Tom Coleman
fa86a682ba Merge pull request #7998 from abernix/feature/fix-6337
Clarify mis-leading wording in the `stylus` README
2016-11-01 15:39:04 -07:00
Jesse Rosenberger
b23d832cf6 Clarify mis-leading wording the stylus README
Make it clear that all files with the `.styl` extension are processed and not just `.main.styl` files.

Fixes meteor/meteor#6337
2016-11-01 17:30:04 +02:00
Denis Davidyuk
16641e56c6 Refactor template of resetPassword email 2016-11-01 21:46:19 +10:00
Ben Newman
9dfcc38aba Make Meteor babel-runtime/helpers/inherits match npm implementation.
https://github.com/meteor/meteor/issues/7956#issuecomment-256724898

Fixes #7956.
2016-10-31 14:45:58 -04:00
Ben Newman
69e190076b Bump package versions for 1.4.2.1-beta.0 release. 2016-10-28 18:16:09 -04:00
Ben Newman
a2eb007242 Make Meteor babel-runtime/helpers/inherits match npm implementation.
https://github.com/meteor/meteor/issues/7956#issuecomment-256724898

Fixes #7956.
2016-10-28 16:11:29 -04:00
Christian Klaussner
c38abe8d51 Fix link to Google documentation (#7942) 2016-10-28 16:07:31 -04:00
Ben Newman
19a60d51db Merge branch 'master' into devel 2016-10-28 14:50:52 -04:00
Tom Coleman
04f401c711 JSdoc refactoring to make API boxes work again. 2016-10-27 14:55:56 -07:00
Ben Newman
8a6ff5637e Merge branch 'release-1.4.2' into devel 2016-10-25 12:43:50 -07:00
Ben Newman
f39812bd4b Bump package versions for the official 1.4.2 release. 2016-10-25 10:20:21 -07:00
Ben Newman
b40df12129 Bump package versions for 1.4.2-rc.4 release. 2016-10-24 22:44:11 -07:00
Ben Newman
7bcc50c842 Add profiling for meteorInstall-based require calls.
The options.wrapRequire API is new in install@0.8.2.
2016-10-24 18:48:16 -07:00
Ben Newman
dbf8471c1f Bump package versions for 1.4.2-rc.3 release. 2016-10-23 18:17:51 -04:00
Ben Newman
38de7373f1 Remove version constraints from packages/accounts-password/package.js.
Version constraints are unnecessary when publishing a release, and tend to
complicate things when the constraints are out of date with packages that
are updated by the release.

https://github.com/meteor/meteor/issues/7951#issuecomment-255615050
2016-10-23 17:45:48 -04:00
Ben Newman
8e9896cfcf Include server startup timings in METEOR_PROFILE output.
Meteor 1.4.2 has been mostly focused on improving rebuild times, but what
ultimately matters is the time from changing a file to being able to make
requests against the restarted server, and any code that runs before
server startup should be considered part of that critical path.

If you have a lot of packages, and they do non-trivial work on startup,
this commit should give you much better insight into where time is spent.

Credit to @stubailo for pushing me to provide Meteor developers with
better profiling tools, and thanks to @veered for this specific idea.

Note: because tools/tool-env/profile.js is now loaded as-is by boot.js,
certain ECMAScript features are off-limits, e.g. ...rest params.
2016-10-23 16:36:23 -04:00
Ben Newman
548a288c61 Call Npm.require("meteor-babel") only when needed.
In practice, the non-isopacket version of meteor-babel is only used by the
shell-server package, so this saves ~200ms of reload time.
2016-10-22 21:14:39 -04:00
Ben Newman
6db69a3c9d Merge branch 'release-1.4.2' into devel 2016-10-22 14:11:15 -04:00
Ben Newman
b938e089e6 Bump package versions for 1.4.2-rc.2 release. 2016-10-21 22:20:34 -04:00
Ben Newman
0308e38d51 Merge branch 'release-1.4.1.3' into release-1.4.2 2016-10-21 22:03:54 -04:00
Ben Newman
f419899ce7 Bump package versions for the official 1.4.1.3 release. 2016-10-21 20:15:28 -04:00
Ben Newman
247fa7b8ae Bump package versions for 1.4.1.3-rc.1 release. 2016-10-21 12:38:09 -04:00
Ben Newman
c6975d8eb7 Upgrade mongodb npm package to version 2.2.11. 2016-10-21 12:28:34 -04:00
Ben Newman
dc91fee73f Remove version constraints from packages/accounts-base/package.js.
Version constraints are unnecessary when publishing a release, and tend to
complicate things when the constraints are out of date with packages that
are updated by the release.
2016-10-21 12:27:50 -04:00
Christian Klaussner
f9b0f2f60d Update links to MongoDB driver docs 2016-10-21 11:25:18 -04:00
Ben Newman
5d3e2bd884 Bump mongo package version to 1.1.12_5. 2016-10-21 11:12:54 -04:00
Ben Newman
0344f58b06 Set mongoOptions.server.reconnectTries = Infinity.
Setting mongoOptions.server.auto_reconnect was removed by #7880 via commit
0ffb9ac824, though it seems the Server
options still respect autoReconnect, even in version 2.2 of the driver:
http://mongodb.github.io/node-mongodb-native/2.2/api/Server.html

That said, having inspected the code of the `mongodb` package, I do not
believe this change is really critical, since the default value for
autoReconnect appears to be true.

More importantly, I can't find any support in the code of the `mongodb`
npm package or its dependencies for the claim that setting
mongoOptions.server.reconnectTries to 0 is the same as making it infinite,
so this commit sets it to Infinity.
2016-10-21 11:12:54 -04:00
Ben Newman
037e9b8820 Use npm-mongo@2.2.10_1 in mongo@1.1.12_4. 2016-10-21 11:12:54 -04:00
Ben Newman
ef4f547a94 Make npm-mongo package version match npm mongodb package. 2016-10-21 11:12:53 -04:00
Tom Coleman
554eb628eb Reconnect to mongo indefinitely. (#7880)
* Reconnect to mongo indefinitely.

A fix for https://github.com/meteor/meteor/issues/7822

It seems the driver now always autoReconnects, but only for 30s.

To get the old (sensible) behavior of endlessly reconnecting, we set `reconnectTries` to 0.

* Releasing an rc of mongo package
2016-10-21 11:12:53 -04:00
Ben Newman
9ff66d11c7 Ugrade the meteor-promise npm package to version 0.8.0.
Most notably, this update provides error stack traces that include context
from Promise.await calls and await expressions, so (for example) you can
tell where a certain yielding files.* method was originally called,
instead of only getting a useless native stack trace.
2016-10-20 17:51:03 -04:00
Christian Klaussner
cca97e2784 Fix link to Google documentation (#7942) 2016-10-20 14:11:59 -04:00
Ben Newman
0f7d725ebe Bump package versions for 1.4.1.3-rc.0 release. 2016-10-20 13:56:00 -04:00
Ben Newman
04056db28f Bump package versions for 1.4.2-rc.1 release. 2016-10-19 18:12:27 -04:00
Ben Newman
fec8303c21 Use Array#forEach in twitter_client.js. 2016-10-19 16:00:00 -04:00
Jesse Rosenberger
c67f782743 Support additional params on oAuth1 authorize URL
Using a the previously-supported ability to pass a function (versus a string) for an oAuth1 URL, this commit implements (and relocates) a function which safely applies whitelisted params to that URL.

This introduces a twitter_common.js file shared between server and client which indicates which Twitter-supported params are permitted on the authorize step.  The two params which Twitter supports right now are `force_login` and `screen_name`.  (See: https://dev.twitter.com/oauth/reference/get/oauth/authenticate)

This commit removes the non-functional implementation of `force_login` introduced by meteor/meteor#6987 and implements it via the aforementioned method.

As a precaution (and since neither `ecmascript` nor `es5-shim` are used by this package), I stuck with JS ES3.

Closes meteor/meteor#7584
2016-10-19 16:00:00 -04:00
dhrubins
3e1a449f5e Fix CSP2 script digests in browser policy (#7911). 2016-10-19 14:56:06 -04:00
Ramez Rafla
eef23a30b4 Adding gap: into CSP
In UIWebView on iOS10 we get CSP failure to load gap://ready, this resolves it on both simulator and device
2016-10-18 16:50:32 -04:00
Ben Newman
8142521610 Merge pull request #7935 from klaussner/mongodb-driver-links
Update links to MongoDB driver docs.
2016-10-18 16:49:37 -04:00
Christian Klaussner
a171938daf Update links to MongoDB driver docs 2016-10-18 22:31:45 +02:00
Ben Newman
ccd960eeb3 Bump package versions for 1.4.2-rc.0 release. 2016-10-18 14:32:13 -04:00
Ben Newman
1ac4bbaa84 Bump package versions for 1.4.2-beta.13 release. 2016-10-17 11:51:55 -04:00