Commit Graph

139 Commits

Author SHA1 Message Date
Jon
4160d974f5 fix(assistance): correct truthy check for kb ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-04 07:58:50 +09:30
Jon
2f9b6c6027 fix(assistance): Knowledge base category viewset must cache serializer_class
ref: #513 #518
2025-02-04 07:29:11 +09:30
Jon
84ac2d3562 test(assistance): Add missing unit tests for Model Knowledge Base Article viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
f9837e0ec4 test(assistance): Add missing unit tests for Knowledge Base Category viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
73a63f5af4 test(assistance): Add missing unit tests for Knowledge Base viewset
ref: #512 #513 #518
2025-02-04 07:29:11 +09:30
Jon
a00db4e7f6 fix(api): Add missing property bacjk_url to Common viewset
ref: #518
2025-02-04 07:29:11 +09:30
Jon
c5eb26e62b feat: Views to cache discovered serializer
ref: #471 #511
2025-02-01 14:46:05 +09:30
Jon
cbecdae5d1 feat(core): Add Priority badge field to ALL ticket types
ref: #489 #491
2025-01-24 17:06:56 +09:30
Jon
bcc71ee866 feat(core): Add Impact badge field to ALL ticket types
ref: #488 #491
2025-01-24 17:06:34 +09:30
Jon
824244f217 feat(core): Add urgency badge field to ALL ticket types
ref: #487 #491
2025-01-24 17:03:15 +09:30
Jon
f6f957f5e6 fix(core): triage user requires access to date fields for tickets
ref: #475
2025-01-23 16:23:44 +09:30
Jon
f08d3357d0 test: update to cater for tenancy object in request
ref: #473 #474
2025-01-18 22:57:00 +09:30
Jon
e2da2b173d chore(api): remove empty string for documentation link
ref: #463 #469
2025-01-12 16:48:12 +09:30
Jon
76c71d68b0 test(assistance): Ensure category fields are present for model articles
ref: #465 #467
2025-01-09 14:47:14 +09:30
Jon
39307e7a0e feat(assistance): add category and org to model articles tab
ref: #465 #467
2025-01-09 14:35:17 +09:30
Jon
1087dde2d5 test(access): Ensure items returned from query are from user organization and/or globally set organization
ref: #459 closes #448
2025-01-04 18:04:02 +09:30
Jon
193c6c3b7f feat(api): Add IndexViewset to ViewSet mixin
ref: #442 #456
2024-12-27 23:03:39 +09:30
Jon
32430f8f10 test: revert test case changes from 1c065601f6
ref: #426
2024-12-21 17:56:47 +09:30
Jon
cbd1af7322 test(information_management): Add model test cases for Model KB Article
ref: #331 #426 #427 #428 #429 #430 #431 #432
2024-12-21 17:02:02 +09:30
Jon
921e072e23 test(information_management): Add API v2 Endpoint test cases for Model KB Article
ref: #331 #426 #427 #428 #429 #430 #431 #432
2024-12-21 17:01:49 +09:30
Jon
d6a0cde203 test(information_management): Add Viewset test cases for Model KB Article
ref: #331 #426 #427 #428 #429 #430 #431 #432
2024-12-21 17:01:35 +09:30
Jon
bd700337fd test(information_management): Add Serializer test cases for Model KB Article
ref: #331 #426 #427 #428 #429 #430 #431 #432
2024-12-21 17:01:24 +09:30
Jon
7961a236dd feat(information_management): Add API v2 Endpoint for model KB articles
ref: #331 #426 #427 #428 #429 #430 #431 #432
2024-12-21 17:00:47 +09:30
Jon
d31eba4bf4 feat(information_management): Add method get_url to model kb article
set to RTN none as not required.

ref: #331 #426 #427 #428 #429 #430 #431 #432
2024-12-21 16:58:40 +09:30
Jon
6498b639c5 feat(information_management): DB Model for linking KB articles to models
ref: #331 #426 #427 #428 #429 #430 #431 #432
2024-12-20 18:10:13 +09:30
Jon
ea74f48e78 feat(assistanace): remove kb article content from details tab
not required as content is on its own tab.

