summaryrefslogtreecommitdiff
path: root/yaksh/views.py
AgeCommit message (Collapse)Author
2017-11-20Change in views.pyadityacp
- 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
2017-11-14Merge pull request #378 from prathamesh920/upload_users_csvPrabhu Ramachandran
Upload users csv
2017-11-14Added sample csv for user to download and upload.prathamesh
2017-11-13set_password to convert into hashprathamesh
2017-11-13Added test case for add, update and removeprathamesh
2017-11-13if password is empty then defaults to emailprathamesh
2017-11-13csv can now take extra fields related to profile.prathamesh
Updates if the username is same. Additional csv header "remove" added, to remove user from the course.
2017-11-10Optimised the code and added dialect while reading to handle differentprathamesh
delimiters
2017-11-10Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
upload_users_csv
2017-11-09Prepopulate the test case type field when adding test cases to questionsankitjavalkar
2017-11-07Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
detailed_csv_download_quiz Resolved Conflicts: CHANGELOG.txt
2017-11-07Made changes as per suggestionsprathamesh
2017-11-06Merge pull request #376 from Akshen/developPrabhu Ramachandran
Fix Course Ordering in Courses Page
2017-11-06Show Latest Active Course on top of Courses PageAkshen
2017-11-06Upload user to the course via csv.prathamesh
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
2017-11-04Show Active Course on top of Courses PageAkshen
2017-10-31Fix Course Ordering in Courses PageAkshen
Latest Course will be shown on Top in Courses Page
2017-10-27Edit Profile Bug Fixprathamesh
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
2017-10-27Excluded teachers and creator form the enrolled users listprathamesh
Changed the HTML select id attribute to name, necessary to track in POST request
2017-10-26CSV download for quiz enhancedprathamesh
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.
2017-10-06Pep8 change in views.pyadityacp
2017-10-05Update grade user UImahesh
2017-10-04Update non-code and non-upload answers instead of creating a new onemaheshgudi
2017-10-04Fix bug to prevent saving a code question answer on skipankitjavalkar
2017-09-19Fixes Nonetype object has attribute 'encode' errormaheshgudi
2017-09-12Change in variable nameprathamesh
2017-09-08Modification as per comments on the PRprathamesh
2017-09-05Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
improve-code-server Conflicts Resolved: yaksh/views.py
2017-09-05Fixes minor mistake.maheshgudi
2017-09-02Issue after merge resolvedprathamesh
2017-09-02Resolved Conflictsprathamesh
2017-09-01Rebase changesmahesh
2017-09-01Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
improve-code-server Conflicts Resolved: .travis.yml yaksh/views.py
2017-09-01Merge branch 'master' of https://github.com/FOSSEE/online_test into ↵prathamesh
improve-code-server Conflicts Resolved: yaksh/templates/yaksh/question.html
2017-09-01Merge pull request #309 from ankitjavalkar/fix-closed-coursePrabhu Ramachandran
Fix bug to prevent students from attempting pre-enrolled deactivated course
2017-09-01Removed all the checkpoints set for selenium tests on travisprathamesh
javascript strings includes method changed to indexOf, as includes belongs to ES6. This was the main reason for failure of selenium tests on travis.
2017-09-01Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
add_tag_search
2017-09-01User Cannot skip/jump attempt numbers. Forces incremental nature of attempt ↵maheshgudi
number.
2017-09-01updated travis config and added print to debug on travisprathamesh
2017-08-30Fixes Multiple answerpaper objects returned bugmahesh
2017-08-29Fixes 'AnonymousUser' object is not iterable bug.mahesh
2017-08-28Add changes to make PEP8 compliantankitjavalkar
2017-08-28Fix bug: Prevent students from attempting pre-enrolled deactivated coursesankitjavalkar
2017-08-25Fixes order in demo_questions.zipmahesh
- Template yaml is now generated on the fly. - Removes yaml_question_template files. - Fixes order for yaml file inside demo_questions.zip
2017-08-24Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
yaml_questions
2017-08-24Add a has_profile decoratorankitjavalkar
2017-08-24Merge pull request #311 from ankitjavalkar/show_enrolled_hidden_crsPrabhu Ramachandran
Display all hidden courses with pending enrollment requests
2017-08-24Merge pull request #300 from ankitjavalkar/validate-quiz-prerequisitePrabhu Ramachandran
Validate quiz prerequisite field
2017-08-22Change course.js, course_detail.html and views.pyadityacp
- Change form submission for send email in js - Change template and view variable for mail status
2017-08-17Change views.pyadityacp
- Pep8 changes - Remove redundant check from send mail function - Move validation send mail validation to js