Commit Graph

761 Commits

Author SHA1 Message Date
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
b7dd2dfaba refactor(core): superuser changed from import to triage access
ref: #570
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
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
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
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
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
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
e56007d4b1 test(core): Manufacturer Note Model Checks
ref: #525 closes #530
2025-02-09 19:28:21 +09:30
Jon
51ec6cb0e5 test(core): Model Notes Test Suite
ref: #389 #525
2025-02-09 19:25:36 +09:30
Jon
bf74a4c4db test(core): Serializer Checks for Manufacturer Notes
ref: #525 #530
2025-02-09 17:52:07 +09:30
Jon
eff1255419 feat(core): Ensure when editing a model note, the modified user is updated.
ref: #389
2025-02-09 16:47:13 +09:30
Jon
8f2bf3d71e test(core): Test Suite for Model Notes checks
ref: #49 #389 #525
2025-02-09 16:47:02 +09:30
Jon
a7912531e3 test(api): API Fileds user to be super user for tests to run
ref: #525
2025-02-08 23:10:06 +09:30
Jon
58c19388c7 test(core): Manufacturer Notes Function Viewset Tests
ref: #525 #530
2025-02-08 22:29:27 +09:30
Jon
a1851918e3 fix(core): Permissions require the parent model for model notes
ref: #389 #525
2025-02-08 21:45:09 +09:30
Jon
969aaea884 test(core): Model Notes Test Cases
ref: #389 #525 closes #49
2025-02-08 20:45:41 +09:30
Jon
5a07892b25 test: Remove old notes model tests
ref: #49 #389 #525
2025-02-08 19:52:24 +09:30
Jon
2e6e73353e test(core): Manufacturer Notes Test Cases for ViewSet
ref: #525 #530
2025-02-08 19:23:16 +09:30
Jon
98868aab32 test(core): Manufacturer Test Cases for API Field Checks
ref: #525 #530
2025-02-08 17:25:00 +09:30
Jon
e67ede0e74 test(core): Model Notes Base Test Cases for API Field Checks
ref: #389 #525
2025-02-08 00:05:18 +09:30
Jon
858538e3eb feat(core): Create an action comment on a ticket when the category changes
ref: #526 #537
2025-02-07 20:50:45 +09:30
Jon
5842e81455 feat(core): Manufacturer Notes viewset
ref: #526 #530
2025-02-07 19:18:16 +09:30
Jon
f057693a61 feat(core): Manufacturer Notes serializer
ref: #526 #530
2025-02-07 19:17:53 +09:30
Jon
c77d33e910 feat(core): Manufacturer Notes Model
ref: #526 #530
2025-02-07 19:17:37 +09:30
Jon
c8f0c54549 feat(config_management): Config Group Notes Model
ref: #526 #529
2025-02-07 19:05:57 +09:30
Jon
657bbfb25a test(core): Remove notes test cases for previous notes model
ref: #389 #525
2025-02-07 18:11:10 +09:30
Jon
64e344206c refactor(access): Dont add releationship from tenancyObject.organization to organization model
ref: #389 #525
2025-02-07 18:10:44 +09:30
Jon
a132baa838 feat(core): Base viewset for model notes
ref: #389 #525
2025-02-07 18:08:42 +09:30
Jon
f833b93074 feat(core): Base serializer for model notes
ref: #389 #525
2025-02-07 18:06:49 +09:30
Jon
06991853ff fix(core): Use generic APIError for ticket save when no action comment will be created
ref: #525
2025-02-07 16:32:37 +09:30
Jon
cff343989b feat(core): Base model for model notes
ref: #389 #525
2025-02-07 15:49:12 +09:30