Commit Graph

958 Commits

Author SHA1 Message Date
Ross cf09449d16 . 2025-11-10 12:23:51 +00:00
Ross e078b5a98f Refactor exam review templates and views to improve response summary display and handle unanswered responses 2025-11-10 09:58:02 +00:00
Ross e37a7e0b74 Allow superusers to bypass open access check in question detail view 2025-11-10 09:16:10 +00:00
Ross 092c4a1be6 Add aggregated response summary and user answer filtering in exam review 2025-11-09 22:06:56 +00:00
Ross fd8edd3cc3 Refactor exam review fragment inclusion to support app-specific templates and improve HTMX handling 2025-11-09 21:41:02 +00:00
Ross 2142749db6 Refactor exam review URLs and streamline HTMX request handling in views 2025-11-09 21:36:22 +00:00
Ross 1e1abb2e7f Refactor HTMX request detection to use request.htmx for improved compatibility 2025-11-09 21:18:31 +00:00
Ross 133a63cecc Improve HTMX request detection by using request.headers and falling back to META for compatibility 2025-11-08 22:15:03 +00:00
Ross 8ad47ffc91 Change hx-swap attribute from outerHTML to innerHTML for navigation buttons in exam review question fragment 2025-11-08 22:13:11 +00:00
Ross bf240af678 Change hx-swap attribute from innerHTML to outerHTML for navigation buttons in exam review template 2025-11-08 22:12:07 +00:00
Ross 0f571d8f5c Refactor exam review question template to support HTMX navigation and create a partial for question details 2025-11-08 22:10:21 +00:00
Ross 321c7ef895 Add user access check for editing/reviewing exams in GenericViewBase 2025-11-08 22:07:28 +00:00
Ross d26cac04a7 Add exam review links to navigation in multiple templates 2025-11-08 22:05:52 +00:00
Ross 5613bf6b9f Add exam review functionality with navigation for questions 2025-11-08 21:56:08 +00:00
Ross 1a45f11fc2 test updating view 2025-11-08 21:48:27 +00:00
Ross 4d830bb8e7 . 2025-11-08 21:16:23 +00:00
Ross b424defd57 Optimize exam collection queries by annotating exam counts and prefetching authors to improve template performance 2025-11-07 22:16:24 +00:00
Ross 00a675b715 Refactor exam collections list to use Bootstrap cards for improved layout and add total exam count display 2025-11-07 22:13:09 +00:00
Ross 71e9b47c6b Enhance button labels for clarity in exam collection detail view 2025-11-07 21:27:08 +00:00
Ross 9f8b4ff36a Add candidate count method to ExamOrCollectionGenericBase and update exam list template 2025-11-07 21:10:52 +00:00
Ross 9b8e6f1398 Convert date inputs to ISO format on form submit for correct Django parsing 2025-11-06 22:20:07 +00:00
Ross 0ff60da006 Add date range filtering to exams with jQuery UI datepicker support 2025-11-06 22:18:50 +00:00
Ross 53e18e296e Improve exam display layout by adding badges for questions and candidates in the exam list 2025-11-06 22:09:31 +00:00
Ross 8f2ca66bbb Enhance bulk selection functionality in exam index template with visual cues and row click toggling 2025-11-06 22:03:48 +00:00
Ross ebad9c6bd9 Refactor exam date handling to use start_date instead of date in bulk update functionality 2025-11-06 22:01:57 +00:00
Ross 54afa6e6bd Implement bulk update and delete functionality for exams with HTMX support 2025-11-06 21:53:35 +00:00
Ross 17541b8187 Remove filter details section from exam index template 2025-11-06 21:44:21 +00:00
Ross 04ce90049a Apply date from original collection to cloned exams in ExamCollectionClone 2025-11-06 21:41:53 +00:00
Ross 2d963259ca Add exam collection link to the navigation menu and clean up dropdown toggle 2025-11-06 21:30:14 +00:00
Ross 3a5ceabff0 Refactor auth group dropdown in profile and fragment templates for improved functionality and user experience 2025-11-03 12:37:32 +00:00
Ross 3461e45f93 Refactor user group management by moving auth groups to profile.html and creating a dedicated auth_groups_fragment.html for better organization and clarity 2025-11-03 12:31:49 +00:00
Ross 68dc7c05d8 Enhance user group management by adding support for Django auth groups and improving group toggle functionality for superusers and user managers 2025-11-03 12:25:29 +00:00
Ross 772e852763 Implement user group management with toggle functionality for superusers 2025-11-03 12:10:58 +00:00
Ross d93483db26 Refactor permission checks in UpdateQuestionMixin to include author and reviewer group validation 2025-11-03 11:53:45 +00:00
Ross aff8d205ed Remove filter options section from user view template and update permission checks in toggle function 2025-11-03 11:44:14 +00:00
Ross e58f070ae2 Enhance question review functionality with latest review status annotation and display in templates 2025-11-03 11:37:09 +00:00
Ross 7a00efdf39 Add filtering option for questions reviewed by the current user in question review list 2025-11-03 11:21:17 +00:00
Ross 3c1bd40ce6 Add user and supervisor search endpoints for trainees bulk-update UI 2025-11-03 11:08:02 +00:00
Ross 0679a0ec13 Refactor bulk delete error handling and update user search visibility for superusers 2025-11-03 10:59:18 +00:00
Ross 5d91b4a4ff Adjust padding in floating filter for improved layout consistency 2025-11-03 10:53:18 +00:00
Ross 83a60203f7 Enhance filtering functionality and UI consistency across user-related views by implementing a generic search filter and updating filter display in templates. 2025-11-03 10:47:40 +00:00
Ross 2d0098b2b6 Merge branch 'master' of https://git.xkjq.uk/ross/penracourses 2025-11-03 10:38:27 +00:00
Ross 8dbc39a317 Refactor filter bar implementation for consistency and improved usability across case and question views 2025-11-03 10:34:07 +00:00
Ross 66f9dadcc8 Normalize supervisor emails and add unique constraint for case-insensitive email uniqueness 2025-11-03 10:30:45 +00:00
Ross 09d9befceb Implement row selection controls in templates and refactor related JavaScript functionality 2025-11-01 21:20:10 +00:00
Ross cbf4c3497d Ensure selection column is always placed last in the column order for improved table layout 2025-11-01 20:57:35 +00:00
Ross 57a3b02da3 Implement selection-enabled table base class and update QuestionTable to inherit from it 2025-11-01 20:45:59 +00:00
Ross dca4ff249a Add 'frcr_appropriate' field to Question model for exam relevance 2025-10-29 21:03:01 +00:00
Ross e503576e7a Enhance trainees table with sortable columns and improved bulk edit options 2025-10-27 15:22:41 +00:00
Ross fba8d5ab05 Add supervisor search functionality with HTMX support for manual selection in bulk updates 2025-10-27 14:43:41 +00:00