Skip to content

Commit

Permalink
1.41.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Oct 26, 2016
1 parent df26fc4 commit 31207fc
Show file tree
Hide file tree
Showing 34 changed files with 1,186 additions and 235 deletions.
27 changes: 23 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,41 @@
# 1.41.0 (10/27/2016)

## Features

- Analytics: Add JavaScript API for Dashboards to record custom events to Cyclotron's analytics backend

- JavaScript API: Added Cyclotron.currentUser property to access the currently-logged in user (if any)

- Data Sources: If a Post-Processor doesn't return an array, an error will be displayed in the console.

## Bug Fixes

- Clock Widget: Fix issue with tiny text

# 1.40.0 (10/12/2016)

## Features

- Analytics: collect new analytics events for: Login, Logout, Create Dashboard, Modify Dashboard, Push Dashboard
- Analytics: Collect new analytics events for: Login, Logout, Create Dashboard, Modify Dashboard, Push Dashboard

- Dashboard Sidebar: Increased width of sidebar; expanded the first section in the sidebar initially.
- Dashboard Sidebar: Increased width of sidebar; expanded the first section in the sidebar initially

- Dashboard Editor: Drag-and-drop to reorder Data Sources, Pages, Widgets, etc.

- Dashboard Editor: Added spinner when saving a Dashboard; prevent accidentally double-saving

# 1.39.0 (09/28/2016)

## Features

- CloudWatch Data Source: Added new Data Source for retrieving data from Amazon CloudWatch

- JSON Data Source: Added options for AWS signing, allowing use with AWS APIs that require Signature Version 4

- SSL/TLS: Proxy server initializes itself with a list of trusted root CAs. Added server option for manually providing CAs to trust when executing HTTPS requests

- Highcharts upgraded to 4.2.7

## Bug Fixes

- Parameters: Serialize Parameters with a Moment.js moment value into the URL using ISO 8601 format
Expand All @@ -35,7 +55,6 @@
## Breaking Changes

- Removed custom HTTP/HTTPS pool with maxSockets: infinity. This is now the default value in Node.js v0.12.0 and above, so only older versions of Node.js will be affected. As a workaround for older versions of Node.js, set http(s).globalAgent.maxSockets = infinity.

# 1.38.0 (09/02/2016)

## Features
Expand Down
2 changes: 1 addition & 1 deletion cyclotron-site/app/partials/editor/propertySet.jade
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
editor-view-string-array(model='model[value.name]', label='{{ value.label }}', definition='value', ng-switch-when='string[]')

select.form-control(ng-model='model[value.name]', ng-switch-default, title='{{ value.description }}'
ng-options='optionValue.value as optionKey for (optionKey, optionValue) in getOptions(value.name, value.options)')
ng-options='optionValue.value as (optionValue.label || optionKey) for (optionKey, optionValue) in getOptions(value.name, value.options)')
option(value='')

div(ng-hide='hiddenProperties.length == 0')
Expand Down
6 changes: 6 additions & 0 deletions cyclotron-site/app/partials/help/javascriptApi.jade
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ table
tr
td Cyclotron.pageName
td Property that returns the name of the currently-displayed Page
tr
td Cyclotron.currentUser
td Property containing an object of information about the logged-in user. If authentication is not enabled, or if the user is not logged in, it will return null.
tr
td Cyclotron.goToPage(pageNumber)
td Navigates to a specific page in the Dashboard (starting with page 1)
Expand All @@ -51,6 +54,9 @@ table
td Downloads the provided data in one of the following formats: 'json', 'csv', 'xlsx'. CSV and XLSX are both tabular formats and may not be correctly formatted with nested data. See also
em Cyclotron.currentPage.widgets['widgetName'].exportData(format)
| .
tr
td Cyclotron.functions.recordEvent(eventData)
td Records a custom Dashboard event to Cyclotron's analytics database (if enabled). An object of custom key/value pairs can be provided, which are attached to the event. This function can be used to implement custom click tracking, error logging, etc.

h4 Built-In Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ cyclotronServices.factory 'analyticsService', ($http, $q, $localForage, $locatio
visitId: exports.visitId
details: details

if exports.currentDashboard?
req.dashboard =
_id: exports.currentDashboard._id
name: exports.currentDashboard.name

uidLoaded.promise.then ->
if (userService.authEnabled && userService.isLoggedIn())
req.user =
Expand Down
Loading

0 comments on commit 31207fc

Please sign in to comment.