Commit Graph

4325 Commits

Author SHA1 Message Date
Ross eeef34bffc Add prerequisites handling to CaseCollection and implement user access checks 2025-10-13 13:46:01 +01:00
Ross a3712959ec Enhance form rendering with crispy forms and improve answer timestamp handling in collection views 2025-10-13 13:22:26 +01:00
Ross ed4bd95955 Refactor self-review display logic and enhance user answer feedback in collection templates; improve form serialization for timeout handling 2025-10-13 11:48:13 +01:00
Ross 32d8430f94 Add CID user support in collection history and reset answers functionality 2025-10-13 11:28:07 +01:00
Ross fa08f9cf76 Implement timed-out submission handling and AJAX response for collection case view 2025-10-13 10:32:25 +01:00
Ross 1cf18c6f0d Fix button formatting for user answer reset functionality 2025-10-13 10:26:11 +01:00
Ross 41d1fa605b Fix button formatting and ensure proper user checks in collection reset answers template 2025-10-13 10:05:43 +01:00
Ross a355dd223e Add timestamps for answer tracking in report models and views; enhance timer display in templates 2025-10-13 10:02:37 +01:00
Ross 6f99cf0d53 Add question time limit to CaseCollection model and update related template for countdown display 2025-10-13 09:45:12 +01:00
Ross 682e8160b5 Refactor user collections view to categorize collections into available, in-progress, and finished; update templates for improved display of collection statuses and question rendering. 2025-10-06 13:51:55 +01:00
Ross 569ef760fa Refactor case detail retrieval into a separate function for improved readability and error handling 2025-10-06 11:32:44 +01:00
Ross bdfa16bbb4 Refactor example answers form and remove unused iframe in collection view 2025-10-05 22:41:49 +01:00
Ross 974966e855 Add example answers form rendering and update viewer iframe 2025-10-05 22:24:40 +01:00
Ross 63f399d2c1 Comment out iframe for viewer to improve layout and prevent unnecessary loading 2025-10-05 22:04:27 +01:00
Ross bb20f7d20d Update login prompt to include redirect after successful login 2025-10-05 21:50:22 +01:00
Ross 850b6ddc84 Fix login URL reference in CID and passcode input section 2025-10-05 21:49:22 +01:00
Ross e051a4f15a Add login link prompt for registered users in CID and passcode input section 2025-10-05 21:48:30 +01:00
Ross 735a29e71b Open DICOM viewer details by default and comment out multi-image block for improved user experience 2025-10-01 20:28:54 +01:00
Ross 4fc1de4300 Refactor code structure and remove redundant functions for improved readability 2025-10-01 20:24:10 +01:00
Ross 5400959399 Enhance error handling in example form by displaying non-field errors and providing a debug view for all form errors 2025-10-01 20:09:36 +01:00
Ross 0839eb7e37 Enhance error handling and user experience for JSON answer input in form 2025-09-22 12:45:32 +01:00
Ross f087a6ef49 Add helper functions for question type inference and options management in question editor 2025-09-22 12:39:05 +01:00
Ross ac562ed1e1 Add default question block structure and validation for properties in question editor 2025-09-22 12:08:50 +01:00
Ross 5d6c5e8b1a Implement code changes to enhance functionality and improve performance 2025-09-22 11:29:35 +01:00
Ross 73b12dd96b Add management links to case details in collection_detail template and update question_link_header to include case details 2025-09-22 11:29:19 +01:00
Ross 990907f8f5 Refactor code structure for improved readability and maintainability 2025-09-22 10:45:21 +01:00
Ross ee42d5c1c2 Convert case series images to JSON format in CaseDetail model for improved data handling 2025-09-15 12:03:24 +01:00
Ross 85216b36b0 Fix typo in prior_cases reference and streamline relationship validation in collection_case_priors 2025-09-15 12:01:12 +01:00
Ross 32b246b5ad Update DICOM viewer data source to use get_case_series_nested method for improved case detail rendering 2025-09-15 11:50:09 +01:00
Ross 3b19ddcb5e Enhance get_case_series_nested method to include prior cases and update collection_case_view_take template to add DICOM viewer details 2025-09-15 11:49:09 +01:00
Ross 50f5813a75 Enhance get_series_images_nested method to support excluding specific series IDs and improve query efficiency 2025-09-15 11:43:18 +01:00
Ross 298493a390 Remove redundant author validation check in collection_take_start and streamline access control in ExamOrCollectionGenericBase 2025-09-15 11:34:17 +01:00
Ross de8050a8ca Add author validation in collection_take_start and implement is_author method in AuthorMixin 2025-09-15 11:31:05 +01:00
Ross 0b12d95bdd Fix navigation links in collection case details and enhance form handling for case detail updates 2025-09-15 11:23:20 +01:00
Ross b9f6b7c837 Refactor collection case navigation and question handling
- Updated links in collection_case_priors.html to point to the new collection_case_questions view.
- Modified collection_case_view_take.html to display case history using the new method.
- Changed collection_detail.html to include links to the new collection_case_questions view.
- Added new URL pattern for collection_case_questions in urls.py.
- Refactored collection_case_details view to handle question-related logic and rendering.
- Introduced new CaseQuestionForm for handling question submissions.
- Created new migration to add override_history and redact_history fields to CaseDetail model.
- Added new templates for collection_case_details.html and collection_case_questions.html to manage case questions.
- Enhanced JavaScript functionality for dynamic question management in collection_case_questions.html.
- Updated useranswer model fields in shorts app to improve feedback and scoring.
2025-09-15 11:17:57 +01:00
Ross 779559997e Enhance DICOM viewer interaction by adding context menu prevention and fullscreen support; register basic interaction tools for improved user experience 2025-09-08 14:00:19 +01:00
Ross 0db1e4c689 Implement code changes to enhance functionality and improve performance 2025-09-08 12:09:16 +01:00
Ross 6b1db6b3c5 Enhance image display in mark_answer.html and add remote URL to context in mark_answer view for improved layout and functionality 2025-09-08 11:25:28 +01:00
Ross 9ed8fd90b3 Enhance feedback display in exam scores template and update question data retrieval for improved user experience 2025-09-08 11:01:17 +01:00
Ross 30523c9296 Enhance exam scores and marking templates with improved feedback display and structured question details 2025-09-08 10:56:37 +01:00
Ross 83e8c14f31 Enhance navigation buttons for previous and next candidates with improved styling and accessibility features 2025-09-08 10:50:18 +01:00
Ross d7a410e8f8 Enhance marking completion message and candidate display in mark_answer.html for improved clarity 2025-09-08 10:47:58 +01:00
Ross 7cc6b2959a Add help tags for enhanced user guidance in templates and improve feedback descriptions in models 2025-09-08 10:45:33 +01:00
Ross 7ff5d1d37e Enhance shorts exam functionality by adding history tracking and updating feedback display in exam scores template 2025-09-08 10:26:16 +01:00
Ross 5270d5cd36 Refactor feedback image handling and enhance sample answers display in exam scores user template 2025-09-08 10:16:53 +01:00
Ross 214b531757 Add exam scores user template with dynamic answer display and feedback 2025-09-08 09:47:34 +01:00
Ross 963221633a Add Shorts exam type to USER_EXAM_TYPES and update index.html for course/exam navigation 2025-09-08 09:39:35 +01:00
Ross 149b95a7e4 Fix URL for viewing question details by adjusting index in mark_answer.html 2025-09-02 21:38:21 +01:00
Ross 8a92460cb2 Increase max_length of image_md5_hash field to 64 in SeriesImage and LongSeriesImage models 2025-09-02 21:22:06 +01:00
Ross a7e0438290 Add Shorts Exams support in ExamCollection forms and detail view 2025-09-01 22:07:27 +01:00