summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
2018-03-21Rebase changes for shuffle testcasemaheshgudi
2018-03-16TestCaseOrder created only mcc/mcq questionsmahesh
2018-03-16Add shuffle_testcases to QuestionPaper model instead of Questionmahesh
2018-03-16Improve test cases for TestCaseOrder modelmahesh
2018-03-16Change TestcaseOrder to TestCaseOrdermahesh
2018-03-16Add shuffle testcases option to questionsmahesh
2018-03-16Remove lists from variable namemaheshgudi
2018-03-16Change question type name to Arrange in correct ordermahesh
2018-03-16Change custom filter function to get_answer_for_arrange_optionsmahesh
2018-03-16Add testcases for custom templatetag filtersmahesh
2018-03-16Add test cases for Arrange question typemahesh
2018-03-16Add jumble question typemahesh
2018-03-16TestCaseOrder created only mcc/mcq questionsmahesh
2018-03-16Add shuffle_testcases to QuestionPaper model instead of Questionmahesh
2018-03-16Improve test cases for TestCaseOrder modelmahesh
2018-03-16Change TestcaseOrder to TestCaseOrdermahesh
2018-03-16Add shuffle testcases option to questionsmahesh
2018-02-15Merge pull request #436 from adityacp/fixes_lesson_featurePrabhu Ramachandran
Additions and fixes for lesson feature
2018-02-15Merge pull request #430 from maheshgudi/multiple_answerpaperPrabhu Ramachandran
Fix multiple Answerpaper objects returned error
2018-02-15Merge pull request #417 from ankitjavalkar/time-between-attemptsPrabhu Ramachandran
Change time_between_attempts field unit Hours
2018-02-15Change in models, test_models and viewsadityacp
- Change learning module test to remove units from course status after successful test run - Remove unnecessary comments from views - Remove unnecessary condition from module get_status method
2018-02-08Change in forms.py, views.py and models.pyadityacp
- Add new attribute active in lesson and learningmodule model - Change learningmodule get_status method - Add condition in lesson, quiz and module views to check if module is active or not
2018-02-07Add course as a unique constraintmahesh
2018-01-30Add test cases to check for duplicate answerpapersmahesh
2018-01-30Fix bug in make_answerpapermahesh
2018-01-18Update to latest changes from masteradityacp
2018-01-18Change in views.py and models.pyadityacp
- Fetch all the answerpapers using questionpaper and course instead of only questionpaper
2018-01-14Change in models.py, course.js and course_detail.htmladityacp
- Merge future imports in models into one - Add table sorter in course.js and course_detail.html
2018-01-12Add views and models tests for course statusadityacp
2018-01-12Change in models.py, views.py and urls.pyadityacp
- Add new model methods to calculate percent of module and course completion - Add new view function for displaying course status - Add new url to redirect to course status
2018-01-11- Change time_between_attempts field unit Hoursankitjavalkar
- Fix bug causing exception when only a single quiz exists with no questionpaper
2018-01-08Merge pull request #416 from adityacp/enhance_yaksh_uiPrabhu Ramachandran
Enhance yaksh design
2018-01-08Change in models.py and views.pyadityacp
- Add new model method for course to check last unit and get next module - Change views to allow student to redirect to next module
2018-01-08Add instructions for demo quizmaheshgudi
2018-01-04Replace hardcoded codeserver URL in regrade method within modelsankitjavalkar
2018-01-04Fix bug to allow tests to run successfullyankitjavalkar
2018-01-04- Add python-decouple package to requirementsankitjavalkar
- Use sane defaults and python-decouple in yaksh.settings module - Replace hard coded localhost domain name referring to code server with dynamic settings variable
2018-01-02Merge branch 'master' of https://github.com/FOSSEE/online_test into exerciseprathamesh
Conflicts Resolved: yaksh/templates/yaksh/courses.html yaksh/templates/yaksh/question.html
2018-01-02Allowed user to skip and view solution if the answer is correct.prathamesh
Added solution attribute to the Question model.
2018-01-02Changes in views, models, templates and jsadityacp
- Rename learning_type to type in Lesson model - Change error message in views and change redirection - Change templates to rename learning_type to type for unit - Add new dialog for embedding Video URL
2018-01-02Update to latest changesadityacp
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