Commit Graph

393 Commits

Author SHA1 Message Date
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
Nick Martin
63f893e407 Upgrade misc packages and remove unused package. 2012-02-14 18:00:49 -08:00
Nick Martin
2461bdd3dd Add sockjs to dev bundle, and deprecate socket.io. 2012-02-14 18:00:49 -08:00
matt debergalis
2ed2e47c84 clean up startup package manifest. 2012-02-14 17:24:07 -08:00
matt debergalis
e1a9fb82b9 alias "future.return()": workaround for bug in js2-mode. 2012-02-14 09:33:25 -08:00
David Greenspan
587913154c fixed test driver to not flush display; some optimizations 2012-02-13 20:08:07 -08:00
David Greenspan
f2cd91ef6b updated Underscore to 1.3.1 to fix livedata bug 2012-02-13 14:55:07 -08:00
Nick Martin
3e3b522fde Only send a data message if there is anything in it. Fixes a problem where we send lots of useless messages. 2012-02-13 14:06:37 -08:00
matt debergalis
b84f048c75 harmonize style: no parens after typeof 2012-02-10 15:43:12 -08:00
matt debergalis
8eeba106c5 add david 2012-02-10 13:14:16 -08:00
Geoff Schmidt
6118837311 Solve the "time travel" problem using database snapshots. 2012-02-09 22:27:48 -08:00
Geoff Schmidt
51d43b1feb Implement livedata protocol methods.
Replaces old "custom collection API" functionality.
2012-02-09 21:36:38 -08:00
Geoff Schmidt
5f27e47c9f Convert livedata and stream from closures to objects 2012-02-09 20:02:23 -08:00
matt debergalis
6c7a31b1fb don't serve app html for missing /favicon.ico 2012-02-09 17:23:33 -08:00