summaryrefslogtreecommitdiff
path: root/yaksh/models.py
AgeCommit message (Collapse)Author
2017-09-01updated travis config and added print to debug on travisprathamesh
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-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
2017-05-16Change forms.py, views.py, send_emails.py, models.pyadityacp
- Alter activation_key field in Profile model - Change get_activation_key function in send_mail to create secret_key of fixed length - Change forms.py to get updated activation_key - Change views.py to save activation_key
2017-04-28Add a negative test case to check attributes are duplicatedankitjavalkar
2017-04-28- Fix bug that prevents addition of a prerequisite to foreignkey fieldankitjavalkar
- Fix test cases to ensure fails if prerequisite is not set
2017-04-28Fix typos and remove commented codeankitjavalkar
2017-04-28Add feature to allow cloning a courseankitjavalkar
2017-04-27Remove conflicts from views after rebaseadityacp
2017-04-27Rename the Hidden label to Open Courseankitjavalkar
2017-04-27Add course_code field allows access only to users with relevant course code ↵ankitjavalkar
string
2017-04-26Merge https://github.com/fossee/online_test into email_verificationadityacp
2017-04-19Change urls, models, viewsadityacp
- Add Assignment upload model manager - Change views to update marks for user if updated manually - Change variable names in views - Add url to provide assignment download for student
2017-04-10Change download assignemnts to get files using quizadityacp
2017-04-10Add download assignment feature for assignment based questionsadityacp
- Add method in AssignmentUpload to get assignments - Add function in views to serve assignment files
2017-04-07Change in forms, models, urls, viewsadityacp
- Add is_email_expired, activation_key, key_expiry_time in Profile model - Add new functions activate_user and new_activation in views for verifying and activating user via email - Change user_login and user_register functions in views for email verification - Change in forms.py to verify email during registration - Add activation urls in urls.py
2017-03-31Multiple changes to Course:ankitjavalkar
- Allow a start and end time for Course enrollment - Allow Course to be editable
2017-03-21rebase changes for simple question typesmahesh
2017-03-20Merge pull request #252 from adityacp/assignment_upload_checkPrabhu Ramachandran
Assignment upload Evaluation
2017-03-20Merge pull request #228 from adityacp/fixesPrabhu Ramachandran
Ordering Questions while creating Question Paper
2017-03-20Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
fill_in_the_blanks
2017-03-17Merge https://github.com/fossee/online_test into assignment_upload_checkadityacp
2017-03-17Change consolidate_answer_data to get assignment uploadsadityacp
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-16Change in models get_ordered_questions functionadityacp
- Add else condition to return fixed questions if order are not available
2017-03-15Change assignment dir path and add condition for json dataadityacp
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-15Changes in Views and Modelsadityacp
- Add new boolean field in Question model whether to check assignment upload or not - In views before uploading a assignment file, check if it already exists and delete previous file - Grade assignment file with hook code
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-10Fix test questions method in QuestionPaper modeladityacp
2017-03-10Fix demo course creation for selenium testsadityacp
2017-03-10Change views and modelsadityacp
- Remove Fixed Question Model - Create a fixed question order attribute in models
2017-03-10Remove manytomany relationship for fixed_questions in question paperadityacp
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