summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-01Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
add_tag_search
2017-09-01Adds test case to check if multiple answerpapers for same arguments are not ↵mahesh
created.
2017-09-01User Cannot skip/jump attempt numbers. Forces incremental nature of attempt ↵maheshgudi
number.
2017-09-01updated travis config and added print to debug on travisprathamesh
2017-08-31Installs Firefox v46.0 on Travis CImaheshgudi
- Selenium v2.53.6 works perfectly with Firefox v46.0. Travis CI is expected to keep upgrading their default linux distribution, which might not have Firefox v46.0 in it's repository. Hence we enforce Travis CI to install Firefox v46.0. Firefox version might have to be changed as the selenium version changes.
2017-08-30Fixes Multiple answerpaper objects returned bugmahesh
2017-08-29Fixes 'AnonymousUser' object is not iterable bug.mahesh
2017-08-28Add changes to make PEP8 compliantankitjavalkar
2017-08-28Fix bug: Prevent students from attempting pre-enrolled deactivated coursesankitjavalkar
2017-08-25Merge pull request #312 from maheshgudi/yaml_questionsPrabhu Ramachandran
Yaml serialized questions
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-24Merge pull request #305 from ankitjavalkar/has-profile-fixPrabhu Ramachandran
Add a has_profile decorator
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 branch 'improve-code-server' of github.com:prathamesh920/online_test ↵Prabhu Ramachandran
into improve-code-server
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-20Merge branch 'improve-code-server' of github.com:prathamesh920/online_test ↵Prabhu Ramachandran
into improve-code-server
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-17Pep8 change in settings.pyadityacp
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-10Merge pull request #319 from maheshgudi/github_ribbonankitjavalkar
Adds link to github
2017-08-10Adds link to githubmahesh
2017-08-10Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
yaml_questions