summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
2016-10-25removed creation of user output directoryadityacp
2016-10-21Merge pull request #148 from adityacp/fix_extract_filesPrabhu Ramachandran
Fix Questions zip extract files
2016-10-18changed comment spacingadityacp
2016-10-17removed print statementadityacp
2016-10-17extract uploaded questions zip in tempadityacp
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-29Set OUTPUT_DIR path to a temporary directory.prathamesh
Moved OUTPUT_DIR to settings. Temporary directory path is fetched, and accordingly output path is set. Now, the outpath directory will always have a write permission.
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-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