Commit Graph

655 Commits

Author SHA1 Message Date
David Glasser
b2b5e323eb set x-forwarded-* headers in 'meteor run'
This was a regression in 0.6.6 when we upgraded to a new unreleased
version of http-proxy which now requires an explicit option to set them.
See #1624.
2013-11-25 17:16:57 -08:00
Alexey Komissarouk
60f88dcc0f asking for password on stdout so url can be used in scripts 2013-11-18 17:03:41 -08:00
Naomi Seyfer
3e2fde9cbe Merge branch 'devel' into follower 2013-11-07 16:22:35 -08:00
Emily Stark
8d7a3f6591 Include release stamp in star.json 2013-11-04 22:09:45 -08:00
Slava Kim
ac376b6db8 Introduce '--raw-logs' option to meteor run to disable logs parsing. 2013-11-03 22:09:17 -08:00
Emily Stark
42e9d79152 Merge branch 'devel' into follower 2013-11-01 14:22:29 -07:00
Naomi Seyfer
7994ccc1a8 Push the star manifest to galaxy on star upload 2013-10-31 18:08:56 -07:00
Emily Stark
652eb0cb89 Merge remote-tracking branch 'origin/follower-node0.10' into follower
Conflicts:
	docs/client/concepts.html
	meteor
	packages/follower-livedata/follower.js
	packages/livedata/livedata_server.js
	packages/webapp/.npm/package/npm-shrinkwrap.json
	packages/webapp/package.js
	packages/webapp/webapp_server.js
	scripts/generate-dev-bundle.sh
	tools/bundler.js
	tools/meteor.js
	tools/server/boot.js
2013-10-31 15:47:17 -07:00
David Glasser
5884d0b2d1 Update fibers instructions in README.
Now it matches the instructions in the docs.

Fixes #1519.

(All of this is a mess; we should stop using the dev bundle in
deployments entirely.)
2013-10-22 18:23:35 -07:00
David Glasser
9ab15d4c29 Bundler failures should cause non-zero exit code.
Fixes #1515.
2013-10-22 16:59:06 -07:00
David Glasser
daf0a4801a Ensure 500 ms of directory watch downtime.
Should help with #1506.

Fingers crossed for an eventual usable fs.watch.
2013-10-22 16:10:57 -07:00
Nick Martin
baa6aa56a0 Bump node version from 0.8.24 to 0.8.26 for Meteor 0.6.5.2 release.
Conflicts:
	History.md
2013-10-21 17:07:01 -07:00
Nick Martin
2b4fb9b37d Merge branch 'master' into devel
Conflicts:
	History.md
	meteor
2013-10-21 16:51:16 -07:00
Nick Martin
f4e21c0d37 Bump node version from 0.10.20 to 0.10.21 for Meteor 0.6.6.2 release. 2013-10-20 22:02:25 -07:00
David Glasser
67a7c2786b Don't hash settings file during deploy. 2013-10-19 01:03:50 -07:00
David Glasser
606a94b41d Calculate settings file hash properly. Fixes #1497.
Previously we were hashing the Unicode string, not the bytes.

