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 @@