Commit Graph

1810 Commits

Author SHA1 Message Date
Jon
429f3a9a94 docs(views): update to denote dynamic permissions
ref: #248 #345 #374
2024-11-28 02:22:22 +09:30
Jon
a04cfeef86 feat(api): Depreciate v1 API Endpoint Request Ticket
ref: #248 #345 #374
2024-11-28 02:22:22 +09:30
Jon
8cd442ea25 feat(api): Depreciate v1 API Endpoint Assistance
ref: #248 #345 #374
2024-11-28 02:22:22 +09:30
Jon
8e21cb5a85 feat(api): Depreciate v1 API Endpoint Ticket Comments
ref: #248 #345 #374
2024-11-28 02:22:22 +09:30
Jon
91e38a80f7 feat(api): Depreciate v1 API Endpoint Ticket Comment Categories
ref: #248 #345 #374
2024-11-28 02:22:22 +09:30
Jon
df55cf0450 feat(api): Depreciate v1 API Endpoint Ticket Categories
ref: #248 #345 #374
2024-11-28 02:22:22 +09:30
Jon
dac01ace32 refactor(core): Move ticket validation from is_valid -> validate method
ref: #248 #368 #374
2024-11-28 02:22:22 +09:30
Jon
e39ec70236 fix(core): Ensure triage and import permissions are catered for Tickets
ref: #248 #368 #374
2024-11-28 02:22:22 +09:30
Jon
4acfe5f313 test(core): fix broken tests from 8b701785b3 changes
ref: #15 #248 #368 #374
2024-11-28 02:22:22 +09:30
Jon
7d3a4c7c63 test(core): Item Ticket API v2 Serializer checks
ref: #15 #248 #368 #374
2024-11-28 02:22:22 +09:30
Jon
08e13a728a test(core): Item Linked Ticket API v2 ViewSet permission checks
ref: #15 #248 #368 #374
2024-11-28 02:22:22 +09:30
Jon
f27e0379c2 refactor(core): Ensure Ticket Linked Serializer works for Item Tickets
ref: #248 #368 #374
2024-11-28 02:22:22 +09:30
Jon
effa2904f8 fix(core): Ensure Ticket Linked Item slash command works for ticket comments
ref: #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
9fe4883f91 refactor(core): Ticket Linked Item slash command to use serializer
ref: #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
e61b883c14 fix(core): Only use Import Serializer on Ticket Comment Create if user has perms
ref: #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
04ae338864 refactor(core): Related ticket slash command to use serializer
ref: #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
bf56b271d7 feat(core): Ensure Related Tickets validate against duplicate entries
ref: #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
daa8dbe04b feat(core): Add MethodNot Allowed to Centurion exceptions
ref: #15 #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
7d62d6b1c7 test(core): Related Ticket API v2 Serializer checks
ref: #15 #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
f45019024b fix(core): Ensure related ticket slash command works for ticket comments
ref: #15 #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
2c934d4eaf fix(api): Ensure METHOD_NOT_ALLOWED exception is thrown
ref: #15 #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
0965f56719 test(core): Related Ticket API v2 ViewSet permission checks
ref: #15 #248 #368 #374
2024-11-28 02:22:21 +09:30
Jon
80b8cdb356 test(core): Ticket Comment API v2 Serializer checks
ref: #15 #248 #373
2024-11-28 02:22:21 +09:30
Jon
8479f8c30b feat(core): Determine serializer from action and user permissions for Ticket Comments
ref: #248 #373
2024-11-28 02:22:21 +09:30
Jon
821ba0edbf feat(core): Add custom exception class
ref: #248 #373
2024-11-28 02:22:21 +09:30
Jon
a75a56eb96 feat(core): Ensure ticket comment Serializer validates for existance of comment_type and ticket id
ref: #248 #373
2024-11-28 02:22:21 +09:30
Jon
fe5aac0218 feat(core): Ensure ticket comment Serializer is picked based off of comment_type
ref: #248 #373
2024-11-28 02:22:21 +09:30
Jon
32e3a97b09 test(core): Ticket Linked Item API v2 Serializer checks
ref: #15 #248 #373
2024-11-28 02:22:21 +09:30
Jon
7b70fd30b3 feat(core): Ensure that ticket linked item validates if ticket supplied
ref: #15 #248 #373
2024-11-28 02:22:21 +09:30
Jon
14776a0334 feat(core): Ensure that ticket comment category cant assign self as parent
ref: #15 #248 #373
2024-11-28 02:22:21 +09:30
Jon
0404b52924 test(core): Ticket Comment Category API v2 Serializer checks
ref: #15 #248 #373
2024-11-28 02:22:21 +09:30
Jon
fdd50c3208 feat(core): Ensure that ticket category cant assign self as parent
ref: #15 #248 #373
2024-11-28 02:22:21 +09:30
Jon
4c927efeef test(core): Ticket Category API v2 Serializer checks
ref: #15 #248 #373
2024-11-28 02:22:20 +09:30
Jon
6b6b70d653 test(itim): Ticket Linked Item API field checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
863b2d46c6 fix(core): Correct serializer item field to be for view serializer ONLY
ref: #248 #365
2024-11-28 02:22:20 +09:30
Jon
b972ea1f97 test(itim): Service Ticket URL API field checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
e220303d06 test(itim): Cluster Ticket URL API field checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
0b37f8f2b3 test(itam): Software Ticket URL API field checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
da414d741f test(itam): Operating System Ticket URL API field checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
f1332cecf4 test(itam): Device Ticket URL API field checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
31af109742 test(config_management): Group Ticket URL API field checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
d4aa3e673f fix(config_management): Correct ticket url in group serializer
ref: #248 #365
2024-11-28 02:22:20 +09:30
Jon
fffe78a4ed fix(core): Add missing ticket comment category url
ref: #248 #365
2024-11-28 02:22:20 +09:30
Jon
95f9a2620f test(core): Ticket Comment API v2 ViewSet permission checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
7869ff4478 test(core): Ticket Comment Category API v2 ViewSet permission checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
c06d09f507 test(core): Ticket Category API v2 ViewSet permission checks
ref: #15 #248 #365
2024-11-28 02:22:20 +09:30
Jon
846eb79c6e test(assistance): Request Ticket API v2 ViewSet permission checks
ref: #15 #248 #365
2024-11-28 02:22:19 +09:30
Jon
28805ed727 test(core): Ticket Common API v2 ViewSet permission checks
Test cases common to ALL ticket types

ref: #15 #248 #365
2024-11-28 02:22:19 +09:30
Jon
858217d2a2 test(core): Ticket Comment Category API field checks
ref: #15 #248 #365
2024-11-28 02:22:19 +09:30
Jon
848c342397 feat(core): Add Ticket Comment Category API v2 endpoint
ref: #248 #365
2024-11-28 02:22:19 +09:30