summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
2017-12-27Exercise feature in video lessonsprathamesh
Exercise is same as quiz except for following differences: - no time limit - no marks weightage - no instruction page - skip denied for a particular time An attribute 'is_exercise' in Quiz determines whether the quiz is exercise or not. Questions contains 'min_time' attribute. For an exercise a question cannot be skipped for an allotted minimum time, after which either django or JavaScript makes Next button available. Implementation is as such due to complexity of our existing views and templates. Also, after min_time, same question with Next button is available to move on, assuming that solution is present in the video.
2017-12-05Merge branch 'yaksh_video_lessons' of https://github.com/FOSSEE/online_test ↵prathamesh
into yaksh_video_lessons
2017-12-05Added basic model testcases.prathamesh
2017-11-28Add comments in lesson model and remove unwanted methodadityacp
2017-11-22Fixed existing model testsprathamesh
Also, added "markdown" to requirements
2017-11-22Change forms.py, models.py, views.py, templates, templatetagsadityacp
- Add start_time, end_time enrollement in course form - Change get_quiz_details in course model - Add validation to check if course is active and not expired - Template changes for cleaner dashboard
2017-11-21Change in models.py and views.pyadityacp
- Add validation to check if prerequisite module is completed - Fix User mode and God mode for quiz - View proper message to user on failure
2017-11-20Change in models.pyadityacp
- Add new models LearningModule, LearningUnit, CourseStatus, Lesson, LessonFile - Change model associations - Add new model methods
2017-11-15Add test case for regrade.maheshgudi
- Answerpaper method validate_validate takes server port as an argument. - Added tests for all question types
2017-11-14Fix regrader for new code servermaheshgudi
2017-11-08- Add pytest as a requirement to the requirements fileankitjavalkar
- Modify image name in tasks.py
2017-11-08Fix test casesankitjavalkar
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