Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Updates if the username is same.
Additional csv header "remove" added, to remove user from the course.
|
|
delimiters
|
|
upload_users_csv
|
|
detailed_csv_download_quiz
Resolved
Conflicts:
CHANGELOG.txt
|
|
|
|
Fix Course Ordering in Courses Page
|
|
|
|
The csv takes firstname, lastname and email.
User and Profile are created with username and password been same as
email.
Following cases are handled for csv upload:
- wrong csv headders
- missing csv values
- already existing users
- invalid csv
|
|
|
|
Latest Course will be shown on Top in Courses Page
|
|
edit_profile view had a decorator has_profile.
So, has_profile will redirect to edit_profile if no profile.
But then if I submit my profile form then the has_profile will again
redirect to edit_profile, instead of updating my profile.
So this cycle will continue endlessly for a user with no profile, and
will never be able to create/update his profile!
Will face this when user is created via csv upload, django admin or
oauth login without pipeline.
Also, profile instance is passed to the profile form via get query,
which will fail if no profile.
Added a views test for the above.
Fixed.
Additionally that can be thought of later:
The has_profile decorator is used for few views only,
so one can access views if they know the url, even if they do not have a
profile.
email edit option for users
|
|
Changed the HTML select id attribute to name, necessary to track in POST
request
|
|
CSV download for a quiz now shows question wise grades.
Also, for a given attempt all the users from the course are entered in
the CSV. If the user has not attempted then a dash '-' is put under the
grades.
Also, handles random questions, if a question paper has questions
selected from pool of questions then all the questions are entered in
the CSV. 'NA' is put under the question grade if that question has not
come in the question/answer paper for that given user.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
improve-code-server
Conflicts Resolved:
yaksh/views.py
|
|
|
|
|
|
|
|
|
|
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
|
|
number.
|
|
|
|
|
|
|
|
|
|
|
|
- Template yaml is now generated on the fly.
- Removes yaml_question_template files.
- Fixes order for yaml file inside demo_questions.zip
|
|
yaml_questions
|
|
|
|
Display all hidden courses with pending enrollment requests
|
|
Validate quiz prerequisite field
|
|
- Change form submission for send email in js
- Change template and view variable for mail status
|
|
- Pep8 changes
- Remove redundant check from send mail function
- Move validation send mail validation to js
|
|
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.
|
|
|