Commit Graph

3780 Commits

Author SHA1 Message Date
Jon
7326598f6c fix(core): notes meta model must add model_kwargs fixture
ref: #804 #768
2025-07-04 08:40:30 +09:30
Jon
35b72a048e fix(core): clean_fields for created_by field belongs in model that contains field
ref: #804 #768
2025-07-04 08:40:30 +09:30
Jon
ab68b56056 feat(config_management): ConfigGroupHosts and ConfigGroupSoftware do not require notes
ref: #804 #793 #794
2025-07-04 08:40:30 +09:30
Jon
7b55d37117 fix(core): audit meta model must add model_kwargs fixture
ref: #804
2025-07-04 08:40:30 +09:30
Jon
39d3d0786b fix: model fixture names must match model_name
ref: #804
2025-07-04 08:40:30 +09:30
Jon
41fde61184 chore(core): mock further attributes
ref: #804
2025-07-04 08:40:30 +09:30
Jon
18036ee8d0 chore(config_managment): disable pre CenturionModel inheritance tests
ref: #804 #794
2025-07-04 08:40:30 +09:30
Jon
ec95f4b45d chore(config_managment): disable pre CenturionModel inheritance tests
ref: #804 #795
2025-07-04 08:40:30 +09:30
Jon
520008acff fix: clean up mock model from django apps
ref: #804
2025-07-04 08:40:30 +09:30
Jon
a3b9815891 chore(core): disable pre CenturionModel inheritance tests
ref: #804 #796 #797 #798
2025-07-04 08:40:29 +09:30
Jon
dc56ced765 test(config_management): Completed ConfigGroupSoftware Model Tests
ref: #804 #794
2025-07-04 08:40:29 +09:30
Jon
8c4e5d5c1d test(config_management): Completed ConfigGroup Model Tests
ref: #804 #795
2025-07-04 08:40:29 +09:30
Jon
0e604228aa test(config_management): Completed ConfigGroupHost Model Tests
ref: #804 #793
2025-07-04 08:40:29 +09:30
Jon
4fda640832 chore: for mode instance, actually create it
ref: #804
2025-07-04 08:40:29 +09:30
Jon
9fec7f69f5 chore: add spt to class test cases for fields to be set as non-existant
ref: #804
2025-07-04 08:40:29 +09:30
Jon
71108f6089 refactor(config_management): Add ConfigGroupHost Model Tests
ref: #804 #793
2025-07-04 08:40:29 +09:30
Jon
39208edf93 refactor(config_management): Add ConfigGroupSoftware Model Tests
ref: #804 #794
2025-07-04 08:40:29 +09:30
Jon
2118e56808 refactor(config_management): Add ConfigGroup Model Tests
ref: #804 #795
2025-07-04 08:40:29 +09:30
Jon
d86a719f24 chore(config_management): disable old ConfigGroupSoftware tests
ref: #804 #794
2025-07-04 08:40:29 +09:30
Jon
5c27115991 chore(assistance): disable old ConfigGroup tests
ref: #804 #795
2025-07-04 08:40:29 +09:30
Jon
52235e2e82 chore(assistance): correct fixuture kwargs for kb
ref: #804 #795
2025-07-04 08:40:29 +09:30
Jon
d714476c97 chore(access): remove tests for models that will be depreciated
ref: #804 #791 #792
2025-07-04 08:40:29 +09:30
Jon
274347ebc1 fix(core): When obtaining model fields ensure it exists first
ref: #789 #767
2025-07-04 08:40:29 +09:30
Jon
276e322eef chore(access): TeamUser model does not require audithistory
model will be depreciated soon

ref: #789 #792
2025-07-04 08:40:29 +09:30
Jon
f56ee55347 chore: Update test db fixtures
ref: #789
2025-07-04 08:40:29 +09:30
Jon
ad1f92cdb4 chore(access): Team model Unit Tests for skip
ref: #789 #791
2025-07-04 08:40:29 +09:30
Jon
7cc8192ec2 feat(config_management): Add url_kwargs to ConfigGroupSoftware model
ref: #789 #794
2025-07-04 08:40:29 +09:30
Jon
9509765ba5 feat(access): Add url_kwargs to Team model
ref: #789 #791
2025-07-04 08:40:29 +09:30
Jon
8b694aabf5 feat(access): Add url_kwargs to TeamUser model
ref: #789 #792
2025-07-04 08:40:29 +09:30
Jon
8f0d0fbe16 chore: Remove all references to field is_global
field no longer used

ref: #789 #767
2025-07-04 08:40:29 +09:30
Jon
8c406e1d59 feat(access): Update TeamUser API basename
ref: #789 #792
2025-07-04 08:40:29 +09:30
Jon
9ab4e4ec7e feat(access): Update Team API basename
ref: #789 #791
2025-07-04 08:40:29 +09:30
Jon
2e5d6d4894 fix(access): use getattr instead as attribute may exist as None
ref: #789
2025-07-04 08:40:29 +09:30
Jon
bcd66fd657 feat(itam): switch model Device to inheirt from CenturionModel
ref: #789 #799
2025-07-04 08:40:29 +09:30
Jon
8b8ee525f7 feat(itam): switch model DeviceType to inheirt from CenturionModel
ref: #789 #803
2025-07-04 08:40:29 +09:30
Jon
3e63f896a5 feat(itam): switch model DeviceModel to inheirt from CenturionModel
ref: #789 #800
2025-07-04 08:40:29 +09:30
Jon
7173d9f554 feat(core): switch model TicketCategory to inheirt from CenturionModel
ref: #789 #797
2025-07-04 08:40:29 +09:30
Jon
20b173bf1c feat(core): switch model TicktetCommentCategory to inheirt from CenturionModel
ref: #789 #798
2025-07-04 08:40:29 +09:30
Jon
ac6f580153 feat(core): switch model Manufacturer to inheirt from CenturionModel
ref: #789 #796
2025-07-04 08:40:29 +09:30
Jon
d06bf78d0a fix(assistance): make kb article field longer for model name
ref: #789
2025-07-04 08:40:29 +09:30
Jon
e75bc124c9 feat(config_management): switch model ConfigGroupHosts to inheirt from CenturionModel
ref: #789 #795
2025-07-04 08:40:29 +09:30
Jon
fc60d7f3be feat(config_management): switch model ConfigGroupSoftware to inheirt from CenturionModel
ref: #789 #795
2025-07-04 08:40:29 +09:30
Jon
cff3bc5b2c feat(config_management): switch model ConfigGroups to inheirt from CenturionModel
ref: #789 #795
2025-07-04 08:40:29 +09:30
Jon
8202a37576 feat(access): switch model TeamUsers to inheirt from CenturionModel
ref: #789 #792
2025-07-04 08:40:29 +09:30
Jon
5186b2f173 feat(access): switch model Team to inheirt from CenturionModel
ref: #789 #791
2025-07-04 08:40:29 +09:30
Jon
e9a8ad1c48 test(core): mock the user object within the model context
ref: #789 #759
2025-07-04 08:40:28 +09:30
Jon
143dd2af35 chore(access): remove old ui mixin
ref: #789 #757
2025-07-04 08:40:28 +09:30
Jon
09beeb46af test(core): creating a model is a functional not unit test
ref: #789 #759
2025-07-04 08:40:28 +09:30
Jon
883c0961f6 chore: as part of api func tests, dont delete api perms user as part of fixture cleanup
ref: #789
2025-07-04 08:40:28 +09:30
Jon
3d9cde3b25 chore: Add support for confftest for parameterized tests to have no values
ref: #789
2025-07-04 08:40:28 +09:30