From 45da05c9a4893e38201dad8273b08e018240329e Mon Sep 17 00:00:00 2001 From: flfeders Date: Sat, 2 Dec 2023 13:09:23 +0100 Subject: [PATCH] Changes --- .gitignore | 1 + docker-compose.yml | 8 + spaces/.npmrc | 1 + spaces/app.vue | 116 +- spaces/nuxt.config.ts | 3 + spaces/package-lock.json | 7318 +++++------------- spaces/package.json | 10 +- spaces/pages/banking/[account].vue | 18 + spaces/pages/banking/index.vue | 103 + spaces/pages/calendar/planningBoard.vue | 28 + spaces/pages/customers.vue | 9 +- spaces/pages/documents.vue | 120 +- spaces/pages/formSubmissions/[id].vue | 88 + spaces/pages/index.vue | 10 +- spaces/pages/inventory/index.vue | 27 +- spaces/pages/inventory/spaces.vue | 38 +- spaces/pages/login.vue | 3 +- spaces/pages/products.vue | 4 +- spaces/pages/projects/[id].vue | 199 +- spaces/pages/projects/index.vue | 11 +- spaces/pages/tasks.vue | 17 +- spaces/pages/vendorinvoices/[id].vue | 121 + spaces/pages/vendorinvoices/edit.vue | 72 - spaces/pages/vendorinvoices/index.vue | 2 +- spaces/public/fonts/Roboto-Bold.woff | Bin 0 -> 90308 bytes spaces/public/fonts/Roboto-Bold.woff2 | Bin 0 -> 64740 bytes spaces/public/fonts/Roboto-Light.woff | Bin 0 -> 89672 bytes spaces/public/fonts/Roboto-Light.woff2 | Bin 0 -> 64320 bytes spaces/public/fonts/Roboto-Medium.woff | Bin 0 -> 90560 bytes spaces/public/fonts/Roboto-Medium.woff2 | Bin 0 -> 65484 bytes spaces/public/fonts/Roboto-Regular.woff | Bin 0 -> 89828 bytes spaces/public/fonts/Roboto-Regular.woff2 | Bin 0 -> 64632 bytes spaces/public/fonts/fa-brands-400.ttf | Bin 0 -> 181852 bytes spaces/public/fonts/fa-brands-400.woff2 | Bin 0 -> 105536 bytes spaces/public/fonts/fa-regular-400.ttf | Bin 0 -> 60520 bytes spaces/public/fonts/fa-regular-400.woff2 | Bin 0 -> 23940 bytes spaces/public/fonts/fa-solid-900.ttf | Bin 0 -> 388460 bytes spaces/public/fonts/fa-solid-900.woff2 | Bin 0 -> 154228 bytes spaces/public/fonts/fa-v4compatibility.ttf | Bin 0 -> 10556 bytes spaces/public/fonts/fa-v4compatibility.woff2 | Bin 0 -> 4960 bytes spaces/public/grid.stockholm.css.map | 1 + spaces/public/grid.stockholm.min.css | 16 + spaces/public/grid.stockholm.min.css.map | 7 + spaces/store/data.ts | 236 - spaces/stores/data.ts | 92 + tools/imapsync/index.mjs | 3 +- 46 files changed, 2889 insertions(+), 5793 deletions(-) create mode 100644 spaces/.npmrc create mode 100644 spaces/pages/banking/[account].vue create mode 100644 spaces/pages/banking/index.vue create mode 100644 spaces/pages/calendar/planningBoard.vue create mode 100644 spaces/pages/formSubmissions/[id].vue create mode 100644 spaces/pages/vendorinvoices/[id].vue delete mode 100644 spaces/pages/vendorinvoices/edit.vue create mode 100755 spaces/public/fonts/Roboto-Bold.woff create mode 100755 spaces/public/fonts/Roboto-Bold.woff2 create mode 100755 spaces/public/fonts/Roboto-Light.woff create mode 100755 spaces/public/fonts/Roboto-Light.woff2 create mode 100755 spaces/public/fonts/Roboto-Medium.woff create mode 100755 spaces/public/fonts/Roboto-Medium.woff2 create mode 100755 spaces/public/fonts/Roboto-Regular.woff create mode 100755 spaces/public/fonts/Roboto-Regular.woff2 create mode 100755 spaces/public/fonts/fa-brands-400.ttf create mode 100755 spaces/public/fonts/fa-brands-400.woff2 create mode 100755 spaces/public/fonts/fa-regular-400.ttf create mode 100755 spaces/public/fonts/fa-regular-400.woff2 create mode 100755 spaces/public/fonts/fa-solid-900.ttf create mode 100755 spaces/public/fonts/fa-solid-900.woff2 create mode 100755 spaces/public/fonts/fa-v4compatibility.ttf create mode 100755 spaces/public/fonts/fa-v4compatibility.woff2 create mode 100644 spaces/public/grid.stockholm.css.map create mode 100644 spaces/public/grid.stockholm.min.css create mode 100644 spaces/public/grid.stockholm.min.css.map delete mode 100644 spaces/store/data.ts create mode 100644 spaces/stores/data.ts diff --git a/.gitignore b/.gitignore index 2d23413..c67cfae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea /test/csvparser/data.csv /test/imaps/.env +/test/csvparser/node_modules/ diff --git a/docker-compose.yml b/docker-compose.yml index 73ad93a..72cfefb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,6 +23,14 @@ services: - "traefik.http.routers.spaces-frontend-secure.entrypoints=web-secured" # - "traefik.http.routers.spaces-frontend-secure.tls.certresolver=mytlschallenge" + imapsync: + image: registry.gitlab.com/cmykmedia/spaces:main-IMAPSYNC + restart: always + environment: + SUPABASE_URL: "https://uwppvcxflrcsibuzsbil.supabase.co" + SUPABASE_KEY: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InV3cHB2Y3hmbHJjc2lidXpzYmlsIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTcwMDkzODE5NCwiZXhwIjoyMDE2NTE0MTk0fQ.6hOkD1J8XBkVJUm-swv0ngLQ74xrEYr28EEbo0rUrts" + INTERVAL: 30 + # backend: # image: registry.gitlab.com/cmykmedia/manordsonne:master-BACKEND # restart: always diff --git a/spaces/.npmrc b/spaces/.npmrc new file mode 100644 index 0000000..094aec9 --- /dev/null +++ b/spaces/.npmrc @@ -0,0 +1 @@ +@bryntum:registry=https://npm.bryntum.com \ No newline at end of file diff --git a/spaces/app.vue b/spaces/app.vue index c9208cb..5b0f328 100644 --- a/spaces/app.vue +++ b/spaces/app.vue @@ -1,10 +1,99 @@ + + + + \ No newline at end of file diff --git a/spaces/pages/banking/index.vue b/spaces/pages/banking/index.vue new file mode 100644 index 0000000..9b6590c --- /dev/null +++ b/spaces/pages/banking/index.vue @@ -0,0 +1,103 @@ + + + + + \ No newline at end of file diff --git a/spaces/pages/calendar/planningBoard.vue b/spaces/pages/calendar/planningBoard.vue new file mode 100644 index 0000000..e8cc6db --- /dev/null +++ b/spaces/pages/calendar/planningBoard.vue @@ -0,0 +1,28 @@ + + + + + \ No newline at end of file diff --git a/spaces/pages/customers.vue b/spaces/pages/customers.vue index b77a844..8135ea9 100644 --- a/spaces/pages/customers.vue +++ b/spaces/pages/customers.vue @@ -1,5 +1,6 @@ + Projekt @@ -89,8 +89,11 @@ definePageMeta({ const supabase = useSupabaseClient() -const projects = (await supabase.from("projects").select()).data -const customers = (await supabase.from("customers").select()).data +const {projects,customers} = storeToRefs(useDataStore()) +const {fetchProjects} = useDataStore() + +//const projects = (await supabase.from("projects").select()).data +//const customers = (await supabase.from("customers").select()).data const showCreateProject = ref(false) const createProjectData = ref({ @@ -114,6 +117,8 @@ const createProject = async () => { showCreateProject.value = false createProjectData.value = {phases: []} + fetchProjects() + } diff --git a/spaces/pages/tasks.vue b/spaces/pages/tasks.vue index a140d46..27c81d2 100644 --- a/spaces/pages/tasks.vue +++ b/spaces/pages/tasks.vue @@ -1,5 +1,6 @@