8d638a908d
for agenda, motions, assignments, users and mediafiles apps. Users app: - Show permissions in group form (Fixed #1500) - Added experimental csv import for users. Agenda: - new agenda sort view. - Added experimental angular-xeditable for item-list view. General: - Added core.tag templates. - Added mediafiles templates. - Remove old template and js files. Remove old views. - Skip old tests. Added external angular modules: - angular-loading-bar (Fixed #1448) - ui-tree (for sorting agenda tree) - ng-fab-forms (for better form validation) - ui-bootstrap (for modal window, dropdown, popover) - ngBootbox (for confirm delete dialogs in agenda and users app)
35 lines
864 B
JavaScript
35 lines
864 B
JavaScript
angular.module('OpenSlidesApp', [
|
|
'ui.router',
|
|
'angular-loading-bar',
|
|
'js-data',
|
|
'gettext',
|
|
'ngBootbox',
|
|
'ngFabForm',
|
|
'ngMessages',
|
|
'ngAnimate',
|
|
'ngCsvImport',
|
|
'ngSanitize',
|
|
'ui.bootstrap',
|
|
'ui.select',
|
|
'ui.tree',
|
|
'xeditable',
|
|
'OpenSlidesApp.core',
|
|
'OpenSlidesApp.agenda',
|
|
'OpenSlidesApp.motions',
|
|
'OpenSlidesApp.assignments',
|
|
'OpenSlidesApp.users',
|
|
'OpenSlidesApp.mediafiles',
|
|
])
|
|
|
|
.config(function($urlRouterProvider, $locationProvider) {
|
|
// define fallback url and html5Mode
|
|
$urlRouterProvider.otherwise('/');
|
|
$locationProvider.html5Mode(true);
|
|
})
|
|
|
|
.config(function($httpProvider) {
|
|
// Combine the django csrf system with the angular csrf system
|
|
$httpProvider.defaults.xsrfCookieName = 'csrftoken';
|
|
$httpProvider.defaults.xsrfHeaderName = 'X-CSRFToken';
|
|
});
|