Age | Commit message (Collapse) | Author |
|
Enhance yaksh design
|
|
- Add new model method for course to check last unit and get next module
- Change views to allow student to redirect to next module
|
|
- Add python-decouple package to requirements
- use sane defaults and python-decouple in yaksh.settings and online_test.settings module
- Replace hardcoded localhost domain name referring to code server with dynamic
- Move Dockerfile to dedicated directory
- Add dynamic run-as-admin commands to the base command depending on OS
- Replace linux specific commands like cp with Python functions
|
|
- Use sane defaults and python-decouple in yaksh.settings module
- Replace hard coded localhost domain name referring to code server with dynamic settings variable
|
|
Added view answerpaper option to exercise form.
|
|
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
|
|
|
|
|
|
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 function to view course modules
- Add new url to view course modules
|
|
- Change view function name from show_video to show_lesson
- Change add quiz, lesson, module view function
|
|
into yaksh_video_lessons
|
|
|
|
- Fix view answer paper for student
- Fix existing views test cases
|
|
|
|
|
|
|
|
Also, added "markdown" to requirements
|
|
- Add start_time, end_time enrollement in course form
- Change get_quiz_details in course model
- Add validation to check if course is active and not expired
- Template changes for cleaner dashboard
|
|
- 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 validation to check if prerequisite module is completed
- Fix User mode and God mode for quiz
- View proper message to user on failure
|
|
|
|
- View function for creating new lesson
- View function for creating new learning modules
- View function for adding modules to course
- View function for controlling and viewing learning modules
|
|
Upload users csv
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|