Skip to content

Commit

Permalink
Merge branch 'release-7.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorSalevan committed Nov 22, 2019
2 parents 716a671 + dad010c commit 3e9d7d1
Show file tree
Hide file tree
Showing 10 changed files with 142 additions and 228 deletions.
2 changes: 1 addition & 1 deletion manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'label' => 'Browser and OS diagnostic tool',
'description' => 'Check compatibility of the os and browser of a client',
'license' => 'GPL-2.0',
'version' => '7.2.3',
'version' => '7.3.1',
'author' => 'Open Assessment Technologies SA',
'requires' => array(
'generis' => '>=12.5.0',
Expand Down
4 changes: 2 additions & 2 deletions scripts/update/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ public function update($initialVersion)

$this->setVersion('6.0.1');
}

$this->skip('6.0.1', '7.1.0');

if ($this->isVersion('7.1.0')) {
Expand Down Expand Up @@ -815,6 +815,6 @@ public function update($initialVersion)
$this->setVersion('7.2.0');
}

$this->skip('7.2.0', '7.2.3');
$this->skip('7.2.0', '7.3.1');
}
}
6 changes: 4 additions & 2 deletions views/build/grunt/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ module.exports = function(grunt) {
bundles : [{
name : 'taoClientDiagnostic',
default : true,
bootstrap: true
bootstrap: true,
babel: true
}, {
name : 'diagnostic',
entryPoint: 'taoClientDiagnostic/tools/diagnostic/diagnostic',
bootstrap : true
bootstrap : true,
babel: true
}]
}
}
Expand Down
2 changes: 1 addition & 1 deletion views/css/diagnostics.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion views/js/controller/Diagnostic/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ define([
'taoClientDiagnostic/tools/fingerprint/tester',
'tpl!taoClientDiagnostic/tools/diagnostic/tpl/fingerprint',
'tpl!taoClientDiagnostic/tools/diagnostic/tpl/details',
'taoClientDiagnostic/tools/csvExporter',
'ui/datatable',
'lib/moment-timezone.min'
], function ($, _, __, helpers, moment, loadingBar, encode, feedback, dialog, getStatus, performancesTesterFactory, fingerprintTesterFactory, fingerprintTpl, detailsTpl) {
], function ($, _, __, helpers, moment, loadingBar, encode, feedback, dialog, getStatus, performancesTesterFactory, fingerprintTesterFactory, fingerprintTpl, detailsTpl, csvExporter) {
'use strict';

/**
Expand Down Expand Up @@ -189,6 +190,19 @@ define([
}
});

if (config.export) {
// tool: export csv
tools.push({
id: 'csvExport',
icon: 'export',
title: __('Export CSV'),
label: __('Export CSV'),
action: function () {
csvExporter.exportCsv(model);
}
});
}

if(installedExtension){
// tool: compatibilty via lti
tools.push({
Expand Down
Loading

0 comments on commit 3e9d7d1

Please sign in to comment.