Commit Graph

9073 Commits

Author SHA1 Message Date
Ben Newman
e4cc95fec0 Bump package versions for 1.6.1-beta.4 release. 2017-11-08 14:44:23 -05:00
Ben Newman
1282bc77b1 Merge branch 'devel' into release-1.6.1 2017-11-08 14:43:36 -05:00
Ben Newman
a39f502d2c Define addSource and addMissing dynamic-import helper functions. 2017-11-08 14:40:55 -05:00
Ben Newman
35bc8f0c15 Bump boilerplate-generator package versions. 2017-11-08 14:30:43 -05:00
Ben Newman
84dd4d4ed3 Bump minimongo package version to 1.4.1. 2017-11-08 14:22:28 -05:00
Ben Newman
fa80c17c0e Bump ddp-server package version to 2.1.1. 2017-11-08 14:03:04 -05:00
Ben Newman
abc349cab7 Update shrinkwrap for ddp-server npm dependencies. 2017-11-08 14:00:59 -05:00
Mitar
8695fbfb0c Bumping sockjs-node to 0.3.19. (#9215) 2017-11-08 20:15:25 +02:00
Simon Fridlund
18f73f2041 Minimongo sorting bug with falsey selector (#9302)
* Add test for sorting with falsey selector

Falsy selectors should result in empty result and sorting shouldn't blow up.

* Protect sorter from falsey selectors
2017-11-08 11:57:59 -05:00
Hugh Willson
18dcb4d6d2 Handle overridden _.template settings in boilerplate-generator (#9250)
* Handle overridden _.template settings in boilerplate-generator

When `underscore`'s default `_.template` settings are overridden
using `_.templateSettings` in an application, this can adversely
affect the `_.template` calls used by the `boilerplate-generator`
to render an application's initial HTML template. These changes
make sure the `boilerplate-generator` is overridding any
defined `_.templateSettings` with its own verified to work
settings.

Fixes #9149.

* Add comment explaining additional _.template config override

* Handle overridden _.templateSettings with the cordova boilerplate

* Remove underscore use wherever possible

* Change incorrect implementation of an "empty" manifest.

This test was trying to imply an empty manifest by using an empty
associative array (hash), whereas a manifest is only ever an array
of hashes (as per the bundler code).  Therefore, an empty manifest
should be an array with no items.

This is to fix the failure seen in https://travis-ci.org/meteor/meteor/builds/291857783?utm_source=github_status&utm_medium=notification
because of @hwillson's changes in 9aee811a4b.

Refs: meteor/meteor#9250.

* Make underscore replacement code more defensive

`_.map` handles a falsy input value, whereas `Array.prototype.map`
(obivously) does not. While not likely common practice, it's
possible falsy values are being passed into the boilerplate
generator, for elements like `js`, `css`, etc. These changes
replicate `_.map`'s handling of incoming falsy values by
converting them to an empty array.
2017-11-08 18:43:14 +02:00
skirunman
073f2410a6 Cordova 7.1.0, Android 6.3.0 and iOS 4.5.3 updates (#9213)
* Update to Cordova 7.1.0 and Cordova Android 6.3.0

* Update deprecated Cordova plugins

* Update History.md for both Cordova updates and previous iOS icons and launch screens

* Update the PR #

* Remove change to History.md

This change is now in https://github.com/meteor/meteor/pull/9227

* Update to iOS 4.5.2

Update to new Cordova iOS 4.5.2 release. https://cordova.apache.org/announcements/2017/10/16/ios-release.html

* Update History.md for Cordova iOS 4.5.2.

* Update to Cordova iOS 4.5.3

Update to Cordova iOS 4.5.3, see https://cordova.apache.org/announcements/2017/10/31/ios-release.html

* Tweak history for update to Cordova iOS 4.5.3

* Update iOS launch screens 

Updating iOS launch screens to match what is supported in Cordova iOS 4.5.3 and remove latest iPad Pro sizes that are not supported in Xcode 9 and therefore not in Cordova iOS. See c3d24a9f02/bin/templates/scripts/cordova/lib/prepare.js
2017-11-08 18:14:12 +02:00
Hugh Willson
c26b91a1f0 Update Facebook OAuth app config steps (#9258)
* Update Facebook OAuth app config steps

Facebook has updated their application developer portal, so the
steps for creating a Facebook OAuth app have changed. This commit
updates the steps shown as part of the `facebook-config-ui`
setup process, to line up with Facebook's new dev portal.

Fixes #8867.

* Capitalize CAPTCHA.

Nit: Capitalized CAPTCHA since it's an acronym.

* Bump facebook-config-ui package version to 1.0.1.
2017-11-08 14:02:14 +02:00
Ben Newman
ee04a36390 Bump package versions for 1.6.1-beta.3 release. 2017-11-07 21:57:08 -05:00
Ben Newman
99eb624168 Bump package versions for 1.6.1-beta.2 release. 2017-11-06 17:42:25 -05:00
Ben Newman
c2a9a49047 Merge branch 'devel' into release-1.6.1 2017-11-06 17:40:58 -05:00
Ben Newman
78a7cc0633 Use PackageRegistry for build plugins, too. 2017-11-06 16:55:31 -05:00
Ben Newman
57533d2205 Use Package._define helper to initialize Package.* exports.
This saves a little bit of boilerplate code in every package.
2017-11-06 16:55:31 -05:00
Ben Newman
5ee44ca81c Initialize global.Package once, instead of in every package. 2017-11-06 16:55:31 -05:00
Geoffrey Booth
904ba9597d Bump coffeescript NPM module version 2017-10-31 14:00:56 -07:00
Geoffrey Booth
f663c621f0 Friendly error if runtime doesn't support CoffeeScript 2 2017-10-31 14:00:56 -07:00
Geoffrey Booth
f8298d0e9f Remove no-longer-correct comments, though leave the no-longer-necessary tests 2017-10-31 14:00:56 -07:00
Geoffrey Booth
269bd873d2 Add a test that we really are using the CS2 compiler, by checking that function parameter default values now behave like ES2015 ones do 2017-10-31 14:00:55 -07:00
Geoffrey Booth
7a7c8f4656 CoffeeScript 2 support for JSX (React only, it seems), with test 2017-10-31 14:00:55 -07:00
Geoffrey Booth
fd483c34e3 Use CoffeeScript 2.0.1 2017-10-31 14:00:55 -07:00
Ben Newman
f91ff783b7 Bump package versions for 1.6.1-beta.1 release. 2017-10-31 15:38:31 -04:00
Ben Newman
9e65d8bea7 Enable dead code elimination in minifier-js to fix #9260.
The react-dom@16 npm package recently got stricter about how it checks
that dead code elimination is enabled. Specifically, it no longer just
checks that process.env.NODE_ENV is replaced with "production" but also
requires conditional branches to be completely removed if the replacement
makes them unreachable:
https://github.com/facebook/react/blob/master/packages/react-dom/npm/index.js

The minifier-js package recently had its minor version bumped for Meteor
1.6, so I think it's safe to enable dead code elimination in a patch
version update. If we bumped the minor version again (to 2.3.0), this
version of minifier-js would not be usable with Meteor 1.6, and would
probably have to wait for Meteor 1.6.1.

Bumping the patch version of standard-minifier-js is also necessary
because it uses minifier-js as a compiler plugin, and would otherwise
continue to bundle the old minifier-js plugin.
2017-10-31 14:40:49 -04:00
Ben Newman
4a97d0551f Merge branch 'master' into devel 2017-10-27 14:51:46 -04:00
Ben Newman
0bff81f0b4 Bump package versions for the official 1.6 release. 2017-10-27 13:00:43 -04:00
Ben Newman
b63ab27986 Bump package versions for 1.6-rc.18 release. 2017-10-26 11:37:15 -04:00
Ben Newman
f449552c0e Update various package shrinkwraps for npm 5. 2017-10-24 19:03:20 -04:00
Ben Newman
24c80da9ef Bump package versions for 1.6-rc.17 release. 2017-10-24 18:45:30 -04:00
Ben Newman
d317c29319 Bump package versions for 1.6-rc.16 release. 2017-10-20 16:13:31 -04:00
Ben Newman
1f6488b408 Update minifier-js shrinkwrap for npm 5. 2017-10-20 16:13:29 -04:00
Hugh Willson
1687537f6e Switch to parseInt; Use safer method of extracting rounds 2017-10-19 13:22:50 -04:00
Hugh Willson
6af071b417 Bump package versions 2017-10-19 13:22:50 -04:00
Hugh Willson
053bd79a49 Code cleanup; add tests 2017-10-19 13:22:50 -04:00
Dan Rubins
60b378be5d Make bcrypt rounds configurable 2017-10-19 13:22:50 -04:00
Hugh Willson
20f698aec8 Code cleanup, add tests, adjust to handle new/existing users 2017-10-19 13:12:01 -04:00
Gerwin Brunner
54a8f5413f renamed odUpdateUser to onExternalLogin 2017-10-19 13:10:43 -04:00
Gerwin Brunner
57210705f4 added onUserUpdate hook 2017-10-19 13:10:43 -04:00
Ben Newman
6d528e334f Bump package versions for 1.6-rc.15 release. 2017-10-18 21:52:17 -04:00
Carl Evans
4dc93f5b80 Make behaviour of cursor.count() on client reflect server (#9205)
* Make behaviour of cursor.count() on client reflect server

* Change ignoreSkipLimit to applySkipLimit in cursor._getRawObjects

By default cursor._getRawObjects() will set options.applySkipLimit to true, thereby honoring any skip / limit.
cursor.count() on the client now calls _getRawObjects with applySkipLimit set to false by default. See #1202

* Revert default behaviour of cursor.count() to maintain backwards compatibility
2017-10-18 11:34:11 -04:00
Ben Newman
22930e876e Bump package versions for 1.6-rc.14 release. 2017-10-17 16:29:44 -04:00
Ben Newman
e2db34bdc5 Bump package versions for 1.6-rc.13 release. 2017-10-16 16:04:42 -04:00
Ben Newman
5a8c0f2743 Bump package versions for 1.6-rc.12 release. 2017-10-16 14:07:19 -04:00
Ben Newman
2777f5f6f7 Bump package versions for 1.6-rc.11 release. 2017-10-16 10:00:45 -04:00
Ben Newman
c476188cc6 Bump package versions for 1.6-rc.10 release. 2017-10-14 15:00:41 -04:00
Ben Newman
5d7058dc17 Bump package versions for 1.6-rc.9 release. 2017-10-13 13:54:47 -04:00
Ben Newman
fffc9931fb Merge branch 'devel' into release-1.6 2017-10-13 13:31:48 -04:00
Jesse Rosenberger
ce27323caf logging: Guard against log color being undefined.
The 'info' log facility uses the default color, which is not present in
`LEVEL_COLORS`, thus `undefined` and unable to be `slice`d.

(As reported by @brucejo75).

Refs: https://github.com/meteor/meteor/pull/8728#issuecomment-336324674
Refs: meteor/meteor#9170
2017-10-13 14:12:17 +03:00