Commit Graph

4140 Commits

Author SHA1 Message Date
Jon
15cf7096f2 chore(core): TicketBase model fn cleanup
ref: #871 #863
2025-07-15 21:11:13 +09:30
Jon
fd5b223632 chore: Update DB test fixture
ref: #871 #863
2025-07-15 21:06:50 +09:30
Jon
42ea8121a8 Merge pull request #870 from nofusscomputing/refactor-ticket-inheritence 2025-07-15 02:50:19 +09:30
Jon
d3741e74e2 refactor(core): Update Test Suite for TicketBase model
ref: #870 #861
2025-07-15 02:15:28 +09:30
Jon
b4f61223d6 refactor(core): Switch to inherit from Centurion model for model TicketBase
ref: #870 #863
2025-07-15 02:14:34 +09:30
Jon
1efa932fb9 refactor(core): Switch to inherit from Centurion model for model SLMTicketBase
ref: #870 #868
2025-07-14 22:20:04 +09:30
Jon
a04c963431 chore: Update DB test fixture
ref: #870 #816 #865
2025-07-13 23:20:09 +09:30
Jon
815075174a refactor(core): Update URL route name for Role TicketCommentBase
ref: #870 #865
2025-07-13 23:07:05 +09:30
Jon
9df5a5898e refactor(core): Switch to inherit from Centurion model for model TicketCommentBase
ref: #870 #865
2025-07-13 23:06:35 +09:30
Jon
ceabd56e1b refactor(core): Update URL route name for Role TicketBase
ref: #870 #861
2025-07-13 23:05:54 +09:30
Jon
61a1792e4c refactor(core): Switch to inherit from Centurion model for model TicketBase
ref: #870 #861
2025-07-13 23:03:49 +09:30
Jon
3baed3f8f5 refactor(core): Add fn get_organization to centurion mixin
Fn is required for perms to work correctly

ref: #870
2025-07-13 22:30:15 +09:30
Jon
9a516fbebc Merge pull request #862 from nofusscomputing/refactor-switch-model-inheritence 2025-07-13 21:36:52 +09:30
Jon
be708b1244 test(fixture): if item already exists, when fetching remove modified field from query if not found with
field is an auto field and most likely wont match the existing item

