Commit Graph

1143 Commits

Author SHA1 Message Date
Jon
0794e5b58f test(core): ensure history for ticket models is not saved
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 16:13:43 +09:30
Jon
c67e1430bd feat(core): Don't save model history for ticket models
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 16:13:22 +09:30
Jon
f3b249d18f test: Ensure tenancy models save model history
ref: #266 #250
2024-09-09 16:11:40 +09:30
Jon
857b8781cb feat(core): add option to allow the prevention of history saving for tenancy models
ref: #266 #250
2024-09-09 16:10:55 +09:30
Jon
118d41a53b test(core): remove duplicated tenancy object tests for ticket model
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 16:08:16 +09:30
Jon
2cb21ae4a7 test(core): correct triage user test names for allowed field permissions
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 16:07:39 +09:30
Jon
7e0bd630b5 test(core): project field permission check for triage user
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 15:39:37 +09:30
Jon
a57e977131 feat(core): Add project field to tickets allowed fields
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 15:38:41 +09:30
Jon
082a351c17 test(core): Ticket Action comment checks for related tickets
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 14:54:30 +09:30
Jon
a47e1977f0 fix(core): Ensure related tricket action comment is trimmed
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 14:52:39 +09:30
Jon
b0a4d2ca84 test(core): Ticket Action comment checks for subscribing team
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 14:18:48 +09:30
Jon
afceaca736 test(core): Ticket Action comment checks for subscribing user
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 14:18:22 +09:30
Jon
c59dc7d2bf test(core): Ticket Action comment checks for unassigning team
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 14:06:45 +09:30
Jon
e7015570d5 test(core): Ticket Action comment checks for assigning team
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 14:06:17 +09:30
Jon
a68a9e7ef3 fix(core): Team assigned to ticket status update
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 14:05:39 +09:30
Jon
3ea84f008b test(core): Ticket Action comment checks for un-assigning user
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 13:48:09 +09:30
Jon
47aeac846b test(core): Ticket Action comment checks for assigning user
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 13:47:58 +09:30
Jon
69124cff08 chore(core): Remove field '_django_version' from history save
must have been introduced in django 5.0.8

ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 13:44:59 +09:30
Jon
a99c1bb418 refactor(core): REmove constraint on setting user for ticket comment
required so that tests can run. ToDo: add tests to ensure that user is set.

ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 13:44:04 +09:30
Jon
b80ca93ced test(core): Add ticket project field permission check
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 12:13:05 +09:30
Jon
8998292a0f fix(api): ensure ticket_type is set from view var
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-09 12:02:36 +09:30
Jon
bc39b1b8b5 test(core): ensure ticket_type tests dont have change value that matches ticket type
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-08 18:17:24 +09:30
Jon
b93d3d2175 chore: add test to makefile
ref: #266
2024-09-08 18:10:54 +09:30
Jon
b1277c98ab fix(core): Add ticket fields to ticket types
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-08 18:10:31 +09:30
Jon
c2eaf120b6 fix(core): During ticket form validation confirm if value specified/different then default
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-08 18:09:35 +09:30
Jon
41158e495f fix(core): Correctly set the ticket type initial value
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-08 18:05:17 +09:30
Jon
3261342c4f test(core): field based permission tests for add, change, import and triage user
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-08 16:46:17 +09:30
Jon
8b4068ac7e fix(core): prevent import user from having permssions within UI
only allow import user to have API permissions.

ref: #250 #96 #93 #95 #90 #264 #266
2024-09-08 16:41:43 +09:30
Jon
27958f5e7a refactor(core): cache fields allowed during ticket validation
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-08 16:41:31 +09:30
Jon
819dc01451 refactor(core): dont require specifying ticket status
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-08 13:13:36 +09:30
Jon
8277e05205 feat(core): Update ticket status when assigned/unassigned users/teams
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-07 14:33:01 +09:30
Jon
f4d96c78e7 feat(core): Create action comment for subscribed users/teams
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-07 14:32:24 +09:30
Jon
a08d74cd3c feat(core): Create action comment for assigned users/teams
ref: #250 #96 #93 #95 #90 #264 #266
2024-09-07 14:30:22 +09:30
Jon
878d2509cd Merge pull request #265 from nofusscomputing/264-api-refactor-tickets 2024-09-06 18:12:00 +09:30
Jon
09247246bb fix(api): correct ticket view links
ref: #250 #96 #93 #95 #90 #264 #265
2024-09-06 18:01:22 +09:30
Jon
685b8266e4 feat(core): adding of more ticket status icons
ref: #250 #96 #93 #95 #90 #264 #265
2024-09-06 17:58:14 +09:30
Jon
7a2f7fdf3d refactor(core): move id to end for rendered ticket link.
ref: #250 #96 #93 #95 #90 #264 #265
2024-09-06 17:20:32 +09:30
Jon
ecaa24192f fix(core): Correct display of ticket status within ticket interface
ref: #250 #96 #93 #95 #90 #264 #265
2024-09-06 17:10:06 +09:30
Jon
f49cc9c286 refactor(api): Ticket (change, incident, problem and request) to static api endpoints
ref: #250 #96 #93 #95 #90 #264 #265
2024-09-06 16:45:26 +09:30
Jon
53ae19eda8 test(api): Ticket (change, incident, problem and request) api permission checks
ref: #250 #96 #93 #95 #90 #264 #265
2024-09-06 10:26:55 +09:30
Jon
d8361bf741 feat(api): Ticket endpoint dynamic permissions
ref: #250 #96 #93 #95 #90 #264 #265
2024-09-06 10:26:16 +09:30
Jon
d70f04c63d refactor(api): make ticket status field mandatory
ref: #250 #96 #93 #95 #90 #264 #265
2024-09-06 10:25:47 +09:30
Jon
0f4b9fef9e refactor(api): Move core tickets to own ticket endpoints
require so that permissions can be dynamic

ref: #250 #96 #93 #95 #90 #265 closes #264
2024-09-04 11:59:38 +09:30
Jon
05c18702ff Merge pull request #263 from nofusscomputing/250-ticket-tests 2024-09-03 17:51:15 +09:30
Jon
754c311580 feat(core): add ticket status badge
ref: #250 #96 #93 #95 #90 #263
2024-09-03 17:50:41 +09:30
Jon
f6dd5a3156 chore: remove empty settings model
ref: #263
2024-09-03 17:00:46 +09:30
Jon
53489ec43b feat(access): add ability to fetch dynamic permissions
ref: #250 #96 #93 #95 #90 #263
2024-09-03 17:00:22 +09:30
Jon
da8d97a274 test(core): interim ticket unit tests
ref: #250 #96 #93 #95 #90 #263
2024-09-03 16:59:24 +09:30
Jon
8161d67a1f test(itam): Ensure if an attempt to add an existing device via API, it's not recreated and is returned.
ref: #262 #263
2024-09-03 15:22:35 +09:30
Jon
381d59c18f refactor(core): During form validation for a ticket, use defaults if not defined for mandatory fields
ref: #250 #96 #93 #95 #90 #263
2024-09-03 14:56:36 +09:30