Commit Graph

26 Commits

Author SHA1 Message Date
ac9b165ca0 Add login with Google 2023-11-08 20:15:37 -08:00
9da0104e73 Change the next question routes to include a no content status code 2021-08-30 17:01:49 -07:00
5519b04a46 Add buttons to go to the next/previous question 2021-08-29 22:04:15 -07:00
965cd99aeb Refactor to remove duplication in question views 2021-08-29 18:56:29 -07:00
24bebab6b8 Change database connection for development 2021-08-29 16:00:11 -07:00
03f2a50aaa Fix error when not logged in 2021-08-29 15:59:43 -07:00
105706680b Add a visible login and register page
Add users page to admin site
Change admin site to use permissions instead of roles
Fix issue with flask-security-too user_datastore giving error
2021-04-22 16:48:32 -07:00
0738cf84be Fix issue with bootstrap-table filter-control input focus 2021-04-18 08:24:25 -07:00
4ec39e9f09 Make site more mobile friendly
Reformat tab size
2021-04-17 13:14:29 -07:00
a0bac0ebf7 Add a list of unhealthy questions to the admin homepage 2021-04-15 16:47:12 -07:00
cf85a316e3 Add route for making a new question 2021-04-06 18:09:15 -07:00
deadf5a61b Add support for adding a question to a new category from the admin site 2021-04-03 15:59:32 -07:00
b032e793de Add tests for the edit_question view 2021-03-29 18:17:29 -07:00
a69c85c588 Add initial tests for the admin site
Tests that the admin site requires a user with the admin role
2021-03-28 17:33:59 -07:00
85909e7087 Add support for adding/removing multiple choice wrong answers
Make multiple choice view more flexible with the number of choices
2021-03-27 15:09:50 -07:00
6ad7f2817a Make database execute within the app context 2021-03-22 22:39:55 -07:00
c843e4b99a Refactor directory structure 2021-03-22 20:53:50 -07:00
f3a089df24 Add support for editing questions through the admin site
Need to accept the input from the hidden_answer and multiple_choice
Disable input when loading data to make /admin/questions/ more robust
2021-03-22 20:25:35 -07:00
b4efbc8f3f Added user authentication for the admin site
Added error pages for 404 and 500 codes
Added site icon
2021-03-22 16:23:52 -07:00
197164d691 Started the admin site
Can currently view all the questions and search through them
2021-03-20 13:12:33 -07:00
2d18b1b2bf Added multiple choice category 2021-03-18 20:08:19 -07:00
0e981fce87 Update config 2021-03-07 17:13:11 -08:00
bc31348313 Move from AWS to GCP 2021-03-06 14:29:44 -08:00
dd763deaea Moved database functions to database.py
main page shows 3 questions of easy medium and hard difficulty
2020-12-06 16:09:46 -08:00
fa5c9a1f1a Fixed issue with environment variables not being set 2020-11-28 23:58:44 -08:00
f9ea730711 Initial commit 2020-11-28 22:12:24 -08:00