From 3aedaaeb684d60df5e92562951689b9d47fda4c9 Mon Sep 17 00:00:00 2001 From: "Andreas H. Kelch" Date: Tue, 26 Sep 2023 09:39:36 +0200 Subject: [PATCH] chore: update --- README.md | 45 ++++++++++++++++++-------------------- admin/package-lock.json | 24 ++++++++++---------- admin/package.json | 4 ++-- packages/vi-vue-components | 2 +- packages/vi-vue-utils | 2 +- 5 files changed, 37 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 0619a82..3b2ea48 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,27 @@ -# viur-vuevi-wip +
+ A hexagonal logo of the vue components +

ViUR Vue Components

+ latest Version + + Badge displaying the license + +
+ A library for communication with the ViUR Core +
-## setup -`cd vi-base` +## What does it do? +Implementation of a new ViUR administration tool using Vue.js and Shoelace -`npm install` -`cd vi` +## Installation +```bash +$ viur install admin +``` -## run -Switch to vi or vi-base folder and run `npm run dev` +## License -## info -to use google login add your client id tp App.vue file. -DO NOT COMMIT THIS CLIENT ID +Copyright © 2023 by Mausbrand Informationssysteme GmbH.
+Mausbrand and ViUR are registered trademarks of Mausbrand Informationssysteme GmbH. -### -you need to add this to your main.py -```import os -from viur.core import request -from viur.core.utils import currentRequest - -if os.environ['GAE_ENV'] == "localdev": - "Whitelist vueJs Frontend server" - def preprocessRequestHandler(path): - currentRequest.get().response.headers["Access-Control-Allow-Origin"] = "http://localhost:8081" - currentRequest.get().response.headers["Access-Control-Allow-Credentials"] = "true" - return (path) - - conf["viur.requestPreprocessor"] = preprocessRequestHandler``` +This project is free software under the MIT license.
+Please see the LICENSE file for details. diff --git a/admin/package-lock.json b/admin/package-lock.json index 1bdb098..2d72842 100644 --- a/admin/package-lock.json +++ b/admin/package-lock.json @@ -11,8 +11,8 @@ "@ckeditor/ckeditor5-vue": "^5.1.0", "@viur/ckeditor5-build-classic": "^1.0.1-v38.0.1", "@viur/shoelace": "^0.6.2-v2.8.0", - "@viur/vue-components": "^1.0.14", - "@viur/vue-utils": "^1.0.3", + "@viur/vue-components": "^1.0.17", + "@viur/vue-utils": "^1.0.4", "pinia": "^2.1.4", "pinia-plugin-persistedstate": "^3.1.0", "vue": "^3.3.4", @@ -115,11 +115,11 @@ }, "../packages/vi-vue-components/components": { "name": "@viur/vue-components", - "version": "1.0.13", + "version": "1.0.16", "extraneous": true, "license": "MIT", "dependencies": { - "@viur/vue-utils": "^1.0.3", + "@viur/vue-utils": "^1.0.4", "logics-js": "^0.3.7", "pinia-plugin-persistedstate": "^3.1.0", "vue-json-pretty": "^2.2.4", @@ -143,7 +143,7 @@ }, "../packages/vi-vue-utils/packages/viur-vue-utils": { "name": "@viur/vue-utils", - "version": "1.0.3", + "version": "1.0.4", "extraneous": true, "license": "MIT", "dependencies": { @@ -1942,11 +1942,11 @@ } }, "node_modules/@viur/vue-components": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/@viur/vue-components/-/vue-components-1.0.14.tgz", - "integrity": "sha512-SfU5TB5uaxkNPh/MJ1SHbBubSO1IF9laI/kYbTQX/3CXrmng42o91w7NxB07BeerYPhmt+4iEFoqBF4gYAOc4Q==", + "version": "1.0.17", + "resolved": "https://registry.npmjs.org/@viur/vue-components/-/vue-components-1.0.17.tgz", + "integrity": "sha512-KpXbUE+08GmS8kAL9uyc0+ZHY8NG2aa06RbgTWgU6PjEhZoZPYg8G4pSiQ3kpG/l1X9I6zg1aLOc8u3JXYeg6Q==", "dependencies": { - "@viur/vue-utils": "^1.0.3", + "@viur/vue-utils": "^1.0.4", "logics-js": "^0.3.7", "pinia-plugin-persistedstate": "^3.1.0", "vue-json-pretty": "^2.2.4", @@ -1954,9 +1954,9 @@ } }, "node_modules/@viur/vue-utils": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@viur/vue-utils/-/vue-utils-1.0.3.tgz", - "integrity": "sha512-QKCSFPpNwWpiJvKJUBvoVTD/Oiz6r0N8TlqeYkXU2WCqJyjR+79PGr3WymWfQwCp9aAz9SwN1g5A8qSkO4fQxA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@viur/vue-utils/-/vue-utils-1.0.4.tgz", + "integrity": "sha512-eZTHBnCh8VQRKiUSmIqQmRbSidccvZotDY6UxipjqongBlLq8Z0PjOtucXNKTX4GSh1jHiew46OF/PNUo8j5Wg==", "dependencies": { "@ckeditor/ckeditor5-vue": "^5.1.0", "@viur/ckeditor5-build-classic": "^1.0.1-v38.0.1", diff --git a/admin/package.json b/admin/package.json index 1fbf022..9de4035 100644 --- a/admin/package.json +++ b/admin/package.json @@ -14,8 +14,8 @@ "@ckeditor/ckeditor5-vue": "^5.1.0", "@viur/ckeditor5-build-classic": "^1.0.1-v38.0.1", "@viur/shoelace": "^0.6.2-v2.8.0", - "@viur/vue-components": "^1.0.14", - "@viur/vue-utils": "^1.0.3", + "@viur/vue-components": "^1.0.17", + "@viur/vue-utils": "^1.0.4", "pinia": "^2.1.4", "pinia-plugin-persistedstate": "^3.1.0", "vue": "^3.3.4", diff --git a/packages/vi-vue-components b/packages/vi-vue-components index d8b3006..d1cb450 160000 --- a/packages/vi-vue-components +++ b/packages/vi-vue-components @@ -1 +1 @@ -Subproject commit d8b30064dc9cc90c96c92ba157ceb9dd910170c1 +Subproject commit d1cb4503713d7291bf4d98a382c673f716da7539 diff --git a/packages/vi-vue-utils b/packages/vi-vue-utils index bb28f1b..075c2ed 160000 --- a/packages/vi-vue-utils +++ b/packages/vi-vue-utils @@ -1 +1 @@ -Subproject commit bb28f1b48a67625a0dce5ff4fec3e66a0c003a6b +Subproject commit 075c2ed2f9daba1db2d1a7c28e48a18e312d4e55