Commit Graph

3801 Commits

Author SHA1 Message Date
Avital Oliver
f260ce2887 meteor logs -f: Properly close when we get an error from the logsForApp subscription 2013-05-30 15:20:50 -07:00
Slava Kim
ca8b0408ef Comment on ignoring the test for logging. 2013-05-30 15:15:07 -07:00
Slava Kim
878ca94a72 Throw if connection to logs failed. 2013-05-30 15:07:01 -07:00
Slava Kim
808c3c8f28 Add streaming options to logs (-f). 2013-05-30 15:04:48 -07:00
Avital Oliver
ddd33534b1 minor simplification 2013-05-30 14:46:29 -07:00
Slava Kim
c3513374bb Skip one logging test for unsupported browsers. 2013-05-30 11:21:09 -07:00
Emily Stark
9a4948d8ed Add postStartup hook that fires once webapp_server is listening. 2013-05-29 18:28:26 -07:00
Slava Kim
fc3a5c14d1 Get stack trace in FF. 2013-05-29 18:08:44 -07:00
Slava Kim
31e742e745 Use v8 js trace stack API for logging.
Rather than parsing formatted stack trace.
2013-05-29 15:29:10 -07:00
Avital Oliver
34157ebce4 minor tweaks to log format 2013-05-29 14:10:29 -07:00
Slava Kim
48c1b9bb48 Fix getting file name from url, adjust tests. 2013-05-29 13:40:06 -07:00
Slava Kim
5596dcf40f Make getCallerDetails public, add tests. 2013-05-29 12:39:21 -07:00
Slava Kim
f75730e3c4 Add tests for logging restricted keys. 2013-05-29 12:30:54 -07:00
Slava Kim
410c5722bf Adjust whitespace, new tests for logging.format. 2013-05-29 12:30:41 -07:00
Slava Kim
a3447577ec Adjust white space and old tests in logging. 2013-05-29 12:30:31 -07:00
Avital Oliver
50bd0ab0bc logging: add stderr indicator 2013-05-29 11:31:39 -07:00
Avital Oliver
0070812fba logs on stderr are warnings, not errors 2013-05-29 10:44:12 -07:00
Avital Oliver
80830ec2fe On 'meteor logs' from a galaxy, read from a separate log-reader app 2013-05-28 20:19:28 -07:00
Avital Oliver
35363b4516 minor brush-up 2013-05-28 20:18:54 -07:00
Avital Oliver
cc4c762afb logging: 'stderr' is a reserved key 2013-05-28 19:41:30 -07:00
Slava Kim
8703e5d99a Log program name with other source information. 2013-05-28 16:33:46 -07:00
David Glasser
90e97f8345 Merge remote-tracking branch 'origin/linker' into linker 2013-05-28 15:58:36 -07:00
David Glasser
729e53171d More linker fixes from the OAuth refactor. 2013-05-28 15:56:58 -07:00
David Glasser
d757b366d2 More fixes, from the merge of devel into linker.
Mostly related to making the big OAuth refactoring linker-friendly.
2013-05-28 15:52:50 -07:00
David Glasser
8a7b1ddf35 Merge branch 'devel' into linker.
Conflicts:
	meteor
	packages/absolute-url/.gitignore
	packages/accounts-base/package.js
	packages/accounts-oauth/package.js
	packages/audit-argument-checks/.gitignore
	packages/coffeescript/.gitignore
	packages/coffeescript/package.js
	packages/localstorage-polyfill/.gitignore
	packages/oauth1/package.js
	packages/oauth2/package.js
	packages/random/random.js
	scripts/generate-dev-bundle.sh
	tools/packages.js
	tools/run.js
	tools/server/server.js
2013-05-28 15:10:48 -07:00
Slava Kim
00d4bd1ab5 Separate RESTRICTED and FORMATTED keys, pass app name to proxy. 2013-05-28 15:02:21 -07:00
David Glasser
de6543b712 Merge branch 'upgrade-proxy' into devel 2013-05-28 14:39:47 -07:00
David Glasser
75149b75f3 Upgrade node-http-proxy to 0.10.1.
Intentionally not choosing 0.10.2, which has a websocket proxying Node 0.10
semi-fix which I found to sometimes corrupt data (on Node 0.10). See my analysis
on https://github.com/nodejitsu/node-http-proxy/pull/402

