Age | Commit message (Collapse) | Author |
|
|
|
|
|
improve-code-server
Conflicts Resolved:
.travis.yml
yaksh/views.py
|
|
improve-code-server
Conflicts Resolved:
yaksh/templates/yaksh/question.html
|
|
Fix bug to prevent students from attempting pre-enrolled deactivated course
|
|
javascript strings includes method changed to indexOf, as includes
belongs to ES6. This was the main reason for failure of selenium tests
on travis.
|
|
add_tag_search
|
|
|
|
|
|
|
|
- Template yaml is now generated on the fly.
- Removes yaml_question_template files.
- Fixes order for yaml file inside demo_questions.zip
|
|
into yaml_questions
|
|
yaml_questions
|
|
|
|
|
|
|
|
Display all hidden courses with pending enrollment requests
|
|
Validate quiz prerequisite field
|
|
Send emails to students enrolled in a course
|
|
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
|
|
into improve-code-server
|
|
|
|
- Change form submission for send email in js
- Change template and view variable for mail status
|
|
While waiting for a result, if the process is not alive, it returns an
error status and restarts another process to continue working.
|
|
|
|
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.
|
|
- Fixes selenium test cases, test_models, test_views
- Fixes create demo question paper
|
|
|
|
|
|
|
|
[Minor] Fix hyperlink on moderator dashboard
|
|
|
|
question type
|
|
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.
|
|
- Remove validation test case for send mail
- Pep8 changes
|
|
- Pep8 changes
- Remove redundant check from send mail function
- Move validation send mail validation to js
|
|
- Change input html tag to textarea for email subject
- Change confussing variable name from template
|
|
|
|
- Preserves escape characters
- Adds ruamel.yaml in requirements
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
yaml_questions
|
|
It should be run before ServerPool is created so the shared dictionary
works correctly.
|
|
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.
|
|
|
|
|
|
|