summaryrefslogtreecommitdiff
path: root/yaksh/views.py
AgeCommit message (Collapse)Author
2018-02-15Change in models, test_models and viewsadityacp
- Change learning module test to remove units from course status after successful test run - Remove unnecessary comments from views - Remove unnecessary condition from module get_status method
2018-02-08Change in forms.py, views.py and models.pyadityacp
- Add new attribute active in lesson and learningmodule model - Change learningmodule get_status method - Add condition in lesson, quiz and module views to check if module is active or not
2018-01-19Merge pull request #426 from adityacp/fix_lessons_redirectPrabhu Ramachandran
Fix lessons related bug
2018-01-19Change in views and templatesadityacp
- Add active field for exercise form - Fix views test case for creating exercise - Show question paper for exercise
2018-01-19Improve views test case for questionpaperadityacp
2018-01-18Add docstring to update course status view functionadityacp
2018-01-18Update to latest changes from masteradityacp
2018-01-18Change in views.py and models.pyadityacp
- Fetch all the answerpapers using questionpaper and course instead of only questionpaper
2018-01-17Change views.py and test_views.pyadityacp
- Add a condition to disallow a teacher to become course creator - Add test to check if a teacher does not become course creator
2018-01-16Change template, urls.py, views.pyadityacp
- Change show_video.html to empty module - Add condition to check if module is completed for the corresponding unit
2018-01-16Change in template, test_views, urls and viewsadityacp
- Allow teacher to edit questionpaper for a quiz - Add test to check if teacher is allowed to edit questionpaper for a quiz
2018-01-12Change in models.py, views.py and urls.pyadityacp
- Add new model methods to calculate percent of module and course completion - Add new view function for displaying course status - Add new url to redirect to course status
2018-01-08Merge pull request #416 from adityacp/enhance_yaksh_uiPrabhu Ramachandran
Enhance yaksh design
2018-01-08Change in models.py and views.pyadityacp
- Add new model method for course to check last unit and get next module - Change views to allow student to redirect to next module
2018-01-04Multiple Changes:ankitjavalkar
- 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
2018-01-04- Add python-decouple package to requirementsankitjavalkar
- Use sane defaults and python-decouple in yaksh.settings module - Replace hard coded localhost domain name referring to code server with dynamic settings variable
2018-01-03Made UI changes as per suggestionprathamesh
Added view answerpaper option to exercise form.
2018-01-02Merge branch 'master' of https://github.com/FOSSEE/online_test into exerciseprathamesh
Conflicts Resolved: yaksh/templates/yaksh/courses.html yaksh/templates/yaksh/question.html
2018-01-02Allowed user to skip and view solution if the answer is correct.prathamesh
Added solution attribute to the Question model.
2018-01-02Changes in views, models, templates and jsadityacp
- 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
2018-01-02Update to latest changesadityacp
2017-12-29Fix assignment upload to work with new code servermaheshgudi
2017-12-27Exercise feature in video lessonsprathamesh
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.
2017-12-14Change in test_views and viewsadityacp
- Add new tests for views - Pep8 changes in views
2017-12-14Change views.py and urls.pyadityacp
- Add new views function to view course modules - Add new url to view course modules
2017-11-28Change in views.py and urls.pyadityacp
- Change view function name from show_video to show_lesson - Change add quiz, lesson, module view function
2017-11-24Merge branch 'yaksh_video_lessons' of https://github.com/fossee/online_test ↵mahesh
into yaksh_video_lessons
2017-11-23Put page footer outside div containermaheshgudi
2017-11-23Change urls, views, template, test_viewsadityacp
- Fix view answer paper for student - Fix existing views test cases
2017-11-23Minor changes in requesthandler.jsmaheshgudi
2017-11-23Render error output with django template instead of javascriptmahesh
2017-11-22Display error output without reloading.maheshgudi
2017-11-22Fixed existing model testsprathamesh
Also, added "markdown" to requirements
2017-11-22Change forms.py, models.py, views.py, templates, templatetagsadityacp
- 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
2017-11-21Change in templates, js, template tagadityacp
- 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
2017-11-21Change in models.py and views.pyadityacp
- Add validation to check if prerequisite module is completed - Fix User mode and God mode for quiz - View proper message to user on failure
2017-11-20Change complete.html and change download quiz csv in viewsadityacp
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