Commit Graph

40 Commits

Author SHA1 Message Date
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
XD-DENG
dad7935b01 Minor changes 2017-07-08 01:20:50 +08:00
XD-DENG
c072aa771d For Private page, add feature 'take note'
This makes this app much more meaningful. For this feature, a new database table is added. More complicated logics are also needed, for example, we use hash(user ID + timestamp + note contant) as the unique id of each note (it's necessary when we try to delete a note)
2017-07-03 22:34:58 +08:00
XD-DENG
8ff8bb625c Refine layout template s.t. private/admin page hidden when not logged in 2017-07-03 19:58:46 +08:00
Xiaodong
023a149be9 Refine Variable name & Comment for better readibility (#1)
* Update app.py

* Update admin.html
2017-07-03 18:12:54 +08:00
XD-DENG
4a2b3fabab Refine logic adding new ID 2017-07-03 15:47:10 +08:00
XD-DENG
9ed5edf3ff [1]Minor UI Change;[2]Refine logic adding new ID 2017-07-03 15:22:00 +08:00
XD-DENG
1fe6aa8cbf Use theme united of bootstrap 2017-07-02 22:05:55 +08:00
XD-DENG
0744dde6c1 Add feature 'Collapsing The Navigation Bar'
This requires Jquery.js and bootstrap.js
2017-07-02 11:05:38 +08:00
XD-DENG
4109f47b7d Minor changes 2017-07-01 22:18:33 +08:00
XD-DENG
3d5f4e4c6b [1] Refine README; [2] Use default setting when run the app 2017-07-01 22:11:06 +08:00
XD-DENG
94a1a850b7 Minor changes 2017-07-01 22:06:05 +08:00
XD-DENG
22130539c3 [1] Refine; [2] Added README 2017-07-01 22:01:03 +08:00
XD-DENG
b34ba55cd2 initial commit 2017-07-01 18:37:53 +08:00