306 Commits

Author SHA1 Message Date
matt debergalis
7377ce2041 Major formatting and content update to docs. 2012-03-20 16:55:30 -07:00
Nick Martin
6c716ca6df Make test-helpers package internal. Lets not confuse users. 2012-03-19 14:26:07 -07:00
Nick Martin
ad69114d0b Up the test timeout. Slow browsers are slow. 2012-03-19 14:25:22 -07:00
Geoff Schmidt
5c72fcaacc armAndWait out of test 2012-03-16 23:36:33 -07:00
Geoff Schmidt
c946fc177f make test not async 2012-03-16 23:33:49 -07:00
Geoff Schmidt
4bfc287e5d New server-side results diffing algorithm 2012-03-16 21:11:08 -07:00
Geoff Schmidt
a00ee63574 some basic tests for mongo-livedata 2012-03-16 21:11:08 -07:00
Geoff Schmidt
3b520997b1 tinytest: support some additional assertions 2012-03-16 21:11:07 -07:00
Geoff Schmidt
3edf56e7af Honor sort/skip/limit on server 2012-03-16 18:26:19 -07:00
Geoff Schmidt
b3fc3150d4 simplify signature of observe()'s remove callback 2012-03-16 18:26:19 -07:00
Nick Martin
d7dd1d9408 Fix typo that broke count(). 2012-03-16 15:55:57 -07:00
Nick Martin
0187ee6db4 Temporary hack to allow templates as HTML. 2012-03-16 15:00:34 -07:00
Geoff Schmidt
8cdadb3762 make insert return the id of the new object
(not a copy of the new object)
avoid updating docs to prevent merge conflict
(will handle out of band)
2012-03-16 02:55:14 -07:00
Geoff Schmidt
c6cedac7eb Test database failure reporting 2012-03-16 02:55:14 -07:00
Geoff Schmidt
6ed6fa75b5 test that Meteor.Errors are Errors 2012-03-16 02:55:14 -07:00
Geoff Schmidt
176dd68199 Suppress console log messages during tests 2012-03-16 02:55:14 -07:00
Geoff Schmidt
413c0778b5 move testAsyncMulti into test-helpers 2012-03-16 02:55:14 -07:00
Geoff Schmidt
6de5ab62ce Simplify method API 2012-03-16 02:55:14 -07:00
Geoff Schmidt
7be206b11a database writes can report errors (first pass) 2012-03-16 02:55:14 -07:00
Geoff Schmidt
c9b14233bb support error() on sync methods on server
(temporary)
2012-03-16 02:55:14 -07:00
Geoff Schmidt
784529a9af tighten up exception reporting in async tests 2012-03-16 02:55:14 -07:00
Geoff Schmidt
ef46d1ea58 eliminate App, proxy methods from Meteor 2012-03-16 02:55:14 -07:00
matt debergalis
bb575138e5 Break dependency between livedata and mongo-livedata 2012-03-14 16:30:58 -07:00
Geoff Schmidt
26a9236160 Report bundle-time errors nicely. 2012-03-13 00:00:19 -07:00
Nick Martin
25122880a3 Improve error reporting when less file fails to compile. 2012-03-08 18:40:19 -08:00
David Greenspan
b3310fcc3c Merge branch 'master' of github.com:meteor/meteor 2012-03-08 10:17:24 -08:00
David Greenspan
97d17379b3 punctuation typo 2012-03-08 10:16:59 -08: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
matt debergalis
5b00c13d82 g/c unused name field, out of date note. 2012-03-07 16:37:17 -08:00
matt debergalis
330fcc1e50 clarify return value. 2012-03-07 16:35:38 -08:00
Geoff Schmidt
c327f75f68 make test failure messages render in IE6/IE7 2012-03-07 02:27:33 -08:00
Geoff Schmidt
dc880b1d1e Additional tests for Meteor._delete 2012-03-07 01:47:35 -08:00
Geoff Schmidt
168bc8e570 FF10 fix -- ignore the spurious argument that
FF10 passes to timer callbacks.
2012-03-07 00:24:53 -08:00
Geoff Schmidt
f0e6769076 console.log requires an argument on IE10 PP4 2012-03-06 23:57:34 -08:00
Geoff Schmidt
734704205d Remove data from client on unsubscription 2012-03-06 23:18:41 -08:00
Geoff Schmidt
47047621c9 resolve value conflicts by subscription priority 2012-03-06 21:24:28 -08:00
Geoff Schmidt
21adb18ec6 helpers for multilevel arrays 2012-03-06 21:23:48 -08:00
Geoff Schmidt
a0d4947366 assign every subscription a priority 2012-03-06 18:04:55 -08:00
Geoff Schmidt
ffd044b11d keep a snapshot of last values sent to client 2012-03-06 17:58:56 -08:00
Geoff Schmidt
435cb6e50f refactor sub datastructure 2012-03-06 17:55:38 -08:00
David Greenspan
ff1ec8bc14 sendError typos 2012-03-06 15:45:24 -08:00
David Greenspan
25e82a2cff fix new timers API for IE (fixes tests) 2012-03-06 15:45:22 -08:00
Geoff Schmidt
3dc8dc2887 Permit fine-grained control of database polling.
You can now used invalidation keys to specify exactly what will get polled when.
2012-03-06 15:44:42 -08:00
Geoff Schmidt
14d41036f4 Simplify subscription API
- Use positional arguments
- Pass the subscription object in 'this'
2012-03-06 15:44:42 -08:00
Geoff Schmidt
d2baaedc9d rename DynamicVariable => EnvironmentVariable 2012-03-06 15:44:41 -08:00
Geoff Schmidt
dd6f013e9b generalize write fencing to support all databases 2012-03-06 15:44:41 -08:00
Geoff Schmidt
76c57526f7 rework public API for defining tests 2012-03-02 05:22:40 -08:00
Geoff Schmidt
7729b7d887 make private tinytest symbols private 2012-03-02 05:13:41 -08:00
Geoff Schmidt
0822bd410f rework public API for running tests 2012-03-02 05:08:06 -08:00
Geoff Schmidt
74dbbf3419 clean up test reporting plumbing 2012-03-02 04:43:03 -08:00