Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ information provided here is intended especially for developers.
=== 3.1.0 ===

* A new param "single" is passed to the prefetch functions of handlers registered in $mmCoursePrefetchDelegateProvider. Please notice that the download of sections will always send false/undefined, if you use this function somewhere else to download a single module then you should pass single=true.
* Activity modules have been moved from addons/mod_* to addons/mod/*.

=== 3.0 ===

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ angular.module('mm.addons.mod_assign', ['mm.core'])
views: {
'site': {
controller: 'mmaModAssignIndexCtrl',
templateUrl: 'addons/mod_assign/templates/index.html'
templateUrl: 'addons/mod/assign/templates/index.html'
}
}
})
Expand All @@ -43,7 +43,7 @@ angular.module('mm.addons.mod_assign', ['mm.core'])
views: {
'site': {
controller: 'mmaModAssignSubmissionCtrl',
templateUrl: 'addons/mod_assign/templates/submission.html'
templateUrl: 'addons/mod/assign/templates/submission.html'
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ angular.module('mm.addons.mod_book')

// Menu popover.
$scope.toc = chapters;
$ionicPopover.fromTemplateUrl('addons/mod_book/templates/toc.html', {
$ionicPopover.fromTemplateUrl('addons/mod/book/templates/toc.html', {
scope: $scope,
}).then(function(popover) {
$scope.popover = popover;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ angular.module('mm.addons.mod_book')
next: '=?',
action: '=?'
},
templateUrl: 'addons/mod_book/templates/arrows.html'
templateUrl: 'addons/mod/book/templates/arrows.html'
};
});
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ angular.module('mm.addons.mod_book', ['mm.core'])
views: {
'site': {
controller: 'mmaModBookIndexCtrl',
templateUrl: 'addons/mod_book/templates/index.html'
templateUrl: 'addons/mod/book/templates/index.html'
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ angular.module('mm.addons.mod_chat')
};

// Chat users modal.
$ionicModal.fromTemplateUrl('addons/mod_chat/templates/users.html', {
$ionicModal.fromTemplateUrl('addons/mod/chat/templates/users.html', {
scope: $scope,
animation: 'slide-in-up'
}).then(function(m) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions www/addons/mod_chat/main.js → www/addons/mod/chat/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ angular.module('mm.addons.mod_chat', [])
views: {
'site': {
controller: 'mmaModChatIndexCtrl',
templateUrl: 'addons/mod_chat/templates/index.html'
templateUrl: 'addons/mod/chat/templates/index.html'
}
}
})
Expand All @@ -44,7 +44,7 @@ angular.module('mm.addons.mod_chat', [])
views: {
'site': {
controller: 'mmaModChatChatCtrl',
templateUrl: 'addons/mod_chat/templates/chat.html'
templateUrl: 'addons/mod/chat/templates/chat.html'
}
}
});
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ angular.module('mm.addons.mod_choice', [])
views: {
'site': {
controller: 'mmaModChoiceIndexCtrl',
templateUrl: 'addons/mod_choice/templates/index.html'
templateUrl: 'addons/mod/choice/templates/index.html'
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h3>{{ 'mma.mod_choice.responses' | translate }}</h3>
<p class="col">{{ result.numberofuser }}</p>
<p class="col">{{ 'mm.core.percentagenumber' | translate:{$a: result.percentageamount} }}</p>
<div class="col text-left">
<img ng-if="!choice.publish" class="mma-mod_choice-graph-horizontal" src="addons/mod_choice/img/row.png" alt="{{ 'mma.mod_choice.responsesresultgraphdescription' | translate:{number: result.percentageamount, text: result.text} }}" ng-style="{'width': result.percentageamount+'%'}">
<img ng-if="!choice.publish" class="mma-mod_choice-graph-horizontal" src="addons/mod/choice/img/row.png" alt="{{ 'mma.mod_choice.responsesresultgraphdescription' | translate:{number: result.percentageamount, text: result.text} }}" ng-style="{'width': result.percentageamount+'%'}">
<a ng-if="choice.publish" class="padding mma-mod_choice-user" ng-repeat="user in result.userresponses" mm-user-link courseid="{{courseid}}" userid="{{user.userid}}" title="{{user.fullname}}">
<img ng-src="{{user.profileimageurl}}" alt="{{user.fullname}}" mm-external-content>
<p>{{user.fullname}}</p>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ angular.module('mm.addons.mod_folder', ['mm.core'])
views: {
'site': {
controller: 'mmaModFolderIndexCtrl',
templateUrl: 'addons/mod_folder/templates/index.html'
templateUrl: 'addons/mod/folder/templates/index.html'
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ angular.module('mm.addons.mod_forum')
postadded: '&?',
defaultsubject: '=?'
},
templateUrl: 'addons/mod_forum/templates/discussionpost.html',
templateUrl: 'addons/mod/forum/templates/discussionpost.html',
transclude: true,
link: function(scope) {
scope.isReplyEnabled = $mmaModForum.isReplyPostEnabled();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions www/addons/mod_forum/main.js → www/addons/mod/forum/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ angular.module('mm.addons.mod_forum', [])
views: {
'site': {
controller: 'mmaModForumDiscussionsCtrl',
templateUrl: 'addons/mod_forum/templates/discussions.html'
templateUrl: 'addons/mod/forum/templates/discussions.html'
}
}
})
Expand All @@ -45,7 +45,7 @@ angular.module('mm.addons.mod_forum', [])
views: {
'site': {
controller: 'mmaModForumDiscussionCtrl',
templateUrl: 'addons/mod_forum/templates/discussion.html'
templateUrl: 'addons/mod/forum/templates/discussion.html'
}
}
})
Expand All @@ -60,7 +60,7 @@ angular.module('mm.addons.mod_forum', [])
views: {
'site': {
controller: 'mmaModForumNewDiscussionCtrl',
templateUrl: 'addons/mod_forum/templates/newdiscussion.html'
templateUrl: 'addons/mod/forum/templates/newdiscussion.html'
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ angular.module('mm.addons.mod_glossary')
popover.hide();
};
popoverScope.data = { selectedMode: '' };
$ionicPopover.fromTemplateUrl('addons/mod_glossary/templates/mode_picker.html', {
$ionicPopover.fromTemplateUrl('addons/mod/glossary/templates/mode_picker.html', {
scope: popoverScope
}).then(function(po) {
popover = po;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ angular.module('mm.addons.mod_glossary', ['mm.core'])
views: {
'site': {
controller: 'mmaModGlossaryIndexCtrl',
templateUrl: 'addons/mod_glossary/templates/index.html'
templateUrl: 'addons/mod/glossary/templates/index.html'
}
}
})
Expand All @@ -42,7 +42,7 @@ angular.module('mm.addons.mod_glossary', ['mm.core'])
views: {
'site': {
controller: 'mmaModGlossaryEntryCtrl',
templateUrl: 'addons/mod_glossary/templates/entry.html'
templateUrl: 'addons/mod/glossary/templates/entry.html'
}
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ angular.module('mm.addons.mod_imscp')
return new Array(n);
};

$ionicPopover.fromTemplateUrl('addons/mod_imscp/templates/toc.html', {
$ionicPopover.fromTemplateUrl('addons/mod/imscp/templates/toc.html', {
scope: $scope,
}).then(function(popover) {
$scope.popover = popover;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ angular.module('mm.addons.mod_imscp', ['mm.core'])
views: {
'site': {
controller: 'mmaModImscpIndexCtrl',
templateUrl: 'addons/mod_imscp/templates/index.html'
templateUrl: 'addons/mod/imscp/templates/index.html'
}
}
});
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading