summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
2016-09-01Merge pull request #105 from adityacp/stdin_stdout_evaluatorPrabhu Ramachandran
Stdin stdout evaluators
2016-08-31rebase 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-30Merge pull request #128 from prathamesh920/bug_fixesPrabhu Ramachandran
Bug fixes
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-29added Course and question paper classes in admin.pymaheshgudi
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-03rebase changes with stdio evaluatormaheshgudi
2016-07-28changes in file upload classadityacp
2016-07-28removed delete function from models.pyadityacp
2016-07-28added files upload for questionsadityacp
2016-07-27changed model class name Stdout to Stdiomaheshgudi
2016-07-27c,cpp,java evaluators with test casesadityacp
2016-07-11made minor changes in creating test quizmaheshgudi
2016-07-11minor timezone related changes in models and test casesmaheshgudi
2016-07-08Fix Django versions in travis.yml and minor test errorsankitjavalkar
2016-07-08Add further tests for viewsankitjavalkar
2016-07-08Add tests for viewsankitjavalkar
2016-07-05Merge pull request #108 from adityacp/fix_questions_uploadPrabhu Ramachandran
Fix load and dump 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-05changed questions upload, testcases can also be uploadedadityacp
2016-07-05moderator can now select and delete trial papersmaheshgudi
2016-06-06changes as per pep8 in modelsadityacp
2016-06-06changed naive datetime to aware datetime in models.py, views.py, tests.pyadityacp
2016-06-01changed mode argument to bool typemaheshgudi
2016-05-27modified to make code pep8 compliantmaheshgudi
2016-05-27fixed model manager method name changes in testcasesmaheshgudi
2016-05-27added docstrings to manager methodsmaheshgudi
2016-05-27changed model manager namesmaheshgudi
2016-05-27added model manager methods for creating trial_course,quiz and questionpapermaheshgudi
2016-05-17comment changesadityacp
2016-05-12rebase changes and comments changesadityacp
2016-05-12display datetime as per user timezoneadityacp
2016-05-10- Adhere to 80 columnsankitjavalkar
- add docstrings - Fix further tests
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
2016-05-05Remove commented code and cleanupankitjavalkar
2016-05-05- Modify question - answer validation in viewsankitjavalkar
- Modify show_question to include test_cases in template context - Modify question display template - Minor changes in forms and urls for proper rebasing
2016-05-05- Add formsets to Add question templatesankitjavalkar
- add/modify test cases in place when adding questions
2016-05-05Modify get_form_object method in forms.pyankitjavalkar
2016-05-05Add views, forms and templates (with JS) for new test cases:ankitjavalkar
- Add a view and template to list out test cases for particular question - Add a view and template to add/edit test cases
2016-05-05Multiple test cases passed as dicts, check_code() is iterated based on no. ↵ankitjavalkar
of test cases
2016-05-05- Connect test case type models to backend code serverankitjavalkar
- Support for Stdout test case and Standard assertion test case - Add MCQ Test case and support for validations - Remove tester dir
2016-05-05Add a python standard out evaluatorankitjavalkar
2016-05-05add test case selectionankitjavalkar
2016-05-05change dump json functionadityacp
2016-05-05model function changeadityacp
2016-05-05changes for download questionsadityacp
2016-05-04rebase changes and function name changesadityacp
2016-05-04added test cases for loading and dumping questionsadityacp