Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Enhance course status
|
|
- Remove else condition in get_current_unit model method
- Reduce ajax timeout in course.js
- Create a new model method to set current unit
- Change views test
|
|
|
|
|
|
Preview QuestionPaper as an HTML
|
|
- Add views test cases in test_views.py
- Add minutes unit to preview_questionpaper template
- Add error handling in views when random user accesses questionpaper
|
|
- Allow only deep cloning of a course
- Remove tests for shallow course clone
|
|
- Change copy_type to shallow and deep
|
|
|
|
|
|
- Add views test to check active status for lesson and learning module
- Change models test for module get_status method
|
|
Fix lessons related bug
|
|
- Add active field for exercise form
- Fix views test case for creating exercise
- Show question paper for exercise
|
|
|
|
|
|
|
|
|
|
- Add a condition to disallow a teacher to become course creator
- Add test to check if a teacher does not become course creator
|
|
- Allow teacher to edit questionpaper for a quiz
- Add test to check if teacher is allowed to edit questionpaper for a quiz
|
|
|
|
Conflicts Resolved:
yaksh/templates/yaksh/courses.html
yaksh/templates/yaksh/question.html
|
|
Added solution attribute to the Question model.
|
|
|
|
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 new tests for views
- Pep8 changes in views
|
|
- Add new views test
- Fix Selenium tests
|
|
|
|
- Fix view answer paper for student
- Fix existing views test cases
|
|
|
|
delimiters
|
|
upload_users_csv
|
|
|
|
detailed_csv_download_quiz
Resolved
Conflicts:
CHANGELOG.txt
|
|
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
|
|
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
|
|
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.
|
|
|
|
|
|
|
|
|
|
yaml_questions
|
|
|
|
|
|
|
|
- Fixes selenium test cases, test_models, test_views
- Fixes create demo question paper
|
|
- Remove validation test case for send mail
- Pep8 changes
|
|
|