Commit Graph

828 Commits

Author SHA1 Message Date
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
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
fef14b8be8 feat(core): New interim model TicketCommentSolution
ref: #731 #728
2025-04-24 12:44:25 +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
537f167b9e test(core): Correct model notes test suite
ref: #731
2025-04-22 22:22:58 +09:30
Jon
0a630cf51a test(core): API Permission Test Cases for ticket_base model
ref: #731 #723
2025-04-22 22:21:42 +09:30
Jon
ddebf50e88 feat(core): migrations for TicketCommentBase
ref: #724 #726
2025-04-16 21:01:22 +09:30
Jon
64144ea76f feat(core): New Model TicketCommentBase
ref: #724 #726
2025-04-16 21:01:09 +09:30
Jon
633df58964 feat(core): viewset for TicketBase
ref: #724 #723
2025-04-16 21:00:15 +09:30
Jon
f280f408ee feat(core): serializer for TicketBase
ref: #724 #723
2025-04-16 21:00:01 +09:30
Jon
d1715f4457 feat(core): migrations for TicketBase
ref: #724 #723
2025-04-16 20:59:50 +09:30
Jon
e80647ffd1 feat(core): New Model TicketBase
ref: #724 #723
2025-04-16 20:59:36 +09:30
Jon
4872c6d1c8 refactor(core): rename ticket model filename in preparation for base ticket model
ref: #724 #723
2025-04-16 00:38:15 +09:30
Jon
9c88c23bb3 test: Migrate models to use refactored model tests
ref: #719 closes #708
2025-04-13 16:35:48 +09:30
Jon
e4588771e8 test: Consolidate All model tests to remove duplicates and to simplify
ref: #719 #708
2025-04-13 13:48:54 +09:30
Jon
32d97932d1 chore: squash migrations
reduces the amount required

ref: #702
2025-04-10 12:05:43 +09:30
Jon
8bc0b3338c refactor(core): When saving history, ensure field _prefetched_objects_cache is not included
ref: #712 #683
2025-04-06 13:51:08 +09:30
Jon
8a8023f510 feat(core): Model tag for Access/Role
ref: #712 #683
2025-04-06 13:49:20 +09:30
Jon
9bbfbbba4b feat(core): Add Entity model tag
ref: #707 #706
2025-04-04 07:46:08 +09:30
Jon
2998f48e33 fix(core): Dont attempt to fetch history related objects if no history exists
ref: #707
2025-04-03 18:25:08 +09:30
Jon
1d1c76e033 test: Refactor all ViewSet Unit Test cases to use new test cases class
ref: #696 closes #672
2025-03-25 02:22:47 +09:30
Jon
77e42db3c9 feat(devops): Add git_repository model tag migration
ref: #693 #515
2025-03-20 16:48:09 +09:30
Jon
25e0f6d950 feat(devops): Add git_repository as a model that can be linked to a ticket
ref: #693 #515
2025-03-20 16:47:39 +09:30
Jon
88d1abaef7 fix(core): Don't create an empty ticket comment if the body is empty when slash commands removed
ref: #691 #681
2025-03-19 15:36:13 +09:30
Jon
5804abc367 docs(core): Update slash command docs
ref: #691 #681
2025-03-19 14:51:37 +09:30
Jon
96f8949be2 feat(core): Enable slash command related ticket to have multiple ticket references
ref: #691 #681
2025-03-19 14:38:30 +09:30
Jon
cce802ea9e test(core): un-mark tests as skipped so that multiple linked items per ticket can be tested
ref: #691 closes #681
2025-03-19 13:55:57 +09:30
Jon
c767a528eb fix(core): when processing slash commands trim each line prior to processing
ref: #691 #681
2025-03-19 13:28:11 +09:30
Jon
895cfb8b22 test(core): correct ticket linked item to prevent duplicate creation
ref: #691 #681
2025-03-19 13:27:48 +09:30
Jon
8dfaec8df7 fix(core): slash command NL char is \r\n not \n, however support both
ref: #691 #681
2025-03-19 12:50:56 +09:30
Jon
69cabda78e fix(core): When processing slash commands trim whitespace on return
ref: #691 #681
2025-03-19 12:50:34 +09:30
Jon
8abced87de fix(core): Ensure linked ticket models are unique
ref: #691 #681
2025-03-19 12:00:05 +09:30
Jon
983311dda5 feat(core): Enable slash command linked model to have multiple models
ref: #691 #681
2025-03-19 12:00:05 +09:30
Jon
2becbeef87 feat(core): process ticket slash commands by line
ref: #691 #681
2025-03-19 12:00:05 +09:30
Jon
9583631473 feat(core): Migrations for new slash commands
ref: #690 #592 #598 #600
2025-03-17 15:59:04 +09:30
Jon
44e1461c6b feat(project_management): Add project_state slash command
ref: #690 closes #592
2025-03-17 15:52:18 +09:30
Jon
105e6509b0 feat(core): Add ticket_comment_category slash command
ref: #690 closes #600
2025-03-17 15:51:30 +09:30
Jon
20d979963a feat(core): Add ticket_category slash command
ref: #690 closes #598
2025-03-17 15:38:55 +09:30
Jon
bde2b2e758 feat(itam): Add markdown tag $software_version
ref: #690 closes #596
2025-03-17 15:22:53 +09:30