Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Open XDMoD 6.7 work into 7.0 #152

Merged
merged 23 commits into from
Jun 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2453469
Added change log and release notes for 6.6.0
tyearke Apr 12, 2017
33aec10
Updated README with additional php extension dep.
Apr 14, 2017
efe3a92
Update Open XDMoD overview
jtpalmer May 8, 2017
1bcd62c
Merge pull request #130 from jtpalmer/update-docs
jtpalmer May 8, 2017
4d0e055
Travis: Exclude redundant jobs
tyearke May 8, 2017
fc6ab6e
Fix typo
jtpalmer May 8, 2017
095e718
Merge pull request #135 from jtpalmer/update-docs
jtpalmer May 8, 2017
72e250c
About/presentations (#132)
smgallo May 8, 2017
f55a5ad
Update presentations & publications for 6.7 (#137)
smgallo May 9, 2017
ee60cda
Update chart last-modified-date and persist value for display now and…
jsperhac May 10, 2017
0c37718
Merge pull request #140 from jsperhac/chart-modified-date-fix
jsperhac May 10, 2017
d9cafd1
Merge pull request #134 from tyearke/qa/redundant-travis-tests
tyearke May 10, 2017
4297add
Merge pull request #123 from Samathy/xdmod6.6
plessbd May 10, 2017
fbddbb3
Fix bug where Usage Export dialog 'Show chart title' box had no effec…
smgallo May 10, 2017
4f502a8
Updated 6.6.0 release notes, set expected release date
tyearke May 10, 2017
855b529
Added 6.6 change log notes to RPM spec file
tyearke May 11, 2017
a48d0cd
Merge pull request #96 from tyearke/releases/6.6.0-notes
tyearke May 11, 2017
e5bdaa1
Merge branch 'xdmod6.6' into xdmod6.7-sync-xdmod6.6
jtpalmer May 11, 2017
6fc2c89
Merge pull request #141 from jtpalmer/xdmod6.7-sync-xdmod6.6
jsperhac May 12, 2017
58b2bb8
Refactoring of ETL/DbEntity into ETL/DbModel (#138)
smgallo May 15, 2017
a049d16
Cosmetic enhancements to Load Chart menu: dirty chart icon, tooltip f…
jsperhac May 11, 2017
3ab5059
Merge pull request #144 from jsperhac/chart-dialog-list-improvements
jsperhac May 18, 2017
66ba63a
Rewrite of StructuredFile data endpoint to support Euca ingest (#145)
smgallo May 25, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ env:
- TEST_SUITE=style
- TEST_SUITE=unit
- TEST_SUITE=build
matrix:
exclude:
- php: '5.4'
env: TEST_SUITE=style

# Add dependency directories to the Travis cache
cache:
Expand Down
111 changes: 111 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,117 @@
Open XDMoD Change Log
=====================

2017-05-11 v6.6.0
-----------------

- Features
- General
- Added ability to group realms together under categories
([\#60](https://github.com/ubccr/xdmod/pull/60))
- Categories have taken the place of realms in the user interface
- Improved support for browser client assets provided by modules
([\#82](https://github.com/ubccr/xdmod/pull/82),
[\#113](https://github.com/ubccr/xdmod/pull/113))
- Improved upgrade messaging
([\#86](https://github.com/ubccr/xdmod/pull/86))
- ETLv2
- Added per-pipeline ETL locks
([\#10](https://github.com/ubccr/xdmod/pull/10))
- Enhanced multi-host aggregation
([\#13](https://github.com/ubccr/xdmod/pull/13))
- Added read support for Oracle endpoints
([\#34](https://github.com/ubccr/xdmod/pull/34))
- Improved support for running pipelines over all dates
([\#77](https://github.com/ubccr/xdmod/pull/77))
- Improved transformation support
([\#80](https://github.com/ubccr/xdmod/pull/80))
- Added a tool for comparing SQL tables
([\#78](https://github.com/ubccr/xdmod/pull/78))
- Added other improvements
([\#43](https://github.com/ubccr/xdmod/pull/43),
[\#45](https://github.com/ubccr/xdmod/pull/45),
[\#84](https://github.com/ubccr/xdmod/pull/84),
[\#90](https://github.com/ubccr/xdmod/pull/90),
[\#92](https://github.com/ubccr/xdmod/pull/92))
- Bug Fixes
- General
- Fixed warning that could appear when using federated authentication
([\#19](https://github.com/ubccr/xdmod/pull/19))
- Fixed unnecessary rounding in processor count statistics
([\#25](https://github.com/ubccr/xdmod/pull/25))
- Fixed errors when attempting to preview an unsaved report
([\#26](https://github.com/ubccr/xdmod/pull/26))
- Fixed aggregators excluding data on certain time boundaries
([\#47](https://github.com/ubccr/xdmod/pull/47))
- Fixed handling of backslashes when using certain MySQL features
([\#52](https://github.com/ubccr/xdmod/pull/52),
[\#53](https://github.com/ubccr/xdmod/pull/53))
- Fixed non-aggregate metrics being allowed in aggregate datasets
([\#74](https://github.com/ubccr/xdmod/pull/74))
- Fixed REST API throwing non-standard errors
([\#87](https://github.com/ubccr/xdmod/pull/87))
- Fixed display error with password reset form that occurred when using
federated authentication
([\#108](https://github.com/ubccr/xdmod/pull/108))
- Fixed "Show chart title" option in Usage tab not working as expected
([\#139](https://github.com/ubccr/xdmod/pull/139))
- Metric Explorer
- Fixed Y-axis context menu disappearing after
changing between linear and log scales
([\#12](https://github.com/ubccr/xdmod/pull/12))
- Fixed typing certain characters causing chart options menu to close
when using Firefox
([\#119](https://github.com/ubccr/xdmod/pull/119))
- Fixed chart errors not displaying if help graphic is active
([\#121](https://github.com/ubccr/xdmod/pull/121))
- Fixed chart last modified time not updating
([\#140](https://github.com/ubccr/xdmod/pull/140))
- Miscellaneous
- Performed work in anticipation of allocations/accounts data in Open XDMoD
([\#11](https://github.com/ubccr/xdmod/pull/11),
[\#50](https://github.com/ubccr/xdmod/pull/50))
- Performed work in anticipation of cloud data in Open XDMoD
([\#68](https://github.com/ubccr/xdmod/pull/68),
[\#75](https://github.com/ubccr/xdmod/pull/75))
- Cleaned up old and/or unused code
([\#54](https://github.com/ubccr/xdmod/pull/54),
[\#55](https://github.com/ubccr/xdmod/pull/55),
[\#56](https://github.com/ubccr/xdmod/pull/56),
[\#57](https://github.com/ubccr/xdmod/pull/57),
[\#73](https://github.com/ubccr/xdmod/pull/73),
[\#88](https://github.com/ubccr/xdmod/pull/88))
- Improved logging
([\#29](https://github.com/ubccr/xdmod/pull/29),
[\#40](https://github.com/ubccr/xdmod/pull/40),
[\#46](https://github.com/ubccr/xdmod/pull/46),
[\#50](https://github.com/ubccr/xdmod/pull/50),
[\#66](https://github.com/ubccr/xdmod/pull/66),
[\#98](https://github.com/ubccr/xdmod/pull/98))
- Improved quality assurance
([\#21](https://github.com/ubccr/xdmod/pull/21),
[\#27](https://github.com/ubccr/xdmod/pull/27),
[\#28](https://github.com/ubccr/xdmod/pull/28),
[\#35](https://github.com/ubccr/xdmod/pull/35),
[\#41](https://github.com/ubccr/xdmod/pull/41),
[\#48](https://github.com/ubccr/xdmod/pull/48),
[\#58](https://github.com/ubccr/xdmod/pull/58),
[\#67](https://github.com/ubccr/xdmod/pull/67),
[\#76](https://github.com/ubccr/xdmod/pull/76),
[\#79](https://github.com/ubccr/xdmod/pull/79),
[\#93](https://github.com/ubccr/xdmod/pull/93),
[\#94](https://github.com/ubccr/xdmod/pull/94))
- Improved documentation
([\#32](https://github.com/ubccr/xdmod/pull/32),
[\#37](https://github.com/ubccr/xdmod/pull/37),
[\#44](https://github.com/ubccr/xdmod/pull/44),
[\#71](https://github.com/ubccr/xdmod/pull/71),
[\#103](https://github.com/ubccr/xdmod/pull/103),
[\#115](https://github.com/ubccr/xdmod/pull/115),
[\#123](https://github.com/ubccr/xdmod/pull/123),
[\#130](https://github.com/ubccr/xdmod/pull/130),
[\#132](https://github.com/ubccr/xdmod/pull/132),
[\#135](https://github.com/ubccr/xdmod/pull/135))

2017-01-10 v6.5.0
-----------------

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ may be found [here][repo-format]. Once you have made the desired changes, run
- Ubuntu 16.04
- `php-curl`
- `php-gmp`
- `php-zip`
- [Composer](https://getcomposer.org/)
- [PEAR](https://pear.php.net/)
- [PEAR Log Module](https://pear.php.net/package/Log/)
Expand Down
28 changes: 23 additions & 5 deletions classes/DataWarehouse/Access/Usage.php
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ public function getCharts(XDUser $user, $chartsKey = 'data') {
$usageShowGradient = \xd_utilities\array_get($this->request, 'show_gradient', 'y');
$usageShowGradient = $usageShowGradient === 'true' || $usageShowGradient === 'y';
$thumbnailRequested = \xd_utilities\array_get($this->request, 'thumbnail', 'n') === 'y';
$showTitle = \xd_utilities\array_get($this->request, 'show_title', 'y');

// Generate the chart settings that will be returned with each chart.
$usageChartSettings = array(
Expand Down Expand Up @@ -543,10 +544,6 @@ public function getCharts(XDUser $user, $chartsKey = 'data') {
// from this adapter, the chart's subtitle is placed in the title.
$usageChartSubtitle = $usageSubtitle !== null ? $usageSubtitle : $meChart['title']['text'];

// Only include the subtitle on the chart if the chart is not a
// thumbnail.
$meChart['subtitle']['text'] = $thumbnailRequested ? '' : $usageChartSubtitle;

// Generate the title and short title of this chart.
$usageChartShortTitle = $meRequestMetric->getLabel();
if ($usageTitle !== null) {
Expand All @@ -558,19 +555,40 @@ public function getCharts(XDUser $user, $chartsKey = 'data') {
}
}

// If a thumbnail was requested, do not use an in-chart title.
// If a thumbnail was requested, do not use an in-chart title or subtitle.
// Otherwise, use one.
if ($thumbnailRequested) {
$meChart['title']['text'] = '';
$meChart['subtitle']['text'] = '';
} else {
// If a title was provided, display that. Otherwise, use the
// generated title.
$meChart['title']['text'] = $usageChartTitle;
$meChart['subtitle']['text'] = $usageChartSubtitle;
}

// Set the title style.
$meChart['title']['style'] = $usageTitleStyle;

// If the "Show Title" checkbox on the Export Dialog has not been ticked,
// do not show a chart title. However, the Metric Explorer promotes the
// subtitle to the title if it exists and the title is not shown so mimic
// this behavior for consistency. See HighChart2::setChartTitleSubtitle()

if ( 'n' == $showTitle ) {
// The subtitle text is empty for thumbnails but above it is set to
// the value of the 'subtitle' parameter or the chart title if the
// parameter isn't present. Keep this check in here in case that
// changes.

if ( isset($meChart['subtitle']['text']) && '' != $meChart['subtitle']['text'] ) {
$meChart['title']['text'] = $meChart['subtitle']['text'];
$meChart['subtitle']['text'] = '';
} else {
$meChart['title']['text'] = '';
}
}

// Generate the expected IDs for the chart.
$usageMetric = $meRequest['data_series_unencoded'][0]['metric'];
$usageChartId = "statistic_${usageRealm}_${usageGroupBy}_${usageMetric}";
Expand Down
2 changes: 1 addition & 1 deletion classes/ETL/Aggregator/aAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function execute(EtlOverseerOptions $etlOverseerOptions)
// The aggregation unit must be set for the AggregationTable

foreach ( $this->etlDestinationTableList as $etlTableKey => $etlTable ) {
$etlTable->setAggregationUnit($aggregationUnit);
$etlTable->aggregation_unit = $aggregationUnit;
}

$this->variableMap['AGGREGATION_UNIT'] = $aggregationUnit;
Expand Down
Loading