summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-20Safely handle code checking process being killed.Prabhu Ramachandran
While waiting for a result, if the process is not alive, it returns an error status and restarts another process to continue working.
2017-08-17Fixed a bug related to GET request after every 2 secondsprathamesh
Also added a count to limit GET request So now for a given question, maximum GET request is 15. After 15 requests, if server still does not give the desired response then the request loop will break.
2017-08-14Changes related to front-endprathamesh
Removed snippet append in the check view as snippet is not posted in request. Added an overlay when an user submits a code, with a status text on it. This is to block user from triggering any other event when JS is running. Overlay disappears when JS complete its execution. On time out a request is posted via JS, it receives a JSON response but cannot display user the error as time is over. So in such case, the django itself handles the result and does not return JSONv response.
2017-08-14To handle unknown status response from code serverprathamesh
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-08-09Fix order of run as nobody.Prabhu Ramachandran
It should be run before ServerPool is created so the shared dictionary works correctly.
2017-08-04Completely rewrite the server pool.Prabhu Ramachandran
It is now much simpler. There are no xmlrpc servers anymore instead the tornado server takes a post request to submit a job asynchronously and the results are added to a shared dictionary. A get request can be used to check the status of a submitted job. This allows the submission and checking of code to be completely async and will make the application a lot more scalable.
2017-07-20Merge pull request #304 from maheshgudi/bugfix_email_verificationankitjavalkar
Adds search feature for Profile model in admin interface.
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-25Merge pull request #297 from maheshgudi/difflibPrabhu Ramachandran
StdIO error output simplification
2017-05-25Merge pull request #296 from adityacp/fix_email_verfication_bugPrabhu Ramachandran
Fix email verfication bug
2017-05-25Change test_views.py
- Add test for email_verified decorator - Add tests to check for non moderator logins
2017-05-25Add check for verifying moderator
2017-05-25Change coveragerc to omit test files and management filesadityacp
2017-05-25Change tests in test_views.pyadityacp
2017-05-22changes variable and dict key names along with other minor changes in ↵mahesh
answerpaper.
2017-05-19Add tests for views functionsadityacp
2017-05-19Change attachment response in views.pyadityacp
2017-05-19Add reverse resolutions in urlsadityacp
2017-05-19Modify folder name for assignment uploadsadityacp
2017-05-17adds zip_longest function for python 2 in custom_filters,pymahesh
2017-05-17adds pep8 changesmahesh
2017-05-17changes answerpaper design to accommodate new stdio error lookmahesh
2017-05-17Change user registration form to get activation_keyadityacp
2017-05-17changed assertions for stdio test casesmahesh
2017-05-16added wordwrap for error output tablemahesh
2017-05-16Change activation_key field length in Profile modeladityacp
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-05-15Merge branch 'master' of https://github.com/fossee/online_test into difflibmahesh
2017-05-13added pretty stdio functionality for all languages.mahesh
2017-05-12changed stdio outputmahesh
2017-05-12Merge pull request #294 from ankitjavalkar/ankit-release60.6.0Prabhu Ramachandran
Release related changes for version 0.6.0
2017-05-11Merge pull request #293 from maheshgudi/email_fixPrabhu Ramachandran
Email editable content
2017-05-11Add migrations for release 0.6.0ankitjavalkar
2017-05-11Add new version number to online_test/__init__.pyankitjavalkar
2017-05-11Add a changelog fileankitjavalkar
2017-05-11fixed issue #291mahesh
2017-05-05Merge pull request #290 from adityacp/email_verifcation_testingPrabhu Ramachandran
Email verification testing
2017-05-05Merge pull request #288 from ankitjavalkar/course-clonePrabhu Ramachandran
Add a negative test case to check attributes are duplicated
2017-05-04Set EMAIL_BACKEND to dummy email backend for developmentadityacp
2017-05-03Add views tests for email verification and activationadityacp
2017-05-03Change forms.py, views.py and urls.pyadityacp
- Store activation key expiry time according to timezone for email verification and activation - Add reverse resolution in urls.py
2017-05-03Rename email_verification.py to send_emails.pyadityacp
2017-04-28Add a negative test case to check attributes are duplicatedankitjavalkar
2017-04-28Merge pull request #277 from ankitjavalkar/course-clonePrabhu Ramachandran
Course clone
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-28Redirect users to error page if they are not allowed to clone a courseankitjavalkar
2017-04-28Fix typos and remove commented codeankitjavalkar
2017-04-28Add test casesankitjavalkar