summaryrefslogtreecommitdiff
path: root/yaksh/views.py
AgeCommit message (Collapse)Author
2017-08-14Changes related to front-endprathamesh
Removed snippet append in the check view as snippet is not posted in request. Added an overlay when an user submits a code, with a status text on it. This is to block user from triggering any other event when JS is running. Overlay disappears when JS complete its execution. On time out a request is posted via JS, it receives a JSON response but cannot display user the error as time is over. So in such case, the django itself handles the result and does not return JSONv response.
2017-08-14To handle unknown status response from code serverprathamesh
2017-08-14Front-end modification for improved code serverprathamesh
Added JQuery to handle request. Sends ajax request and gets json as response. json contains token i.e uid which is answer id. Using uid, an ajax request is sent after every 2 secs till the server gives the desire result. If the code result has error then html is written on the document. If the result has correct answer then next question is displayed. *includes function for string will not work for older browers. Will substitute with a different function in next commit.
2017-06-13Merge pull request #298 from adityacp/views_testPrabhu Ramachandran
Views test
2017-05-25Add check for verifying moderator
2017-05-19Change attachment response in views.pyadityacp
2017-05-16Change forms.py, views.py, send_emails.py, models.pyadityacp
- Alter activation_key field in Profile model - Change get_activation_key function in send_mail to create secret_key of fixed length - Change forms.py to get updated activation_key - Change views.py to save activation_key
2017-05-03Change forms.py, views.py and urls.pyadityacp
- Store activation key expiry time according to timezone for email verification and activation - Add reverse resolution in urls.py
2017-04-28Redirect users to error page if they are not allowed to clone a courseankitjavalkar
2017-04-28Add feature to allow cloning a courseankitjavalkar
2017-04-27Remove conflicts from views after rebaseadityacp
2017-04-27Add course_code field allows access only to users with relevant course code ↵ankitjavalkar
string
2017-04-27Merge pull request #276 from ankitjavalkar/fix-login-redirect2Prabhu Ramachandran
Allow redirection to desired page after logging in
2017-04-27Changes in email_verification.py, views.py, forms.pyadityacp
- Updation of user email if multiple users found with same email - Update user registration form - Change email_verification.py to send email
2017-04-26Merge https://github.com/fossee/online_test into email_verificationadityacp
2017-04-24Change views and grade user for assignments downloadadityacp
2017-04-23Merge pull request #271 from adityacp/fix_course_templatesPrabhu Ramachandran
Fix Grade User, Monitor Templates
2017-04-19Change views to get distinct quizzes in dashboardadityacp
2017-04-19Change urls, models, viewsadityacp
- Add Assignment upload model manager - Change views to update marks for user if updated manually - Change variable names in views - Add url to provide assignment download for student
2017-04-19Allow redirection to desired page after logging inankitjavalkar
2017-04-10Change download assignemnts to get files using quizadityacp
2017-04-10Add download assignment feature for assignment based questionsadityacp
- Add method in AssignmentUpload to get assignments - Add function in views to serve assignment files
2017-04-07Change in forms, models, urls, viewsadityacp
- Add is_email_expired, activation_key, key_expiry_time in Profile model - Add new functions activate_user and new_activation in views for verifying and activating user via email - Change user_login and user_register functions in views for email verification - Change in forms.py to verify email during registration - Add activation urls in urls.py
2017-04-06Merge pull request #267 from ankitjavalkar/course-time-windowPrabhu Ramachandran
Multiple changes to Course:
2017-04-05Add multiple fixes based on code reviewankitjavalkar
2017-04-04Change in views and urlsadityacp
- Change monitor and grade_user function in views - Change url to get quiz id instead of question paper id
2017-04-04Fix failing test views testadityacp
2017-04-04Check if user is teacher or moderator for creating QuestionPaperadityacp
2017-03-31Multiple changes to Course:ankitjavalkar
- Allow a start and end time for Course enrollment - Allow Course to be editable
2017-03-22Merge pull request #256 from ankitjavalkar/fix-tagsPrabhu Ramachandran
Fix issue and allow tags to be saved while saving questions
2017-03-21Fix issue and allow tags to be saved while saving questionsankitjavalkar
2017-03-21rebase changes for simple question typesmahesh
2017-03-20Merge pull request #252 from adityacp/assignment_upload_checkPrabhu Ramachandran
Assignment upload Evaluation
2017-03-20Merge pull request #228 from adityacp/fixesPrabhu Ramachandran
Ordering Questions while creating Question Paper
2017-03-20Merge branch 'master' of https://github.com/fossee/online_test into ↵mahesh
fill_in_the_blanks
2017-03-17Merge https://github.com/fossee/online_test into assignment_upload_checkadityacp
2017-03-17Change consolidate_answer_data to get assignment uploadsadityacp
2017-03-16Changes in models views and urlsadityacp
- Handle Json parsing error - Remove Sample file download from views and urls
2017-03-15Change assignment dir path and add condition for json dataadityacp
2017-03-15Changes in Views and Modelsadityacp
- Add new boolean field in Question model whether to check assignment upload or not - In views before uploading a assignment file, check if it already exists and delete previous file - Grade assignment file with hook code
2017-03-10Change views and modelsadityacp
- Remove Fixed Question Model - Create a fixed question order attribute in models
2017-03-10Remove manytomany relationship for fixed_questions in question paperadityacp
2017-03-10Changes in models and viewsadityacp
- Display error message if questions_dump.json is not found in zip file - Provide a sample zip file to for easy zip file creation
2017-03-09rebase changesmaheshgudi
2017-03-08Merge pull request #235 from ankitjavalkar/fix-del-questionsPrabhu Ramachandran
Hide inactive/deleted questions in Questionpaper creation and question filter
2017-03-07Hide inactive/deleted questions in Questionpaper creation and question filterankitjavalkar
2017-03-06Modify UI for notifications in submitted code questionsankitjavalkar
2017-03-06Multiple changes:ankitjavalkar
- Fix movement from one question to another in next_question - Fix random display of errors from MCQs - Add Notification display if question has been attempted - Fix test cases for changes made
2017-03-06Remove commented codeankitjavalkar
2017-03-06Allow revisiting all types of question to resubmit answerankitjavalkar