Commit Graph

15 Commits

Author SHA1 Message Date
Emily Stark
a97138f04f Don't allow .. in Assets inputs 2013-06-18 17:13:06 -07:00
estark37
b50a1bf12f Add server static assets and an API for retrieving them.
Server assets can be included in a bundle by putting them in the private/
directory of an application, or by registering a build plugin that calls
compileStep.addAsset with a server file. The Assets API (Assets.getText and
Assets.getBinary) allows an application or package to retrieve the contents of
its own server assets.
2013-06-13 22:53:25 -07:00
David Glasser
e07445cd75 Merge branch 'devel' into linker
This pulls the Node upgrade, which needs a different dev bundle version number
here

Conflicts:
	meteor
	tools/server/server.js
2013-06-10 16:58:03 -07:00
Emily Stark
9a4948d8ed Add postStartup hook that fires once webapp_server is listening. 2013-05-29 18:28:26 -07:00
David Glasser
6299f69754 Upgrade Connect to 2.x.
Set $NODE_ENV appropriately (to 'development' in 'meteor run' and 'production'
otherwise) so that connect doesn't send stack traces over the network in
production.
2013-05-28 12:14:11 -07:00
David Glasser
2d827e74fc Factor webapp-specific stuff (and keepalive) out of boot.js into webapp package.
Replace type: "bare" with type: "server" in attributes.json.  This now just
means "only make one server process" rather than controlling the boot script.

Programs that are type: "traditional" that want to be a webapp now need to
explicitly depend on the webapp package.
2013-05-13 11:58:58 -07:00
Naomi Seyfer
31bd79c54b actually attempt to fetch the route from the env var that we put it in 2013-05-13 11:58:57 -07:00
David Glasser
1383e3b5e0 lastStart is actually lastStarted 2013-05-13 11:58:57 -07:00
David Glasser
b9179fa2d3 boot.js: new pid structure 2013-05-13 11:58:43 -07:00
David Glasser
ab3c30f577 Fix command-line parsing with --keepalive. 2013-05-13 11:57:48 -07:00
David Glasser
91f5d3c132 Specify insecurePort, not securePort. 2013-05-13 11:57:47 -07:00
David Glasser
437b174b16 If $METEOR_DEPLOY_CONFIG is specified, apps bind to a Galaxy proxy. 2013-05-13 11:57:21 -07:00
Geoff Schmidt
b3a5c26847 bare programs receive argv correctly. also, boot
scripts receive their load lists via a command
line argument (as had been originally intended
but not implemented) rather than by a hardcoded
reference to 'package.json'.
2013-05-13 11:56:51 -07:00
Geoff Schmidt
0f3ab1af6b Change format identifiers to look like prereleases 2013-05-13 11:54:20 -07:00
Geoff Schmidt
607e637b22 Generate dev_bundle trampoline scripts in star balls. Nothing uses them yet. 2013-05-13 11:53:51 -07:00