From 22b5e8f6f8bb93e5f851f782756be5cbe4cabfbe Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sun, 9 Jul 2023 10:41:40 +0200 Subject: [PATCH 1/6] rename ts files to js for webapp --- deployment/src/docker/maintenance.Dockerfile | 1 + deployment/src/docker/webapp.Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/deployment/src/docker/maintenance.Dockerfile b/deployment/src/docker/maintenance.Dockerfile index b699e7f20..95501252c 100644 --- a/deployment/src/docker/maintenance.Dockerfile +++ b/deployment/src/docker/maintenance.Dockerfile @@ -14,6 +14,7 @@ ARG CONFIGURATION=example # copy public constants into the Docker image to brand it COPY configurations/${CONFIGURATION}/branding/static/ static/ COPY configurations/${CONFIGURATION}/branding/constants/ constants/ +RUN /bin/sh -c 'cd constants && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done' # locales COPY configurations/${CONFIGURATION}/branding/locales/*.json locales/tmp/ diff --git a/deployment/src/docker/webapp.Dockerfile b/deployment/src/docker/webapp.Dockerfile index f0c75e392..d811219c3 100644 --- a/deployment/src/docker/webapp.Dockerfile +++ b/deployment/src/docker/webapp.Dockerfile @@ -14,6 +14,7 @@ ARG CONFIGURATION=example # copy public constants into the Docker image to brand it COPY configurations/${CONFIGURATION}/branding/static/ static/ COPY configurations/${CONFIGURATION}/branding/constants/ constants/ +RUN /bin/sh -c 'cd constants && for f in *.ts; do mv -- "$f" "${f%.ts}.js"; done' COPY configurations/${CONFIGURATION}/branding/locales/html/ locales/html/ COPY configurations/${CONFIGURATION}/branding/assets/styles/imports/ assets/styles/imports/ COPY configurations/${CONFIGURATION}/branding/assets/fonts/ assets/fonts/ From b90576689fe2f2639d5258bff8189210ff0d9e76 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sun, 9 Jul 2023 10:43:12 +0200 Subject: [PATCH 2/6] update stage.ocelot.social reference --- deployment/configurations/stage.ocelot.social | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/configurations/stage.ocelot.social b/deployment/configurations/stage.ocelot.social index 02ccccd38..350237c62 160000 --- a/deployment/configurations/stage.ocelot.social +++ b/deployment/configurations/stage.ocelot.social @@ -1 +1 @@ -Subproject commit 02ccccd38f72d5f0135234d7e77a030a086b7e8c +Subproject commit 350237c62dcff1a5c34f1e8d718f89b05ce3d33f From c2c96ee96c095689c75d64705bf1442a4e615128 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 10 Jul 2023 11:53:00 +0200 Subject: [PATCH 3/6] frontend rooms query, singleRoom gets an userid now, not a boolean --- webapp/components/Chat/Chat.vue | 97 +++++++++++++++++++++------------ webapp/graphql/Rooms.js | 17 ++++++ webapp/layouts/default.vue | 2 +- 3 files changed, 81 insertions(+), 35 deletions(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index c2b02c0af..6bbeb7c71 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -27,7 +27,7 @@