Permalink
Commits on Nov 19, 2011
Commits on Nov 18, 2011
  1. Update D3 to 2.5.1.

    mbostock committed Nov 18, 2011
Commits on Oct 15, 2011
  1. Only close when flushed.

    mbostock committed Oct 15, 2011
Commits on Oct 13, 2011
Commits on Oct 12, 2011
  1. Merge branch 'release'

    mbostock committed Oct 12, 2011
  2. Use d3.time.format.iso for date serialization.

    Fixes #2 for Safari 5.0.x and other browsers without toISOString support.
    mbostock committed Oct 12, 2011
Commits on Oct 11, 2011
  1. Display improvements.

    Fix #5, allowing the y-axis to negative. If only nonpositive values are seen,
    then the y-maximum is 0; if only nonnegative values are seen, then the y-minimum
    is 0; otherwise, the y-domain is the minimum and maximum value. X-labels are
    always drawn on the bottom.
    
    This also adopts D3 2.4's si-prefix format for both y-axis labels and for
    rolling sum values. The y-axis labels use d3.formatPrefix to determine the SI
    prefix that would be used for the largest value, and then applies that to all
    ticks for consistent labeling.
    mbostock committed Oct 11, 2011
Commits on Oct 7, 2011
  1. Update to D3 2.3.4.

    mbostock committed Oct 7, 2011
  2. Merge branch 'release'

    mbostock committed Oct 7, 2011
Commits on Oct 5, 2011
  1. Tweak scaling slightly.

    mbostock committed Oct 5, 2011
  2. Merge branch 'file-path'

    mbostock committed Oct 5, 2011
  3. Expose endpoint.

    This allows you to register static files for serving.
    mbostock committed Oct 5, 2011
  4. Update D3; add more D3 modules.

    This allows you to build custom visualizations hosted by the visualizer.
    mbostock committed Oct 5, 2011
  5. Log errors for missing files.

    mbostock committed Oct 5, 2011
  6. The file endpoint no longer resolves paths.

    This allows it to be used outside of lib/cube; for example, you can now add a
    static file endpoint to your visualizer if you want to host custom pages.
    mbostock committed Oct 5, 2011
  7. Merge branch 'release'

    mbostock committed Oct 5, 2011
Commits on Oct 3, 2011
  1. Allow streaming /event/get.

    If you omit the "stop" attribute of an /event/get request, new events will
    continue to stream in periodically. This allows realtime visualizations of
    individual events.
    mbostock committed Oct 3, 2011
  2. Abort /event/get when connection is closed.

    We now detect when the web socket is closed, and abort the query. This commit
    also changes all errors to be re-thrown and logged centrally, rather than
    duplicating logging code.
    mbostock committed Oct 3, 2011
  3. Fix a bug in close detection.

    The connection._socket is connection.socket for websocket (draft-10).
    mbostock committed Oct 3, 2011
Commits on Sep 27, 2011
  1. Revert collector changes, keep tests.

    Dan Lidral-Porter committed Sep 27, 2011
Commits on Sep 24, 2011
  1. Allow POSTing of a single event.

    When POSTing event data to the `/1.0/event/put` endpoint, the POSTed
    JSON data can either be an array of event objects, or a single event
    object. Any other kind of JSON is ignored, and a 400 Malformed Request
    response is sent to the client.
    
    Test for a 400 response when POSTing either bad JSON or JSON whose root
    value is not an array or object, and a 200 response otherwise.
    Dan Lidral-Porter committed Sep 24, 2011
  2. Send request body in tests, if provided.

    Previously, the test.request function in test.js checked for a data
    argument by looking at the value of `arguments.length`, but since it was
    inside a closure with no arguments, the test would never return true,
    even if a data argument was passed to the enclosing function.
    
    Now, the test is whether the data argument of the enclosing function is
    truthy and has a length greater than zero.
    Dan Lidral-Porter committed Sep 24, 2011
Commits on Sep 16, 2011
  1. Add support for draft-10 WebSockets.

    This retains support for older drafts of WebSockets for backwards-compatibility,
    using @theturtle32's websocket package for the latest draft-10. This makes Cube
    compatible with yesterday's stable release of Chrome (and other browsers).
    mbostock committed Sep 16, 2011
  2. Add test for collector.

    This commit also refactors the test module a bit so that it's easier to make
    requests to local servers as part of testing.
    mbostock committed Sep 16, 2011
  3. fix missing 'require'

    vbehar committed Sep 16, 2011
  4. Merge branch 'content-length'

    mbostock committed Sep 16, 2011
  5. Do not send a content-length header when returning 304 not found

    It breaks Safari 5.0.x, which hangs while waiting for the rest of the request.
    See RFC 2616 section 4.3.
    mnutt committed Sep 16, 2011
Commits on Sep 15, 2011
  1. Add .npmignore.

    mbostock committed Sep 15, 2011
  2. Add version number to index.js.

    mbostock committed Sep 15, 2011