summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
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-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
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