Skip to content

Commit

Permalink
Merge branch 'release-6.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
zagovorichev committed Jun 7, 2019
2 parents ec08f9e + f2932d0 commit 4c367d4
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 14 deletions.
4 changes: 2 additions & 2 deletions manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
'label' => 'Groups core extension',
'description' => 'TAO Groups extension',
'license' => 'GPL-2.0',
'version' => '6.0.1',
'version' => '6.1.0',
'author' => 'Open Assessment Technologies, CRP Henri Tudor',
'requires' => array(
'taoTestTaker' => '>=4.0.0',
'taoBackOffice' => '>=3.0.0',
'generis' => '>=5.11.0',
'tao' => '>=34.0.0'
'tao' => '>=36.1.0'
),
'models' => array(
'http://www.tao.lu/Ontologies/TAOGroup.rdf'
Expand Down
2 changes: 1 addition & 1 deletion models/update/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ public function update($initialVersion)
$this->setVersion('3.0.1');
}

$this->skip('3.0.1','6.0.1');
$this->skip('3.0.1','6.1.0');
}
}
7 changes: 5 additions & 2 deletions views/build/grunt/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (c) 2014-2018 (original work) Open Assessment Technologies SA;
* Copyright (c) 2014-2019 (original work) Open Assessment Technologies SA;
*/

/**
* configure the extension bundles
* @author Bertrand Chevrier <[email protected]>
*
* @param {Object} grunt - the grunt object (by convention)
*/
module.exports = function(grunt) {
'use strict';
Expand All @@ -31,7 +33,8 @@ module.exports = function(grunt) {
outputDir : 'loader',
bundles : [{
name : 'taoGroups',
default : true
default : true,
babel : true
}]
}
}
Expand Down
3 changes: 1 addition & 2 deletions views/js/loader/taoGroups.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion views/js/loader/taoGroups.min.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions views/js/provider/group.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (c) 2017 (original work) Open Assessment Technologies SA;
* Copyright (c) 2017-2019 (original work) Open Assessment Technologies SA;
*
* @author Alexander Zagovorichev <[email protected]>
*/
Expand Down Expand Up @@ -44,17 +44,17 @@ define(['jquery', 'lodash', 'i18n', 'util/url', 'core/promise', 'core/request'],
* @param {String} [config.type] - Type of the instance
* @return {*}
*/
addInstance: function addInstance (config) {
addInstance (config) {

var _defaults = {
const _defaults = {
classUri: 'http_2_www_0_tao_0_lu_1_Ontologies_1_TAOGroup_0_rdf_3_Group',
id: 'http://www.tao.lu/Ontologies/TAOGroup.rdf#Group',
type: 'instance'
};

config = _.defaults(config || {}, _defaults);

return new Promise(function(resolve, reject){
return new Promise((resolve, reject) => {
coreRequest({
url: urlUtil.route('addInstance', 'Groups', 'taoGroups'),
method: 'POST',
Expand All @@ -76,9 +76,9 @@ define(['jquery', 'lodash', 'i18n', 'util/url', 'core/promise', 'core/request'],
* @param uri
* @return {*}
*/
deleteGroup: function deleteGroup (uri) {
deleteGroup (uri) {

return new Promise(function(resolve, reject) {
return new Promise((resolve, reject) => {

if (!_.isString(uri) || _.isEmpty(uri)) {
return reject(new TypeError(__('Group uri is not valid')));
Expand Down

0 comments on commit 4c367d4

Please sign in to comment.