Commit Graph

1283 Commits

Author SHA1 Message Date
Ross 0c6d33e26a Enhance user uploads view by grouping series by StudyInstanceUID and adding a partial template for displaying common DICOM tags 2026-03-02 10:31:04 +00:00
Ross b43d441da1 Refactor authentication for DICOM endpoints to use TokenAuth and enhance error handling in upload process 2026-03-02 10:02:17 +00:00
Ross b7cf022622 Refactor import_dicoms_helper to accept explicit queryset and enhance upload_dicom_case with detailed upload status reporting 2026-02-23 13:16:32 +00:00
Ross 419063fdeb Enhance BearerAuth to set request.user from api_token and improve series author assignment in import_dicoms_helper 2026-02-23 12:52:55 +00:00
Ross a6205c95cb Update authentication method to BearerAuth for DICOM endpoints 2026-02-23 12:48:58 +00:00
Ross c00e08d63e Refactor token authentication: streamline bearer token validation and improve error handling 2026-02-23 12:41:58 +00:00
Ross a3ac91437f Implement API token authentication: add BearerAuth and SessionOrBearer classes, create endpoints for token generation and validation 2026-02-23 12:35:29 +00:00
Ross d7f3ebf950 Add API token management: implement APIToken model, views, and templates for creating and revoking tokens 2026-02-23 11:57:57 +00:00
Ross 83d1b48213 Add DICOM upload and case retrieval endpoints: implement upload_dicom_case and get_cases_available functions 2026-02-23 10:45:34 +00:00
Ross 65db1220d8 Fix button formatting in series image size partial template 2026-02-23 10:34:18 +00:00
Ross 3cdfba0acf Add image size display to series viewer: implement HTMX endpoint and partial template for total image size 2026-02-23 09:55:35 +00:00
Ross d899d0d86a Enhance ProcedureForm and ProcedureCreate: add form helper initialization, update procedure form action URL, and implement logging in dispatch method 2026-02-16 14:24:07 +00:00
Ross 44d23801b2 Add Procedure model integration: create views, forms, and templates; update URLs and search functionality 2026-02-16 14:15:28 +00:00
Ross 6e3ab7de41 Add procedures filter to NormalCaseFilter; update fields and queryset handling 2026-02-16 14:08:37 +00:00
Ross a51a5c8d54 Add Procedure model and integrate into CaseForm; update views and templates for procedure handling 2026-02-16 14:04:37 +00:00
Ross 36da045d71 Enhance NormalCase functionality: prepopulate age fields on edit, update author handling in create case normal view, and refine template logic for editing permissions 2026-02-16 13:45:10 +00:00
Ross 0b6661c018 Refactor NormalCase model: remove 'added_by' field, add 'author' ManyToManyField; update related views and templates for editing functionality 2026-02-16 13:32:06 +00:00
Ross 990f4534bd Update case display block: replace plain text with links for findings, structures, and conditions 2026-02-16 12:12:18 +00:00
Ross 7ec81133d8 Allow any authenticated user to create new Structure entries in autocomplete 2026-02-09 22:33:30 +00:00
Ross d2f4c21883 Add "View as viva" option to collection actions dropdown 2026-02-09 13:03:17 +00:00
Ross 08c3558861 Add dismissible performance warning for large collections with persistence 2026-02-09 12:45:46 +00:00
Ross add7a1cf38 Add dismissible performance warning for large collections in collection_detail template 2026-02-09 12:44:19 +00:00
Ross 65f08cce6c Add performance warning for large collections in collection_detail template 2026-02-09 12:42:03 +00:00
Ross 3c8238d737 Add user permission checks for series editing and enhance author display method 2026-02-09 12:27:20 +00:00
Ross 23f33ac7ae Optimize collection_viva by aggressively prefetching and annotating related objects to prevent N+1 queries 2026-02-09 12:15:36 +00:00
Ross ab130a08ed Optimize collection_viva by annotating and prefetching related objects to prevent N+1 queries 2026-02-09 12:13:00 +00:00
Ross 45e01a78c1 Refactor case management links and button structure for improved readability and consistency 2026-02-09 11:24:43 +00:00
Ross 25e5ef78ed Update case series count and management links to use collection.pk for consistency 2026-02-09 11:24:33 +00:00
Ross 13dd79b508 Rename parameter 'case_id' to 'case_number' in collection_case_dicom_json_review for consistency 2026-02-09 11:15:57 +00:00
Ross 89986ba2e9 Refactor collection_case_dicom_json to use case_number instead of case_id for improved clarity and error handling 2026-02-09 11:14:53 +00:00
Ross f9e69e1206 Rename parameter 'case_id' to 'case_number' in collection_case_dicom_json function for clarity 2026-02-09 11:13:44 +00:00
Ross e7de6c8970 Set default archive filter to False in CaseCollectionFilter 2026-02-09 11:06:39 +00:00
Ross ea139456a8 Fix URL for editing display set in modal 2026-02-09 10:56:37 +00:00
Ross 035da12e96 Add edit permission check for display set modal and update template 2026-02-09 10:49:28 +00:00
Ross 3b9942054d Increase timeout for loading display set details and remove redundant script from modal 2026-02-09 10:34:20 +00:00
Ross 5761117e68 Enhance case display with modal functionality for findings and display sets 2026-02-09 10:33:06 +00:00
Ross f316dc9bcb Filter out removed images in Case model's image retrieval 2026-02-09 09:46:16 +00:00
Ross bdb7b653b6 Add modal for viewing display set details and update URLs and views 2026-02-08 22:42:14 +00:00
Ross 1eeb0d89d9 Add get_history method to CaseDetail model and update case_list_item template for history modal 2026-02-08 21:42:17 +00:00
Ross f3702db5f6 Refactor case field buttons to use hidden modal content and remove unused endpoint 2026-02-02 22:39:49 +00:00
Ross a6a7d75144 Implement modal for case fields and add partial endpoint for dynamic content retrieval 2026-02-02 22:29:52 +00:00
Ross 14bba93c4d Add quick-view icons for case details in case list item template 2026-02-02 22:22:37 +00:00
Ross f29df840c6 Refactor collection detail template to improve display of exam mode and access information 2026-02-02 22:15:20 +00:00
Ross 9bf68cd136 Add condition filters to CaseFilter for enhanced search capabilities 2026-02-02 13:58:21 +00:00
Ross 42163448bf Add free-text search filter for Examination in CaseFilter to improve searchability 2026-02-02 13:56:31 +00:00
Ross 3ade162b28 Remove series truncation endpoint from API 2026-02-02 13:30:06 +00:00
Ross f4186bf923 Fix indentation for confirmation prompt in series truncation logic 2026-02-02 13:24:37 +00:00
Ross 5bb2aea8ef Add HTMX endpoint for truncating series images and corresponding result template 2026-02-02 13:24:27 +00:00
Ross 8911c09c0e Enhance CaseFilter to show distinct examination values for series, improving clarity in selection options 2026-02-02 12:14:16 +00:00
Ross 7342b11b27 Fix button formatting for adding to collection in case display block 2026-02-02 12:09:37 +00:00