summaryrefslogtreecommitdiff
path: root/yaksh
AgeCommit message (Collapse)Author
2017-09-02Issue after merge resolvedprathamesh
2017-09-02Resolved Conflictsprathamesh
2017-09-01Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
improve-code-server Conflicts Resolved: .travis.yml yaksh/views.py
2017-09-01Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
improve-code-server Conflicts Resolved: yaksh/templates/yaksh/question.html
2017-09-01Merge pull request #309 from ankitjavalkar/fix-closed-coursePrabhu Ramachandran
Fix bug to prevent students from attempting pre-enrolled deactivated course
2017-09-01Removed all the checkpoints set for selenium tests on travisprathamesh
javascript strings includes method changed to indexOf, as includes belongs to ES6. This was the main reason for failure of selenium tests on travis.
2017-09-01Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
add_tag_search
2017-09-01updated travis config and added print to debug on travisprathamesh
2017-08-28Add changes to make PEP8 compliantankitjavalkar
2017-08-28Fix bug: Prevent students from attempting pre-enrolled deactivated coursesankitjavalkar
2017-08-25Fixes order in demo_questions.zipmahesh
- Template yaml is now generated on the fly. - Removes yaml_question_template files. - Fixes order for yaml file inside demo_questions.zip
2017-08-24Merge branch 'yaml_questions' of https://github.com/maheshgudi/online_test ↵mahesh
into yaml_questions
2017-08-24Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
yaml_questions
2017-08-24Adds alphabetical order during yaml serializingmaheshgudi
2017-08-24Add review changes and more testsankitjavalkar
2017-08-24Add a has_profile decoratorankitjavalkar
2017-08-24Merge pull request #311 from ankitjavalkar/show_enrolled_hidden_crsPrabhu Ramachandran
Display all hidden courses with pending enrollment requests
2017-08-24Merge pull request #300 from ankitjavalkar/validate-quiz-prerequisitePrabhu Ramachandran
Validate quiz prerequisite field
2017-08-24Merge pull request #295 from adityacp/bulk_emailPrabhu Ramachandran
Send emails to students enrolled in a course
2017-08-23Added custom expected condition classprathamesh
To check if the ontop div display is none. If so then the selenium will proceed ahead else wait for the div property to change. Currently I have not specified the actual exception in try except, will add later Modified JS to handle ontop div
2017-08-22Merge branch 'improve-code-server' of https://github.com/FOSSEE/online_test ↵prathamesh
into improve-code-server
2017-08-22Change test_views for send mail testadityacp
2017-08-22Change course.js, course_detail.html and views.pyadityacp
- Change form submission for send email in js - Change template and view variable for mail status
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-18Adds quit quiz function in seleniummahesh
2017-08-18Added 8 seconds sleep in selenium test for now.prathamesh
As implicit wait is not functioning as desired. Added sleep for now. Since new exam interface has AJAX request response, so interface sets a blank div on top of all divs to prevent further events till a response is received. So selenium does not get the required HTML element at that period. And 8 seconds because for infinite loop server responds after 4 seconds.
2017-08-18Adds test cases for yamlmahesh
- Fixes selenium test cases, test_models, test_views - Fixes create demo question paper
2017-08-18Adds tags in yaml filesmahesh
2017-08-18Adds a function dict_to_yaml in modelsmahesh
2017-08-17Adds yaml file containing all types of questionsmahesh
2017-08-17Merge pull request #318 from ankitjavalkar/quick-fix-mod-dashboardKing
[Minor] Fix hyperlink on moderator dashboard
2017-08-17changed import from settings as per new code severprathamesh
2017-08-17Fixes in question template, submit buttons properly rendered in w.r.t. ↵mahesh
question type
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-17Change test_views.pyadityacp
- Remove validation test case for send mail - Pep8 changes
2017-08-17Change views.pyadityacp
- Pep8 changes - Remove redundant check from send mail function - Move validation send mail validation to js
2017-08-17Course Detail Template changeadityacp
- Change input html tag to textarea for email subject - Change confussing variable name from template
2017-08-17Change course.js to validate email form detailsadityacp
2017-08-16Adds ruamel.yaml instead of pyyamlmahesh
- Preserves escape characters - Adds ruamel.yaml in requirements
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-11Literal scalar values for yaml dumpmahesh
2017-08-10Adds link to githubmahesh
2017-08-10Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
yaml_questions
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-08-04Fix hyperlink on moderator dashboardankitjavalkar
2017-08-03Display all hidden courses with pending enrollment requests and rejectionsankitjavalkar
2017-08-03fixed demo questions yaml formattingmahesh