From 75af80b18b8ce4e1cfec9ac1c3d9f97eb6f01776 Mon Sep 17 00:00:00 2001 From: Artem <55246906+physphile@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:54:09 +0300 Subject: [PATCH] Rename (#202) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Изменения ## Детали реализации ## Check-List - [ ] Вы проверили свой код перед отправкой запроса? - [ ] Вы написали тесты к реализованным функциям? - [ ] Вы не забыли применить форматирование `black` и `isort` для _Back-End_ или `Prettier` для _Front-End_? Co-authored-by: Artem Netsvetaev --- bun.lockb | Bin 315548 -> 316220 bytes package.json | 122 +++++++++--------- ...AccessAllowed.vue => AccessRestricted.vue} | 0 src/components/IrdomAuthButton.vue | 2 +- src/views/admin/AdminView.vue | 14 +- .../admin/achievement/AchievementListView.vue | 6 +- .../achievement/AchievementRecieversView.vue | 6 +- src/views/admin/group/AdminGroupView.vue | 6 +- src/views/admin/scopes/AdminScopesView.vue | 6 +- src/views/admin/users/AdminUsersView.vue | 6 +- 10 files changed, 84 insertions(+), 84 deletions(-) rename src/components/{AccessAllowed.vue => AccessRestricted.vue} (100%) diff --git a/bun.lockb b/bun.lockb index b79e4538815e1246c886ee2455380fbc57a5eeac..53d5a22fd6282ade2bcb240cd0a343f0ab3169ec 100644 GIT binary patch delta 11593 zcmeI2cU%|HSuMNzRJ7EsXl_spJA((d2yA9p_c@H@|Uo^#G~&YYQ@9cF2o%bqnZ z^Zb4NI-~|CpWXarhi)Om2hE?Sf0b~_#bx8#!m!QZ%Oh7`nVEiGC(!mJ`JdILo%vfP zoON;jDt_z`V$DTCFbG28P;)oe>ZTv>2tp-zgGVHc8yi1tOypfbu!SE6b$}*ujYeD* z_#;OT89O$9$Y=?zREB@GP!L?9yP;mts;fOg{A4C*Kdro={;LZSgm z4YhbC2rkf=2Z9g)tqq?lPAalAGzjVj|NSEie*mot{}PnyAK;n}rG#fgeV}8Y?$B7S zmtP1%Ex{xtwg#a2@P|?Z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u`Kx66rswimekZf-WkXZ3N? zc1c@0W?p5+9dfXk!D4sFHPU4})@G-?L!84d@5DF07xUYNpM)fqwo86h$-sLOc$knA z#ZK(PPDx>_ERYO#eh*|33$SRv9t7De3zmi#&~n1r?-tC_CKkFE+2eNqCELUf5VE%H zXM3q@f#u6D)0%|Mk;Hbb+Gr<733D#8br#MV9eCR0nIhR;s&Hg~6v=(W2Furgi^kCW-AhAoqPbLw^~i-@lBKl>}mF9~_i@{r-6#ta0#punsMlH7b_v zV`t#i4gl0%9EU2Nr7N?vDUlmqu;i@P9SUY6w&@zPtz|lQ*7~TNZ`VmAaMb w^sMZ-&beMmu$J}QEyr{X>(yynFU$J`8h+XZD(cwK6FQ$KOmA6nLbpQv9|QQFasU7T diff --git a/package.json b/package.json index a14b92a1..82ece795 100644 --- a/package.json +++ b/package.json @@ -1,63 +1,63 @@ { - "name": "tvoi-ff", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "vite build", - "build:development": "vite build --mode development", - "build:testing": "vite build --mode testing", - "preview": "vite preview", - "test": "vitest", - "lint": "eslint --ext .ts,.vue .", - "lint:fix": "eslint --ext .ts,.vue . --fix", - "prettier": "prettier . --check", - "prettier:write": "prettier . --write", - "stylelint": "stylelint \"**/*.{vue,css}\"", - "stylelint:fix": "stylelint \"**/*.{vue,css}\" --fix", - "format": "bun run lint:fix && bun run prettier:write && bun run stylelint:fix", - "check": "bun run lint && bun run prettier && bun run stylelint" - }, - "dependencies": { - "axios": "^1.6.7", - "markdown-it": "^14.0.0", - "pinia": "^2.1.7", - "query-string": "^9.0.0", - "ua-parser-js": "^1.0.37", - "vue": "^3.4.21", - "vue-material-design-icons": "^5.3.0", - "vue-router": "^4.3.0", - "vuetify": "^3.5.7", - "workbox-window": "^7.0.0" - }, - "devDependencies": { - "@types/markdown-it": "^13.0.7", - "@types/node": "^20.11.24", - "@types/ua-parser-js": "^0.7.39", - "@typescript-eslint/eslint-plugin": "^7.1.0", - "@typescript-eslint/parser": "^7.1.0", - "@vitejs/plugin-basic-ssl": "^1.1.0", - "@vitejs/plugin-vue": "^5.0.4", - "@vue/eslint-config-typescript": "^12.0.0", - "eslint": "^8.57.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.1.3", - "eslint-plugin-vue": "^9.22.0", - "postcss": "^8.4.35", - "postcss-html": "^1.6.0", - "postcss-preset-env": "^9.4.0", - "prettier": "^3.2.5", - "stylelint": "^16.2.1", - "stylelint-config-recommended-vue": "^1.5.0", - "stylelint-config-standard": "^36.0.0", - "typescript": "5.3.3", - "vite": "^5.1.4", - "vite-plugin-eslint": "^1.8.1", - "vite-plugin-pwa": "^0.19.2", - "vite-plugin-stylelint": "^5.3.1", - "vite-plugin-vuetify": "^2.0.2", - "vitest": "^1.3.1", - "vue-tsc": "^2.0.2" - } + "name": "tvoi-ff", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "build:development": "vite build --mode development", + "build:testing": "vite build --mode testing", + "preview": "vite preview --port 443", + "test": "vitest", + "lint": "eslint --ext .ts,.vue .", + "lint:fix": "eslint --ext .ts,.vue . --fix", + "prettier": "prettier . --check", + "prettier:write": "prettier . --write", + "stylelint": "stylelint \"**/*.{vue,css}\"", + "stylelint:fix": "stylelint \"**/*.{vue,css}\" --fix", + "format": "bun run lint:fix && bun run prettier:write && bun run stylelint:fix", + "check": "vue-tsc && bun run lint && bun run prettier && bun run stylelint" + }, + "dependencies": { + "axios": "^1.6.7", + "markdown-it": "^14.0.0", + "pinia": "^2.1.7", + "query-string": "^9.0.0", + "ua-parser-js": "^1.0.37", + "vue": "^3.4.21", + "vue-material-design-icons": "^5.3.0", + "vue-router": "^4.3.0", + "vuetify": "^3.5.7", + "workbox-window": "^7.0.0" + }, + "devDependencies": { + "@types/markdown-it": "^13.0.7", + "@types/node": "^20.11.24", + "@types/ua-parser-js": "^0.7.39", + "@typescript-eslint/eslint-plugin": "^7.1.0", + "@typescript-eslint/parser": "^7.1.0", + "@vitejs/plugin-basic-ssl": "^1.1.0", + "@vitejs/plugin-vue": "^5.0.4", + "@vue/eslint-config-typescript": "^12.0.0", + "eslint": "^8.57.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-vue": "^9.22.0", + "postcss": "^8.4.35", + "postcss-html": "^1.6.0", + "postcss-preset-env": "^9.4.0", + "prettier": "^3.2.5", + "stylelint": "^16.2.1", + "stylelint-config-recommended-vue": "^1.5.0", + "stylelint-config-standard": "^36.0.0", + "typescript": "5.3.3", + "vite": "^5.1.4", + "vite-plugin-eslint": "^1.8.1", + "vite-plugin-pwa": "^0.19.2", + "vite-plugin-stylelint": "^5.3.1", + "vite-plugin-vuetify": "^2.0.2", + "vitest": "^1.3.1", + "vue-tsc": "^2.0.2" + } } diff --git a/src/components/AccessAllowed.vue b/src/components/AccessRestricted.vue similarity index 100% rename from src/components/AccessAllowed.vue rename to src/components/AccessRestricted.vue diff --git a/src/components/IrdomAuthButton.vue b/src/components/IrdomAuthButton.vue index d6824f34..1f8ba847 100644 --- a/src/components/IrdomAuthButton.vue +++ b/src/components/IrdomAuthButton.vue @@ -29,7 +29,7 @@ const clickHandler = async () => { await props.button.api.unregister(); location.reload(); // TODO: придумать нормальное решение } else if (authUrl.value) { - window.open(authUrl.value, '_blank'); + window.open(authUrl.value, '_self'); } }; diff --git a/src/views/admin/AdminView.vue b/src/views/admin/AdminView.vue index 909d80eb..d08b521a 100644 --- a/src/views/admin/AdminView.vue +++ b/src/views/admin/AdminView.vue @@ -1,5 +1,5 @@