summaryrefslogtreecommitdiff
path: root/yaksh/views.py
AgeCommit message (Collapse)Author
2016-12-19cleaned up the code and made testcase forms dynamicprathamesh
2016-12-19change in add question interfaceprathamesh
2016-12-08form rendering improvedprathamesh
2016-12-07basic interface to add multiple testcases to a questionprathamesh
2016-11-18changed function name from set_hide_status to toggle_hide_statusadityacp
2016-11-18changed views to get only unhided filesadityacp
2016-11-16Change test_case weightage field name to weightankitjavalkar
2016-11-10Add point based weightage for partial grading instead of percentage based ↵ankitjavalkar
partial grading
2016-11-10dd basic partial marking feature per test caseankitjavalkar
2016-11-08Merge pull request #151 from prathamesh920/UI-modificationsPrabhu Ramachandran
UI modifications Level 1
2016-11-01Merge pull request #150 from ankitjavalkar/view-test-update1Prabhu Ramachandran
Add views test for add_course view
2016-11-01Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
UI-modifications Resolved Conflicts: yaksh/templates/manage.html yaksh/templates/yaksh/design_questionpaper.html
2016-10-27Add views test for add_course viewankitjavalkar
2016-10-26Migration from bootstrap 1.4 to bootstrap 3.3prathamesh
Removed css redundancy. Removed unwanted css. Included css and js imports in base template. Upgraded jquery to v1.9 for now.
2016-10-25removed creation of user output directoryadityacp
2016-10-21Merge pull request #148 from adityacp/fix_extract_filesPrabhu Ramachandran
Fix Questions zip extract files
2016-10-17extract uploaded questions zip in tempadityacp
2016-10-13Fix variable name in for loopankitjavalkar
2016-10-13Minor fixes: Hide question instead of deletionankitjavalkar
2016-10-13Hide questions instead of deletionankitjavalkar
2016-10-04Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
edit_questionpaper Resolved Conflicts: yaksh/views.py
2016-10-04Edit Question Paper Feature.prathamesh
Can edit question paper. For creating new and editing existing question paper, same UI and view is used. Ajax previously used for creation is removed. Not necessary as post request handles the same. Removed unnecessary js.
2016-09-30modified views, models, forms for django as per python 3adityacp
2016-09-23Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
regrade_papers Resolved Conflicts: yaksh/models.py yaksh/test_models.py yaksh/urls.py yaksh/views.py
2016-09-23Regrade Featureprathamesh
A question can be regraded for a given quiz. Whole quiz can be regraded. Particular user paper can be regraded. Moved validate_answer from views to models. regrade method also updates the answer i.e. marks and correctness. Also, the answer paper percentage is updated.
2016-09-20Demo course creation without initial fixturesadityacp
2016-09-19removed string comparison for demo courseadityacp
2016-09-16changed views to get demo courseadityacp
2016-09-16changed course template to view demo courseadityacp
2016-09-16changed fixtures and viewsadityacp
2016-09-08Merge pull request #133 from maheshgudi/test_modesPrabhu Ramachandran
Test modes bug fixes
2016-09-08minor variable name changes in viewsmaheshgudi
2016-09-08changed input name in html from delete_quiz to delete_papermaheshgudi
2016-09-07only answerpapers are deleted and not the entire trial quizmaheshgudi
2016-09-07removed initial form field from QuizForm and minor fixes in add_quiz view ↵maheshgudi
function and courses template
2016-09-06modified monitor view function to remove trial paper occurrencesmaheshgudi
2016-09-06users and not course creator will see their own trial papersmaheshgudi
2016-09-06changed test cases to reflect changes in addquiz view functionmaheshgudi
2016-09-06added 'add new quiz' button to each coursemaheshgudi
2016-09-02refactor in test_models and updated with latest changesadityacp
2016-08-31Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
view_answerpaper Resolved Conflicts: yaksh/views.py
2016-08-31Added testcases for model and view.prathamesh
2016-08-30removed extract_files and read_json files from viewsadityacp
2016-08-30Merge pull request #128 from prathamesh920/bug_fixesPrabhu Ramachandran
Bug fixes
2016-08-29Answer saved again after correctly submitted, fixed.prathamesh
Removed javascript that makes user wait for 2 seconds when the code question is correct. All the other html elements are accessible by user during the wait. This also caused the duplicate save during the wait, as they can skip at that point and the answer is saved again. Added a check that if question is already answered then do not save it. This also resolves the monitor(use data) page problem of showing marks obtained zero even when it is correct. Removed skipped answers from the monitor page.
2016-08-29Views sometimes use cent percent CPU, fixedprathamesh
After correct submission(POST) of code question, same question is shown for 2 seconds with a message "Correct Output". After 2 seconds, the same correctly answered question is resubmitted(GET) to the server.Since the question is already answered, it skips the question using the skip method of answerpaper. In skip method we have used cycle itertool, which loops in a cyclic manner, never ending. So it is terminated when we get a question match in an unanswered questions list with the submitted question. But the question is already answered so we never get a match and loop runs infinitely. So used list instead of cycle. Also, after correct answer, the user is to always get first question in the answered list of question instead of next question after the answered one. So changed the completed_question method of answerpaper.
2016-08-29changed template; modified search_teacher, add_teacher and remove_teachers ↵maheshgudi
view functions
2016-08-29modified add search and remove_teachers functionsmaheshgudi
2016-08-29changed search_teacher function to exclude course creatormaheshgudi
2016-08-29made UI changes to courses page and teacher can add another teachermaheshgudi