Commit Graph

17633 Commits

Author SHA1 Message Date
Ben Newman
d8d70eaba6 Revert "Add version constraints to dependencies of the mongo package."
This (partially) reverts commit 904c77fe80.
2016-10-07 16:41:45 -04:00
Ben Newman
7e7885c2a5 Remove -beta.5 suffix from facts package version. 2016-10-07 16:41:45 -04:00
Ben Newman
904c77fe80 Add version constraints to dependencies of the mongo package. 2016-10-07 16:02:07 -04:00
Tom Coleman
0ffb9ac824 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-07 15:47:35 -04:00
Ben Newman
e624899169 Merge branch 'master' into devel
This involved rolling some package versions back to non-beta versions,
since release-1.4.2 was previously merged into devel, but I think the
result is a more reasonable state for the devel branch.
2016-10-07 15:41:50 -04:00
Ben Newman
9ed63c22cc Bump coffeescript version to match coffee-script npm version.
As suggested by @mitar and agreed by @tmeasday.
2016-10-07 11:27:58 -04:00
Ben Newman
d3d60fc475 Merge pull request #7886 from abernix/feature/add-cordova-dependency-test
Add Cordova Platform Dependency Tests
2016-10-07 11:21:58 -04:00
Ben Newman
c969cde1af Merge pull request #7814 from engelgabriel/patch-1
Add --headless option to the build command.
2016-10-07 10:03:38 -04:00
Ben Newman
a24448e7a7 Merge pull request #7885 from abernix/feature/fix-console-success
`Console.success` should provide an indicator when pretty is disabled
2016-10-07 09:58:36 -04:00
Ben Newman
16e9e0c0f9 Merge pull request #7884 from abernix/feature/fix-console-fail
Fix for `Console.failInfo` and `Console.failWarn` when `pretty` is false.
2016-10-07 09:56:25 -04:00
Ben Newman
1e0737321d Merge pull request #7879 from meteor/decompose-package-singletons
Decompose PackageNamespace, PackageNpm, and PackageCordova classes.
2016-10-07 09:49:35 -04:00
Jesse Rosenberger
8c948d2ebc Test: Ensure message when platform already added
If the platform is already added, it should provide the appropriate message.
2016-10-07 14:17:11 +03:00
Jesse Rosenberger
3359d2397c Add test which verifies the Cordova dependency messages are working
Previously, the Cordova message was failing in CI.  It wasn't caught on CircleCI since they have Cordova installed by default so this path was never tested.  I found this when I ran this through Semaphore CI who does not have Cordova available by default.

This test fails without meteor/meteor#7884 and passes with it.
2016-10-07 14:16:48 +03:00
Jesse Rosenberger
932750f77d Fix redeclared var & change to let 2016-10-07 14:07:54 +03:00
Jesse Rosenberger
58a6d743c8 Console.success should provide an indicator when pretty is disabled
`Console.success` is currently called in only one place but it relies on the fact that `pretty` console mode is enabled for it to make any sense.  This adds the ability to pass an "ugly" (less pretty?) message to `Console.success` (default: "success") and changes the Cordova dependency checker to use "installed" when showing a met-dependency.

Fixes meteor/meteor#7883
2016-10-07 13:41:39 +03:00
Jesse Rosenberger
1d3d6c2bda Fix for Console.failInfo and Console.failWarn when pretty is false
These functions were both using the `Console._fail` function which is passed a severity of failure as a string (e.g. "warn", "error", etc.) which corresponds to the appropriate `Console` function.  Previously, the string was just being called as if it was a function.

Fixes meteor/meteor#7882
2016-10-07 13:36:59 +03:00
Ben Newman
2d18c25f7e Be more defensive when terminating watchers. 2016-10-06 18:09:22 -04:00
Ben Newman
14ee8775c3 Decompose PackageNamespace, PackageNpm, and PackageCordova classes.
Similar to the treatment given to PackageAPI in my commit
af50b4cc5b.

