summaryrefslogtreecommitdiff
path: root/yaksh
AgeCommit message (Collapse)Author
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-12Move tests.py to test_models.py.Prabhu Ramachandran
2016-08-12Merge branch 'master' into test-code-serverPrabhu Ramachandran
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 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-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 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
2016-07-28added form to upload filesadityacp
2016-07-28added test cases for file based questionsadityacp
2016-07-28added parameter in safe_evaluate to take file paths listadityacp
2016-07-28changed evaluators to support file based questionsadityacp
2016-07-28added files upload for questionsadityacp
2016-07-28java file based scriptadityacp
2016-07-28cpp file based scriptadityacp
2016-07-28bash file based scriptadityacp
2016-07-27Merge pull request #118 from ankitjavalkar/fix-codemirror-syntaxPrabhu Ramachandran
Minor changes in codemirror and setup.py
2016-07-25- Fix syntax highlighting for c, java, shell and scilabankitjavalkar
- Add social-auth to setup.py
2016-07-15made minor changes in docsmaheshgudi
2016-07-15made changes in conf.pymaheshgudi
2016-07-14added more documentation.maheshgudi
2016-07-13first draft of the Yaksh read the docs documentation.maheshgudi
2016-07-11changed templates for forgot password and change passwordmaheshgudi
2016-07-11made minor changes in creating test quizmaheshgudi
2016-07-11corrected minor changemaheshgudi
2016-07-11minor timezone related changes in models and test casesmaheshgudi
2016-07-09Changed url pattern in views test to pass the testprathamesh
2016-07-09next query string not requiredprathamesh
2016-07-09oauth implementedprathamesh
User can login via google and facebook. If user logs in from google and then later the same user logs in from facebook, then he will be considered as the same user if the email registered on facebook is of gmail. User profile will be created when user logs in via facebook or google. In yaksh pipeline, user.py is used to create profile. Pipeline settings is defined that defines the functions to be executed during oauth. Used bootstrap social and Font Awesome for UI design
2016-07-08Add timezones while creating quizzes in view testsankitjavalkar
2016-07-08Fix Django versions in travis.yml and minor test errorsankitjavalkar
2016-07-08Add further tests for viewsankitjavalkar
2016-07-08Add tests for viewsankitjavalkar
2016-07-08Minor change: Display reset button only if it is code questionankitjavalkar
2016-07-05Merge pull request #108 from adityacp/fix_questions_uploadPrabhu Ramachandran
Fix load and dump questions
2016-07-05Merge pull request #107 from ankitjavalkar/codemirrorPrabhu Ramachandran
Add CodeMirror to Code questions
2016-07-05Merge pull request #101 from maheshgudi/test_modesPrabhu Ramachandran
Test modes
2016-07-05will not create trial paper object if the quiz has expired or is inactivemaheshgudi