Commit Graph

761 Commits

Author SHA1 Message Date
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
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
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
a2fdb0351a test(core): Correct ticket tests as triage user is supposed to have access to ticket date fields
ref: #475
2025-01-23 16:59:15 +09:30
Jon
5735427e3a fix(core): User must be a required field for ticket comment
ref: #470 #475
2025-01-19 15:42:46 +09:30
Jon
ab0666005c refactor(access): Dont override django middleware, create own for access tenancy
ref: #475
2025-01-19 15:32:48 +09:30
Jon
929c95ca80 fix(core): ensure when updating, reques.tenancy object perm checking is used
ref: #473 #474
2025-01-18 23:38:08 +09:30
Jon
8f8c7986e5 fix(api): Only attempt to access a app_settings object for org field if request object exists
ref: #473 #474
2025-01-18 23:32:18 +09:30
Jon
58ec0a83c0 fix(core): When adding a ticket, query for org
ref: #473 #474
2025-01-18 23:04:04 +09:30
Jon
f08d3357d0 test: update to cater for tenancy object in request
ref: #473 #474
2025-01-18 22:57:00 +09:30
Jon
e5d23cc1fa refactor(access): Move user perm logic to request.tenancy object
ref: #473 #474
2025-01-18 17:57:17 +09:30
Jon
ba2d809566 fix(core): Set user whom added comment as comment user
ref: #460 #467
2025-01-09 17:42:06 +09:30
Jon
229014eb8c fix(core): display_name is not a mandatory field for related ticket
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:53:06 +09:30
Jon
f67fad8927 fix(core): display_name is not a mandatory field for ticket linked item
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:52:53 +09:30
Jon
3e55c93674 feat(core): Add ticket comment field metadata to api meta
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:21:53 +09:30
Jon
4faafb8d27 feat(core): Add ticket linked item field metadata to api meta
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:21:34 +09:30
Jon
d33dd0fcff feat(core): Add related ticket field metadata to api meta
ref: #466 #467 nofusscomputing/centurion_erp_ui#40
2025-01-09 02:21:09 +09:30
Jon
f341adab8e fix(api): Ensure ALL required classes for viewset are inherited
ref: #459 #467
2025-01-07 13:14:14 +09:30
Jon
1087dde2d5 test(access): Ensure items returned from query are from user organization and/or globally set organization
ref: #459 closes #448
2025-01-04 18:04:02 +09:30
Jon
d33cf96db3 fix(core): If no org specified serializer fetch, dont attempt to access
ref: #459
2025-01-01 18:33:30 +09:30
Jon
d6eea69c52 refactor(itam): mv inventory task to itam app
ref: #437
2024-12-31 11:32:18 +09:30
Jon
406fd1bb01 fix(core): Dont attempt to access the object if it doesn't exist when fetching ticket permissions
ref: #442 #456
2024-12-28 18:32:25 +09:30
Jon
08b113b1ba feat(access): During permission checking also capture Http404
ref: #442 #456
2024-12-28 18:06:22 +09:30
Jon
a07dee370c refactor(access): Use exceptions for permission flow as required
ref: #442 #456
2024-12-28 17:33:11 +09:30
Jon
e96916768e feat(access): Cache the permission required during permission checking
ref: #442 #456
2024-12-28 15:47:12 +09:30
Jon
8e1cf2401a fix(core): when gather ticket permissions, use getter as object may not exist
ref: #442 #456
2024-12-28 15:45:47 +09:30
Jon
580abaefa6 fix(core): action metadata to use view permission for tickets
ref: #442 #456
2024-12-28 15:11:50 +09:30
Jon
aee6ccfb7a test(core): remove different org testcase from history checks
this model is not a tenancy model yet. See #455 for details

ref: #442 #454 #455
2024-12-26 16:10:21 +09:30
Jon
4545b3d721 test(core): When testing if history access is possible for user with perms, correct status is HTTP/200
ref: #442 #454
2024-12-26 14:12:07 +09:30
Jon
f2181b018d refactor(access): move ability to get required permissions from permissions mixin to organization mixin
ref: #442 #454
2024-12-26 00:33:21 +09:30
Jon
d39f9ad463 refactor(core): move ticket linked item to dynamic parent model
now possible due to org mixins re-write

ref: #442 #454
2024-12-25 21:00:11 +09:30
Jon
04d1795a1b fix(core): History View is a read-only view
ref: #442 #454
2024-12-25 19:05:48 +09:30
Jon
7ced4cf524 fix(core): Permissions for Related ticket to be derived from ticket org
ref: #442 #454
2024-12-25 19:05:19 +09:30
Jon
384b0e1d10 feat(api): distinguish between read-only and authenticateed user permissions
ref: #451 #452
2024-12-24 16:08:22 +09:30