summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
2017-10-26Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
detailed_csv_download_quiz RESOLVED Conflicts: yaksh/test_models.py
2017-10-26CSV download for quiz enhancedprathamesh
CSV download for a quiz now shows question wise grades. Also, for a given attempt all the users from the course are entered in the CSV. If the user has not attempted then a dash '-' is put under the grades. Also, handles random questions, if a question paper has questions selected from pool of questions then all the questions are entered in the CSV. 'NA' is put under the question grade if that question has not come in the question/answer paper for that given user.
2017-10-25Merge pull request #369 from maheshgudi/0.7_bugfixPrabhu Ramachandran
Grade User bugfix
2017-10-25Merge pull request #367 from ankitjavalkar/fix-revisit-with-one-qPrabhu Ramachandran
Fix revisit with one question
2017-10-25- Fix and add test casesankitjavalkar
- Fix god-mode/user-mode url pattern
2017-10-20Yaml fields are sorted according to relevancemaheshgudi
2017-10-20Sort students' name in grade user in alphabetical ordermaheshgudi
2017-10-17Add tests to verify the changeankitjavalkar
2017-10-12Fix User data UI bug and auto-updates demo course total marksmaheshgudi
2017-10-09Fix bug that prevents students from revisiting AnswerPaper with only one ↵ankitjavalkar
question
2017-10-09Allow file field and tags field to be skipped altogether in an yaml filemaheshgudi
2017-10-07Fix quiz failure on trying to revisit after attempting all questionsadityacp
2017-10-06Change models.pyadityacp
- Change question_order field from charfield to textfield - Refactor has_questions and current_question functions
2017-10-06Disable shuffle questions for demo quizadityacp
2017-10-06Add new field in AnswerPaper model and fetch questions as per orderadityacp
2017-10-06Change models.py and test_models.pyadityacp
- Add else condition in make_answerpaper instead of direct return - Remove while loop in shuffle questions testcase
2017-10-06Change Answerpaper model method to get shuffled questionsadityacp
2017-10-05Use MCQ/MCC testcases id instead of options to validate answermaheshgudi
2017-10-05Merge pull request #344 from ankitjavalkar/allow-paper-revisitPrabhu Ramachandran
Allow user to quit the paper manually and revisit the paper if necessary
2017-10-05Changed snippet to textfield.prathamesh
Not pushing migration file, as it will be merged with release.
2017-10-05Allow user to quit the paper manually and revisit the paper if necessaryankitjavalkar
2017-10-05Will return the last answer submittedKing
2017-10-04Change get_latest_answer in Answerpaper model to order by idadityacp
2017-10-04User can see previously submitted answers for non code questionsmaheshgudi
2017-10-04Update non-code and non-upload answers instead of creating a new onemaheshgudi
2017-09-05Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
improve-code-server Conflicts Resolved: yaksh/views.py
2017-09-05Removed redundancy from request handler JSprathamesh
2017-09-01Rebase changesmahesh
2017-09-01Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
improve-code-server Conflicts Resolved: yaksh/templates/yaksh/question.html
2017-09-01Removed all the checkpoints set for selenium tests on travisprathamesh
javascript strings includes method changed to indexOf, as includes belongs to ES6. This was the main reason for failure of selenium tests on travis.
2017-09-01Adds test case to check if multiple answerpapers for same arguments are not ↵mahesh
created.
2017-09-01User Cannot skip/jump attempt numbers. Forces incremental nature of attempt ↵maheshgudi
number.
2017-09-01updated travis config and added print to debug on travisprathamesh
2017-08-25Fixes order in demo_questions.zipmahesh
- Template yaml is now generated on the fly. - Removes yaml_question_template files. - Fixes order for yaml file inside demo_questions.zip
2017-08-24Merge branch 'yaml_questions' of https://github.com/maheshgudi/online_test ↵mahesh
into yaml_questions
2017-08-24Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
yaml_questions
2017-08-24Adds alphabetical order during yaml serializingmaheshgudi
2017-08-24Add a has_profile decoratorankitjavalkar
2017-08-18Adds test cases for yamlmahesh
- Fixes selenium test cases, test_models, test_views - Fixes create demo question paper
2017-08-18Adds tags in yaml filesmahesh
2017-08-18Adds a function dict_to_yaml in modelsmahesh
2017-08-17Adds yaml file containing all types of questionsmahesh
2017-08-16Adds ruamel.yaml instead of pyyamlmahesh
- Preserves escape characters - Adds ruamel.yaml in requirements
2017-08-14Front-end modification for improved code serverprathamesh
Added JQuery to handle request. Sends ajax request and gets json as response. json contains token i.e uid which is answer id. Using uid, an ajax request is sent after every 2 secs till the server gives the desire result. If the code result has error then html is written on the document. If the result has correct answer then next question is displayed. *includes function for string will not work for older browers. Will substitute with a different function in next commit.
2017-08-11Literal scalar values for yaml dumpmahesh
2017-08-10Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
yaml_questions
2017-07-31Adds yaml serialization to download and upload questionsmahesh
2017-07-12adds search feature for Profile model in admin interface.mahesh
2017-06-13Merge pull request #298 from adityacp/views_testPrabhu Ramachandran
Views test
2017-05-19Modify folder name for assignment uploadsadityacp