summaryrefslogtreecommitdiff
path: root/javascripts
AgeCommit message (Collapse)Author
2017-09-21don't multiply the updatedAt timestamp by 1000Peter Hamberg
The updatedAt timestamp has already been multiplied by 1000 at https://github.com/Smashing/smashing/blob/master/lib/dashing/app.rb#L141 so there is no need to multiply it again. See https://github.com/Smashing/smashing/commit/fce2ae11158aa39d1a3a5572707a997384afc6fc
2016-11-29Add data transformation method to widget basePeter Hamberg
in order to make it possible to transform the incoming data before it is sent to batman.
2015-02-24Send last event data when a widget is readyAdam Byrtek
2015-02-24Store last events for all widgetsAdam Byrtek
Even the ones that haven't been initialized yet.
2015-02-24Trigger onData on widget initializationAdam Byrtek
2014-01-16Update lastEvents if a widget exists.BX017301
2013-09-03change reload to 5 minutesJohn Tajima
2013-08-30Fixes event connection close error never re-establishes connection.John Tajima
Fix EventListener connection close check. console log the event on error and connection. Reload current page on connection close error event.
2013-08-30Make relative to allow running on sub-pathmicpango
2013-08-08Handle widgets with multiple capital lettersDavid Rubin
This change allows widgets to have names like AwesomeWidgetYes and it will be given awesome-widget-yes instead of awesome-widget_yes
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.
2013-03-12update to latest batmanJohn Tajima
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