Commit Graph

2565 Commits

Author SHA1 Message Date
Jon
57060975b0 chore: remove old history model access from original UI and API V1
ref: #601 #605 closes #606
2025-02-18 04:13:34 +09:30
Jon
24e4c95928 fix(core): History audit objects must be a valid dict
ref: #601 #605 fixes #490
2025-02-18 04:13:34 +09:30
Jon
8f15b8bf20 chore(itam): device operating system get_url attribute "obj" renamed to match others "item"
ref: #601 #605
2025-02-18 04:13:34 +09:30
Jon
0d6bdad29b fix(api): history app names can contain an underscore
ref: #601 #605
2025-02-18 04:13:34 +09:30
Jon
4b2be4855b docs(development): History model update
ref: #601 #605
2025-02-18 04:13:34 +09:30
Jon
b738c4be20 feat(core): History view to only display objects from the model being requested
ref: #602 #605
2025-02-18 04:13:34 +09:30
Jon
8512bff4f1 fix(core): when saving history, use audit_model for content type
ref: #602 #605
2025-02-18 04:13:34 +09:30
Jon
507db1051c test(core): Remove old history model viewset tests
ref: #602 #605
2025-02-18 04:13:33 +09:30
Jon
7cd4cb965b refactor(core): move get_url to common serializer
reduces duplicated code

ref: #602 #605
2025-02-18 04:13:33 +09:30
Jon
460bf40175 refactor(api): Update history url kwargs to use vals from model._meta
ref: #602 #605
2025-02-18 04:13:33 +09:30
Jon
93e7a9097f docs(core): correct history_save code docs
ref: #602 #605
2025-02-18 04:13:33 +09:30
Jon
1541a89937 fix(core): add missing functions for fetching item url
ref: #602 #605
2025-02-18 04:13:33 +09:30
Jon
25373fc5b6 test: Disable Old History Model test suites
ref: #601 #602 #605
2025-02-18 04:13:33 +09:30
Jon
a9a5c189d2 feat(core): Add new history model to History Serializer
ref: #601 #602 #605
2025-02-18 04:13:33 +09:30
Jon
f2a995d277 feat(core): Add new history model
ref: #602 #605
2025-02-18 04:13:33 +09:30
Jon
75b5f48f9e docs(development): Add model history
ref: #601 #605
2025-02-18 04:13:33 +09:30
Jon
bb021a00d9 feat(development): lint for un-used imports
ref: #570
2025-02-18 04:12:59 +09:30
Jon
db07262623 feat(development): add pylit settings
ref: #570
2025-02-18 04:12:59 +09:30
Jon
6f94c95221 feat(core): added new history model
ref: #570 #602
2025-02-18 04:12:59 +09:30
Jon
103f25be1d fix(project_management): Opened by field set to read only for project task ticket
ref: #570
2025-02-18 04:12:59 +09:30
Jon
cc02976c3a fix(itim): Opened by field set to read only for problem ticket
ref: #570
2025-02-18 04:12:59 +09:30
Jon
af4a1d52c5 fix(itim): Opened by field set to read only for incident ticket
ref: #570
2025-02-18 04:12:59 +09:30
Jon
7ac56a35ae fix(itim): Opened by field set to read only for change ticket
ref: #570
2025-02-18 04:12:59 +09:30
Jon
030560d697 fix(assistance): Opened by field set to read only for request ticket
ref: #570
2025-02-18 04:12:59 +09:30
Jon
b7dd2dfaba refactor(core): superuser changed from import to triage access
ref: #570
2025-02-18 04:12:59 +09:30
Jon
008a879e6f docs(user): Use a table to show markdown model tags
ref: #570
2025-02-18 04:12:59 +09:30
Jon
71382a4689 docs: remove links to old notes
ref: #570
2025-02-18 04:12:59 +09:30
Jon
1963bf0817 feat(api): Device Software Viewset requires its own function to obtain the model view serializer
ref: #578 #477
2025-02-18 04:12:59 +09:30
Jon
31a45a1ab1 feat(api): Ticket Comment Viewset requires its own function to obtain the model view serializer
ref: #578 #477
2025-02-18 04:12:59 +09:30
Jon
f7818fe2e8 feat(api): Ticket Viewset requires its own function to obtain the model view serializer
ref: #578 #477
2025-02-18 04:12:59 +09:30
Jon
16388f0a10 feat(api): Always use a models View serializer for the response
ref: #477 #579 closes #578
2025-02-18 04:12:59 +09:30
Jon
2e0b835af9 test(core): Ensure that when parent_ticket changes on a ticket an action comment is created
ref: #495 #558 #577
2025-02-18 04:12:59 +09:30
Jon
81e856967b fix(core): Ensure that if the parent ticket changes, that the logic caters for none
ref: #558 #577
2025-02-18 04:12:59 +09:30
Jon
348b2f270e test(core): Confirm on category change to ticket that an action comment is created
ref: #577 closes #537
2025-02-18 04:12:59 +09:30
Jon
9a4521a604 fix(assistance): Category can be empty for Project Task Ticket
ref: #537 #577
2025-02-18 04:12:59 +09:30
Jon
83dab570a8 fix(assistance): Category can be empty for Problem Ticket
ref: #537 #577
2025-02-18 04:12:59 +09:30
Jon
a189a60e1b fix(assistance): Category can be empty for Incident Ticket
ref: #537 #577
2025-02-18 04:12:59 +09:30
Jon
91bea05496 fix(assistance): Category can be empty for Change Ticket
ref: #537 #577
2025-02-18 04:12:59 +09:30
Jon
ed41e0b8a9 fix(assistance): Category can be empty for Request Ticket
ref: #537 #577
2025-02-18 04:12:59 +09:30
Jon
64ca3415d4 fix(core): Ticket Action comment for category change must use category field
ref: #537 #577
2025-02-18 04:12:59 +09:30
Jon
ec6bc7d03a feat(core): Add logic to ensure when organization changes, an action comment is created
ref: #577 closes #558
2025-02-18 04:12:59 +09:30
Jon
0d1a0bff19 feat(core): Add logic to ensure when parnet ticket changes, an action comment is created
ref: #558 #577
2025-02-18 04:12:58 +09:30
Jon
cc46a1426d refactor(core): Ticket action comment logic only requires a single check
ref: #577 #558
2025-02-18 04:12:58 +09:30
Jon
30b24a1969 docs(development): remove old notes docs
ref: #570
2025-02-18 04:12:58 +09:30
Jon
ad27501334 chore: update new model tempplate
ref: #605
2025-02-18 04:12:30 +09:30
Jon
1109beb8e9 chore: issue template new model added
ref: #0
2025-02-16 08:43:04 +09:30
8b7550f573 build: bump version 1.10.0 -> 1.10.1 1.10.1 2025-02-14 12:24:21 +00:00
Jon
4f2a28bb52 fix(python): Dont use system TimeZone data, use python zoneinfo module zone data
ref: fixes #603
2025-02-14 21:41:21 +09:30
33c589a1a0 build: bump version 1.9.0 -> 1.10.0 1.10.0 2025-02-10 09:27:27 +00:00
Jon
0a21c37645 fix(core): Dont attempt to access parent_ticket field during ticket validation if it does not exist
ref: #559 #507
2025-02-10 18:42:31 +09:30