summaryrefslogtreecommitdiff
path: root/yaksh/views.py
AgeCommit message (Collapse)Author
2016-09-20Demo course creation without initial fixturesadityacp
2016-09-19removed string comparison for demo courseadityacp
2016-09-16changed views to get demo courseadityacp
2016-09-16changed course template to view demo courseadityacp
2016-09-16changed fixtures and viewsadityacp
2016-09-08Merge pull request #133 from maheshgudi/test_modesPrabhu Ramachandran
Test modes bug fixes
2016-09-08minor variable name changes in viewsmaheshgudi
2016-09-08changed input name in html from delete_quiz to delete_papermaheshgudi
2016-09-07only answerpapers are deleted and not the entire trial quizmaheshgudi
2016-09-07removed initial form field from QuizForm and minor fixes in add_quiz view ↵maheshgudi
function and courses template
2016-09-06modified monitor view function to remove trial paper occurrencesmaheshgudi
2016-09-06users and not course creator will see their own trial papersmaheshgudi
2016-09-06changed test cases to reflect changes in addquiz view functionmaheshgudi
2016-09-06added 'add new quiz' button to each coursemaheshgudi
2016-09-02refactor in test_models and updated with latest changesadityacp
2016-08-31Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
view_answerpaper Resolved Conflicts: yaksh/views.py
2016-08-31Added testcases for model and view.prathamesh
2016-08-30removed extract_files and read_json files from viewsadityacp
2016-08-30Merge pull request #128 from prathamesh920/bug_fixesPrabhu Ramachandran
Bug fixes
2016-08-29Answer saved again after correctly submitted, fixed.prathamesh
Removed javascript that makes user wait for 2 seconds when the code question is correct. All the other html elements are accessible by user during the wait. This also caused the duplicate save during the wait, as they can skip at that point and the answer is saved again. Added a check that if question is already answered then do not save it. This also resolves the monitor(use data) page problem of showing marks obtained zero even when it is correct. Removed skipped answers from the monitor page.
2016-08-29Views sometimes use cent percent CPU, fixedprathamesh
After correct submission(POST) of code question, same question is shown for 2 seconds with a message "Correct Output". After 2 seconds, the same correctly answered question is resubmitted(GET) to the server.Since the question is already answered, it skips the question using the skip method of answerpaper. In skip method we have used cycle itertool, which loops in a cyclic manner, never ending. So it is terminated when we get a question match in an unanswered questions list with the submitted question. But the question is already answered so we never get a match and loop runs infinitely. So used list instead of cycle. Also, after correct answer, the user is to always get first question in the answered list of question instead of next question after the answered one. So changed the completed_question method of answerpaper.
2016-08-29changed template; modified search_teacher, add_teacher and remove_teachers ↵maheshgudi
view functions
2016-08-29modified add search and remove_teachers functionsmaheshgudi
2016-08-29changed search_teacher function to exclude course creatormaheshgudi
2016-08-29made UI changes to courses page and teacher can add another teachermaheshgudi
2016-08-26changed models and views questions dump and loadadityacp
2016-08-25Students can view their submission i.e. answer paperprathamesh
A simple interface for students to view their answerpaper. Moderator has an option where he can allow to students to view their answerpaper.
2016-08-25added upload and download questions with filesadityacp
2016-07-28changes in views questions file uploadadityacp
2016-07-28removed unused import and changed indentationadityacp
2016-07-28rebase changesadityacp
2016-07-28changed extract and delete function names in views.pyadityacp
2016-07-28added files upload for questionsadityacp
2016-07-08Add further tests for viewsankitjavalkar
2016-07-08Add tests for viewsankitjavalkar
2016-07-05Merge pull request #107 from ankitjavalkar/codemirrorPrabhu Ramachandran
Add CodeMirror to Code questions
2016-07-05Merge pull request #101 from maheshgudi/test_modesPrabhu Ramachandran
Test modes
2016-07-05will not create trial paper object if the quiz has expired or is inactivemaheshgudi
2016-07-05moderator can now select and delete trial papersmaheshgudi
2016-06-07Escape quotes in codemirrorankitjavalkar
2016-06-06changed naive datetime to aware datetime in models.py, views.py, tests.pyadityacp
2016-06-03Add codemirrorankitjavalkar
2016-06-01removed some is_trial parametermaheshgudi
2016-05-27modified to make code pep8 compliantmaheshgudi
2016-05-27removed HttpRequest from imports in viewsmaheshgudi
2016-05-27home button will redirect moderators to exam/manage instead of exam/quizzesmaheshgudi
2016-05-27minor changes in test_mode functionmaheshgudi
2016-05-27minor changes in redirection for test_modemaheshgudi
2016-05-27added view functions for godmode, usermode and test_questionsmaheshgudi
2016-05-09- Fix testsankitjavalkar
- Fix minor views.py - Fix minor errors caused due to conflict resolution, rebasing - Fix errors in forms, views - Minor Button label change in addquestion.html - Add snippet to question - Remove commented code