Compare commits

..

145 Commits

Author SHA1 Message Date
ec52ebffa5 Finesse log in form css 2021-12-07 12:39:29 +00:00
7d287874cd Finessed remaining block question counter 2021-12-07 12:27:06 +00:00
78e4afdc71 Correcting an error 2021-12-07 07:24:39 +00:00
11e740ea44 Finesse cookie dismiss button 2021-12-07 07:22:11 +00:00
cc995925bb Finesse cookie consent display 2021-12-07 07:09:28 +00:00
757425494f removed fake link 2021-12-07 07:04:58 +00:00
6d887f1bfd Fixed subject-verb disagreement 2021-12-07 07:00:44 +00:00
877b191a38 Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test 2021-12-07 06:55:50 +00:00
30175355a6 Technical issues help email 2021-12-07 06:46:34 +00:00
27a58acc73 Remove personal data from document 2021-12-07 06:42:46 +00:00
ae31b2592e Removed email address 2021-12-07 06:40:57 +00:00
94c61f8d8a Merge branch 'master' of ssh://git.vsnt.uk:2222/viveksantayana/ska-referee-test
Sync
2021-12-07 06:38:54 +00:00
3781e80fc5 Started drafting documentation 2021-12-07 06:38:43 +00:00
1873772167 Better precision in expiring quizzes 2021-12-07 00:08:01 +00:00
957e6f02d6 Better precision in expiring quizzes 2021-12-07 00:08:01 +00:00
183aeac9ee Updated test expiry 2021-12-06 23:37:16 +00:00
d5559c499d Updated test expiry 2021-12-06 23:37:16 +00:00
e1a90d5f64 Corrected bug in exam display 2021-12-06 23:24:57 +00:00
72cd18b76f Corrected bug in exam display 2021-12-06 23:24:57 +00:00
7b2a2ce90c I am bad at debugging. 2021-12-06 23:19:13 +00:00
091fdbe891 I am bad at debugging. 2021-12-06 23:19:13 +00:00
cc45bf7acd Close Quiz function 2021-12-06 23:16:33 +00:00
eeaf676ee6 Close Quiz function 2021-12-06 23:16:33 +00:00
af9801ac24 Remove redundant file 2021-12-06 22:54:40 +00:00
df54ca7ff3 Remove redundant file 2021-12-06 22:54:40 +00:00
536e1fe426 Merge branch 'master' of ssh://git.vsnt.uk:2222/viveksantayana/ska-referee-test 2021-12-06 22:54:02 +00:00
4c5aa66d8e Merge branch 'master' of ssh://git.vsnt.uk:2222/viveksantayana/ska-referee-test 2021-12-06 22:54:02 +00:00
96cca77b2f This fixes it, hopefully 2021-12-06 22:47:54 +00:00
9ea336b5c2 This fixes it, hopefully 2021-12-06 22:47:54 +00:00
673ccbcb9c And again 2021-12-06 22:26:48 +00:00
a5dedc145c And again 2021-12-06 22:26:48 +00:00
21641ce21f Trying to fix it again 2021-12-06 22:24:34 +00:00
abe515b586 Trying to fix it again 2021-12-06 22:24:34 +00:00
7874d3f99f I am really bad at fixing bugs 2021-12-06 22:20:27 +00:00
8ccd34611e I am really bad at fixing bugs 2021-12-06 22:20:27 +00:00
d0232557bc More Bug Fixes 2021-12-06 22:17:52 +00:00
663b976b3b More Bug Fixes 2021-12-06 22:17:52 +00:00
20f580d6a6 Bugfix: lack of submission time in detailed result 2021-12-06 22:11:16 +00:00
2b6b5d8f73 Bugfix: lack of submission time in detailed result 2021-12-06 22:11:16 +00:00
198e2cecb0 OG Meta and navbar bug fix 2021-12-06 21:58:51 +00:00
8df4583ee0 OG Meta and navbar bug fix 2021-12-06 21:58:51 +00:00
2641b3e060 Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test 2021-12-06 21:53:00 +00:00
843ed247b6 Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test 2021-12-06 21:53:00 +00:00
e7077cd193 OG and Cookie settings 2021-12-06 21:51:29 +00:00
d4f59769c6 OG and Cookie settings 2021-12-06 21:51:29 +00:00
fbe19e43f7 Bugfixes: case sensitivity, percent sign rendering
Temporary work-around: disabled client navbar home link to prevent exit
2021-12-06 21:47:02 +00:00
9a5e24d362 Bugfixes: case sensitivity, percent sign rendering
Temporary work-around: disabled client navbar home link to prevent exit
2021-12-06 21:47:02 +00:00
372333cd84 Proxy Fix 2021-12-06 20:10:27 +00:00
352c89d69f Proxy Fix 2021-12-06 20:10:27 +00:00
Vivek Santayana
ca1a6efd57 Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test
Fix config
2021-12-06 19:22:06 +00:00
Vivek Santayana
8675e78082 Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test
Fix config
2021-12-06 19:22:06 +00:00
cc466f4a20 Updated config 2021-12-06 19:21:45 +00:00
37ab26e72a Updated config 2021-12-06 19:21:45 +00:00
Vivek Santayana
039b58709e Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test
Pull icons
2021-12-06 18:59:05 +00:00
Vivek Santayana
3dc7b1f74b Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test
Pull icons
2021-12-06 18:59:05 +00:00
eb9ca82cb3 Favicons and OG Meta 2021-12-06 18:58:42 +00:00
cd7005d713 Favicons and OG Meta 2021-12-06 18:58:42 +00:00
Vivek Santayana
d25dc5ed45 Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test
Download fonts and remove private files
2021-12-06 18:06:47 +00:00
Vivek Santayana
9d0ae15f74 Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test
Download fonts and remove private files
2021-12-06 18:06:47 +00:00
50cff0245f Uploading Fonts 2021-12-06 18:06:11 +00:00
02e4e0dc1c Uploading Fonts 2021-12-06 18:06:11 +00:00
Vivek Santayana
7f7a783c8a Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test 2021-12-06 18:02:59 +00:00
Vivek Santayana
88836296b8 Merge branch 'master' of https://git.vsnt.uk/viveksantayana/ska-referee-test 2021-12-06 18:02:59 +00:00
207f748c93 Correct error 2021-12-06 16:56:54 +00:00
8503dc230d Correct error 2021-12-06 16:56:54 +00:00
2c0dcd8661 Added correct answer view 2021-12-06 13:44:40 +00:00
ec1de247c9 Added correct answer view 2021-12-06 13:44:40 +00:00
05ec62994e Added individual result correct/incorrect flag 2021-12-06 13:42:26 +00:00
76d9031cb0 Added individual result correct/incorrect flag 2021-12-06 13:42:26 +00:00
e69c79df52 Added Certbot and Nginx to Docker stack 2021-12-06 13:39:06 +00:00
8a4ae4cb91 Added Certbot and Nginx to Docker stack 2021-12-06 13:39:06 +00:00
ea4edf71ba Nginx Server 2021-12-06 13:29:20 +00:00
e4ca12bc0f Nginx Server 2021-12-06 13:29:20 +00:00
ca25159830 Dockerised. Restructured to remove circular import
Moved most of app definitions out of guard function to use wsgi
Updated configuration files and referencing of .env values.
Local version needs dotenv or exporting of env variables.
Dockerised version works fine without load_dotenv.
Ready to test now!
2021-12-05 03:49:31 +00:00
cb0e4ed4e6 Dockerised. Restructured to remove circular import
Moved most of app definitions out of guard function to use wsgi
Updated configuration files and referencing of .env values.
Local version needs dotenv or exporting of env variables.
Dockerised version works fine without load_dotenv.
Ready to test now!
2021-12-05 03:49:31 +00:00
e53d7ef230 dockerise 2021-12-05 00:17:54 +00:00
e7da288904 dockerise 2021-12-05 00:17:54 +00:00
eb6395a793 Deleted redundant variable assignment 2021-12-04 21:29:15 +00:00
cd98763937 Deleted redundant variable assignment 2021-12-04 21:29:15 +00:00
dc934f10ee Updated footer, added question counters. 2021-12-04 21:25:43 +00:00
7c8308a294 Updated footer, added question counters. 2021-12-04 21:25:43 +00:00
c00a465410 Finished making dashboards 2021-12-04 20:47:43 +00:00
9e6990e145 Finished making dashboards 2021-12-04 20:47:43 +00:00
81a4d5dbda Added question progress bar 2021-12-04 18:50:09 +00:00
5160935096 Added question progress bar 2021-12-04 18:50:09 +00:00
2799190b97 Added custom 404 display and login redirect 2021-12-04 17:40:01 +00:00
eea99b9466 Added custom 404 display and login redirect 2021-12-04 17:40:01 +00:00
2ba8980dd8 Completed client side time adjustment handling
Corrected error display bug
Removed redundant auth and models in quiz client app
2021-12-04 17:14:28 +00:00
85c965bf92 Completed client side time adjustment handling
Corrected error display bug
Removed redundant auth and models in quiz client app
2021-12-04 17:14:28 +00:00
c7185f24d4 Added server and admin-side time limit adjustments 2021-12-04 15:41:47 +00:00
5b740768f4 Added server and admin-side time limit adjustments 2021-12-04 15:41:47 +00:00
6b01841529 Refactored form model for custom validators 2021-12-04 15:41:24 +00:00
707398eae2 Refactored form model for custom validators 2021-12-04 15:41:24 +00:00
c7ca26202e Typo correction 2021-12-04 12:48:01 +00:00
b92b1c7c32 Typo correction 2021-12-04 12:48:01 +00:00
048d06ca14 Added results CRUD and result detailed view 2021-12-04 12:20:03 +00:00
56a351bbb2 Added results CRUD and result detailed view 2021-12-04 12:20:03 +00:00
f086a6e32b Streamlined post form handlers for admin console 2021-12-01 08:26:08 +00:00
0a106cb952 Streamlined post form handlers for admin console 2021-12-01 08:26:08 +00:00
34e82de922 Added footer text to quiz site. 2021-12-01 01:00:53 +00:00
40cd1de89f Added footer text to quiz site. 2021-12-01 01:00:53 +00:00
7ba1f22ad7 Added result page. 2021-12-01 00:48:47 +00:00
46604b755b Added result page. 2021-12-01 00:48:47 +00:00
848aa88dac Finessing of client. 2021-12-01 00:48:38 +00:00
4d64f290ad Finessing of client. 2021-12-01 00:48:38 +00:00
bcafc8f545 Finessing display on index and instruction pages 2021-12-01 00:48:05 +00:00
8d95b7d795 Finessing display on index and instruction pages 2021-12-01 00:48:05 +00:00
3d274c8189 Set timer to be hidden by default
Swapped default behaviour of timer around.
2021-12-01 00:47:19 +00:00
9562bd6936 Set timer to be hidden by default
Swapped default behaviour of timer around.
2021-12-01 00:47:19 +00:00
2ba5df152a Added text to index and instruction pages. 2021-12-01 00:46:41 +00:00
f014d30a11 Added text to index and instruction pages. 2021-12-01 00:46:41 +00:00
c57461f118 Added automated email notification of results. 2021-12-01 00:46:21 +00:00
e85c910910 Added automated email notification of results. 2021-12-01 00:46:21 +00:00
3d5939ed9c Corrected missing assignment of variable 2021-12-01 00:45:56 +00:00
b1862e2a3f Corrected missing assignment of variable 2021-12-01 00:45:56 +00:00
4c0a1c8f3f Corrected doubled import 2021-12-01 00:45:20 +00:00
794c39ec41 Corrected doubled import 2021-12-01 00:45:20 +00:00
cc0398f878 Exam Code Time Controls 2021-11-30 18:16:52 +00:00
5023aaae75 Exam Code Time Controls 2021-11-30 18:16:52 +00:00
c1068acbf7 Finished client result API.
Need to work on adjustment user codes and server email notifications.
2021-11-30 18:06:24 +00:00
ac81dc2099 Finished client result API.
Need to work on adjustment user codes and server email notifications.
2021-11-30 18:06:24 +00:00
eca2165247 Built client interface 2021-11-30 03:11:28 +00:00
213a0423d4 Built client interface 2021-11-30 03:11:28 +00:00
ef7c2f8271 Added CSRF protection to all ajax requests 2021-11-29 09:13:21 +00:00
f934208082 Added CSRF protection to all ajax requests 2021-11-29 09:13:21 +00:00
47e69da60b Added question generating API 2021-11-28 18:17:50 +00:00
d4dbaa4d48 Added question generating API 2021-11-28 18:17:50 +00:00
96a8c8da6c Added functionality for default datasets.
Incorporated dataset selector into test creation.
2021-11-28 17:28:14 +00:00
9906d82261 Added functionality for default datasets.
Incorporated dataset selector into test creation.
2021-11-28 17:28:14 +00:00
60b6a462c8 Finished data upload
Refactored to move security package inside common
Moved data folder to process root.
2021-11-28 02:30:46 +00:00
059dca4a40 Finished data upload
Refactored to move security package inside common
Moved data folder to process root.
2021-11-28 02:30:46 +00:00
6e463ca588 Refactor to have all models in the models package. 2021-11-25 23:21:48 +00:00
e53373ab99 Refactor to have all models in the models package. 2021-11-25 23:21:48 +00:00
d3df5fe2d3 Quiz registration form 2021-11-25 23:12:20 +00:00
857fa72feb Quiz registration form 2021-11-25 23:12:20 +00:00
bf18944761 Finished delete and data table fiew for tests 2021-11-25 20:12:50 +00:00
6cecb49d50 Finished delete and data table fiew for tests 2021-11-25 20:12:50 +00:00
f68571900e Working version of test tables 2021-11-25 10:34:01 +00:00
1d9d7853bd Working version of test tables 2021-11-25 10:34:01 +00:00
2f45e58369 Building new test form
Added CRUD for tests
2021-11-24 17:17:56 +00:00
f771c19d99 Building new test form
Added CRUD for tests
2021-11-24 17:17:56 +00:00
c3c6da1acc Deleted user views registration 2021-11-23 14:53:58 +00:00
035b78a656 Deleted user views registration 2021-11-23 14:53:58 +00:00
93367b6e70 Finished most of admin console
Basic CRUD operations for managing registered admin users
Encrypted personal information
Still missing sections on managing tests and results
Also missing dashboards/index/category landing pages
2021-11-23 13:00:03 +00:00
c6a6ed963e Finished most of admin console
Basic CRUD operations for managing registered admin users
Encrypted personal information
Still missing sections on managing tests and results
Also missing dashboards/index/category landing pages
2021-11-23 13:00:03 +00:00

