Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
|
|
- Add test for email_verified decorator
- Add tests to check for non moderator logins
|
|
|
|
|
|
|
|
|
|
|
|
- Allow a start and end time for Course enrollment
- Allow Course to be editable
|
|
- Remove Fixed Question Model
- Create a fixed question order attribute in models
|
|
|
|
|
|
not fetched from a file
|
|
- code_evaluator module and class renamed to grader
- Test cases fixed
- Comments removed
- weight variable renamed to mark
|
|
|
|
|
|
|
|
|
|
regrade_papers
Resolved
Conflicts:
yaksh/models.py
yaksh/test_models.py
yaksh/urls.py
yaksh/views.py
|
|
A question can be regraded for a given quiz.
Whole quiz can be regraded. Particular user paper can be regraded.
Moved validate_answer from views to models.
regrade method also updates the answer i.e. marks and correctness.
Also, the answer paper percentage is updated.
|
|
|
|
|
|
|