summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-01Merge pull request #105 from adityacp/stdin_stdout_evaluatorPrabhu Ramachandran
Stdin stdout evaluators
2016-08-31change in incorrect answer stdio testcaseadityacp
2016-08-31Merge pull request #129 from prathamesh920/view_answerpaperPrabhu Ramachandran
View answerpaper
2016-08-31rebase with latest changesadityacp
2016-08-31Clean the template for student view answerpaper and monitorprathamesh
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-30Merge pull request #128 from prathamesh920/bug_fixesPrabhu Ramachandran
Bug fixes
2016-08-30Merge pull request #122 from maheshgudi/course_changesPrabhu Ramachandran
made UI changes to courses page and teacher can add another teacher
2016-08-30Merge pull request #121 from ankitjavalkar/dockerdocsPrabhu Ramachandran
Add docker deployment to documentation
2016-08-29Add docker deployment to documentationankitjavalkar
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-29minor changes in adminmaheshgudi
2016-08-29changed template; modified search_teacher, add_teacher and remove_teachers ↵maheshgudi
view functions
2016-08-29added Course and question paper classes in admin.pymaheshgudi
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
2016-08-25Students can view their submission i.e. answer paperprathamesh
A simple interface for students to view their answerpaper. Moderator has an option where he can allow to students to view their answerpaper.
2016-08-19Merge pull request #125 from ankitjavalkar/minor-template-change-for-seleniumankitjavalkar
Minor Changes: admin.py and template changes
2016-08-19- Modify admin.py to include Course modelankitjavalkar
- Modify user.html and complete.html to include id for html elements
2016-08-16Merge pull request #124 from FOSSEE/test-code-serverankitjavalkar
Improve server pool
2016-08-12Set correct verbosity level for test.Prabhu Ramachandran
2016-08-12No need to run nosetests again.Prabhu Ramachandran
2016-08-12Move tests.py to test_models.py.Prabhu Ramachandran
2016-08-12Merge branch 'master' into test-code-serverPrabhu Ramachandran
2016-08-12Merge pull request #123 from prathamesh920/request_delay_issue_resolvedPrabhu Ramachandran
Removed for loop from the question template.
2016-08-12Use a tornado based server for the pool server.Prabhu Ramachandran
With the previous XMLRPC based server, an XMLRPC server would respond to a request for an available port. This does not work as the server can only take about 2 simultaneous connections. The server pool now uses a HTTP server via tornado which works extremely well. The django code should not change at all as this is an internal change. This change should make the code server far more robust and work for a very large number of simultaneous users. The http server also has a simple status page to indicate the current load. This will not be correct on OSX due to limitations of the multi-processing Queue implementation on OSX.
2016-08-12Add test case for code server.Prabhu Ramachandran
This currently fails when multiple threads ask for a code evaluation at the same time.
2016-08-12Removed --use-mirrors option from pip install in travisprathamesh
2016-08-12Removed for loop from the question template.prathamesh
Once the code question is correct, user must see the message Correct Output for two seconds and then url redirection. But since this was written in a for loop, so multiple requests almost simultaneously were sent by a single user. This caused the server to go down. For now removed for loop.
2016-08-03rebase changes with stdio evaluatormaheshgudi
2016-07-28added expected input in traceback for python and made minor changes in ↵maheshgudi
bash_stio_evaluator and stdio_evaluator
2016-07-28Merge pull request #113 from adityacp/file_based_questionsKing
File based questions
2016-07-28changes in templates to get question file url and nameadityacp
2016-07-28changes in views questions file uploadadityacp
2016-07-28changes in file upload classadityacp
2016-07-28added validation to check zip fileadityacp
2016-07-28removed extra initialization from settings.pyadityacp
2016-07-28removed unused import and changed indentationadityacp
2016-07-28rebase changesadityacp
2016-07-28deleted copy_delete_files.pyadityacp
2016-07-28changed module name from copy_delete_files to file_utilsadityacp
2016-07-28changed extract and delete function names in views.pyadityacp
2016-07-28removed delete function from models.pyadityacp
2016-07-28changed file module name in evaluatorsadityacp
2016-07-28added new text file for test cases to test file based questionsadityacp
2016-07-28created file copier to copy filesadityacp
2016-07-28students can download filesadityacp