summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-30added read_json func in Question modeladityacp
2016-08-30changes in create demo courseadityacp
2016-08-30added extract status of file in demo_question.zipadityacp
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-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-26added bash script for bash demo questionadityacp
2016-08-26changed function calls in testsadityacp
2016-08-26added else condition to failure statusadityacp
2016-08-26changed models and views questions dump and loadadityacp
2016-08-25created a course fixtures for demo courseadityacp
2016-08-25changed testcases to test questions dumpadityacp
2016-08-25changed templates to view demo quizadityacp
2016-08-25added upload and download questions with filesadityacp
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-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