summaryrefslogtreecommitdiff
path: root/yaksh
AgeCommit message (Collapse)Author
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-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-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 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-11Add migrations for release 0.6.0ankitjavalkar
2017-05-11fixed issue #291mahesh
2017-05-05Merge pull request #290 from adityacp/email_verifcation_testingPrabhu Ramachandran
Email verification testing
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-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
2017-04-28Add feature to allow cloning a courseankitjavalkar
2017-04-27Remove conflicts from views after rebaseadityacp
2017-04-27Merge pull request #279 from ankitjavalkar/docs-create-coursePrabhu Ramachandran
Docs updation for course code
2017-04-27Rename the Hidden label to Open Courseankitjavalkar
2017-04-27Display a message in case there are no courses to displayankitjavalkar
2017-04-27Hide field in CourseFormankitjavalkar
2017-04-27Add course_code field allows access only to users with relevant course code ↵ankitjavalkar
string
2017-04-27Merge pull request #276 from ankitjavalkar/fix-login-redirect2Prabhu Ramachandran
Allow redirection to desired page after logging in
2017-04-27Add email_verified decorator to check whether email is verifiedadityacp
2017-04-27Change activation_status template and add update_email url in urls.pyadityacp