Commit Graph

2324 Commits

Author SHA1 Message Date
Jon
59a9a1ca75 Merge pull request #514 from nofusscomputing/ensure-user-always-added-to-ticket-comment 2025-02-01 20:24:45 +09:30
Jon
942104ebed test(core): Test case to ensure ticket comment always has user added
ref: #514 fixes #460
2025-02-01 20:10:28 +09:30
Jon
df7b40ba03 feat(core): Validate user field to ensure ticket comments always have user who added comment
ref: #460 #514
2025-02-01 20:10:10 +09:30
Jon
1488c6e96a Merge pull request #511 from nofusscomputing/db-queries-reduction 2025-02-01 18:07:02 +09:30
Jon
b419c03774 fix(access): When conduting permission check for user settings, if user not owner of settings, deny access
ref: #471 #511
2025-02-01 17:56:14 +09:30
Jon
1ad370e7cf test(settings): when checking if user can delete own settings, user must be owner of settings
ref: #471 #511
2025-02-01 17:55:37 +09:30
Jon
b7cdb21136 fix(access): when checking object permissions, dont cast obj to int untill checking it exists
ref: #471 #511
2025-02-01 17:36:29 +09:30
Jon
78afe7c86b test(settings): regardless of permissions a user can change their own settings
ref: #471 #511
2025-02-01 17:26:12 +09:30
Jon
5507c4a366 test(access): during permission check function has_permission ensure get_object not called
ref: #471 #511
2025-02-01 17:20:11 +09:30
Jon
a4788aba75 fix(access): org mixin get_obj_org not to call get_object
ref: #471 #511
2025-02-01 16:58:39 +09:30
Jon
b6593c6825 refactor(access): when checking obj permission use view cached obj organization
ref: #471 #511
2025-02-01 16:30:01 +09:30
Jon
f9393a59d2 chore(access): Remove extra calls to get_obj_permission from permission Mixin has_permission
ref: #471 #511
2025-02-01 16:27:26 +09:30
Jon
22b02dc044 refactor(access): When fetching obj org, if pk exist attempt to fetch object
ref: #471 #511
2025-02-01 16:26:02 +09:30
Jon
e5b0ed4c69 feat(core): Cache ticket linked item queryset
ref: #471 #511
2025-02-01 15:28:19 +09:30
Jon
96565aa2c5 fix(core): ensure item_type exists before trying to get queryset
ref: #471 #511
2025-02-01 15:27:47 +09:30
Jon
17a29405c5 refactor(core): When fetching a ticket, fetch related fields
ref: #471 #511
2025-02-01 15:26:40 +09:30
Jon
c5eb26e62b feat: Views to cache discovered serializer
ref: #471 #511
2025-02-01 14:46:05 +09:30
Jon
49088f1f68 Merge pull request #510 from nofusscomputing/test-ticket-description-action-comment 2025-01-31 22:12:16 +09:30
Jon
9140a886f2 test(core): Ensure that an action comment is created when ticket description is edited
ref: #510 closes #502
2025-01-30 18:20:56 +09:30
Jon
894ed14842 Merge pull request #509 from nofusscomputing/ticket-action-comment-description 2025-01-30 14:51:56 +09:30
Jon
d7a8840444 feat(core): When changing ticket description create an action comment with the details
ref: #502
2025-01-28 05:47:07 +09:30
Jon
624f892a73 Merge pull request #508 from nofusscomputing/add-missing-ticket-action-comments 2025-01-27 20:59:10 +09:30
Jon
26e475a42f test(core): Ticket Action comment test cases for real_finish_date actions
ref: #508 closes #501
2025-01-27 20:04:16 +09:30
Jon
de2722f6ca test(core): Ticket Action comment test cases for real_start_date actions
ref: #508 closes #499
2025-01-27 20:03:25 +09:30
Jon
32913895c9 test(core): Ticket Action comment test cases for planned_finish_date actions
ref: #508 closes #500
2025-01-27 20:02:37 +09:30
Jon
744d9a2ec4 test(core): Ticket Action comment test cases for planned_start_date actions
ref: #508 closes #498
2025-01-27 20:02:02 +09:30
Jon
98bc0fc1d7 fix(core): Ticket Action comment date fields must be checked if empty before use
ref: #492 #508
2025-01-27 20:01:31 +09:30
Jon
f7543ced8d test(core): Ticket Action comment test cases for milestone actions
ref: #508 closes #497
2025-01-27 19:27:18 +09:30
Jon
7190354d6a test(core): Ticket Action comment test cases for project actions
ref: #395 #508
2025-01-27 19:15:10 +09:30
Jon
467fc18bd1 test(core): Ticket Action comment tests moved to their own suite
ref: #497 #508
2025-01-27 18:59:22 +09:30
Jon
7572763129 refactor(core): Ticket action comment for changing milestone to use item tasg
ref: #497 #508
2025-01-27 17:58:02 +09:30
Jon
76e7d64341 refactor(core): Ticket action comment for changing project to use item tasg
ref: #492 #508
2025-01-27 17:57:01 +09:30
Jon
120380a95c docs(roadmap): update
ref: #508
2025-01-27 17:18:39 +09:30
Jon
4c5c460d88 feat(core): When changing a ticket real finish date create an action comment with the details
ref: #501 #508
2025-01-27 17:18:39 +09:30
Jon
2865c3d32a feat(core): When changing a ticket real start date create an action comment with the details
ref: #499 #508
2025-01-27 17:18:38 +09:30
Jon
efd205c244 feat(core): When changing a ticket planned finish date create an action comment with the details
ref: #500 #508
2025-01-27 17:18:38 +09:30
Jon
c91857850b feat(core): When changing a ticket planned start date create an action comment with the details
ref: #498 #508
2025-01-27 17:13:04 +09:30
Jon
a58cb1ee95 feat(core): When changing a ticket milestone create an action comment with the changed details
ref: #497 #508
2025-01-27 17:12:35 +09:30
Jon
995a102da1 Merge pull request #491 from nofusscomputing/ticket-badges 2025-01-24 17:50:52 +09:30
Jon
40a15ed4f0 test(core): Unit test cases for ticket urgency_badge field checks
ref: #491 closes #487
2025-01-24 17:26:35 +09:30
Jon
52e852c647 test(core): Unit test cases for ticket priority_badge field checks
ref: #491 closes #489
2025-01-24 17:26:35 +09:30
Jon
9a35d023d9 test(core): Unit test cases for ticket impact_badge field checks
ref: #491 closes #488
2025-01-24 17:26:34 +09:30
Jon
cbecdae5d1 feat(core): Add Priority badge field to ALL ticket types
ref: #489 #491
2025-01-24 17:06:56 +09:30
Jon
bcc71ee866 feat(core): Add Impact badge field to ALL ticket types
ref: #488 #491
2025-01-24 17:06:34 +09:30
Jon
824244f217 feat(core): Add urgency badge field to ALL ticket types
ref: #487 #491
2025-01-24 17:03:15 +09:30
Jon
06e0943e30 test(settings): Remove no-permission failure test as user settings require no permissions
ref: #485 fixes #486
2025-01-24 15:46:01 +09:30
Jon
b8cac94f9a fix(settings): grant the user access to their own settings object
ref: #485 #486
2025-01-24 15:17:07 +09:30
Jon
a1207bfb0f fix(settings): grant the user access to their own settings
ref: #485 #486
2025-01-23 22:47:55 +09:30
Jon
b0127584d6 docs: correct doc linting errors so they build
ref: #485  fixes #484
2025-01-23 19:04:38 +09:30
bdcf452901 Merge branch 'development' 2025-01-23 08:27:44 +00:00