Nick Martin
d56725dd6a
Move stub_stream to test helpers.
2012-04-03 22:37:12 -07:00
Nick Martin
550fabf052
Stub stream based tests for livedata connection.
2012-04-03 22:37:12 -07:00
Nick Martin
df8460130f
Only use polling, not streaming or websockets.
...
This improves cross-browser compatibility, and shouldn't hurt too much. We may want to revisit this later.
2012-03-07 18:18:30 -08:00
Geoff Schmidt
76c57526f7
rework public API for defining tests
2012-03-02 05:22:40 -08:00
Geoff Schmidt
cab5afbb91
move test reporting functions out of globals
2012-03-02 03:57:30 -08:00
Geoff Schmidt
86951aa743
block migration until livedata methods finish
...
-- This way we don't have to worry about losing the lambdas that go with outstanding method invocations.
Also, don't listen to reload signals except from App (not from third-party DDP servers.)
2012-03-01 19:40:44 -08:00
Geoff Schmidt
ddfbf236ce
allow packages to block migration until they're ready
2012-03-01 17:25:36 -08:00
Geoff Schmidt
8fc57d02fb
helper for manually testing session reconnection
2012-03-01 03:28:18 -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
e0722bedf8
basic livedata method invocation tests
2012-02-21 01:40:15 -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
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
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
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
Geoff Schmidt
5f27e47c9f
Convert livedata and stream from closures to objects
2012-02-09 20:02:23 -08:00
Nick Martin
7a88230e48
Somehow 'reload' wasn't included in stream's package.js. Not sure how this worked for me previously.
2012-02-07 14:51:35 -08:00
Nick Martin
03d06a33b1
Tweak retry timeout to try to reconnect quickly the first few times. This makes automatic reloads much faster.
2012-02-06 23:15:31 -08:00
Nick Martin
68511f2dc4
Wire up reload package. Doesn't actually do anything yet, but all the pieces should be in place now.
2012-02-06 23:15:31 -08:00
Nick Martin
cf4cab282e
Add uuid to each server, make client save that off and reload if it changes.
2012-02-06 23:15:31 -08:00
Nick Martin
b367f4a6e1
Add logging package and make call sites use it. This should clear up any lingering IE console issues.
2012-01-27 23:19:48 -08:00
Geoff Schmidt
d1d5604976
Refactor bundler; new package API
2012-01-27 20:02:26 -08:00
Nick Martin
d56773277b
Remove 'startup' state from connection state machine.
2012-01-27 20:02:25 -08:00
Geoff Schmidt
e5eb42e55c
Refactor package API/bundler
2012-01-27 20:02:24 -08:00
Nick Martin
459dac9cac
Merge branch 'master' into meteor
...
conflicts hand resolved. deftemplate and liveui reverted to master, will re-do later.
Conflicts:
admin/generate-dev-bundle.sh
admin/install-s3.sh
admin/manifest.json
app/meteor/deploy.js
app/meteor/meteor.js
examples/leaderboard/leaderboard.js
examples/unfinished/azrael/client/azrael.js
examples/unfinished/azrael/model.js
packages/liveui/liveui.js
packages/templating/deftemplate.js
packages/templating/html_scanner.js
tests/minimongo/test.html
2012-01-18 16:14:54 -08:00
Nick Martin
06a14e6ad9
Even more robustness to socket.io weirdness. This one should be fixed in socket.io master, but the extra safety belt doesn't hurt.
2012-01-13 15:20:12 -08:00
Nick Martin
c5b5880cea
Be even more defensive to socket.io weirdness.
2012-01-09 22:46:31 -08:00
Nick Martin
a9f58deb93
Cleanup socket a little more aggressively. Hopefully fixes hanging connection bug.
2012-01-09 14:42:42 -08:00
Nick Martin
3faff2de78
perl -pi -e 's/Sky/Meteor/g' **/*
2012-01-04 20:52:46 -08:00
Nick Martin
05794f5643
perl -pi -e 's/skybreak/meteor/g' **/*
2012-01-04 18:32:23 -08:00
Nick Martin
23cd5b6912
perl -pi -e 's/Skybreak/Meteor/g' **/*
2012-01-04 18:30:25 -08:00
Nick Martin
d38efe6345
Rework reactive logic for new Sky.deps API.
2011-12-19 16:53:14 -08:00
Nick Martin
60abb2090c
Comment on constants per matt.
2011-12-15 23:59:57 -08:00
Nick Martin
cc60375468
Re-subscribe and reset the database when we reconnect.
2011-12-15 20:36:41 -08:00
Nick Martin
1801b33cf7
retransmit unacked messages when we reconnect again.
2011-12-15 16:48:03 -08:00
Nick Martin
1e956fcfe7
Hook up reconnect function to actually do something.
2011-12-14 21:41:13 -08:00
Nick Martin
2c24b1edf0
Expose retry_time in status.
2011-12-14 20:42:13 -08:00
Nick Martin
916a1147fc
Real retry timeout logic.
2011-12-14 19:33:10 -08:00
Nick Martin
3787999ce8
Retry ourselves by starting a new socket.io connection each time. Still a WIP, but getting there.
2011-12-14 17:45:35 -08:00
Nick Martin
1bda75a203
Wire up reactivity to status().
2011-12-13 21:55:46 -08:00
Nick Martin
918d15afdc
Factor socket.io into stream package on the server as well. Much cleaner now.
2011-12-13 13:40:13 -08:00
Nick Martin
46effaa9b3
Factor stream out of livedata. Client side only. No functional changes.
2011-12-12 20:56:12 -08:00