This also removes a race condition. Now there is only one use of
watchSet.addFile which does not go through
watch.readAndWatchFile (adding package.js hashes to multiple watch sets
at once), and that use does correctly hash the bytes.
2013-10-18 16:18:24 -07:00
Nick Martin
4329071334 use a non-default port in tests so we don't fail if someone is running an app at the same time. 2013-10-16 14:59:38 -07:00
Nick Martin
d05560d12f Don't us fs.watch. Cherry pick and squash 2b8e4a2975 2013-10-11 16:31:40 -07:00
David Glasser
6c0f7dff02 Yield during background directory watches. 2013-10-11 14:18:05 -07:00
Nick Martin
085b9bb0e5 Remove now unneeded double check. 2013-10-11 13:11:22 -07:00
Nick Martin
135de89282 Rip out fs.watch entirely. 2013-10-11 13:09:27 -07:00
Nick Martin
287d43bd99 Don't use fs.watch. Poll directory contents instead. 2013-10-11 10:01:29 -07:00
Stephen Darnell
8883056bf7 Switch to socket.end() 2013-10-09 09:59:24 -07:00
Stephen Darnell
31669c7dd5 Switch to socket.end() 2013-10-09 09:58:08 -07:00
David Glasser
bda5113fa5 meteor run: Handle errors in the websocket proxy by closing socket instead of
throwing
2013-10-07 14:18:29 -07:00
David Glasser
94c7833c82 Delete unused JSAnalyze.findGlobalDottedRefs.
Because it is currently unused and was the only direct use of the 'estraverse'
module, it seems better to minimize the number of dependencies shipped with
Meteor. Admittedly, estraverse is still a dependency of escope, but if we
upgrade escope to a version that has a more specific version requirement for
estraverse that conflicts with our Npm.depends, we'll be shipping two copies for
no reason.
2013-10-04 09:46:48 -07:00
David Glasser
8062d65730 Update for new 'keypress' API. 2013-10-03 16:59:44 -07:00
David Glasser
0f0542efb1 Replace byline npm module with eachline.
Node 0.10-compatible versions of byline (eg 3.1.2) drop empty lines.
2013-10-03 15:52:20 -07:00
David Glasser
60d5566763 http-proxy is called http-proxy again. 2013-10-03 15:52:19 -07:00
David Glasser
664339fdb3 Yet another Node version bump: to 0.10.20. Fixes tls read bug. 2013-10-03 15:52:19 -07:00
David Glasser
c9ba1b3ec9 Fix handling of Mongo exit callback (followup to 6358930). 2013-09-30 19:17:59 -07:00
Emily Stark
4893fe048c Package for security-related http headers. 2013-09-28 18:44:04 -07:00
Nick Martin
3177d9ad41 Use http_proxy environment variable so meteor update and deploy work behind an http proxy. 2013-09-27 15:06:43 -07:00
Nick Martin
c8308cdf9f Turn off mongo http interface. This lets you run meteor on port 3000 and 4000 at the same time. 2013-09-26 13:48:01 -07:00
David Glasser
25aae35422 Fix .node_version check. run-tools-tests passes. 2013-09-25 01:57:50 -07:00
David Glasser
6c1f92e891 Might as well use the version that just got released (0.10.19). 2013-09-24 23:31:47 -07:00
David Glasser
ca1fb6788a Track the node version used when installing NPM modules.
This way, when the dev bundle version changes the Node version they will get
reinstalled. (You still need to bump BUILT_BY to get the modules into
unipackages too.)
2013-09-24 17:13:38 -07:00
David Glasser
dd7172ab7f Use an http agent (this was default in old http-proxy but not in caronte). 2013-09-24 17:13:38 -07:00
David Glasser
5f146a9d72 Update run.js to use caronte API. 2013-09-24 17:13:38 -07:00
David Glasser
d1cf1bd2e3 Make sure all packages rebuild.
This isn't quite enough to rebuild NPM packages but it's a start.
2013-09-24 17:13:37 -07:00
David Glasser
fa4509f81b Use npm install --force to get around NPM cache corruption bug.
(This caused test_bundler_npm to fail sporadically with Node 0.8.)
2013-09-24 17:13:37 -07:00
David Glasser
411c6cf8f4 Update to Node 0.10.18, bumping dev bundle version. Use caronte. 2013-09-24 17:13:37 -07:00
Slava Kim
9368852bdc Improve error message
Glasser's comments
2013-09-24 16:31:44 -07:00
Slava Kim
63589300fe On MongoDB failures print 20 lines of stderr and print a special error if mongod failed to start due to incompatible version of glibc.
Catch stderr before 'exit' signal

Try to give a good error message on outdated glibc/libstdc++.

Simplify error reporting to two lines.

Print only last 20 lines of stderr.

Slightly better error message.
2013-09-24 15:20:08 -07:00
David Glasser
d5ce2502f6 Improve error messages if unipackage load fails.
This mostly affects Meteor core development (since for now, unipackage.load is
only used inside the meteor tools itself and only to load core packages, which
should be properly compiled in any Meteor release).
2013-09-19 13:54:33 -07:00
Maxime Quandalle
259fb036c8 Fix syntax 2013-09-12 14:29:50 -07:00
Maxime Quandalle
c66b8e3db5 Style tweaks 2013-09-12 14:29:50 -07:00
Maxime Quandalle
d4186524b8 Support multiple extensions in _getSourceHandler 2013-09-12 14:29:50 -07:00
David Glasser
3665b31a82 Remove backwards-compatibility implementation of pre-0.6.5
Package.register_extension API.

It didn't even actually work for producing JavaScript files (eg a
coffeescript-like package): see #1410. Package maintainers should have upgraded
to the more powerful 0.6.5 API by now anyway.
2013-09-12 13:55:15 -07:00
Emily Stark
bfc7f22dc0 Don't number lines that end in backslash.
Fixes #1326
2013-08-20 11:14:44 -07:00