diff --git a/src/main/webapp/app/exam/manage/exam-management.route.ts b/src/main/webapp/app/exam/manage/exam-management.route.ts index e9fda87890c7..16f0a8e2a5ca 100644 --- a/src/main/webapp/app/exam/manage/exam-management.route.ts +++ b/src/main/webapp/app/exam/manage/exam-management.route.ts @@ -310,9 +310,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.TA, Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -322,9 +319,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.TA, Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN], pageTitle: 'artemisApp.repository.commitHistory.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -334,9 +328,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.TA, Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN], pageTitle: 'artemisApp.repository.commitHistory.commitDetails.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -647,9 +638,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -659,9 +647,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -671,9 +656,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -683,9 +665,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -695,9 +674,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -707,9 +683,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -719,9 +692,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -731,9 +701,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -743,9 +710,6 @@ export const examManagementRoute: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, diff --git a/src/main/webapp/app/exercises/programming/manage/code-editor/code-editor-management-routing.module.ts b/src/main/webapp/app/exercises/programming/manage/code-editor/code-editor-management-routing.module.ts index 0307f567a816..f2b7ac2605a5 100644 --- a/src/main/webapp/app/exercises/programming/manage/code-editor/code-editor-management-routing.module.ts +++ b/src/main/webapp/app/exercises/programming/manage/code-editor/code-editor-management-routing.module.ts @@ -12,9 +12,6 @@ const routes: Routes = [ data: { authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN], pageTitle: 'artemisApp.editor.home.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService], }, @@ -24,9 +21,6 @@ const routes: Routes = [ data: { authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN], pageTitle: 'artemisApp.editor.home.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService], }, @@ -36,9 +30,6 @@ const routes: Routes = [ data: { authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN], pageTitle: 'artemisApp.editor.home.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService], }, @@ -48,9 +39,6 @@ const routes: Routes = [ data: { authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN], pageTitle: 'artemisApp.editor.home.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService], }, @@ -60,9 +48,6 @@ const routes: Routes = [ data: { authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN], pageTitle: 'artemisApp.editor.home.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService], }, diff --git a/src/main/webapp/app/exercises/programming/manage/programming-exercise-management-routing.module.ts b/src/main/webapp/app/exercises/programming/manage/programming-exercise-management-routing.module.ts index 583c85ec8b49..19c51d8dff55 100644 --- a/src/main/webapp/app/exercises/programming/manage/programming-exercise-management-routing.module.ts +++ b/src/main/webapp/app/exercises/programming/manage/programming-exercise-management-routing.module.ts @@ -166,9 +166,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -178,9 +175,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -190,9 +184,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [LocalVCGuard], }, @@ -202,9 +193,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [LocalVCGuard], }, @@ -214,9 +202,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [LocalVCGuard], }, @@ -226,9 +211,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [LocalVCGuard], }, @@ -238,9 +220,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [LocalVCGuard], }, @@ -250,9 +229,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -262,9 +238,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -274,9 +247,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -286,9 +256,6 @@ export const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, diff --git a/src/main/webapp/app/exercises/programming/participate/programming-participation-routing.module.ts b/src/main/webapp/app/exercises/programming/participate/programming-participation-routing.module.ts index e5ddddb415ab..55f0d5bd5a17 100644 --- a/src/main/webapp/app/exercises/programming/participate/programming-participation-routing.module.ts +++ b/src/main/webapp/app/exercises/programming/participate/programming-participation-routing.module.ts @@ -11,9 +11,6 @@ const routes: Routes = [ data: { authorities: [Authority.USER], pageTitle: 'artemisApp.editor.home.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService], }, diff --git a/src/main/webapp/app/exercises/programming/participate/programming-repository-routing.module.ts b/src/main/webapp/app/exercises/programming/participate/programming-repository-routing.module.ts index 76697a6cd7d9..155f8ac14580 100644 --- a/src/main/webapp/app/exercises/programming/participate/programming-repository-routing.module.ts +++ b/src/main/webapp/app/exercises/programming/participate/programming-repository-routing.module.ts @@ -13,9 +13,6 @@ const routes: Routes = [ data: { authorities: [Authority.USER], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -25,9 +22,6 @@ const routes: Routes = [ data: { authorities: [Authority.USER], pageTitle: 'artemisApp.repository.commitHistory.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -37,9 +31,6 @@ const routes: Routes = [ data: { authorities: [Authority.USER], pageTitle: 'artemisApp.repository.commitHistory.commitDetails.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], }, @@ -49,9 +40,6 @@ const routes: Routes = [ data: { authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.TA], pageTitle: 'artemisApp.repository.title', - flushRepositoryCacheAfter: 900000, // 15 min - participationCache: {}, - repositoryCache: {}, }, canActivate: [UserRouteAccessService, LocalVCGuard], },