├── .babelrc ├── .editorconfig ├── .gitignore ├── .postcssrc.js ├── .travis.yml ├── README.md ├── config ├── dev.env.js ├── index.js ├── prod.env.js └── test.env.js ├── index.html ├── package.json ├── src ├── App.vue ├── api │ ├── Bulletin.js │ ├── Challenge.js │ ├── System.js │ ├── Team.js │ ├── admin │ │ ├── Bulletin.js │ │ ├── Category.js │ │ ├── Challenge.js │ │ ├── Flag.js │ │ ├── Level.js │ │ ├── System.js │ │ ├── SystemLog.js │ │ └── Team.js │ └── model.js ├── assets │ ├── css │ │ └── global.css │ └── logo.png ├── components │ ├── Admin │ │ ├── Bulletin.vue │ │ ├── Challenge │ │ │ ├── Category.vue │ │ │ ├── Create.vue │ │ │ ├── Edit.vue │ │ │ ├── Level.vue │ │ │ ├── List.vue │ │ │ └── RuleComponents │ │ │ │ ├── Category.vue │ │ │ │ ├── Rules.vue │ │ │ │ ├── RulesDefinition.js │ │ │ │ └── RulesMixin.js │ │ ├── Config.vue │ │ ├── Index.vue │ │ ├── Layout.vue │ │ └── Team │ │ │ └── List.vue │ ├── Bulletin │ │ └── Index.vue │ ├── Challenge │ │ ├── Layout.vue │ │ ├── List.vue │ │ ├── SubmitFlag.vue │ │ └── View.vue │ ├── Common │ │ ├── 404.vue │ │ ├── Banned.vue │ │ ├── Bulletin.vue │ │ ├── Countdown.vue │ │ └── RecentLogs.vue │ ├── Hello.vue │ ├── Ranking │ │ └── Index.vue │ └── User │ │ ├── Index.vue │ │ ├── Login.vue │ │ ├── Logout.vue │ │ ├── Ranking.vue │ │ ├── Register.vue │ │ └── UserLayout.vue ├── i18n │ ├── index.js │ └── messages │ │ ├── en.js │ │ ├── ja.js │ │ └── zh-cn.js ├── main.js ├── plugins │ └── GlobalErrorHandler.js ├── router │ ├── index.js │ └── modules │ │ ├── admin.js │ │ ├── bulletin.js │ │ ├── challenge.js │ │ ├── ranking.js │ │ └── user.js ├── store │ ├── index.js │ └── modules │ │ ├── meta.js │ │ └── user.js └── utils │ ├── auth.js │ └── rules.js ├── static └── .gitkeep └── test ├── e2e ├── custom-assertions │ └── elementCount.js ├── nightwatch.conf.js ├── runner.js └── specs │ └── test.js └── unit ├── .eslintrc ├── index.js ├── karma.conf.js └── specs └── Hello.spec.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/.gitignore -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/.postcssrc.js -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/README.md -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/config/dev.env.js -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/config/index.js -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"' 3 | } 4 | -------------------------------------------------------------------------------- /config/test.env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/config/test.env.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/package.json -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/App.vue -------------------------------------------------------------------------------- /src/api/Bulletin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/Bulletin.js -------------------------------------------------------------------------------- /src/api/Challenge.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/Challenge.js -------------------------------------------------------------------------------- /src/api/System.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/System.js -------------------------------------------------------------------------------- /src/api/Team.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/Team.js -------------------------------------------------------------------------------- /src/api/admin/Bulletin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/admin/Bulletin.js -------------------------------------------------------------------------------- /src/api/admin/Category.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/admin/Category.js -------------------------------------------------------------------------------- /src/api/admin/Challenge.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/admin/Challenge.js -------------------------------------------------------------------------------- /src/api/admin/Flag.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/admin/Flag.js -------------------------------------------------------------------------------- /src/api/admin/Level.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/admin/Level.js -------------------------------------------------------------------------------- /src/api/admin/System.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/admin/System.js -------------------------------------------------------------------------------- /src/api/admin/SystemLog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/admin/SystemLog.js -------------------------------------------------------------------------------- /src/api/admin/Team.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/admin/Team.js -------------------------------------------------------------------------------- /src/api/model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/api/model.js -------------------------------------------------------------------------------- /src/assets/css/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/assets/css/global.css -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /src/components/Admin/Bulletin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Bulletin.vue -------------------------------------------------------------------------------- /src/components/Admin/Challenge/Category.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Challenge/Category.vue -------------------------------------------------------------------------------- /src/components/Admin/Challenge/Create.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Challenge/Create.vue -------------------------------------------------------------------------------- /src/components/Admin/Challenge/Edit.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Challenge/Edit.vue -------------------------------------------------------------------------------- /src/components/Admin/Challenge/Level.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Challenge/Level.vue -------------------------------------------------------------------------------- /src/components/Admin/Challenge/List.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Challenge/List.vue -------------------------------------------------------------------------------- /src/components/Admin/Challenge/RuleComponents/Category.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Challenge/RuleComponents/Category.vue -------------------------------------------------------------------------------- /src/components/Admin/Challenge/RuleComponents/Rules.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Challenge/RuleComponents/Rules.vue -------------------------------------------------------------------------------- /src/components/Admin/Challenge/RuleComponents/RulesDefinition.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Challenge/RuleComponents/RulesDefinition.js -------------------------------------------------------------------------------- /src/components/Admin/Challenge/RuleComponents/RulesMixin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Challenge/RuleComponents/RulesMixin.js -------------------------------------------------------------------------------- /src/components/Admin/Config.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Config.vue -------------------------------------------------------------------------------- /src/components/Admin/Index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Index.vue -------------------------------------------------------------------------------- /src/components/Admin/Layout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Layout.vue -------------------------------------------------------------------------------- /src/components/Admin/Team/List.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Admin/Team/List.vue -------------------------------------------------------------------------------- /src/components/Bulletin/Index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Bulletin/Index.vue -------------------------------------------------------------------------------- /src/components/Challenge/Layout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Challenge/Layout.vue -------------------------------------------------------------------------------- /src/components/Challenge/List.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Challenge/List.vue -------------------------------------------------------------------------------- /src/components/Challenge/SubmitFlag.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Challenge/SubmitFlag.vue -------------------------------------------------------------------------------- /src/components/Challenge/View.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Challenge/View.vue -------------------------------------------------------------------------------- /src/components/Common/404.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Common/404.vue -------------------------------------------------------------------------------- /src/components/Common/Banned.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Common/Banned.vue -------------------------------------------------------------------------------- /src/components/Common/Bulletin.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Common/Bulletin.vue -------------------------------------------------------------------------------- /src/components/Common/Countdown.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Common/Countdown.vue -------------------------------------------------------------------------------- /src/components/Common/RecentLogs.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Common/RecentLogs.vue -------------------------------------------------------------------------------- /src/components/Hello.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Hello.vue -------------------------------------------------------------------------------- /src/components/Ranking/Index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/Ranking/Index.vue -------------------------------------------------------------------------------- /src/components/User/Index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/User/Index.vue -------------------------------------------------------------------------------- /src/components/User/Login.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/User/Login.vue -------------------------------------------------------------------------------- /src/components/User/Logout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/User/Logout.vue -------------------------------------------------------------------------------- /src/components/User/Ranking.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/User/Ranking.vue -------------------------------------------------------------------------------- /src/components/User/Register.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/User/Register.vue -------------------------------------------------------------------------------- /src/components/User/UserLayout.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/components/User/UserLayout.vue -------------------------------------------------------------------------------- /src/i18n/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/i18n/index.js -------------------------------------------------------------------------------- /src/i18n/messages/en.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/i18n/messages/en.js -------------------------------------------------------------------------------- /src/i18n/messages/ja.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/i18n/messages/ja.js -------------------------------------------------------------------------------- /src/i18n/messages/zh-cn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/i18n/messages/zh-cn.js -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/main.js -------------------------------------------------------------------------------- /src/plugins/GlobalErrorHandler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/plugins/GlobalErrorHandler.js -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/router/index.js -------------------------------------------------------------------------------- /src/router/modules/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/router/modules/admin.js -------------------------------------------------------------------------------- /src/router/modules/bulletin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/router/modules/bulletin.js -------------------------------------------------------------------------------- /src/router/modules/challenge.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/router/modules/challenge.js -------------------------------------------------------------------------------- /src/router/modules/ranking.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/router/modules/ranking.js -------------------------------------------------------------------------------- /src/router/modules/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/router/modules/user.js -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/store/index.js -------------------------------------------------------------------------------- /src/store/modules/meta.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/store/modules/meta.js -------------------------------------------------------------------------------- /src/store/modules/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/store/modules/user.js -------------------------------------------------------------------------------- /src/utils/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/utils/auth.js -------------------------------------------------------------------------------- /src/utils/rules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/src/utils/rules.js -------------------------------------------------------------------------------- /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/e2e/custom-assertions/elementCount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/test/e2e/custom-assertions/elementCount.js -------------------------------------------------------------------------------- /test/e2e/nightwatch.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/test/e2e/nightwatch.conf.js -------------------------------------------------------------------------------- /test/e2e/runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/test/e2e/runner.js -------------------------------------------------------------------------------- /test/e2e/specs/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/test/e2e/specs/test.js -------------------------------------------------------------------------------- /test/unit/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/test/unit/.eslintrc -------------------------------------------------------------------------------- /test/unit/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/test/unit/index.js -------------------------------------------------------------------------------- /test/unit/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/test/unit/karma.conf.js -------------------------------------------------------------------------------- /test/unit/specs/Hello.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vidar-team/hctf_frontend/HEAD/test/unit/specs/Hello.spec.js --------------------------------------------------------------------------------