ref: #862
2025-07-13 21:11:55 +09:30
Jon
2f7865bb83 feat(access): Add Audit and notes tables for model Role
ref: #862 #844
2025-07-12 18:27:03 +09:30
Jon
b643347c01 test(access): Model Role is not usable within global org, remove test
ref: #862 #844
2025-07-12 18:21:51 +09:30
Jon
957052da84 refactor(access): Adjust add permission test for model Role
ref: #862 #844
2025-07-12 17:30:58 +09:30
Jon
b2e0982b4c refactor(access): Migrations for Inheritance change for Role model
ref: #862 closes #844
2025-07-12 16:57:20 +09:30
Jon
ca63e4d6fc refactor(access): Update URL route name for Role model
ref: #862 #844
2025-07-12 16:56:41 +09:30
Jon
3b7e88969e refactor(access): Update Test Suite for Role model
ref: #862 #844
2025-07-12 16:56:07 +09:30
Jon
953dce2984 feat(access): Add AuditHistory Serializer for Role model
ref: #862 #844
2025-07-12 16:44:43 +09:30
Jon
e0c8ef46f5 feat(access): Add Notes Serializer for Role model
ref: #862 #844
2025-07-12 16:43:58 +09:30
Jon
548051df6d refactor(access): Switch to inherit from Centurion model for model Role
ref: #862 #844
2025-07-12 16:42:59 +09:30
Jon
d6eb33141a refactor: Asset and ITAM Asset must use url kwarg model_name not asset_model
ref: #862 closes #857 #858
2025-07-12 16:13:08 +09:30
Jon
4f36769fba refactor(accounting): Update existing tests to work due to model inheritance changes
ref: #862 #857
2025-07-10 20:35:32 +09:30
Jon
018004ccb9 refactor(itam): Update URL route name for ITAMAssetBase model
ref: #862 #858
2025-07-10 19:54:28 +09:30
Jon
b851388d37 refactor(itam): Update Test Suite for ITAMAssetBase model
ref: #862 #858
2025-07-10 19:53:38 +09:30
Jon
38b4542a58 feat(itam): Add AuditHistory Serializer for ITAMAssetBase model
ref: #862 #858
2025-07-10 19:51:13 +09:30
Jon
3b5673ae4b feat(itam): Add Notes Serializer for ITAMAssetBase model
ref: #862 #858
2025-07-10 19:50:53 +09:30
Jon
e4e7ad915b refactor(itam): Switch to inherit from Centurion model for model ITAMAssetBase
ref: #862 #858
2025-07-10 19:50:04 +09:30
Jon
de7c52d733 refactor(accounting): Switch to inherit from Centurion model for model AssetBase
ref: #862 #857
2025-07-10 19:48:21 +09:30
Jon
d741992b6d refactor(accounting): Update URL route name for AssetBase model
ref: #862 #857
2025-07-10 19:47:18 +09:30
Jon
9b3c8d2225 refactor(accounting): Update Test Suite for AssetBase model
ref: #862 #857
2025-07-10 19:43:54 +09:30
Jon
4ff457a58c feat(accounting): Add AuditHistory Serializer for AssetBase model
ref: #862 #857
2025-07-10 19:33:36 +09:30
Jon
46b4df5dc1 feat(accounting): Add Notes Serializer for AssetBase model
ref: #862 #857
2025-07-10 19:32:57 +09:30
Jon
2482148466 refactor(accounting): Switch to inherit from Centurion model for model AssetBase
ref: #862 #857
2025-07-10 19:28:41 +09:30
Jon
2c1c769988 Merge pull request #860 from nofusscomputing/fix-stuff 2025-07-09 11:18:54 +09:30
Jon
38f3a3bf05 fix(core): Include model so content type is created
ref: #860
2025-07-09 10:54:59 +09:30
Jon
965bde51bc Merge pull request #856 from nofusscomputing/test-functional-get-working 2025-07-07 21:24:30 +09:30
Jon
303cc31f6a test(devops): skip Model History entry test as it should be done as part of serializer and viewset
ref: #856 #781
2025-07-07 20:55:22 +09:30
Jon
97f99abe2c chore: ensure api post items for tests is the correct type
ref: #856
2025-07-07 18:51:59 +09:30
Jon
93642ee6a1 Merge pull request #855 from nofusscomputing/test-get-functional-working 2025-07-07 00:41:19 +09:30
Jon
eeaf3ab5fc test(devops): update no_org_serializer test so it works for model SoftwareEnableFeatureFlag
ref: #855 #812
2025-07-07 00:16:17 +09:30
Jon
5b6f9bec00 chore(tests): cater for manytomany for api fields
ref: #855
2025-07-07 00:16:11 +09:30
Jon
cf7fb57583 chore(itam): Ensure when creating Model ITAMAsset that the asset number field is populated
ref: #855 #737
2025-07-06 22:48:47 +09:30
Jon
45abdc2e00 feat: When attempting to create and objetc must be unique and alrready exists, dont return error return existing object
ref: #855
2025-07-06 22:20:54 +09:30
Jon
22ad79386e chore(settings): Remove old AppSettings model permission tests
ref: #855 #834
2025-07-06 20:59:03 +09:30
Jon
baabf84234 fix(settings): AppSettings requires super user perms
ref: #855 #834
2025-07-06 20:55:18 +09:30
Jon
c54de5c627 feat(access): History + Notes model migrations for Company Model
ref: #855 #801
2025-07-06 20:23:48 +09:30
Jon
803d7f3223 test(itam): Model DeviceOperatingSystem is not multi-org based skip those tests
ref: #855 #801
2025-07-06 19:14:13 +09:30