78
docker-compose.yml Normal file
View File

@ -0,0 +1,78 @@
version: '3.9'
services:
ref_test_server:
container_name: ref_test_server
image: nginx:1.21.4-alpine
volumes:
- ./certbot:/etc/letsencrypt:ro
- ./nginx:/etc/nginx
- ./src/html:/usr/share/nginx/html/
- ./ref-test/admin/static:/usr/share/nginx/html/admin/static
- ./ref-test/quiz/static:/usr/share/nginx/html/quiz/static
ports:
- 80:80
- 443:443
restart: unless-stopped
networks:
- frontend
depends_on:
- ref_test_app
ref_test_app:
container_name: ref_test_app
build: ./ref-test
volumes:
- ./ref-test:/ref-test
env_file:
- ./.env
ports:
- 5000
restart: unless-stopped
networks:
- frontend
- backend
depends_on:
- ref_test_db
- ref_test_postfix
ref_test_db:
container_name: ref_test_db
image: mongo:5.0.4-focal
restart: unless-stopped
volumes:
- ./database/data:/data
- ./database/initdb.d/:/docker-entrypoint-initdb.d/
env_file:
- ./.env
ports:
- 27017
networks:
- backend
ref_test_postfix:
container_name: ref_test_postfix
image: catatnight/postfix:latest
restart: unless-stopped
env_file:
- ./.env
ports:
- 25
networks:
- backend
ref_test_certbot:
container_name: ref_test_certbot
image: certbot/certbot:v1.21.0
volumes:
- ./certbot:/etc/letsencrypt
- ./src/html:/var/www/html
depends_on:
- ref_test_server
# command: certonly --webroot --webroot-path=/var/www/html --email vsdomainmanager@gmail.com --agree-tos --no-eff-email -d reftest.vsnt.uk
networks:
frontend:
external: false
backend:
external: false