Commit Graph

141 Commits

Author SHA1 Message Date
ekatek
fb709c9563 remove versions files from core packages 2014-06-16 22:11:31 -07:00
David Glasser
e4000c6808 Merge branch 'devel' into packaging
Conflicts (around utils.quotemeta):
	tools/packages.js
	tools/utils.js
2014-05-12 17:06:11 -07:00
ekatek
beb0e59b9d new version files from teh new solver? Also, package.js correct with tests 2014-05-09 17:36:25 -07:00
Emily Stark
c044786e2f nim, glasser comments 2014-05-08 12:12:45 -07:00
Emily Stark
4afa54ca5a Set Content-Type header on js and css resources. 2014-05-08 12:12:45 -07:00
David Glasser
50b7f12922 Fix 0.8.1 regression in ROOT_URL with path
Fixes #2109.
2014-05-07 17:46:08 -07:00
David Glasser
08cf1e0974 shrinkwrap update from 314c8a1
Apparently not passing --force to npm install also allows us to do a
better job of not bundling duplicate npm packages.
2014-05-07 17:31:29 -07:00
ekatek
031890d2c5 don't store buildtime deps in the catalog 2014-05-04 16:56:58 -07:00
ekatek
23ad149a78 better versions files 2014-04-25 15:06:45 -07:00
ekatek
10d2047d12 clean up 2014-04-25 15:01:20 -07:00
ekatek
c84c8d6097 alphabetize package version lock files 2014-04-24 18:18:21 -07:00
David Glasser
3d3bdd4f50 versions.json update (these should be sorted!) 2014-04-24 17:02:46 -07:00
David Glasser
fbde0a00a7 Merge branch 'publish-packages' into library-refactor
Conflicts:
	packages/domutils/package.js
	packages/handlebars/package.js
	packages/htmljs/package.js
	packages/liverange/package.js
	packages/spark/package.js
	packages/universal-events/package.js
	tools/bundler.js
	tools/help.txt
	tools/packages.js
	tools/run-app.js
	tools/run-mongo.js
	tools/skel/.meteor/packages
2014-04-24 17:01:36 -07:00
David Glasser
3b21c2d9a7 Merge branch 'devel' into publish-packages
Conflicts:
	packages/domutils/package.js
	packages/handlebars/package.js
	packages/htmljs/package.js
	packages/liverange/package.js
	packages/madewith/package.js
	packages/meteor-developer/meteor_developer_server.js
	packages/preserve-inputs/package.js
	packages/spark/package.js
	packages/universal-events/package.js
	tools/commands.js
	tools/files.js
	tools/help.txt
	tools/packages.js
2014-04-24 16:27:21 -07:00
ekatek
9f543d4d03 versions files for packages 2014-04-21 18:16:31 -07:00
David Glasser
c5f288be38 Fixes to app.html-in-webapp
- Depend on ui in webapp because we use UI.component

- Use eval rather than new Function because we *do* need the local
  environment (to get HTML, UI, etc)

- Log errors from running the template

These issues were not visible in normal apps because normal apps use
'ui' (implied by standard-app-packages) which makes UI a *global*. Ditto
for 'htmljs' (implied by ui) and the HTML symbol.
2014-03-27 17:22:18 -07:00
David Glasser
b2632d45c5 Move boilerplate HTML from tools to webapp
This breaks a strong dependency between the webapp package and the
bundler.  Now we can change the standard page format, add more hooks,
etc without changing the tools (and hot code push works properly).

This is an incompatible change to the definition of the
browser-program-pre1 format: it no longer contains a "page" field
pointing to a boilerplate defined using ad hoc ##FOO##
substitution. Instead, the manifest can contain "head" and "body"
entries for data added with compileStep.appendDocument().  (Note that in
Blaze, <body> in a template file no longer calls appendDocument.)

WebApp.addHtmlAttributeHook callbacks now return attribute objects (like
those that Spacebars supports) rather than strings.
2014-03-24 20:10:39 -07:00
Geoff Schmidt
4d114ef617 Set some (not all, yet) packages to version 1.0.0 2014-03-07 01:33:37 -08:00
Emily Stark
9aa4e53984 Run compress connect handler before raw connect handlers. 2014-02-20 11:47:53 -08:00
Emily Stark
36b7cd776d Add WebApp.rawConnectHandlers that run before other meteor handlers 2014-02-20 11:04:53 -08:00
Emily Stark
e4c02a5e3a Revert "Run user-supplied connect handlers earlier. They see the path before the prefix has been stripped and they take precedence over static assets."
This reverts commit c3c86a1b30.
2014-02-20 10:49:20 -08:00
David Glasser
153d84cb9f Drop optimist from the dev bundle
The tool no longer uses it.  Simplify webapp_server to do a dumb check
for a flag instead of using optimist.

