summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
2017-03-20Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
fill_in_the_blanks
2017-03-17Merge pull request #244 from adityacp/display_err_msgPrabhu Ramachandran
Display error message while uploading questions
2017-03-17Merge pull request #245 from prathamesh920/migrations-in-scriptPrabhu Ramachandran
Migrations in script
2017-03-17Change Exception message for load questionsadityacp
2017-03-16Handle json file syntax errors in uploading questionadityacp
2017-03-16Fix test cases for loading questionsadityacp
2017-03-16Changes in models views and urlsadityacp
- Handle Json parsing error - Remove Sample file download from views and urls
2017-03-15Multiple fixes in stdio_evaluator and models:ankitjavalkar
- Change the way stdio output is printed - Fix minor errors when creating the uploaded file path in the models
2017-03-13Removed a function call to datetime now in default quiz start time.prathamesh
Every time when we run makemigrations, model changes are detected. "Alter field start_date_time on quiz" was always detected, even if you have not mode any changes to the models! This was happening because of default time value was datetime.now(). So every time when you ran migrations current datetime was set which will always change. Now removed parenthesis(), so that now function is not called. And no unnecessary model changes will be detected
2017-03-11made minor template changes and fixed test_modelsmaheshgudi
2017-03-10Changes in models and viewsadityacp
- Display error message if questions_dump.json is not found in zip file - Provide a sample zip file to for easy zip file creation
2017-03-09rebase changesmaheshgudi
2017-03-09pep8 changes in models and user_datamaheshgudi
2017-03-06Multiple fixes:ankitjavalkar
- Add error message details to SeleniumTestError - Fix next question cycling in models - Fix model test cases
2017-03-06Multiple changes:ankitjavalkar
- Fix movement from one question to another in next_question - Fix random display of errors from MCQs - Add Notification display if question has been attempted - Fix test cases for changes made
2017-03-06Rename completed_question model method to add_completed_questionankitjavalkar
2017-03-06Allow revisiting all types of question to resubmit answerankitjavalkar
2017-03-02removed pk/id based querying in test casesmaheshgudi
2017-03-02added test cases for float,integer and string type questionsmaheshgudi
2017-03-02changed string check namesmaheshgudi
2017-03-02added float based questionsmaheshgudi
2017-03-02added string based questions.maheshgudi
2017-03-02added integer based question typemaheshgudi
2017-03-02changed mcq to single correct choicemaheshgudi
2017-02-08removed max_length from stdio test case attributesmaheshgudi
2017-02-03Merge pull request #206 from maheshgudi/fix-191Prabhu Ramachandran
added skip question feature. closes #191
2017-02-03renamed quiz model attribute from can_skip_questions to allow_skipmaheshgudi
2017-02-03removed none type in answerpaper generationmaheshgudi
2017-02-03added skip question feature. closes #191maheshgudi
The can_skip_questions attribute is to be set True for students to be able to skip questions. If it is set as False, students wont be able to skip to the next question.
2017-02-02Fix test errors and PEP8 formatting.Prabhu Ramachandran
2017-02-02Fix #201.Prabhu Ramachandran
The issue is that when the ouput directory is set to `tempfile.gettempdir()` the user nobody cannot stat the created directory on OS X. The code server therefore is unable to see the directory resulting in problems. Instead we create the directory inside the application as it was done earlier.
2017-01-25Merge pull request #184 from maheshgudi/mcq_bugfixPrabhu Ramachandran
Minor view changes
2017-01-23Minor fixes to instruction field renderingankitjavalkar
2017-01-23Add course instructionsankitjavalkar
2017-01-23moved activate/deactivate course button to the top. Removed instructions ↵maheshgudi
from create_demo_course
2017-01-22rectified monitor answerpaper view. Changed mcqfield from charfield to ↵maheshgudi
textfield.
2017-01-21monitor sorts wrt to highest score. removed quiz instructions from models.maheshgudi
2017-01-18added bootstrap labels instead of mark tagmaheshgudi
2017-01-18Can download csv of students' performance per coursemaheshgudi
Moderator can now download the csv dump of the performance of students in each quiz (best attempt of the quiz) for a course.
2017-01-16Merge pull request #176 from maheshgudi/hook_evaluatorPrabhu Ramachandran
Hook evaluator
2017-01-16Merge pull request #177 from adityacp/fix_management_commandsPrabhu Ramachandran
Fix management commands
2017-01-13Fixed a bug which would mark all MCQ and MCC questions' answers as correctmaheshgudi
1. Due to the new evaluator, an unchecked bug, which marked all mcq and mcc attempts as correct, despite actually marking the wrong answer, has been fixed. 2. Added Test case to check for incorrect mcq and mcc questions 3. question.html would also render error msg for mcq and mcc questions. This has also been fixed.
2017-01-10Change views and models to create demo courseadityacp
2017-01-10Merge https://github.com/fossee/online_test into fix_management_commandsadityacp
2017-01-09added default value to hook code in modelsmaheshgudi
2017-01-09modified variable names in models and hook_evaluatormaheshgudi
2017-01-09Python hook evaluatorMahesh Gudi
2017-01-09Merge pull request #172 from adityacp/update_docsPrabhu Ramachandran
Update docs and fix minor issues
2017-01-06Change question models functionadityacp
2017-01-05Fix cli for python 3adityacp