Commit Graph

1038 Commits

Author SHA1 Message Date
Jon
5817ff723b feat(core): add TicketCategory to history/notes migration
ref: #807 closes #797
2025-07-04 08:40:31 +09:30
Jon
abdcea07a6 test(core): Add TicketCategory Unit model test suite
ref: #807 #797
2025-07-04 08:40:31 +09:30
Jon
f234b338ee feat(core): add model tag to ticket category
ref: #807 #797
2025-07-04 08:40:31 +09:30
Jon
f2de2dc4ab feat(core): add Manufacturer to history/notes migration
ref: #807 closes #796
2025-07-04 08:40:31 +09:30
Jon
5bc7daf202 test(core): Add Manufacturer Unit model test suite
ref: #807 #796
2025-07-04 08:40:31 +09:30
Jon
ebbb7e8e6e feat(core): add model tag to manufacturer
ref: #807 #796
2025-07-04 08:40:31 +09:30
Jon
48e20a366d feat(config_management): add ConfigGroups to history/notes migration
ref: #807 closes #795
2025-07-04 08:40:31 +09:30
Jon
0c147768ba feat(config_management): add ConfigGroupSoftware to history/notes migration
ref: #807 closes #794
2025-07-04 08:40:31 +09:30
Jon
6025750637 feat(config_management): add ConfigGroupHosts to history/notes migration
ref: #807 closes #793
2025-07-04 08:40:31 +09:30
Jon
b9701757e0 feat(access): add tenant to history/notes migration
ref: #807 closes #790 #785 #786
2025-07-04 08:40:31 +09:30
Jon
1e0539f2d6 fix(access): add property organization to Tenant model
required so that perms work

ref: #805 #790
2025-07-04 08:40:31 +09:30
Jon
f7c581333a chore: Add pytest marks to tests
ref: #805
2025-07-04 08:40:31 +09:30
Jon
dbdfe4e6c0 refactor(core): Move CenturionModel logic to Mixin
ref: #805 #767
2025-07-04 08:40:31 +09:30
Jon
7ad1851cc0 refactor(core): rename mixin -> mixins
ref: #805 #767
2025-07-04 08:40:31 +09:30
Jon
aa9a6e09db feat(itam): Update url basename
ref: #804 #799
2025-07-04 08:40:30 +09:30
Jon
d1f003820a feat(core): Update url basename
ref: #804 #798
2025-07-04 08:40:30 +09:30
Jon
7a614c80f7 feat(core): Update url basename
ref: #804 #796
2025-07-04 08:40:30 +09:30
Jon
b5cac23f9d feat(core): Update url basename
ref: #804 #797
2025-07-04 08:40:30 +09:30
Jon
48ea6c4491 chore(core): disable ticket tests for ticket models that are being depreciated
ref: #804 #564
2025-07-04 08:40:30 +09:30
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
7b55d37117 fix(core): audit meta model must add model_kwargs fixture
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
a3b9815891 chore(core): disable pre CenturionModel inheritance tests
ref: #804 #796 #797 #798
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
274347ebc1 fix(core): When obtaining model fields ensure it exists first
ref: #789 #767
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
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
e9a8ad1c48 test(core): mock the user object within the model context
ref: #789 #759
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
f6e3390d26 chore(core): Remove API v1 code
ref: #789 #343
2025-07-04 08:40:28 +09:30
Jon
7691ad5b0b feat(core): If user context not supplied, dont create audithistory for model
this allows tests and direct creation via code if required.

ref: #789 #759
2025-07-04 08:40:28 +09:30
Jon
82bfacbab3 chore: disable api field notess and history tests
tests being re-written

ref: #788 #759 #768
2025-07-04 08:40:28 +09:30
Jon
728db3f740 chore: Add premeta notes and history models to init so they can be migrated
ref: #788 #759 #768
2025-07-04 08:40:28 +09:30
Jon
8a390b9caf chore(core): remove old old history model
ref: #788 #759
2025-07-04 08:40:28 +09:30
Jon
3155794931 chore(core): Remove Template tags
not using django ui anymore

ref: #788 #757
2025-07-04 08:40:28 +09:30
Jon
0ded2bcebd chore(core): Remove pre-meta notes code
ref: #788 #768
2025-07-04 08:40:28 +09:30
Jon
cc483e2cb5 chore(core): disable ticket linked item kb article functional test
ref: #788 #735
2025-07-04 08:40:28 +09:30
Jon
25d510f086 chore(core): Remove no longer used Django UI
ref: #788 #757
2025-07-04 08:40:28 +09:30
Jon
b1530b3c19 chore(base): Dont reload model, reset the parts that change in tests
creates issues with mocking

ref: #788
2025-07-04 08:40:28 +09:30
Jon
c64add9ce7 chore(core): disable old delete so it's no longer used by models yet to inherit from CenturionModel
ref: #788 #759
2025-07-04 08:40:28 +09:30
Jon
3915678675 feat(core): Ensure that model has user context
ref: #788 #759
2025-07-04 08:40:27 +09:30
Jon
f42e255f37 chore(core): disable old delete so it's no longer used by models yet to inherit from CenturionModel
ref: #788 #759
2025-07-04 08:40:27 +09:30
Jon
c0455af2fa chore(itam): mock base delete so abstract classes can be called
ref: #788
2025-07-04 08:40:27 +09:30
Jon
c3905360f4 chore(core): Remove old Notes Tests
ref: #783 #735 #759
2025-07-04 08:40:27 +09:30
Jon
a53f4caa81 chore(settings): fixture sanitization
ref: #783
2025-07-04 08:40:27 +09:30
Jon
b21b0f0b5b chore(core): Remove old History Tests
ref: #783 #735 #759
2025-07-04 08:40:27 +09:30