ctl-helper still uses optimist; ideally it should use our parser from
main.js instead.

Also, remove a debugging "|| true" that was causing "LISTENING" to be
output even without --keepalive.

I am not actually planning to rebuild the dev bundle just to drop
optimist.
2014-02-07 18:26:29 -08:00
Naomi Seyfer
d91110bd9c Merge branch 'devel' into sso
Conflicts:
	packages/livedata/livedata_server.js
2014-02-04 14:04:30 -08:00
Andrew Wilcox
09029be917 Update client info API to just have connection.clientAddress and connection.httpHeaders.
Fix documentation.

Expose webapp's `identifyBrowser`, even though we aren't currently
using outside of webapp.
2014-02-04 01:08:36 -08:00
Andrew Wilcox
ca7a6929d7 Make information about the client available in the connection object. 2014-02-04 01:08:36 -08:00
Emily Stark
dd6d6a702b Fix eternal reload on pages with no stylesheets.
This fixes test-in-console, which was never completing test runs because
the page would reload constantly (or something).
2014-02-02 15:31:58 -08:00
Naomi Seyfer
707e0fa78b When changing tags on the proxy, request a certain number of minimum bindings that have those tags 2014-01-29 13:29:44 -08:00
Naomi Seyfer
4e85255a38 Switch to active detection of wrong css files, detection of *no* css files, to cause a reload 2014-01-22 14:59:19 -08:00
Naomi Seyfer
e79ad2f309 Unbind from proxy when killed 2014-01-21 17:02:03 -08:00
Emily Stark
2ed30c5387 Update configureService and call sites to new service format.
The `configure` callback now gets called with a list of endpoints for the
service instead of a Services document.
2013-12-23 17:18:47 -08:00
Geoff Schmidt
b9f63839e6 Merge branch 'devel' into sso 2013-12-19 17:17:01 -08:00
Emily Stark
48521f9d18 Use only websockets transports for sockjs when behind a DDP proxy 2013-12-18 16:41:32 -08:00
Emily Stark
3003f46347 Use special bind path for panel 2013-12-17 22:23:24 -08:00
Naomi Seyfer
f0f7ae2d16 Do not loop forever on ie8 2013-12-17 12:12:20 -08:00
Emily Stark
546c344b3d Merge branch 'devel' into sso
Conflicts:
	packages/ctl-helper/ctl-helper.js
	packages/webapp/webapp_server.js
2013-12-16 17:30:43 -08:00
Naomi Seyfer
37c63ffae7 Package instead of Meteor to measure js loading; allow use of webapp a la carte
Also change the timing to allow more time for new servers to come up.
2013-12-16 12:14:01 -08:00
Geoff Schmidt
ad5f3fff45 Merge remote-tracking branch 'refs/remotes/origin/sso' into sso 2013-12-13 18:18:38 -08:00
Geoff Schmidt
e63837d0aa Fix path binding bug 2013-12-13 18:18:23 -08:00
Naomi Seyfer
7449577ef4 Did my own phabricator comments; mostly small touches 2013-12-13 14:40:10 -08:00
Naomi Seyfer
73f6d3c81c Move code to adjust proxy binding tags to ctl-helper 2013-12-13 13:22:01 -08:00
ekatek
d62969fbce Cleaning up previous propagation of version 2013-12-13 11:53:02 -08:00
ekatek
8e9ad07a09 use process.env.admin_app instead of a hardcoded array 2013-12-13 10:46:20 -08:00
Naomi Seyfer
5750dcd7c6 Move the check for css to be loaded out of a string into code 2013-12-13 10:03:36 -08:00
ekatek
4ab6f8ee88 tags 2013-12-13 10:03:35 -08:00
Naomi Seyfer
276034617a First version of a reload safetybelt against javascript or css not being loaded properly 2013-12-13 10:03:35 -08:00
ekatek
7da8004ddf version as tag 2013-12-13 10:03:35 -08:00
Emily Stark
685431fb20 Fix check on forwardTo url 2013-12-12 23:35:52 -08:00
Emily Stark
1ab704be45 Fix double slash in proxy pathname 2013-12-12 23:35:09 -08:00
Emily Stark
ae2404d1f3 Remove trailing slashes on pathnames for proxy bindings 2013-12-12 21:52:36 -08:00
Geoff Schmidt
bbc3104777 fix bugs in new webapp binding code 2013-12-12 18:44:43 -08:00