504 Commits

Author SHA1 Message Date
Nick Martin
6049771204 Also clear heartbeat timer when we get data messages.
This fixes an issue with spurious connection closing.
2012-06-13 20:12:08 -07:00
David Greenspan
d08b53a93a tests: listChunk handlers, attach_secondary_events coverage 2012-06-12 14:17:31 -07:00
David Greenspan
cc15021f9d test listChunk query GC 2012-06-08 20:06:29 -07:00
David Greenspan
ba641f1e7a liveui test for unused chunk 2012-06-08 19:53:01 -07:00
David Greenspan
04b53bd64f more listChunk test coverage 2012-06-08 14:23:30 -07:00
Tom Coleman
e655492f70 Fix problem with content-type on POST requests (close #172) 2012-06-05 17:09:29 -07:00
David Greenspan
6a9e8f33cd comment 2012-06-05 16:52:23 -07:00
David Greenspan
80bef5ea9b allow semicolon in JSON Content-Type 2012-06-05 16:46:50 -07:00
David Greenspan
0dd3992c94 Make textareas behave like text fields in liveui 2012-06-05 16:13:46 -07:00
David Greenspan
5b0346b34c Remove Handlebars._escape & heuristic.
It made strings like "Escape < as &lt;" unrenderable.
2012-06-04 21:22:50 -07:00
David Greenspan
0dec81f85b support Handlebars.SafeString (#160) 2012-06-04 21:22:04 -07:00
David Greenspan
0e7f3c5223 Fix reactive radio buttons 2012-06-04 21:21:27 -07:00
David Greenspan
ed86eff718 scroll test page to top when done 2012-06-04 21:03:18 -07:00
Avital Oliver
949ea34a85 Log data that fails to be serialized on migration 2012-05-30 15:31:06 -07:00
David Greenspan
59cb217a56 address Nick's code review 2012-05-25 16:08:52 -07:00
David Greenspan
06b1be4052 add test for whitespace around '=' 2012-05-25 16:08:48 -07:00
David Greenspan
9ce0a6d572 scanner unit tests 2012-05-25 16:08:41 -07:00
David Greenspan
a3b86b1c5e semicolon 2012-05-25 16:07:14 -07:00
David Greenspan
7aacb4e5e8 better error messages 2012-05-25 16:07:14 -07:00
David Greenspan
561496ba64 first cut of new HTML scanner 2012-05-25 16:07:14 -07:00
David Greenspan
a1ec3937fc break out httpcall timeout test 2012-05-24 20:42:15 -07:00
David Greenspan
0815cc11e9 revert Chrome auth test workaround (Chrome works again; broke IE7) 2012-05-24 20:07:49 -07:00
Nick Martin
8991c8bb25 Fix "Cursor is closed" intermittent error.
If the initial _doPoll didn't complete before the first markDirty, two doPolls could be running at once, causing badness.
2012-05-24 19:40:27 -07:00
David Greenspan
57b13fd174 fix LiveRange destroy(true) and add tests; fixes #142 2012-05-23 14:41:22 -07:00
David Greenspan
aebb9a21aa better errors for unknown helper or reserved name; fixes #151 2012-05-23 12:59:47 -07:00
Nick Martin
a1a6414c1a Add heartbeat timer so we notice when the server silently goes away. 2012-05-22 21:32:15 -07:00
David Greenspan
ac487445f5 tests don't prompt for auth in Chrome 2012-05-17 12:00:24 -07:00
Nick Martin
1c0d784e5d Bump test timeout. We need a better solution. 2012-05-16 19:15:47 -07:00
Geoff Schmidt
cff1cb6077 Improve internal liveevents documentation 2012-05-16 16:08:45 -07:00
David Greenspan
201d146816 make test_responder password checker explicit 2012-05-16 13:20:42 -07:00
David Greenspan
fe5d57b7b9 double semicolon 2012-05-16 12:38:42 -07:00
David Greenspan
0172f9870a use chunks for block-helper event_data; unit tests; fix event-less chunks 2012-05-16 12:37:53 -07:00
Avital Oliver
cf685eb58d Add a hook on unit test completion 2012-05-15 23:01:43 -07:00
David Greenspan
369ae7f917 patch button names correctly 2012-05-11 13:08:38 -07:00
David Greenspan
1a1499253a fix event.which 2012-05-11 12:37:12 -07:00
David Greenspan
e4af13ab57 more comments 2012-05-11 12:37:11 -07:00
David Greenspan
7f5cd5c4e8 normalize mouseenter/mouseleave 2012-05-11 12:37:11 -07:00
David Greenspan
8bd3ebc50b fix stopPropagation 2012-05-11 12:37:11 -07:00
David Greenspan
370cb47eb5 stopImmediatePropagation 2012-05-11 12:37:11 -07:00
David Greenspan
fbb0188d0e preemptively avoid problems with text node targets 2012-05-11 12:37:10 -07:00
David Greenspan
a09c946ea2 use Handlebars context of event target as event_data(!!) 2012-05-11 12:37:10 -07:00
David Greenspan
316fcbb7a1 fix bubbling and more comments 2012-05-11 12:37:09 -07:00
David Greenspan
1df3de2d5d doc comments, make fixEvent internal 2012-05-11 12:37:09 -07:00
David Greenspan
1744cb8af9 dispatchEvent -> handleEvent 2012-05-11 12:37:09 -07:00
David Greenspan
405be310c2 split up "tricky events" into multiple tests 2012-05-11 12:37:09 -07:00
David Greenspan
93f08e684c async focus/blur event issues, Opera test fixes 2012-05-11 12:37:09 -07:00
David Greenspan
3011a9a338 tweaks to make cleaner 2012-05-11 12:37:08 -07:00
David Greenspan
727f759283 liveevents refactor 2012-05-11 12:37:08 -07:00
David Greenspan
a1ec706982 liveevents/liveui refactor wip 2012-05-11 12:37:08 -07:00
David Greenspan
a458293c9a isPropagationStopped method 2012-05-11 12:37:08 -07:00