From 63bf4c58ceeaf1d7e52099ed410ccd5a3ef4c785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justin=20Lex-Hammarskj=C3=B6ld?= <33381901+JustinLex@users.noreply.github.com> Date: Mon, 16 Jan 2023 09:31:30 +0100 Subject: [PATCH] Fix about link (#197) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix hotlinking to /about and /documents * Add Bänk to contributors * Bump version to 1.0.4 --- README.md | 3 +++ back/pyproject.toml | 2 +- back/tmeit_backend/app_root.py | 2 ++ deploy/kubernetes/tmeit-se/postgres/set_image_tag.json | 2 +- deploy/kubernetes/tmeit-se/run-migrations/set_image_tag.json | 2 +- deploy/kubernetes/tmeit-se/tmeit-app/set_image_tag.json | 2 +- deploy/kubernetes/tmeit-se/tmeit-worker/set_image_tag.json | 2 +- front/package.json | 2 +- 8 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f191f1a..2f768a4 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,9 @@ If you use this code in your own projects, you must share your source code, even * Justin Lex-Hammarskjöld (AKA "Lex") * Project leader, Architecture, Python code, Terraform & Kubernetes configuration * [Github](https://github.com/JustinLex) +* Sebastian Divander (AKA "Bänk") + * Lead frontend developer + * [Github](https://github.com/Sebbedi) * Axel Förshallen (AKA "Doggo") * Frontend forms, cookie handling, and API integration * [Github](https://github.com/axelf08) diff --git a/back/pyproject.toml b/back/pyproject.toml index acb297e..57c754c 100644 --- a/back/pyproject.toml +++ b/back/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tmeit_backend" -version = "1.0.3" +version = "1.0.4" description = "Python backend for the TMEIT website" authors = ["TraditionsMEsterIT"] license = "AGPL-3.0" diff --git a/back/tmeit_backend/app_root.py b/back/tmeit_backend/app_root.py index e97bd76..6dee19c 100644 --- a/back/tmeit_backend/app_root.py +++ b/back/tmeit_backend/app_root.py @@ -39,6 +39,8 @@ @app.get("/migrate/{uuid}") @app.get("/migrate/{uuid}/admin") @app.get("/migrating") +@app.get("/about") +@app.get("/documents") async def load_js_app(): return FileResponse('static/front/index.html') diff --git a/deploy/kubernetes/tmeit-se/postgres/set_image_tag.json b/deploy/kubernetes/tmeit-se/postgres/set_image_tag.json index bcbead5..89dac0c 100644 --- a/deploy/kubernetes/tmeit-se/postgres/set_image_tag.json +++ b/deploy/kubernetes/tmeit-se/postgres/set_image_tag.json @@ -2,6 +2,6 @@ { "op": "replace", "path": "/spec/jobTemplate/spec/template/spec/containers/0/image", - "value": "ghcr.io/tmeit/db-backup-agent:1.0.3" + "value": "ghcr.io/tmeit/db-backup-agent:1.0.4" } ] \ No newline at end of file diff --git a/deploy/kubernetes/tmeit-se/run-migrations/set_image_tag.json b/deploy/kubernetes/tmeit-se/run-migrations/set_image_tag.json index 7e2bea6..807e506 100644 --- a/deploy/kubernetes/tmeit-se/run-migrations/set_image_tag.json +++ b/deploy/kubernetes/tmeit-se/run-migrations/set_image_tag.json @@ -2,6 +2,6 @@ { "op": "replace", "path": "/spec/template/spec/containers/0/image", - "value": "ghcr.io/tmeit/tmeit-run-migrations:1.0.3" + "value": "ghcr.io/tmeit/tmeit-run-migrations:1.0.4" } ] \ No newline at end of file diff --git a/deploy/kubernetes/tmeit-se/tmeit-app/set_image_tag.json b/deploy/kubernetes/tmeit-se/tmeit-app/set_image_tag.json index 809b889..3aad02a 100644 --- a/deploy/kubernetes/tmeit-se/tmeit-app/set_image_tag.json +++ b/deploy/kubernetes/tmeit-se/tmeit-app/set_image_tag.json @@ -2,6 +2,6 @@ { "op": "replace", "path": "/spec/template/spec/containers/0/image", - "value": "ghcr.io/tmeit/tmeit-app:1.0.3" + "value": "ghcr.io/tmeit/tmeit-app:1.0.4" } ] \ No newline at end of file diff --git a/deploy/kubernetes/tmeit-se/tmeit-worker/set_image_tag.json b/deploy/kubernetes/tmeit-se/tmeit-worker/set_image_tag.json index ed0b9a3..9fabac7 100644 --- a/deploy/kubernetes/tmeit-se/tmeit-worker/set_image_tag.json +++ b/deploy/kubernetes/tmeit-se/tmeit-worker/set_image_tag.json @@ -2,6 +2,6 @@ { "op": "replace", "path": "/spec/template/spec/containers/0/image", - "value": "ghcr.io/tmeit/tmeit-worker:1.0.3" + "value": "ghcr.io/tmeit/tmeit-worker:1.0.4" } ] \ No newline at end of file diff --git a/front/package.json b/front/package.json index e0232b7..31ac86f 100644 --- a/front/package.json +++ b/front/package.json @@ -3,7 +3,7 @@ "sideEffects": [ "*.css" ], - "version": "1.0.3", + "version": "1.0.4", "description": "Front-end for the TMEIT website.", "main": "index.js", "scripts": {