Avital Oliver
8c835c8207
prose
2013-06-06 22:18:08 -07:00
David Glasser
32fe325d49
Tests and sorta-docs for tailable cursors.
2013-06-06 21:33:43 -07:00
Emily Stark
9155031986
Don't use transform on tailable cursor SynchronousCursors.
...
Also remove unnecessary check on cursorDescription.options.
2013-06-06 17:49:38 -07:00
Emily Stark
d0a000a15b
oops, add the nonreactive transform back in
2013-06-06 00:45:22 -07:00
Emily Stark
e25f2f594a
Fix a couple failing mongo-livedata tests.
...
Transform was being applied to every single Mongo query, including those issued
from _pollMongo. This led to the transformed doc being sent over DDP, and then
the client applied the transformation again. Instead, pass the useTransform flag
to prevent _pollMongo from transforming, so that the whole doc gets sent over
DDP and then the client does the transform, which is (I think?) what is supposed
to happen. I also think but am not sure that transform is supposed to be applied
for SynchronousCursors created for tailable cursors, so I had those
SynchronousCursors have useTransform=true.
2013-06-06 00:38:14 -07:00
Emily Stark
5c08044532
Add test for local collections with same name
2013-06-05 21:49:23 -07:00
Emily Stark
c701291e94
Change property name that keeps track of local collections
2013-06-05 21:09:01 -07:00
Emily Stark
4c55a2623e
Throw error when publishing a local collection cursor without a name
2013-06-05 20:57:49 -07:00
Emily Stark
a840d29f60
Allow Meteor.Collections with name but no connection.
...
Also differentiate LocalCollections based on connection, not just name.
2013-06-05 18:45:09 -07:00
Slava Kim
fb159e270f
Store galaxy url in context.
2013-06-04 10:57:02 -07:00
David Glasser
5e2bf58c3e
tailable cursors: Fix wrong method name.
2013-06-03 18:01:28 -07:00
Avital Oliver
e682c97977
Include offset from UTC in formatted log strings
2013-06-03 10:41:12 -07:00
Slava Kim
9588e4002e
Show different help message if logs use Galaxy.
2013-06-03 10:08:43 -07:00
Slava Kim
3b52f10e7a
Fix error message on connection failure.
2013-06-03 10:04:02 -07:00
Slava Kim
51db0d2646
Test logging from evaled string.
2013-05-31 16:21:57 -07:00
David Glasser
7d4ee2209e
Add "bundle --for-deploy", to not include the node modules.
...
(On Galaxy, start.sh deletes node_modules anyway.)
Normally you wouldn't use bundle to create things meant to be deployed (you'd
use deploy!) but Galaxy development itself consists of building things with
"bundle" to be assembled into a Galaxy.
2013-05-31 11:28:26 -07:00
Slava Kim
0665b33d4f
Pass logging tests on IE7.
2013-05-31 10:52:58 -07:00
David Glasser
61327d97ce
Initial implementation of tailable cursors.
...
They really only work well (ie, restart properly after reconnect) if they have
an increasing BSON Timestamp() field named ts. Sorry, that's just how Mongo
works.
Use them for "meteor logs" in Galaxy mode.
2013-05-30 18:02:46 -07:00
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