From a56b298582b7683798a82383c23485702629e4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bendeg=C3=BAz=20Gy=C3=B6nki?= Date: Sun, 29 Nov 2020 22:34:58 +0100 Subject: [PATCH] Updated Developer documentation (markdown) --- Developer-documentation.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Developer-documentation.md b/Developer-documentation.md index e62914a..fd7c937 100644 --- a/Developer-documentation.md +++ b/Developer-documentation.md @@ -133,4 +133,12 @@ This module provides the web UI for the users. ## Trying out our webshop Since our webshop is a modern web application, it has quite a few dependencies. To make trying it out easier, we deployed the web application to our own secure Kubernetes cluster. It is available at [unstablevortex.kmlabz.com](https://unstablevortex.kmlabz.com). -The application connects to every dependency (Minio, CAFF previewer wrapper, SMTP and PostgreSQL server) over TLS and the configuration environment variables are stored in [Vault](https://www.vaultproject.io/docs/what-is-vault). \ No newline at end of file +The application connects to every dependency (Minio, CAFF previewer wrapper, SMTP and PostgreSQL server) over TLS and the configuration environment variables are stored in [Vault](https://www.vaultproject.io/docs/what-is-vault). + +## Integrity checking + +The function that is responsible for the preview creation (`create_caff_preview` in `src/utils/caff_previewer.py`) validates the response for the following: + +- integrity (2-way) +- MIME type +- size \ No newline at end of file