63 Commits

Author SHA1 Message Date
Chris Sanden
00c5d0bc4b Updated README to accurately reflect the repo 2026-05-13 16:38:46 +02:00
Chris Sanden
b4f997b15c Significantly enhanced testing suite to 69% coverage and updated gitignore 2026-05-13 16:14:36 +02:00
Chris Sanden
5ec8796ae4 added a conservative dockerignore 2026-05-13 15:42:00 +02:00
Henrik Corneliussen
a1c4bfb693 Added automated test coverage 2026-05-08 19:05:56 +02:00
Teodor
18a20c77a7 Completed PostGreSQL support for staging and production 2026-05-08 17:46:14 +02:00
Henrik Corneliussen
0706172e5e Added postgres database to production and staging 2026-05-08 16:54:29 +02:00
Henrik Corneliussen
0fa18ecf4f test 2026-05-08 16:11:08 +02:00
Henrik Corneliussen
827049956a added automatic production 2026-05-08 16:08:33 +02:00
Henrik Corneliussen
382f8fb1f1 test build 2026-05-08 15:59:13 +02:00
Henrik Høie Corneliussen
ce0f1b0921 Edit service.yaml 2026-05-08 13:54:18 +00:00
Henrik Høie Corneliussen
c7f02fcdd6 Edit namespace.yaml 2026-05-08 13:53:45 +00:00
Henrik Høie Corneliussen
7d3f3ced9b fixed namespace, image, and added secret 2026-05-08 13:44:09 +00:00
Teodor
7499fd3f45 use custom runner for stage deployment 2026-05-08 15:22:19 +02:00
Teodor
bb65ddd76b Removed debug 2026-05-07 19:11:08 +02:00
Teodor
89d085b1a4 Debug GitLab runner access 2026-05-07 19:06:19 +02:00
Teodor
2382ca64ad validation false test 2026-05-07 18:45:16 +02:00
Teodor
c67720a2b1 Fixed naming issue 2026-05-07 18:25:02 +02:00
Teodor
74468e41ea Merge branch 'main' of gitlab.internal.uia.no:ikt206-g-26v-devops/Group23/flask 2026-05-07 18:21:55 +02:00
Teodor
b7e74c6896 Added deploy to stage 2026-05-07 18:21:44 +02:00
Henrik Høie Corneliussen
a1b86980cc changed name to manifests as thats more accurate 2026-05-07 16:18:32 +00:00
Teodor
54455f15a7 Merge branch 'main' of gitlab.internal.uia.no:ikt206-g-26v-devops/Group23/flask 2026-05-07 02:29:38 +02:00
Teodor
81f00dd9c8 added secrets 2026-05-07 02:29:21 +02:00
Teodor Salvesen
469acd4398 Edit deployment.yaml 2026-05-07 00:08:24 +00:00
Henrik Høie Corneliussen
561940a4b2 Edit deployment.yaml 2026-05-06 23:50:20 +00:00
Henrik Høie Corneliussen
fb13f54189 Edit deployment.yaml 2026-05-06 23:49:56 +00:00
Teodor
faf94a5e68 fixed image issue 2026-05-07 01:45:43 +02:00
Teodor
0362439006 Merge branch 'main' of gitlab.internal.uia.no:ikt206-g-26v-devops/Group23/flask 2026-05-07 01:35:54 +02:00
Teodor
1989144c2a staging changes 2026-05-07 01:35:30 +02:00
Henrik Høie Corneliussen
dc8941259f Edit deployment.yaml 2026-05-06 23:33:22 +00:00
Henrik Corneliussen
e5e5555730 Production files created 2026-05-07 01:05:55 +02:00
Teodor
4a4f6bf2bc Added staging 2026-05-07 00:41:00 +02:00
Henrik Corneliussen
acc5363c70 Adding container registry images pushd via automation from ci file 2026-05-07 00:25:04 +02:00
Teodor
9366b19edd Switched to using kaniko 2026-05-07 00:19:44 +02:00
Teodor
d5b868d726 Added docker image build 2026-05-07 00:11:50 +02:00
Teodor
5c04cc0783 Added .gitlab-ci.yml 2026-05-06 23:40:10 +02:00
Henrik Corneliussen
d7544c2156 New commit with working container containing functional flask running 2026-05-06 23:24:57 +02:00
Teodor Salvesen
ebcd2d5e43 Merge branch 'master' into 'main'
.Add feature 'Collapsing The Navigation Bar'

See merge request ikt206-g-26v-devops/Group23/flask!1
2026-05-06 20:09:00 +00:00
Henrik Høie Corneliussen
d4575644b4 Delete README.md 2026-05-06 20:08:11 +00:00
Teodor Salvesen
2df644df4a Initial commit 2026-05-06 20:00:38 +00:00
Yannik
a7381d5257 Use prepared statements for SQL Delete commands (#17) 2024-03-05 15:10:42 -08:00
uday-globuslive
b719e86cc1 Update requirements.txt (#10)
To fix the below error:

https://github.com/aws-samples/amazon-ecs-mythicalmysfits-workshop/issues/49
2022-03-12 21:38:59 +01:00
Ilya Patrzykat-Hannas
48942f9e4a Initializing flash messages and adding url_for() in templates (#9)
* adding url_for to prevent errors when changing routes

* Update layout.html

* Update app.py
2021-05-03 07:29:46 +02:00
Ilya Patrzykat-Hannas
02c7b295c4 Small spelling correction (#8) 2021-05-02 11:33:32 +02:00
Nikolay Chechulin
cad9045fff Add requirements (#7) 2020-11-08 21:16:03 +01:00
Argha-Nilanjon-Nondi
b5b308380c Prettify sql statement (#5) 2020-10-18 19:15:47 +02:00
XD-DENG
793c1fa130 1. use .encode(); 2. use placeholder for SQL INSERT
1. this makes the code able to run on both Python 2 and 3 (previous version only support 2);

2. Use placeholder to prepare SQL INSERT statement. This is much more proper than using .format to prepare the statement. One obvious advantage is it can handle single/double quotations marks very perfectly. The previou version will fail if there is single quotation mark in the values that I'm going to insert.
2018-04-17 22:09:38 +08:00
XD-DENG
7385cb4add Minor change to support Chinese character in note feature 2017-07-30 12:19:01 +08:00
XD-DENG
961f17c2f5 Ensure image files & Record can be cleaned when a user is removed 2017-07-08 11:39:59 +08:00
XD-DENG
4b693ddb69 User can delete the image they uploaded 2017-07-08 11:22:21 +08:00
XD-DENG
0e73da4df9 Add 'Image Upload' Feature
Each user can upload image to the system. The images from different users where be separated.
2017-07-08 11:02:46 +08:00