This clear separation of concerns will be helpful for optimizing
PackageSource#initFromPackageDir.
2016-10-06 17:39:23 -04:00
Ben Newman
2b1a33e903 Merge pull request #7558 from mitar/coffeescript-babel
Fix bad CoffeeScript interaction with Babel by calling stripExportedVars earlier.
2016-10-06 15:10:47 -04:00
Ben Newman
9608506ce5 Merge pull request #7835 from sebakerckhof/optimize-ignorefiles
Optimize ignoreFiles patterns.
2016-10-06 15:07:29 -04:00
Ben Newman
06e583c9f0 Merge pull request #7866 from meteor/release-1.4.1.2
Release 1.4.1.2
2016-10-04 14:47:10 -04:00
Ben Newman
1d74c0ce5e Bump package versions for the official 1.4.1.2 release. release/METEOR@1.4.1.2 2016-10-04 12:44:28 -04:00
Ben Newman
2937403be0 Bump package versions for 1.4.1.2-rc.0 release. release/METEOR@1.4.1.2-rc.0 2016-10-04 12:34:01 -04:00
Ben Newman
595f67fda8 Bump $BUNDLE_VERSION to 4.3.0 before rebuilding dev bundle. 2016-10-04 11:58:35 -04:00
Ben Newman
9ecf3f2b50 Upgrade Node to 4.6.0 and npm to 3.10.8. 2016-10-04 11:58:35 -04:00
Mitar
b50d058730 Merge pull request #2 from GeoffreyBooth/coffeescript-babel
Update CoffeeScript
2016-10-02 12:23:40 -07:00
Geoffrey Booth
354d05fba8 Bump version of coffeescript package 2016-10-02 12:16:04 -07:00
Geoffrey Booth
7296323a54 Bump version of CoffeeScript to 1.11.1 2016-10-02 12:14:01 -07:00
Geoffrey Booth
bb9b6cb4af Merge remote-tracking branch 'upstream/devel' into coffeescript-babel
# Conflicts:
#	packages/coffeescript/plugin/compile-coffeescript.js
2016-10-02 12:04:07 -07:00
Mitar
44d6187b67 Merge branch 'devel' into coffeescript-babel 2016-09-30 23:14:57 -07:00
Mitar
084fea9689 Merge pull request #1 from GeoffreyBooth/coffeescript-babel
Fix CoffeeScript exported variables on files processed by Babel
2016-09-30 23:13:32 -07:00
Geoffrey Booth
29c37d5d2d CoffeeScript compiler: strip exported variables *before* running through the Babel compiler, to avoid Babel turning a one-line var statement into a multiline var statement and breaking the parsing logic in stripExportedVars 2016-09-30 22:33:32 -07:00
Ben Newman
c829bf580e Merge pull request #7840 from meteor/reconfigure-mongo-when-port-differs
Reconfigure Mongo replica set when --port differs
2016-09-29 16:56:36 -04:00
Ben Newman
dd3fe9a264 Add additional delay to "run: run" test. 2016-09-29 16:03:18 -04:00
Michiel ter Reehorst
8dbfd9769a Bump the coffeescript package version (#7845)
That way everyone who wants to can update to version `1.2.6` and enjoy coffeescript `1.11.0`.
2016-09-29 15:59:35 -04:00
Lieuwe Rooijakkers
c13fe33aa3 coffeescript: improve es6 regex performance (#7846) 2016-09-29 15:59:06 -04:00
seke
3ea64dfe8c Fix regexp for Icon\r files 2016-09-29 17:44:27 +02:00
Ben Newman
295d3d5678 Kill mongo when server process exits.
We try to kill any mongod processes before starting new ones, but this
change kills it when the development server shuts down, too.

Killing mongo on shutdown is particularly important for tests that run
meteor multiple times in a row, and for whatever reason fail to find and
kill running mongod processes on startup, e.g. because the --port has
changed (#7563).

This comment by @glasser seems to suggest this is a reasonable idea:
https://github.com/meteor/meteor/issues/2182#issuecomment-45685614

Fixes #2182 and possibly other related bugs.
2016-09-29 09:48:55 -04:00
Ben Newman
5b2e08a80c Automatically reconfigure Mongo replication set when --port differs.
Fixes #7563.
2016-09-29 09:48:55 -04:00
Ben Newman
20a6604126 Remove pointless and exception-swallowing assert.doesNotThrow wrappers. 2016-09-29 08:51:57 -04:00
Ben Newman
f8ba1226b1 Rename test entry point module so that it isn't ignored. 2016-09-29 08:51:56 -04:00
Ben Newman
697e7ae0f7 Protect against null return values from getDevBundleForRelease. (#7841)
Fixes #7838.
2016-09-28 19:54:10 -04:00
seke
323ed8884e enhance test 2016-09-28 16:07:20 +02:00
lucfranken
e06da93fd8 Fix #7827 - Fix link in Contributing.md (#7834)
Link to Meteor website was broken and there were 2 links which looked
like one. Replaced with a link to the list of packages in the Meteor
repository to give the best currently available overview of the parts
of Meteor.
2016-09-28 09:41:32 -04:00
Geoffrey Booth
12472cfe7a CoffeeScript now supports ES2015 modules (#7818)
* Update CoffeeScript to 1.11.0, which supports modules; update check for whether to pass CoffeeScript’s output to Babel to look not just for backticks, but also for `import`, `export` and `function*`, the current ESNext features output by CoffeeScript

* Add tests for imported modules using CoffeeScript’s new native import statement

* Test that CoffeeScript native export statements work, by importing something exported by such a statement

* Improve regex

* Optimize regex
2016-09-28 09:36:53 -04:00
Mehdi Ahraoui
2bc5b4b3b6 Meteor should check if is running as root and prevent it on Unix (#7821)
* Prevent running sudo meteor run it on Unix

Prevent running sudo meteor run it on Unix

Fix for all commands

remove empty line

Revert "Prevent running sudo meteor run it on Unix"

This reverts commit d2867561bb6fb1b259a59556628b56a64c677a0b.

improve PR

improve PR

improve PR

fix PR

* improve PR

* fix PR

* fix PR

* fix PR
2016-09-28 09:34:53 -04:00
Seba Kerckhof
8cdab91bc4 Do not check connection with protected npm registries (#7637)
* Do not check connection with protected npm registries

* Remove need for registry http get check by tuning npm retry parameters
2016-09-28 09:29:35 -04:00
seke
ccc55cac25 fix typo and expand test a little bit 2016-09-28 15:28:44 +02:00
seke
1fe669f9bc fix test 2016-09-28 10:35:56 +02:00
seke
b0a8e1d360 fix type in import 2016-09-28 09:56:11 +02:00