Geoff Schmidt
3d8b3b6e1d
Implement dynamic scoping, bindEnvironment
...
tests on client, not yet on server
2012-02-23 03:44:41 -08:00
Geoff Schmidt
58a2d65126
Provide package 'meteor' to create the Meteor global
...
Fold old package 'core' into it
2012-02-23 02:21:10 -08:00
Geoff Schmidt
72fda4871a
Merge branch 'refs/heads/livedata-tests'
2012-02-23 02:05:06 -08:00
Geoff Schmidt
e8e2d956a2
Work around Uglify bug
...
(incorrect minification of 'debugger')
2012-02-23 01:00:25 -08:00
Geoff Schmidt
1c8e498e1e
Use a fresh collection each time the test is run
...
(so it can be rerun)
2012-02-23 01:00:02 -08:00
David Greenspan
08c3d13465
prevent collection remove from triggering add
2012-02-21 15:25:34 -08:00
Geoff Schmidt
e0722bedf8
basic livedata method invocation tests
2012-02-21 01:40:15 -08:00
Geoff Schmidt
8cf92b18ef
reinstate ability to open debugger on a test
...
(also, restore ability to catch exceptions in tests)
2012-02-20 23:58:59 -08:00
Geoff Schmidt
6acaeb0ee6
refactor tinytest for async
2012-02-20 22:12:31 -08:00
Geoff Schmidt
1d3154bd54
livedata fixes
2012-02-19 14:44:32 -08:00
David Greenspan
5385c4a358
missing underscore
2012-02-17 20:48:17 -08:00
Nick Martin
54ddf0c280
Merge branch 'livedata-connect'
2012-02-17 12:08:28 -08:00
Geoff Schmidt
bd1e4eb858
leaderboard-remote example
2012-02-17 01:58:15 -08:00
Geoff Schmidt
7a8e7f5ea3
data refactoring cleanups in some tests
2012-02-17 01:33:18 -08:00
Geoff Schmidt
c88dc05ff3
add "universal publishes" for smooth autopublish experience
2012-02-17 01:02:51 -08:00
Geoff Schmidt
3e47029a61
port skel, todos, leaderboard to new data API
2012-02-17 01:02:34 -08:00
Geoff Schmidt
6fa852fdb7
first implementation of autopublish
2012-02-17 01:02:28 -08:00
Geoff Schmidt
23f4bd6fc4
rename LivedataClient => LivedataConnection
2012-02-16 23:07:00 -08:00
Geoff Schmidt
03f332d584
let the livedata client exist on the server
2012-02-16 23:07:00 -08:00
Geoff Schmidt
5d069169a9
factor mongo-specific parts out of livedata
2012-02-16 23:07:00 -08:00
Geoff Schmidt
908bfa0ba2
factor out is_client/is_server
2012-02-16 22:41:16 -08:00
Geoff Schmidt
d3eec5b920
rename Server => LivedataClient. add Meteor.connect
2012-02-16 22:41:16 -08:00
Geoff Schmidt
f31226e388
rename minimongo Collection => LocalCollection
2012-02-16 22:41:16 -08:00
Nick Martin
4818cc0bca
Merge branch 'refs/heads/empty-objects'
2012-02-16 18:45:15 -08:00
Nick Martin
abd2097f55
Fixup regression from unintentional package API change associate w/ underscore upgrade.
...
Also fixup underscore callsites that use _.indexOf on a string.
2012-02-16 18:36:56 -08:00
Nick Martin
1ce3f3b812
Add note in docs re empty objects.
2012-02-16 17:50:54 -08:00
Nick Martin
c309647c0c
Warn on empty object insert.
2012-02-16 16:25:12 -08:00
Nick Martin
4e552ec514
Don't send empty objects to the client.
2012-02-16 16:24:58 -08:00
Nick Martin
70fdc5a0a2
Super basic livedata tests. Just enough to see that the code runs.
2012-02-16 15:24:36 -08:00
Nick Martin
5cd46e7f3e
Super basic test for stream package. Not a lot of coverage, but enough to catch a recent regression in stream_client.js.
2012-02-16 15:13:00 -08:00
Nick Martin
eaaedd3b43
Bump file-descriptor ulimit as high as it will go on startup and remove previous workaround.
...
This reverts commit a7c11b167e . See https://app.asana.com/0/364581412985/472479912325
2012-02-15 23:36:17 -08:00
Nick Martin
7269e01ebd
Rework mongod killing on startup. No more XXX MONGO DEAD errors.
...
Also, detect mongo dying in a loop. Just print a helpful message and exit.
Uses 'ps ax' to inspect the process table. A little hacky, but should be functional and portable.
2012-02-15 23:05:00 -08:00
Nick Martin
7b2f2f3683
Allow use of external mongo with MONGO_URL environment variable.
2012-02-15 17:38:13 -08:00
matt debergalis
47c7a23bf2
Refactor server's synchronous MongoDB driver.
...
Driver is now in the preferred ctor / prototype method style, supports
multiple instantiations, and fully wraps the bare metal async node
mongo driver.
2012-02-15 09:04:04 -08:00
matt debergalis
a7c11b167e
Don't watch files in /public for changes.
2012-02-15 00:15:50 -08:00
Nick Martin
7e3b895c69
Merge branch 'sockjs'
2012-02-14 18:10:39 -08:00
Nick Martin
d820a7f8b8
Disable unsupported browser check. No one uses IE5, and it broke IE10.
2012-02-14 18:00:50 -08:00
Nick Martin
573fbfff8e
Rename self.status to self.current_status to avoid collision with status() that broke Meteor.status().
2012-02-14 18:00:50 -08:00
Nick Martin
42a29bd177
Remove JSON from sockjs. We already are shipping a JSON, we don't need another.
2012-02-14 18:00:50 -08:00
Nick Martin
dfd094e6c2
Bump dev bundle vno again.
2012-02-14 18:00:50 -08:00
Nick Martin
0fed828024
Update sockjs to just released 0.2.1.
2012-02-14 18:00:50 -08:00
Nick Martin
b1d4bc85e4
Fixup URL to connect to.
2012-02-14 18:00:50 -08:00
Nick Martin
ff25333349
Remove sockjs listeners correctly.
2012-02-14 18:00:50 -08:00
Nick Martin
a0156989bb
Cleanup socket.io artifact.
2012-02-14 18:00:50 -08:00
Nick Martin
19dc92a6c8
Retransmit pending methods on reconnect, and save them over restarts.
2012-02-14 18:00:50 -08:00
Nick Martin
91f479e9d4
First pass at using new sockjs API. Not at all complete, but passes data back and forth successfully.
2012-02-14 18:00:49 -08:00
Nick Martin
02278b3b5e
Add sockjs client library to stream package.
2012-02-14 18:00:49 -08:00
Nick Martin
7738236ed5
Remove socket.io special case in bundler. sockjs works in the bundle.
2012-02-14 18:00:49 -08:00
Nick Martin
577c779130
Remove unneeded require.
2012-02-14 18:00:49 -08:00
Nick Martin
c37b498436
Bump dev_bundle version number.
2012-02-14 18:00:49 -08:00