Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 12, 2011
  1. @mbostock
  2. @mbostock

    Merge branch 'release'

    mbostock authored
  3. @mbostock

    Use d3.time.format.iso for date serialization.

    mbostock authored
    Fixes #2 for Safari 5.0.x and other browsers without toISOString support.
Commits on Oct 11, 2011
  1. @mbostock

    Display improvements.

    mbostock authored
    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.
Commits on Oct 7, 2011
  1. @mbostock

    Update to D3 2.3.4.

    mbostock authored
  2. @mbostock

    Merge branch 'release'

    mbostock authored
  3. @mbostock
Commits on Oct 5, 2011
  1. @mbostock

    Tweak scaling slightly.

    mbostock authored
  2. @mbostock

    Merge branch 'file-path'

    mbostock authored
  3. @mbostock

    Expose endpoint.

    mbostock authored
    This allows you to register static files for serving.
  4. @mbostock

    Update D3; add more D3 modules.

    mbostock authored
    This allows you to build custom visualizations hosted by the visualizer.
  5. @mbostock
  6. @mbostock

    The file endpoint no longer resolves paths.

    mbostock authored
    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.
  7. @mbostock

    Merge branch 'release'

    mbostock authored
Commits on Oct 3, 2011
  1. @mbostock

    Allow streaming /event/get.

    mbostock authored
    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.
  2. @mbostock

    Abort /event/get when connection is closed.

    mbostock authored
    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.
  3. @mbostock

    Fix a bug in close detection.

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

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

    Dan Lidral-Porter authored
    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.
  2. Send request body in tests, if provided.

    Dan Lidral-Porter authored
    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.
Commits on Sep 16, 2011
  1. @mbostock
  2. @mbostock

    Add support for draft-10 WebSockets.

    mbostock authored
    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).
  3. @mbostock
  4. @mbostock

    Add test for collector.

    mbostock authored
    This commit also refactors the test module a bit so that it's easier to make
    requests to local servers as part of testing.
  5. @vbehar

    fix missing 'require'

    vbehar authored
  6. @mbostock

    Merge branch 'content-length'

    mbostock authored
  7. @mbostock
  8. @mnutt

    Do not send a content-length header when returning 304 not found

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

    Add .npmignore.

    mbostock authored
  2. @mbostock
  3. @mbostock
  4. @mbostock

    Add index.js.

    mbostock authored
  5. @mbostock

    Add attributions.

    mbostock authored
  6. @mbostock

    Remove ".js" from the name.

    mbostock authored
  7. @mbostock

    Add ".js" to the name.

    mbostock authored
Something went wrong with that request. Please try again.