summaryrefslogtreecommitdiff
path: root/yaksh/views.py
AgeCommit message (Collapse)Author
2016-10-13Fix variable name in for loopankitjavalkar
2016-10-13Minor fixes: Hide question instead of deletionankitjavalkar
2016-10-13Hide questions instead of deletionankitjavalkar
2016-10-04Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
edit_questionpaper Resolved Conflicts: yaksh/views.py
2016-10-04Edit Question Paper Feature.prathamesh
Can edit question paper. For creating new and editing existing question paper, same UI and view is used. Ajax previously used for creation is removed. Not necessary as post request handles the same. Removed unnecessary js.
2016-09-30modified views, models, forms for django as per python 3adityacp
2016-09-23Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
regrade_papers Resolved Conflicts: yaksh/models.py yaksh/test_models.py yaksh/urls.py yaksh/views.py
2016-09-23Regrade Featureprathamesh
A question can be regraded for a given quiz. Whole quiz can be regraded. Particular user paper can be regraded. Moved validate_answer from views to models. regrade method also updates the answer i.e. marks and correctness. Also, the answer paper percentage is updated.
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