Commit Graph

3454 Commits

Author SHA1 Message Date
Jon
cdacb19c30 test(api): SubModelViewSet Test Suite Setup
ref: #733 #564
2025-04-26 16:45:22 +09:30
Jon
471a1249c0 Merge pull request #732 from nofusscomputing/new-model-ticket-comment-base 2025-04-26 09:09:43 +09:30
Jon
53abf219a3 test: correct tests from Meta.sub_model_type changes
ref: #732
2025-04-26 08:40:29 +09:30
Jon
51c238734a chore(docs): Update issue template - New Model
ref: #732
2025-04-26 07:56:44 +09:30
Jon
efb0f52e8a chore(docs): correct linting errors
ref: #732
2025-04-26 07:48:02 +09:30
Jon
39dc8ad39f feat(core): Add ViewSet for Ticket Comments
ref: #732 #726
2025-04-26 07:38:55 +09:30
Jon
db47d0e160 feat(project_management): Depreciate Project Task Ticket Endpoint
ref: #732 #564
2025-04-26 07:38:10 +09:30
Jon
da13343b27 feat(itim): Depreciate Problem Ticket Endpoint
ref: #732 #564
2025-04-26 07:37:24 +09:30
Jon
8100030870 feat(itim): Depreciate Incident Ticket Endpoint
ref: #732 #564
2025-04-26 07:37:04 +09:30
Jon
5097db6f94 feat(itim): Depreciate Change Ticket Endpoint
ref: #732 #564
2025-04-26 07:36:01 +09:30
Jon
b729842a1c feat(assistance): Depreciate Ticket Comment
ref: #732 #564 #726
2025-04-26 07:34:55 +09:30
Jon
bc1d5ffc03 feat(assistance): Depreciate Request Ticket Endpoint
ref: #732 #564 #725
2025-04-26 07:33:45 +09:30
Jon
ae1f600147 feat(core): Add routes for Ticket Comments
ref: #732 #726
2025-04-26 07:28:25 +09:30
Jon
edc3f9fd3c feat(core): update ticket serializer to use new comment base url
ref: #732 #723
2025-04-26 07:11:12 +09:30
Jon
8dc922a8bb feat(core): Add permissions import, purge and triage to model TicketCommentSolution
ref: #732 #728
2025-04-26 07:10:18 +09:30
Jon
9461cdaf9d feat(core): Add permissions import, purge and triage to model TicketCommentBase
ref: #732 #726
2025-04-26 07:09:33 +09:30
Jon
a923a21660 feat(core): Filter ticket_comment_model routes to those defined in Meta.sub_model_type
ref: #732 #726
2025-04-26 06:56:31 +09:30
Jon
dcd60a5152 feat(core): Filter ticket_model routes to those defined in Meta.sub_model_type
ref: #732 #723
2025-04-26 06:55:54 +09:30
Jon
50882a4732 feat(access): Filter entity_model routes to thos defined in Meta.sub_model_type
ref: #732 #704
2025-04-26 06:53:58 +09:30
Jon
9cd59e8446 feat(core): Serializer for TicketCommentBase
ref: #732 #726
2025-04-26 06:34:58 +09:30
Jon
9905edc28c feat(core): Serializer for TicketCommentSolution
ref: #732 #728
2025-04-26 06:34:12 +09:30
Jon
98479f39e6 feat(core): Ticket Comment Get URL functions
ref: #732 #726
2025-04-26 06:28:18 +09:30
Jon
bdfd3f42c4 feat(core): Ticket Comment Validation for comment_type
must be derived from `Meta.sub_model_type`

ref: #732 #726
2025-04-26 06:27:36 +09:30
Jon
ca022e0697 fix(core): Ticktet comment can have empty body
i.e. time tracking

ref: #732 #726
2025-04-26 06:26:31 +09:30
Jon
1719b6c417 feat(core): Update choices fields for TicketCommentBase model
ref: #732 #726
2025-04-26 06:25:31 +09:30
Jon
bb0f9b56e6 feat(core): init for model TicketCommentSolution
ref: #732 #728
2025-04-26 06:24:00 +09:30
Jon
107a3aa17f feat(core): Migrations for choice fields for TicketBase model
ref: #732 #723
2025-04-26 06:23:33 +09:30
Jon
1c9be27e1f feat(core): Migrations for model TicketCommentSolution
ref: #732 #728
2025-04-26 06:23:07 +09:30
Jon
dc25d483fc feat(core): Update choice fields for TicketBase model
ref: #732 #723
2025-04-26 06:22:25 +09:30
Jon
33362a28d5 feat(core): New model TicketCommentSolution
ref: #732 #728
2025-04-26 06:21:04 +09:30
Jon
b476bd458e fix(core): If model does not save history, dont attempt to cache before
ref: #732
2025-04-26 06:19:35 +09:30
Jon
c152dd13f1 feat(api): when fetching related_object, default to base_model for SubModelViewSet
ref: #732 #726
2025-04-26 06:13:39 +09:30
Jon
677cc55e04 test: correct serializer imports from recent file renames
ref: #732 #726
2025-04-26 06:08:37 +09:30
Jon
b6146b7d14 feat: Add field Meta.sub_model_type to sub-models
ref: #732 #564
2025-04-26 06:00:34 +09:30
Jon
dbc849d3f1 chore(core): rename viewsets/ticket_comment.py -> viewsets/ticket_comment_depreciated.py
ref: #732 #726
2025-04-26 05:49:19 +09:30
Jon
8d1098ec9e fix(itam): provide return_url as part of software version meta
ref: #718
2025-04-25 17:01:52 +09:30
Jon
63923e8a9b Merge pull request #731 from nofusscomputing/refactor-test-api 2025-04-24 13:22:54 +09:30
Jon
7261f60e3b chore(docs): correct linting error
ref: #731
2025-04-24 13:09:00 +09:30
Jon
fef14b8be8 feat(core): New interim model TicketCommentSolution
ref: #731 #728
2025-04-24 12:44:25 +09:30
Jon
17e4cb4148 docs(development): update testing docs
ref: #731 #730
2025-04-24 12:42:00 +09:30
Jon
99211b7505 test: Fixture for creating model with random data
ref: #731 #730
2025-04-24 12:41:16 +09:30
Jon
c4e81ffbed test(itim): API Field checks for TicketSLMBase
ref: #731 #727
2025-04-24 12:36:45 +09:30
Jon
683b134053 test(itim): API Field checks for TicketRequest
ref: #731 #725
2025-04-24 12:36:09 +09:30
Jon
2a5c86d961 fix(itim): correct ticket_slm serializer
ref: #731 #727
2025-04-23 18:58:13 +09:30
Jon
ca28a67194 fix(itim): correct ticket_request serializer
ref: #731 #725
2025-04-23 18:57:41 +09:30
Jon
d904ce7100 chore: migrate app/.coveragerc to -> pyproject.toml
ref: #731
2025-04-23 18:33:35 +09:30
Jon
daf30de835 chore: correct tests so they function and cleanup correctly
ref: #731
2025-04-23 18:33:10 +09:30
Jon
7c9819efd1 test(core): API fields Tests for TicketBase
ref: #731 #723
2025-04-22 23:57:19 +09:30
Jon
42bea64ff5 test(core): API fields Unit Test Suite
ref: #731 #730
2025-04-22 22:25:23 +09:30
Jon
537f167b9e test(core): Correct model notes test suite
ref: #731
2025-04-22 22:22:58 +09:30