Commit Graph

328 Commits

Author SHA1 Message Date
df3149abba Exception to cookie consent check for view/static 2022-08-19 13:29:29 +01:00
7ab87c2966 Exception handling for database commit operations 2022-08-19 13:25:20 +01:00
f4f501def5 Deleted redundant line 2022-08-19 13:24:54 +01:00
1c57950558 Exception handling and logging for SMTP errors
Should mitigate internal server errors if SMTP server fails.
2022-08-19 12:07:38 +01:00
f132cdbeef Updated dependencies 2022-08-19 12:03:20 +01:00
be5343a4bd Added decorator to test availability of datasets
Used decorator tool to validate dataset exists on views
2022-08-17 16:37:03 +01:00
2da8eb7712 Added cross-reference to question viewer
Changed question number countint to be consistent with viewer
2022-08-17 16:36:16 +01:00
3a0abaac6a Stylistic change of name dataset to questions 2022-08-17 16:35:22 +01:00
b15f76701e Code clean up: redundant semicolons
Made variable declaration style in for loops consistent
2022-08-17 16:34:59 +01:00
02290e968c Added question viewer functionality
Added view questions panel to editor interface
Added view questions section of web site
Added links to navbars
2022-08-17 16:32:58 +01:00
615e59fc6d Updated form error handling 2022-08-11 16:58:00 +01:00
68314a4ed2 Add handling of anonymous user when updating account 2022-08-11 16:28:47 +01:00
b90761fd2c Simplify variabe nale 2022-08-11 16:28:13 +01:00
af03193217 Change user variable name 2022-08-11 16:13:31 +01:00
730a75c44d Bugfix: reset password 2022-08-11 16:05:28 +01:00
70883db5ad Changed dockerignore stricture 2022-08-11 13:09:41 +01:00
7cefb487da Bugfix: reset password 2022-08-11 13:09:34 +01:00
2e1b01ec9b Bugfix: reset password 2022-08-11 13:02:55 +01:00
a7a5a03991 Consistency in paths for templates 2022-08-11 13:02:41 +01:00
b36c6bfd18 Bugfix: reset password 2022-08-11 12:51:17 +01:00
a613b0006b Bugfix: password reset 2022-08-11 12:44:42 +01:00
d4db8692e7 Remove debug line 2022-08-11 12:13:33 +01:00
37ad36da31 Add debug for email reset 2022-08-11 11:42:50 +01:00
d140f93d25 Bugfix: hude club field when empty 2022-08-11 11:41:57 +01:00
26a6248a61 Tidied up nnecessary imports 2022-08-11 11:39:53 +01:00
9f8ea16974 Bugfix: button display 2022-08-11 11:01:29 +01:00
bc5ec44145 Bugfix default datetime 2022-08-11 10:59:12 +01:00
ff5b19fa0b Editing text: remove repetition 2022-08-11 10:24:15 +01:00
6c50be49c6 Bugfix: default time for exam creation 2022-08-11 10:23:40 +01:00
9e1c9caec6 Updated config to have defaults for keys
Removed abstraction of data location for image build
2022-06-22 11:56:36 +01:00
ea850c9ae2 Added defaults for config keys to avoid exceptions 2022-06-22 11:45:37 +01:00
591b868920 Separated install script to avoid launch errors 2022-06-22 11:20:30 +01:00
5d27baee08 Editor flash message bugfix 2022-06-22 10:46:43 +01:00
efab086057 Gitignore bugfix 2022-06-22 09:31:16 +01:00
06db47c597 Push production version to Master 2022-06-22 02:01:34 +01:00
c04c824585 Editor client javascript and css 2022-06-22 01:58:36 +01:00
8eb7fb6869 Cleaned unnecessary import 2022-06-22 01:58:17 +01:00
db88b84ecb Added editor home page form 2022-06-22 01:57:58 +01:00
13c587b7da Added Editor api views 2022-06-22 01:57:45 +01:00
2b2a6ddd25 Updated json structure validation
Only works with the data list
File parsed in the View layer
2022-06-22 01:57:03 +01:00
26a6b45d75 Added dataset name support 2022-06-22 01:56:13 +01:00
c6c62fc34c Changed the layer at which json files are parsed
Updated dataset database model
Updated create and edit function to use data list instead of file
2022-06-22 01:55:55 +01:00
6bbdb8fced Corrected timestamping 2022-06-22 01:54:53 +01:00
c633a474b5 Updated dataset edit button handlers 2022-06-22 01:54:40 +01:00
5af99d85b5 Added editor link to navbar 2022-06-22 01:54:00 +01:00
1e7124262e Added support for dataset names 2022-06-22 01:53:46 +01:00
2f509af1de Added redirect on login to previous page 2022-06-22 01:53:06 +01:00
3c8c1b5c16 Finished making editor console 2022-06-22 01:52:40 +01:00
3988559920 Cleaned up unused file 2022-06-22 01:47:07 +01:00
86d1522ca1 Rectified editor script 2022-06-21 02:47:09 +01:00
bc3b811fc9 Finished designing the editor console 2022-06-21 02:44:23 +01:00
39acebb3a6 Make config production ready 2022-06-20 12:28:31 +01:00
a02a58a8db Editor styling 2022-06-20 12:22:29 +01:00
7bb93afacb Merge branch 'master' into editor 2022-06-20 12:16:25 +01:00
2663d5e3b7 Tidied up unused imports 2022-06-20 12:15:28 +01:00
d83999aa43 Merge branch 'master' into editor 2022-06-20 12:13:09 +01:00
6a09559b70 Database URI absolute path fix 2022-06-20 12:10:52 +01:00
26227a66c5 App Factory pattern 2022-06-20 12:10:37 +01:00
d6836915bb Prevent edit user from duplicating email address 2022-06-20 12:09:31 +01:00
49a7fb1007 More elegant error handling 2022-06-20 11:27:05 +01:00
90bc30757a Added local server for development 2022-06-20 11:26:44 +01:00
d8d5e92453 Merge branch 'master' into editor 2022-06-19 13:25:02 +01:00
12207d1159 Changed modules to extensions 2022-06-19 13:22:24 +01:00
ac02f4dee1 Changed structure of referencing data 2022-06-19 13:22:05 +01:00
8d91dd1d30 Merge branch 'master' into editor 2022-06-19 11:21:22 +01:00
76fa1e1dd9 Removed todo tags 2022-06-19 11:17:21 +01:00
6d5f74bd62 Tidied up code 2022-06-19 11:17:00 +01:00
2e00d503c8 Added detailed data validation 2022-06-19 11:13:47 +01:00
4ce6536e33 Added detailed data validation 2022-06-19 10:48:17 +01:00
33bc7993fa Edited base template to set up Editor scripts/css 2022-06-19 10:47:50 +01:00
645f69440f Added templates and static files for editor 2022-06-18 09:53:36 +01:00
c197f6cb76 Base editor template 2022-06-18 09:43:07 +01:00
bed186f6b5 Create editor files 2022-06-18 09:39:31 +01:00
516c2cdf81 Buxfix: static folders bypass cookie consent 2022-06-18 09:26:05 +01:00
17b985d238 Bugfix: 404 errors with request.endpoint
Fixed static folder 404 errors
2022-06-18 02:18:07 +01:00
69a0791a6d Bug fixes to main branch 2022-06-18 02:11:29 +01:00
225ef71518 Added conditional env loading.
Making it work in both dev and production without changing .env files.
2022-06-17 01:10:11 +01:00
647d156802 Dotenv production setting 2022-06-16 15:20:54 +01:00
08a140a73b Finished common section of app 2022-06-16 15:19:26 +01:00
a8a01e17da Updated wsgi 2022-06-16 14:19:04 +01:00
3f59d1b1b7 Debug time limit handling 2022-06-16 14:15:18 +01:00
5123365567 Debug password reset methods 2022-06-16 14:14:21 +01:00
d0166f0901 Debug html formatting 2022-06-16 14:13:25 +01:00
f6231dc779 Debug password reset url 2022-06-16 14:13:07 +01:00
5c8435d39e Added cookie consent 2022-06-16 13:22:06 +01:00
e264b808fc Added email notifications 2022-06-16 12:46:03 +01:00
4b08c830a1 Finished quiz and debugging 2022-06-16 10:44:48 +01:00
b9d45f94fe Finished Quiz Console 2022-06-16 01:03:06 +01:00
2ea778143e Finished admin console 2022-06-15 23:54:44 +01:00
62160beab2 Restored static and template files 2022-06-15 11:43:04 +01:00
1a7983052f Finished common views 2022-06-15 11:33:09 +01:00
a1bee61679 Completed admin views
Corrected model method return values
2022-06-15 11:23:38 +01:00
126bf9203c Added a whole lot of views.
Finished quiz API views
Finished question generator and answer eval
2022-06-14 22:55:11 +01:00
a58f267586 Added more views 2022-06-12 22:48:13 +01:00
22878b5398 Added relationships between database models 2022-06-12 21:20:09 +01:00
52b44128fa Tool function to parse test codes 2022-06-12 21:04:21 +01:00
8439d99949 Added models and views 2022-06-12 21:03:51 +01:00
66e7b2b9f8 Views into module 2022-06-12 21:02:22 +01:00
9459b93c9b Re-organised admin views into single module 2022-06-12 21:01:03 +01:00
09e444344d Importing models to create database 2022-06-12 20:53:03 +01:00