Age | Commit message (Collapse) | Author |
|
|
|
Conflicts Resolved:
yaksh/templates/yaksh/courses.html
yaksh/templates/yaksh/question.html
|
|
Added solution attribute to the Question model.
|
|
- Rename learning_type to type in Lesson model
- Change error message in views and change redirection
- Change templates to rename learning_type to type for unit
- Add new dialog for embedding Video URL
|
|
|
|
Add logo on Yaksh
|
|
|
|
Local mathjax
|
|
|
|
Exercise is same as quiz except for following differences:
- no time limit
- no marks weightage
- no instruction page
- skip denied for a particular time
An attribute 'is_exercise' in Quiz determines whether the quiz is
exercise or not.
Questions contains 'min_time' attribute.
For an exercise a question cannot be skipped for an allotted minimum
time, after which either django or JavaScript makes Next button
available.
Implementation is as such due to complexity of our existing views and
templates.
Also, after min_time, same question with Next button is available to
move on, assuming that solution is present in the video.
|
|
- Add yaksh_logo to navbar
- Add yaksh_text image on login page
- Modify footer bar
- Remove fron sidebar and add on navbar
|
|
|
|
- Add new template to view course modules
- Change glyphicon in question.html and show_video.html
- Change button name in add_module.html
- Remove unnecessary js file
- Change button in intro.html
- Change quizzes_user.html to display only courses
|
|
|
|
|
|
|
|
into yaksh_video_lessons
|
|
|
|
|
|
|
|
|
|
- Add new template tag to fetch course module completion status
- View all lessons/quizzes during quiz
- Change button values
- Change user mode and god mode
|
|
- Add new js for sending data to views
- Change existing js content
|
|
|
|
Fix the Reset Answer javascript and rename it to Clear Text Area
|
|
|
|
New js editor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
improve-code-server
Conflicts Resolved:
.travis.yml
yaksh/views.py
|
|
improve-code-server
Conflicts Resolved:
yaksh/templates/yaksh/question.html
|
|
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
|
|
|
|
yaml_questions
|
|
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
|
|
- Change form submission for send email in js
- Change template and view variable for mail status
|
|
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.
|
|
|
|
- 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.
|
|
|
|
|