diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22daa3005c2ff44f91964a1ecb4627db0a0afe2c..87137173c9f87a1ff436deda92cd180b274d29da 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,17 @@ include: - - project: "AlekSIS/official/AlekSIS" - file: /ci/general.yml - - project: "AlekSIS/official/AlekSIS" - file: /ci/prepare/lock.yml - - project: "AlekSIS/official/AlekSIS" - file: /ci/test/lint.yml - - project: "AlekSIS/official/AlekSIS" - file: /ci/test/security.yml - - project: "AlekSIS/official/AlekSIS" - file: /ci/build/dist.yml - - project: "AlekSIS/official/AlekSIS" - file: /ci/build/docs.yml - - project: "AlekSIS/official/AlekSIS" - file: /ci/publish/pypi.yml - - project: "AlekSIS/official/AlekSIS" - file: /ci/deploy/pages.yml + - project: "AlekSIS/official/AlekSIS" + file: /ci/general.yml + - project: "AlekSIS/official/AlekSIS" + file: /ci/prepare/lock.yml + - project: "AlekSIS/official/AlekSIS" + file: /ci/test/lint.yml + - project: "AlekSIS/official/AlekSIS" + file: /ci/test/security.yml + - project: "AlekSIS/official/AlekSIS" + file: /ci/build/dist.yml + - project: "AlekSIS/official/AlekSIS" + file: /ci/build/docs.yml + - project: "AlekSIS/official/AlekSIS" + file: /ci/publish/pypi.yml + - project: "AlekSIS/official/AlekSIS" + file: /ci/deploy/pages.yml diff --git a/aleksis/apps/resint/frontend/index.js b/aleksis/apps/resint/frontend/index.js index e415bfebf61e4d786b1649614587d399438e6647..b8b497d77a5bc75236845020ac20d0f2aea50e11 100644 --- a/aleksis/apps/resint/frontend/index.js +++ b/aleksis/apps/resint/frontend/index.js @@ -1,153 +1,150 @@ import { hasPersonValidator } from "aleksis.core/routeValidators"; -export default - { - meta: { - inMenu: true, - titleKey: "resint.menu_title", - icon: "mdi-open-in-app", - validators: [ - hasPersonValidator - ] +export default { + meta: { + inMenu: true, + titleKey: "resint.menu_title", + icon: "mdi-open-in-app", + validators: [hasPersonValidator], + }, + children: [ + { + path: "", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.posterIndex", + meta: { + inMenu: true, + titleKey: "resint.manage_posters.menu_title", + icon: "mdi-file-upload-outline", + permission: "resint.view_posters_rule", + }, + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "upload/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.posterUpload", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: ":pk/edit/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.posterEdit", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: ":pk/delete/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.posterDelete", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: ":slug.pdf", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.posterShowCurrent", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "groups/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.posterGroupList", + meta: { + inMenu: true, + titleKey: "resint.poster_groups.menu_title", + icon: "mdi-folder-multiple-outline", + permission: "resint.view_postergroups_rule", + }, + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "groups/create/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.createPosterGroup", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "groups/:pk/edit/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.editPosterGroup", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "groups/:pk/delete/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.deletePosterGroup", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "live/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.liveDocuments", + meta: { + inMenu: true, + titleKey: "resint.live_documents.menu_title", + icon: "mdi-update", + permission: "resint.view_livedocuments_rule", + }, + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "live/:app/:model/create/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.createLiveDocument", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "live/:pk/edit/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.editLiveDocument", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "live_documents/:pk/delete/", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.deleteLiveDocument", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "live_documents/:slug.pdf", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.showLiveDocument", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, + }, + { + path: "api/live_documents/:slug.pdf", + component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), + name: "resint.apiShowLiveDocument", + props: { + byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, + }, }, - children: [ - { - path: "", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.posterIndex", - meta: { - inMenu: true, - titleKey: "resint.manage_posters.menu_title", - icon: "mdi-file-upload-outline", - permission: "resint.view_posters_rule", - }, - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "upload/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.posterUpload", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: ":pk/edit/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.posterEdit", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: ":pk/delete/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.posterDelete", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: ":slug.pdf", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.posterShowCurrent", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "groups/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.posterGroupList", - meta: { - inMenu: true, - titleKey: "resint.poster_groups.menu_title", - icon: "mdi-folder-multiple-outline", - permission: "resint.view_postergroups_rule", - }, - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "groups/create/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.createPosterGroup", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "groups/:pk/edit/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.editPosterGroup", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "groups/:pk/delete/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.deletePosterGroup", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "live/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.liveDocuments", - meta: { - inMenu: true, - titleKey: "resint.live_documents.menu_title", - icon: "mdi-update", - permission: "resint.view_livedocuments_rule", - }, - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "live/:app/:model/create/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.createLiveDocument", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "live/:pk/edit/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.editLiveDocument", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "live_documents/:pk/delete/", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.deleteLiveDocument", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "live_documents/:slug.pdf", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.showLiveDocument", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - { - path: "api/live_documents/:slug.pdf", - component: () => import("aleksis.core/components/LegacyBaseTemplate.vue"), - name: "resint.apiShowLiveDocument", - props: { - byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true, - }, - }, - ], - } + ], +};