Commit Graph

1033 Commits

Author SHA1 Message Date
Ben Newman
3c7f83778f Move server-side component of meteor shell into a package. (#7624)
This will make it much easier to fix bugs and make improvements going
forward, since they won't have to wait for the next release of Meteor.

One functional change: when the parent process exits, it no longer forces
all connected shell clients to disconnect, which is actually a more
convenient behavior, because it gives the clients a chance to reconnect
when/if the server starts up again, and it's easy enough to kill the
clients if that's what you want.
2016-08-11 09:11:40 -04:00
Ben Newman
a1c3516053 Use pure-JavaScript implementation for npm-bcrypt package. (#7595)
According to the README, this implementation is approximately 2.7 times
slower than native: https://www.npmjs.com/package/bcryptjs

Apps that wish to continue using the native bcrypt package should run
`meteor npm install --save bcrypt` in the root application directory, and
the npm-bcrypt package will prefer that implementation.
2016-08-09 16:42:41 -04:00
Ben Newman
44cf6bbe4d Add some basic self-tests of meteor shell.
Related to #7504.
2016-08-03 15:56:34 -04:00
Ben Newman
08f14ef1a2 Add a basic app template for testing meteor shell. 2016-08-03 15:56:34 -04:00
Tom Coleman
7769951ee8 Switched to concat-stream for performance 2016-08-01 17:55:37 +10:00
Ben Newman
59942fd275 Update modules test app to Meteor 1.4. 2016-07-25 14:47:53 -04:00
Ben Newman
918f9bddad Merge branch 'devel' into release-1.4 2016-07-20 14:03:47 -04:00
Ben Newman
dc28c29985 Update modules test app to Meteor 1.3.5.1. 2016-07-18 20:11:52 -04:00
Ben Newman
00c05facde Merge branch 'devel' into release-1.4 2016-07-18 14:52:14 -04:00
Ben Newman
e85cef8e1a Make download resumption test faster and more deterministic.
We now use a smaller file (the `babel-compiler` archive instead of
`meteor-tool`), and we interrupt every 500kB, which leads to three total
interruptions for that file. Also, we only delay one second (instead of
five) between attempts.
2016-07-14 17:00:08 -04:00
Ben Newman
91f203999b Make download resumption test always run (and pass).
This is a test that really needs to run and pass every time we run the
test suite, so I decided it shouldn't be --slow. If it takes too long, we
can always download a smaller test file.

Hard-coding the download length was a recipe for brittleness, so now I'm
downloading the file without interruptions in parallel with the
interrupted/resumed download, so that we can compare the two files when
both have finished downloading.

Follow-up to #7399.
2016-07-14 16:05:35 -04:00
Ben Newman
7a530f79f6 Increase more test timeouts for robustness' sake. 2016-07-14 14:52:41 -04:00
Ben Newman
f0e3522b3c Make autoupdate self-test more robust. 2016-07-14 13:53:53 -04:00
Ben Newman
fbfb5b84e2 Avoid exposing httpHelpers._currentRequest.
Follow-up to #7399.
2016-07-14 11:47:32 -04:00
Tom Coleman
2cb3462b6d Minor fixes + added a comment 2016-07-14 11:47:32 -04:00
Tom Coleman
36011459fa Made the test work in a sensible way 2016-07-14 11:47:31 -04:00
Tom Coleman
cc07c15b6b First pass at request resuming via buffering the range header
This is still a WIP, but I wanted to get feedback at this point.
Will update the PR with outstanding TODOs.
2016-07-14 11:47:30 -04:00
Ben Newman
82dae55ef0 Avoid exposing httpHelpers._currentRequest.
Follow-up to #7399.
2016-07-14 10:39:10 -04:00
Tom Coleman
6fe6875dd2 Minor fixes + added a comment 2016-07-14 16:30:18 +10:00
Tom Coleman
eeba73eba0 Made the test work in a sensible way 2016-07-14 14:01:53 +10:00
Tom Coleman
756fb597c6 First pass at request resuming via buffering the range header
This is still a WIP, but I wanted to get feedback at this point.
Will update the PR with outstanding TODOs.
2016-07-13 17:50:41 +10:00
Ben Newman
586af3482c Merge branch 'devel' into release-1.4 2016-07-10 15:50:03 -04:00
Ben Newman
74aea0ca3c Update modules test app to Meteor 1.3.4.4. 2016-07-10 15:26:06 -04:00
Ben Newman
c54686126e Merge branch 'devel' into release-1.4 2016-07-09 15:07:52 -04:00
Ben Newman
126b9172c7 Update modules test app to Meteor 1.3.4.3. 2016-07-08 22:07:05 -04:00
Tom Coleman
e9666f2aa0 Remove "running" check from autoupdate test
The issue was the order of the two matches kept changing due to ..?.. (various factors I guess).
2016-06-29 14:14:09 -04:00
Tom Coleman
d2d1455f40 Updated meteor create to write package versions 2016-06-29 14:14:09 -04:00
Tom Coleman
add36ae322 Added test to check *updating* constraints 2016-06-29 14:14:09 -04:00
Tom Coleman
7519c6b547 Updated update test to work properly 2016-06-29 14:14:08 -04:00
Tom Coleman
63f1311630 First version of release constraint unpinning
For #7004. Still working on the self test but it appears to work :)
2016-06-29 14:14:08 -04:00
Ben Newman
2dfb450408 Merge branch 'devel' into release-1.4 2016-06-29 10:16:05 -04:00
Gabriel Rubens
cbb9e219d7 Include test for App.appendToConfig 2016-06-29 09:18:12 +10:00
Fabricio Nascimento
52ae06c771 Fix get master name on test 2016-06-24 12:15:28 -04:00
Fabricio Nascimento
7aa58f3ee5 Fix MasterDocDetection 2016-06-24 12:15:28 -04:00
Tom Coleman
25b7d3f585 Update mongo tests to check for 3.2 2016-06-24 12:15:26 -04:00
Ben Newman
ec5d15f131 Fix exit code for source maps test. 2016-06-24 12:15:22 -04:00
Ben Newman
dce2b20ddb Merge pull request #7033 from meteor/release-1.3.3
Release 1.3.3
2016-06-10 18:18:28 -04:00
Ben Newman
b907fea4c4 Update modules test app to use the official Meteor 1.3.3 release. 2016-06-10 17:21:30 -04:00
Ben Newman
eea8612834 Update modules test app to 1.3.3-rc.5. 2016-06-09 13:20:20 -04:00
Ben Newman
5ae53de46b Warn but do not crash when .babelrc dependencies unmet. 2016-06-06 19:55:22 -04:00
chemicstry
512799ed9e Initial IPv6 support 2016-06-06 02:17:36 +03:00
Ben Newman
bfc59dd3e3 Test that relative module identifiers work for .babelrc plugins. 2016-06-01 01:39:24 -04:00
Ben Newman
eb18d43024 Test that unprefixed .babelrc package names work too. 2016-06-01 01:39:23 -04:00
Ben Newman
b1df82ac0a Merge branch 'devel' into release-1.3.3 2016-05-31 14:09:46 -04:00
Gadi Cohen
dfee72792f Proper import chain for Meteor packages (closes #6907)
Don't include the ", false" for install() on traditional packages

add tests
2016-05-28 20:30:34 +02:00
Ben Newman
bae5983d59 Merge branch 'devel' into release-1.3.3 2016-05-27 00:02:48 -04:00
Tom Coleman
3b0ae7a903 Rebalanced tests 2016-05-25 17:03:05 -07:00
Tom Coleman
47308da931 Added a test that reproduces logging out of order 2016-05-25 10:54:43 -07:00
Tom Coleman
eadfd1f5b2 Upped timeout for bad PID test 2016-05-24 16:48:43 -07:00
Tom Coleman
c4258d68f1 Marked issues with custom-warehouse tag 2016-05-24 15:03:33 -07:00