I do not know whether or not the PR corrupts data on 0.8, but it isn't necessary
there, so I'm going to hold off on taking that change until the promised future
complete rewrite of http-proxy to use the new 0.10 streams API.
2013-05-28 14:17:53 -07:00
David Glasser
e43f873f6b Update shrinkwrap file because mongodb module got re-pushed.
mongodb 1.3.6 was originally published depending on bson 0.1.8 and was
re-published depending on 0.1.9 (oops).
2013-05-28 13:26:15 -07:00
David Glasser
402b24c471 Merge branch 'connect-underscore-upgrades' into devel 2013-05-28 12:36:12 -07:00
David Glasser
7d24fbd4c0 Update HISTORY for upgrades. 2013-05-28 12:26:11 -07:00
David Glasser
043b6530d7 Bump dev bundle version for connect and underscore upgrades.
(0.3.4 was used on the linker branch.)
2013-05-28 12:23:42 -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
8e630c6b8d Improve test driver performance.
Upgrading Underscore to 1.4.4 fixes a bug where _.throttle would sometimes take
double its timeout to deliver calls. So with this bugfix, our test suite
performs worse because reactivity happens more often. Reduce the throttling to
one update of the big table per second instead of twice a second. (Also, there's
no need to defer and call flush; the changed call does that!)
2013-05-28 12:15:52 -07:00
David Glasser
15e190f073 Upgrade to Underscore 1.4.4. 2013-05-28 12:15:47 -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
74308f7d81 Add missing underscore dependency. 2013-05-28 12:12:42 -07:00
David Glasser
1a35b699e2 Fix hot code reload.
This was broken by 957729c, which switched the child process listener from
'exit' to 'close' but didn't update another line which removed that listener. So
we had an allergic reaction to killing our own subprocess.
2013-05-28 11:01:58 -07:00
Avital Oliver
f8f1eb3cb0 Pass GALAXY_APP to bindDdp and bindHttp 2013-05-28 11:01:31 -07:00
Nick Martin
357ec8e8b8 Add more info to error message. #1064. 2013-05-24 19:01:28 -07:00
David Glasser
285b09818a Improve test driver performance.
Upgrading Underscore to 1.4.4 fixes a bug where _.throttle would sometimes take
double its timeout to deliver calls. So with this bugfix, our test suite
performs worse because reactivity happens more often. Reduce the throttling to
one update of the big table per second instead of twice a second. (Also, there's
no need to defer and call flush; the changed call does that!)
2013-05-24 16:27:26 -07:00
David Glasser
5545a62985 Upgrade to Underscore 1.4.4. 2013-05-24 16:27:21 -07:00
Slava Kim
1651ecbbd6 Logging 'originApp' field if it differs from 'app' 2013-05-24 16:22:43 -07:00
Slava Kim
9234205af3 Simplify the prettify method. 2013-05-24 15:39:37 -07:00
David Glasser
47ecc3c1b4 Merge branch 'pr/1090' into devel 2013-05-24 15:34:21 -07:00
David Glasser
a90b321854 Clean up style, update HISTORY. 2013-05-24 15:34:15 -07:00
Stuart Johnston
7e9f36a583 Translate RegEx in lower levels of $and/$or/$nor selectors
Recurses over $and/$or/$nor selectors to translate RegEx into {$regex,
$options}.

Resolves #1089
2013-05-24 15:31:11 -07:00
Sean McCann
67f5efeea2 Format properties and method names as code 2013-05-24 15:14:26 -07:00
Slava Kim
e3a33ec0dd Rename 'fileName' field to 'file'. 2013-05-24 15:13:28 -07:00
Slava Kim
9631221336 Rename infoPrefix since it is confusing. 2013-05-24 15:09:04 -07:00