summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
2016-09-21changed func name from create_demo_que_ppr to create_demo_quiz_paperadityacp
2016-09-20used create method instead of get_or_create to create courseadityacp
2016-09-20Demo course creation without initial fixturesadityacp
2016-09-16changed course template to view demo courseadityacp
2016-09-15admin can delete answerpapermaheshgudi
2016-09-02refactor in test_models and updated with latest changesadityacp
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-30added read_json func in Question modeladityacp
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-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-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-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