ref: #426
2024-12-20 14:20:52 +09:30
Jon
ca2da06d2c chore: squash previous releases migrations
Every release that occurs is squash ALL migrations to limit the amount of migrations

ref: #408 #417
2024-12-06 16:33:13 +09:30
Jon
a32d942db6 test(access): API Metadata checks for request ticket
ref: #410 #412 #415
2024-12-04 23:16:31 +09:30
Jon
2ef5124ccc test(access): API Metadata checks for kb category
ref: #410 #412 #415
2024-12-04 23:16:17 +09:30
Jon
b54d710c50 test(access): API Metadata checks for kb
ref: #410 #412 #415
2024-12-04 23:16:07 +09:30
Jon
cee396da3f refactor(assistance): make content the first tab for kb articles
ref: #411 closes #405
2024-11-30 12:55:59 +09:30
Jon
42621e33a2 test(assistance): Ensure items returned are from users orgs only for API v2 endpoints
ref: #248 #359 #397
2024-11-28 02:58:44 +09:30
Jon
2429a94c7d test(assistance): Request ticket Viewset Serializer checks
ref: #15 #392 #393
2024-11-28 02:22:29 +09:30
Jon
ad54494df0 test: Add ViewSet Returned Serializer Checks to a majority of models
more to come

ref: #15 #248 #392 #393
2024-11-28 02:22:29 +09:30
Jon
aebd0f3580 refactor: ensure filed organization is required
ref: #248 #390 #366
2024-11-28 02:22:28 +09:30
Jon
5f7b6ef9eb refactor: update serializers to use model get_url function
ref: #248 #390 #366
2024-11-28 02:22:28 +09:30
Jon
e94e28ad33 feat(api): Added abilty to specify a css class for markdown field
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#4 nofusscomputing/centurion_erp_ui#26
2024-11-28 02:22:26 +09:30
Jon
2b25e2bb02 refactor(api): set fields that are for markdown to use the markdown field
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#26
2024-11-28 02:22:26 +09:30
Jon
f345dd366c feat(api): Add a Common Model serializer to be inherited by all model serializers
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#26
2024-11-28 02:22:26 +09:30
Jon
cd0bcf6731 chore(api): Correct DRF Swagger Docs errors
ref: #248 #361 #383
2024-11-28 02:22:25 +09:30
Jon
198232a43f test(functional): Move request ticket checks from unit
ref: #15 #375 #383
2024-11-28 02:22:25 +09:30
Jon
f695f14e14 test(functional): Move functional test cases to relevant functional test dir
ref: #15 #375 #382
2024-11-28 02:22:25 +09:30
Jon
a47da4d957 fix(core): Ensure import user can set field opened_by when importing tickets
ref: #248 #382
2024-11-28 02:22:25 +09:30
Jon
ed87241763 test(core): Request Ticket API v2 Serializer Checks
ref: #15 #248 #368 #378
2024-11-28 02:22:24 +09:30
Jon
5821c5b33b fix(core): Correct Ticket read-only fields
ref: #248 #378
2024-11-28 02:22:24 +09:30
Jon
b1a42e01bf fix(core): Correct inheritence order for ticket serializers
ref: #248 #378
2024-11-28 02:22:24 +09:30
Jon
9908253a7e fix(core): Add Ticket Category URL to all Ticket Types
ref: #248 #377
2024-11-28 02:22:23 +09:30
Jon
846eb79c6e test(assistance): Request Ticket API v2 ViewSet permission checks
ref: #15 #248 #365
2024-11-28 02:22:19 +09:30
Jon
10703067fa test(assistance): Request Ticket API field checks
ref: #15 #248 #360
2024-11-28 02:22:18 +09:30
Jon
4542301446 feat(core): Add Ticket Comment API v2 endpoint
ref: #248 #365
2024-11-28 02:22:17 +09:30