Commit Graph

3887 Commits

Author SHA1 Message Date
Slava Kim
4c88ed45f7 Imrove comments, clean intercept counter in logging package at the same
place we reset the intercepted array.
2013-06-17 11:37:26 -07:00
Slava Kim
4664722b71 Restructure testcases so they are easier to read. 2013-06-17 11:29:55 -07:00
Slava Kim
422edbd4d9 Change the error message. 2013-06-17 11:29:40 -07:00
Emily Stark
790deed8b4 Clean up mongo command 2013-06-14 17:01:47 -07:00
Slava Kim
160a9a2b06 Add regexp to throwing objects test. 2013-06-14 16:39:42 -07:00
Slava Kim
ce813b496a Restructure tests a bit. 2013-06-14 16:39:42 -07:00
Slava Kim
f550264054 Clarify and check that incorrect logging doesn't print anything. 2013-06-14 16:39:42 -07:00
Emily Stark
df9ceed07e Change temp to temporary in meteor mongo 2013-06-14 16:30:47 -07:00
Emily Stark
ea48bf81bf Merge branch 'meteor-mongo' into linker 2013-06-14 15:32:21 -07:00
Emily Stark
985cea3277 Clean up (Avi's comments) 2013-06-14 15:30:25 -07:00
Emily Stark
c444451279 Galaxy version of meteor mongo 2013-06-14 15:30:25 -07:00
David Glasser
9bafe2f881 builder: create ".build" slightly more atomically.
Now there never is a moment where ".build" contains a fraction of a unipackage.
2013-06-14 14:04:55 -07:00
David Glasser
8f193b2cc0 In unipackages, move node_modules into npm/node_modules.
This makes them invisible from plugins.
2013-06-14 13:29:55 -07:00
David Glasser
6108cc298c Fix infinite loop caused by watcher fix. 2013-06-14 12:25:45 -07:00
David Glasser
ea82e7c4b4 Move PACKAGE/.npm/ to PACKAGE/.npm/package/
This is to isolate the NPM dependencies of the package at runtime from the NPM
dependencies of any build-time plugins in the package, which live in
PACKAGE/.npm/plugin/foo.

Before, plugins could see the node modules at PACKAGE/.npm/node_modules, which
was not isolated enough.

(One issue would be that if you happened to switch a package from having runtime
dependencies to having buildtime dependencies, the buildtime dependencies would
not get installed. This is partially an issue because we don't know to uninstall
all dependencies if they are all removed, but even if that is fixed it would
enforce an unnecessary ordering semantics on NPM updates.)
2013-06-14 11:12:31 -07:00
David Glasser
42e015d2c0 Remove extra log from assets test 2013-06-14 11:12:30 -07:00
David Glasser
3fa0b533cc wordplay: make dictionary check O(1) and take punctuation out of word list
apologies to deberg for stealing all of his git blame credit.
2013-06-14 11:09:57 -07:00
Emily Stark
1f3a69d7eb Update wordplay example to use Assets API 2013-06-14 08:40:26 -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
Naomi Seyfer
0ccba277cf oops accidentally delted half a line or something 2013-06-13 18:28:04 -07:00
Naomi Seyfer
6eeec29398 fix tests that rely on structure of bundled html generated 2013-06-13 18:05:05 -07:00
Naomi Seyfer
1957c4e1d3 Remove unused file; fix spelling
include robots.txt
2013-06-13 18:05:05 -07:00
David Glasser
719e4c4700 Fix typo in buildinfo dependency serialization. 2013-06-13 17:44:15 -07:00
Naomi Seyfer
aa4fe7ec17 version check deduplication; resolved conflict wrong before 2013-06-13 16:24:08 -07:00
Naomi Seyfer
2e608e3abf Glasser comments on ssh-auth branch 2013-06-13 16:23:24 -07:00
Emily Stark
69d51abd4c Configure at /panel, not /proxy 2013-06-13 16:22:32 -07:00
Naomi Seyfer
66695a75d0 all things served on path prefix always 2013-06-13 16:22:32 -07:00
Naomi Seyfer
bd53fbe089 Rearrange proxying so that apps find their proxy themselves. 2013-06-13 16:22:32 -07:00
Naomi Seyfer
213cd94129 Add initial mechanics for serving an app on a path other than /
For now, this requires the ABSOLUTE_URL environment to be set to true.  More
considered ABI possibly coming.
2013-06-13 16:22:32 -07:00
David Greenspan
fc74cfba15 remove apparently-defunct copy of html_scanner 2013-06-13 11:17:26 -07:00
David Greenspan
c5740b6c69 fix: excludes must be regexes (typo?) 2013-06-13 11:17:26 -07:00
Slava Kim
5ba4f9f194 Adjust test with date, so it is browser-independent. 2013-06-12 19:16:50 -07:00
Slava Kim
a41573f59f Convert dates and regexps to string, test these and some other
non-standard values. Tests will probably fail on IE5-7 :(.
2013-06-12 19:01:12 -07:00
Slava Kim
bcbd6e1b70 Make sure that 'message' of log object is always a string. Teach Log to
log falsy values. Throw an exception if use passed non-string as part of
log object. Tests for this functionality.
2013-06-12 18:08:34 -07:00
David Glasser
f87a0ce09e Clean up commented-out code. 2013-06-10 22:44:16 -07:00
David Glasser
e838349cca Add missing var. 2013-06-10 22:21:07 -07:00
David Glasser
a578cb0c75 Fix symlinking bug revealed by parent commit.
With the precedence bug fixed, more directories are placed into
usedAsFile... enough to break nodeModulesMode=symlink. Fortunately bundler-test
did catch this.

The somewhat hacky fix is to look carefully for reserved empty directories and
replace them with symlinks. This may not be 100% correct; see the XXX comment.
2013-06-10 22:17:37 -07:00
David Glasser
b9e96ab2b7 Fix operator precedence bugs. 2013-06-10 20:55:37 -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
David Glasser
0ecf4650d0 Merge branch 'node-0.8.24' into devel 2013-06-10 16:28:48 -07:00
David Glasser
664fca93e2 New npm requires you to have a decent package.json when running shrinkwrap. 2013-06-10 16:22:08 -07:00
David Glasser
1ae01d3149 Update History.md. 2013-06-10 15:53:50 -07:00
David Glasser
870b0c5065 Bump MIN_NODE_VERSION. 2013-06-10 15:52:30 -07:00
David Glasser
4e4e5add87 chmod +x and fix bug in new script 2013-06-10 15:47:56 -07:00
David Glasser
acf2f716a1 bump dev bundle version number. (0.3.7 is on linker.) 2013-06-10 14:37:40 -07:00
David Glasser
b61eea1509 Make selectorFromUserQuery actually match userQueryValidator.
Now the "shouldn't happen" really shouldn't happen. Fixes #1106.
2013-06-10 14:01:18 -07:00
David Glasser
e0ef4d4ce9 docs: move note that slipped down a section. 2013-06-10 14:01:17 -07:00
David Glasser
e72c7472a8 Restore copy from jenkins script, this time for dev bundle 2013-06-10 13:18:32 -07:00
David Glasser
3c5c9579df Update Node to 0.8.24 and MongoDB to 2.4.4.
Have not yet tweaked MIN_NODE_VERSION.

We are still avoiding Node 0.10 because http-proxy has bugs with websocket
proxying on Node 0.10.
2013-06-10 12:32:58 -07:00
David Glasser
226c19ba6a Merge submodule metadata from devel too 2013-06-10 12:23:36 -07:00