Commit Graph

174 Commits

Author SHA1 Message Date
Jon
4dd19ba22f fix(tests): Correct Permission Import due to removing from access.models
ref: #605 #601
2025-02-18 04:13:35 +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
25373fc5b6 test: Disable Old History Model test suites
ref: #601 #602 #605
2025-02-18 04:13:33 +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
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
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
d55010d63f test(settings): External Links Note Model Checks
ref: #525 closes #545
2025-02-09 19:35:06 +09:30
Jon
9b62ba6367 test(settings): Serializer Checks for External Links Notes
ref: #525 #545
2025-02-09 17:58:27 +09:30
Jon
32c6991730 test(settings): External Links Notes Function Viewset Tests
ref: #525 #545
2025-02-08 23:08:27 +09:30
Jon
5d17e1a49c test(settings): External Notes Test Cases for ViewSet
ref: #525 #545
2025-02-08 19:31:52 +09:30
Jon
bc8815d607 test(Settings): External Link Notes Test Cases for API Field Checks
ref: #525 #545
2025-02-08 17:33:57 +09:30
Jon
960646a68c feat(settings): External Link Notes ViewSet
ref: #526 #545
2025-02-07 21:42:09 +09:30
Jon
d1dbe965f9 feat(settings): External Link Notes Serializer
ref: #526 #545
2025-02-07 21:41:40 +09:30
Jon
9fa6ec46dd feat(settings): External Link Notes Model
ref: #526 #545
2025-02-07 21:41:19 +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
745e1f6a66 fix(settings): Add missing attribute view_description to user settings viewset
ref: #518
2025-02-06 21:09:44 +09:30
Jon
d8fae15995 fix(settings): Add missing attribute view_description to app settings viewset
ref: #518
2025-02-06 21:09:35 +09:30
Jon
5d8332015b test(settings): Add missing unit tests for user settings ticket viewset
ref: #512 #513 #518
2025-02-06 21:08:59 +09:30
Jon
91e83b0ad9 test(settings): Add missing unit tests for app settings ticket viewset
ref: #512 #513 #518
2025-02-06 21:08:52 +09:30
Jon
83fb6d005b test: Add empty kwargs to ViewSet index page test cases
ref: #512 #513 #518
2025-02-06 20:35:46 +09:30
Jon
9ba2fd6779 fix(settinggs): Add missing attribute view_description to external links ViewSet
ref: #518
2025-02-06 17:43:52 +09:30
Jon
64c9ed7978 fix(settings): correct truthy check for user settings ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-06 17:26:30 +09:30
Jon
919bfd9d98 fix(settings): correct truthy check for external links ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-06 17:26:19 +09:30
Jon
1ba41d94fb fix(settings): correct truthy check for app settings ViewSet property when evaluating serializer_class
ref: #513 #518
2025-02-06 17:26:07 +09:30
Jon
0ed80217f2 test(settings): Add missing unit tests for external links viewset
ref: #512 #513 #518
2025-02-06 17:24:03 +09:30
Jon
1ad370e7cf test(settings): when checking if user can delete own settings, user must be owner of settings
ref: #471 #511
2025-02-01 17:55:37 +09:30
Jon
78afe7c86b test(settings): regardless of permissions a user can change their own settings
ref: #471 #511
2025-02-01 17:26:12 +09:30
Jon
c5eb26e62b feat: Views to cache discovered serializer
ref: #471 #511
2025-02-01 14:46:05 +09:30
Jon
06e0943e30 test(settings): Remove no-permission failure test as user settings require no permissions
ref: #485 fixes #486
2025-01-24 15:46:01 +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
a6fda85c56 test(settings): check to ensure API fields returned are present and correct type for external_links model
ref: #467 #468
2025-01-09 17:40:01 +09:30
Jon
00215f6d0b feat(settings): Add new field button text
to enable the name field to be used as "friendly" name within interface

ref: #467 closes #468
2025-01-09 17:38:28 +09:30
Jon
8f98f02818 feat(itim): Ability to add external link to a service
ref: #467 closes #468
2025-01-09 15:16:37 +09:30
Jon
e7601e311a test(access): Skip test case for appsettings different organization due to model not being tenancy model.
ref: #448 #459
2025-01-04 18:26:12 +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
2dfab2a2e4 fix(settings): remove field owner_organization from App Settings
ref: #441 fixes #439
2024-12-22 21:09:24 +09:30
Jon
c2ad23834e feat(information_management): Ability to link Knowledge Base article to an External Link
ref: #426 #427
2024-12-21 17:10:53 +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
17f47040d6 fix(settings): Add missing get_url function to user_settings model
ref: #412 #417 closes #410
2024-12-06 15:57:36 +09:30
Jon
c5faf3115d fix(settings): Add missing get_url function to app_settings model
ref: #410 #412 #417
2024-12-06 15:57:11 +09:30
Jon
d9b9e32019 test(settings): Dont test user settings for table view
this view not expected to be

ref: #410 #417 closes #412
2024-12-06 14:28:38 +09:30
Jon
3bce54b495 test(steeings): Dont test app settings for table view
this view not expected to be

ref: #410 #412 #417
2024-12-06 14:27:58 +09:30
Jon
a10f1b3694 test(settings): API Metadata checks for user settings
ref: #410 #412 #415
2024-12-04 23:22:52 +09:30
Jon
11abf177ab test(settings): API Metadata checks for external links
ref: #410 #412 #415
2024-12-04 23:22:34 +09:30
Jon
becf55e22f test(settings): API Metadata checks for app settings
ref: #410 #412 #415
2024-12-04 23:22:22 +09:30
Jon
ae2891f0ac test(settings): Ensure items returned are from users orgs only for API v2 endpoints
ref: #248 #359 #397
2024-11-28 02:58:45 +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