summaryrefslogtreecommitdiff
path: root/yaksh/views.py
AgeCommit message (Collapse)Author
2018-03-16Add testcases for custom templatetag filtersmahesh
2018-03-16Include Rebase changes from shuffle testcasesmaheshgudi
2018-03-16Add jumble question typemahesh
2018-03-16Add test case order in view_answerpapermahesh
2018-03-16Add shuffle testcases option to questionsmahesh
2018-03-08Allow to search the questions in design question paperadityacp
2018-03-07Multiple fixes:ankitjavalkar
- 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
2018-03-06- Change function names and urls to 'preview_questionpaper'ankitjavalkar
- Add snippet to the questionpaper preview
2018-03-06Add a view to preview and download questionpapersankitjavalkar
2018-02-27Change in models.py, views.py, urls.py, test_views.py, courses.htmladityacp
- Allow only deep cloning of a course - Remove tests for shallow course clone
2018-02-22Change templates, test_views.py, urls.py, views.pyadityacp
- Change copy_type to shallow and deep
2018-02-20Update to latest changesadityacp
2018-02-20Change in models.py, views.py and ursl.pyadityacp
- Change urls to take two types of course clone - Change view duplicate_course to copy or clone depending on type - Change view function prof_manage to avoid error while deleting trial answerpapers - Add new model methods for course, module, unit, lesson and quiz to create copies
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