Commit Graph

78 Commits

Author SHA1 Message Date
David Glasser
bc6239dfc1 vbump for rc9
Hopefully we won't have to do "bump for all the npm modules" again after
this
2014-08-15 12:34:47 -07:00
David Glasser
a9db15a9e6 vbump for 0.9.0-rc8 2014-08-14 12:02:08 -07:00
ekatek
b9a714f028 ripping out internal, name and test from package.js files 2014-07-07 20:50:50 -07:00
David Glasser
7bfa2dacb5 Add package.json and npm-shrinkwrap.json to bundle
Recommend their use instead of hacky fibers reinstallation.
2014-07-01 16:18:36 -07:00
David Glasser
80df89cafd http should not depend on dev bundle for 'request' 2014-07-01 13:34:18 -07:00
David Glasser
0da301c637 unbreak tests again 2014-07-01 13:33:39 -07:00
Emily Stark
7f4cc3299a Fix static file serving test.
Test assets are now served under /packages/<package name>:test/.
2014-06-24 15:20:44 -07:00
ekatek
fb709c9563 remove versions files from core packages 2014-06-16 22:11:31 -07:00
David Glasser
c5e5305a3b Merge branch 'devel' into packaging
Conflicts:
	tools/bundler.js
	tools/packages.js
2014-06-11 12:02:57 -07:00
Justin SB
18768e59d8 Switch the 'unreachable' url from http://asdf.asdf to http://0.0.0.0
Some ISPs / proxies serve a valid HTTP response on any DNS miss, but
we are trying to test an unreachable server.
2014-05-28 11:56:09 -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
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
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
Avital Oliver
471f09cbce Oops. The test shouldn't throw errors on the server. 2014-04-22 21:39:46 -07:00
Avital Oliver
3ad2a70a03 Truncate HTTP errors at 500 characters, not 180.
I hit this personally with a misconfigured OAuth service and
I couldn't diagnose the problem due to the message being too
short.
2014-04-22 21:29:32 -07:00
ekatek
1f3daac20c remaining versions.json 2014-04-21 19:03:09 -07:00
ekatek
833d8b3620 adding names and test packages where applicable; wip 2014-04-10 15:04:38 -07:00
Geoff Schmidt
4d114ef617 Set some (not all, yet) packages to version 1.0.0 2014-03-07 01:33:37 -08:00
Nick Martin
4e922fd709 remove ie8 hack from tests. for some reason it is no longer needed. 2013-10-08 21:30:39 -07:00
Nick Martin
9b8d72392c Change the part of the app html that the http tests look for. test-in-console doesn't set a title. 2013-08-19 19:18:26 -07:00
David Glasser
4b3cb9d305 Rename api.exportSymbol -> api.export. 2013-07-25 18:54:43 -07:00
David Glasser
a5c061ecde Rename Meteor.http to HTTP. Backwards compatible. 2013-07-25 18:54:42 -07:00
David Glasser
060151dd81 test-packages now has no immediate server-side errors (client-side, sure)
eliminate accounts-urls package
2013-07-25 18:54:40 -07:00
David Glasser
9f38258b54 Drop all @export lines. Add api.exportSymbol instead. 2013-07-25 18:54:40 -07:00
Geoff Schmidt
3d1c09794f Comprehensive namespace cleanup. 2013-07-25 18:54:40 -07:00
David Glasser
6a1b5d3032 Consistently use fut['return']() in package code.
Some package code is loaded in browsers, which may fail to parse code which uses
'return' or 'throw' as a method name.  We used to inconsistently use fut.ret for
this purpose; instead, just consistently use fut['return'] and fut['throw']. We
don't bother to do this in tools code which is definitely never run outside of
Node.

Also remove some unused requires.

Fixes #1222.
2013-07-15 21:39:03 -07:00
David Glasser
89e2fb1df1 Fix static file serving tests now that we've changed how static files are
served.

Some things that used to serve 403s now serve app HTML. Some paths with ..'s
that used to resolve to actual app resources now don't.
2013-07-12 10:11:31 -07:00
Emily Stark
4a93bdae68 Remove numRequiredArgs argument. 2013-07-08 09:48:47 -07:00
Emily Stark
71af4bc490 Use wrapAsync in some call sites 2013-07-08 09:47:21 -07:00
David Glasser
053db8e9e9 Begin to refactor webapp package.
Move stuff from __meteor_bootstrap__ to WebApp exported symbol.

Note that the WebApp API continues to be subject to change.
2013-07-02 16:15:12 -07:00
David Glasser
f1aaa5227a Add a bunch of 'vars' found by looking at built packages. 2013-07-01 22:50:58 -07:00
David Glasser
7dcb53c4bd Merge branch 'devel' into linker 2013-06-17 18:19:39 -07:00
David Glasser
0bf4594a20 Make new test pass with --production. 2013-06-17 18:12:32 -07:00
Nick Martin
f060d1808a add unit test for serving static paths. 2013-06-17 15:41:05 -07:00
David Glasser
34c42d76b5 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:23:11 -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
fbaa8bf845 Fix a couple places that assumed 'connect' was in the dev bundle.
Always parse HTTP query strings, instead of only doing it if oauth packages are used.
2013-05-15 19:14:43 -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
David Glasser
6b48e8bd8a stuff that doesn't have conflicts 2013-05-13 11:51:50 -07:00
David Glasser
8dbee56e77 Add .gitignore to package directories to match linker branch.
This way switching between linker and devel doesn't leave you with lots of junk
in git status.
2013-05-13 10:57:37 -07:00
Avital Oliver
be8dc47113 Better error rethrowing 2013-04-30 11:43:30 -07:00
Avital Oliver
5d04576b91 HTTP error messages don't have newlines 2013-04-30 11:43:30 -07:00
Avital Oliver
c69ab5d350 Include response in HTTP 4xx/5xx error messages 2013-04-30 11:43:30 -07:00
Avital Oliver
fe57ab10c7 Simplify server http code by using future.resolver() 2013-04-22 16:04:23 -07:00
Avital Oliver
6e924979be More http sync
- improve docs
- add tests for sync case
- modify http tests so that they now pass
- Still TODO: Update call sites (oauth)
2013-04-22 15:39:53 -07:00
Avital Oliver
03085e8842 New HTTP sync API 2013-04-22 15:39:41 -07:00