Commit Graph

2252 Commits

Author SHA1 Message Date
Jon
0d6bdad29b fix(api): history app names can contain an underscore
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
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
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
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
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
Jon
68d3c1ff26 test(settings): Test User Settings API render to ensure browser_model exists and is the correct type
ref: #554 closes #507
2025-02-10 17:32:59 +09:30
Jon
e5680cdbce test(settings): Test User Settings model to ensure browser_mode field exists
ref: #554 #507
2025-02-10 17:31:42 +09:30
Jon
067dd98eee feat(settings): Provide user with the ability to set browser mode
ref: #554 #481 #507 nofusscomputing/centurion_erp_ui#71
2025-02-10 17:24:52 +09:30
Jon
b153f648f9 feat(core): Parent Ticket validation added to ticket serializer
ref: #554 closes #517
2025-02-10 16:39:00 +09:30
Jon
062e846875 feat(core): Add to ticket endpoint the ability to filter using parent_ticket
ref: #517 #554
2025-02-10 16:19:47 +09:30
Jon
0e1f778b80 feat(core): Add to ticket model a function for circular dependecy check of parent ticket
ref: #517 #554
2025-02-10 16:19:18 +09:30
Jon
16076f0ca3 chore(core): Remove old notes model test suites
ref: #525 #389
2025-02-09 21:48:23 +09:30
Jon
6d69b72368 feat(core): Migrate Notes data to new table
ref: #525 #389 #349 closes #547
2025-02-09 21:47:56 +09:30
Jon
d4c6c08710 chore(core): REmove modelnotes permission from permissions list
ref: #525 #389
2025-02-09 20:55:38 +09:30
Jon
05d4c4a94d refactor: Squash migrations so there is less of them for model notes
ref: #525 #389
2025-02-09 20:40:25 +09:30
Jon
51e7f875a2 test(access): Team Note Model Check object requires org
ref: #525 #527
2025-02-09 20:01:14 +09:30
Jon
b17bc5af75 feat(project_management): Add notes tab to Project Milestone details page
ref: #525 #542
2025-02-09 19:45:11 +09:30
Jon
80db9022b7 feat(itam): Add notes tab to Software Version details page
ref: #525 #541
2025-02-09 19:44:42 +09:30
Jon
288abb5373 feat(itam): Add notes tab to Operating System details page
ref: #525 #531
2025-02-09 19:44:17 +09:30