summaryrefslogtreecommitdiff
path: root/javascripts/dashing.coffee
AgeCommit message (Collapse)Author
2013-07-27only fire dashboard events when target is current dashboardChad Jolly
* send event to all dashboards by including {"dashboard": "*"} in payload * reload event forces reload from server, no caching
2013-07-14dashboard events - use SSE event namesChad Jolly
2013-07-14Adding application messaging.Pieter van de Bruggen
While widgets are the most common target for events, there is good reason to sometimes target the application as a whole. This patch adds support for such events using the /-prefixed notation. (This convention is safe for use since it represents an extremely uncommon widget ID, and one which data could not be POSTed to.) Such events are NOT subject to replay, and are handled on the client-side by firing corresponding events on the Dashing application class. As a proof of concept (and to fufill a feature request), this patch also introduces a POST /reload endpoint, which when provided with a valid authkey (and optionally a dashboard name) fires the appropriate 'reload' event on all of the loaded dashboards. The 'reload' event handler then reloads the dashboard, unless a different dashboard was specified.
2012-12-16Prevents duplicate widget event notificationsTim Santeford
2012-12-04Display 'last updated' using user's locale. Closes #10Scott Gerring
2012-11-14Set explicit delay for AnimatedNumber filter. Firefox doesn't run ↵Daniel Beauchamp
SetInterval unless there is a delay specified. Closes #6
2012-10-30Added new widgets, and made them more flexible. Ready for 0.1.3!Daniel Beauchamp
2012-10-11Provide a way to get the query params given to a dashboard.Daniel Beauchamp
2012-09-17Updated the animated setter to better work with null values.Daniel Beauchamp
2012-09-17Added a debug mode that lets you see all messages coming in.Daniel Beauchamp
2012-08-24Widgets now have a formatted 'updatedAtMessage'. For stuff like 'Last ↵Daniel Beauchamp
updated at 18:00'
2012-08-24Keep track of updatedAt server side, instead of on widgets.Daniel Beauchamp
2012-08-24You no longer need to call 'super' inside your onData callbacks for widgets.Daniel Beauchamp
Also, every widget now has a 'updatedAt' property that gets updated when data comes in.
2012-08-13Updated to use sprockets! Ah, much cleaner.Daniel Beauchamp