Commit Graph

160 Commits

Author SHA1 Message Date
Jon
95bb15238a fix: Ensure tenancy models have Meta.verbose_name_plural attribute
.#240 closes #239
2024-08-23 17:45:44 +09:30
Jon
e29d8e1ec1 fix(config_management): Ensure that config group can't set self as parent
interface already filters self out, however check still to be done.

. #153 #222
2024-08-11 17:07:39 +09:30
Jon
4fd157a785 test(api): test configgroups API fields
tests for type and existence

!45 closes #160
2024-07-31 22:27:45 +09:30
Jon
4f89255c4f feat(config_management): Group name to be entire breadcrumb
!43
2024-07-18 16:51:22 +09:30
Jon
2d0c3a660a fix(config_management): dont attempt to do action during save if group being created
!42
2024-07-18 15:34:25 +09:30
Jon
974a208869 chore(config_management): remove org filter as its not required
not required as org filtering is done as part of the initial queryset within the model.

!42
2024-07-18 15:34:25 +09:30
Jon
e84e80cd8f feat(config_management): Prevent a config group from being able to change organization
!42
2024-07-18 15:34:25 +09:30
Jon
5a201ef548 refactor!: Squash database migrations
BREAKING CHANGE: squashed DB migrations in preparation for v1.0 release.

!40 !35 #74
2024-07-16 13:31:18 +09:30
Jon
4ee62aa399 test: refactor to single abstract model for inclusion.
!42 #15
2024-07-15 23:01:49 +09:30
Jon
aec460306b fix(config_management): don't exclude parent from field, only self
!42 #74
2024-07-14 16:48:54 +09:30
Jon
5ae487cd3e fix(config_management): Don't allow a config group to assign itself as its parent
!35 fixes #122
2024-07-14 01:09:19 +09:30
Jon
4c42f77692 feat(core): Filter every form field if associated with an organization to users organizations only
!35 fixes #119
2024-07-14 01:08:00 +09:30
Jon
3aab7b57e8 fix(config_management): correct permission for deleting a host from config group
!35
2024-07-13 23:12:31 +09:30
Jon
931c9864db fix(config_management): use parent group details to work out permissions when adding a host
!35 fixes #120
2024-07-13 23:11:59 +09:30
Jon
65bf994619 fix(config_management): use parent group details to work out permissions
!35 fixes #121
2024-07-13 22:44:54 +09:30
Jon
367c4bebb6 refactor: adjust views missing add/change form to now use forms
!35 #15 #46 #74 #120 #121 fixes #118
2024-07-13 17:32:45 +09:30
Jon
1193f1d86d fix(config_management): Add missing permissions to group views
!35 #74
2024-07-13 16:01:12 +09:30
Jon
f29ec63f46 test: Add Test case abstract classes to models
!35 #46 #15
2024-07-13 16:01:12 +09:30
Jon
ccfdf005f7 chore: remove issue#13 links for model notes
!35 closes #13
2024-07-12 09:23:12 +09:30
Jon
7d172fb4af refactor: migrate views to use new abstract model view classes
!35 fixes #111
2024-07-12 05:50:36 +09:30
Jon
f848d01b34 refactor: migrate forms to use new abstract model form class
!35
2024-07-12 05:47:49 +09:30
Jon
fea7ea3119 refactor: rename field "model notes" -> "Notes"
!35 fixes #102 #104
2024-07-11 13:58:14 +09:30
Jon
4fdb3df06e test: Unit Tests TenancyObjects
!33 #15
2024-06-20 03:12:43 +09:30
Jon
58b134ae30 refactor(tests): move unit tests to unit test sub-directory
!33 #15
2024-06-19 22:58:50 +09:30
Jon
2cda4228ce test(config_management): config groups history permissions
!33 #15
2024-06-19 16:09:23 +09:30
Jon
e72eedf077 test: refactor model permission tests to use an abstract class of test cases
!27 #15
2024-06-15 21:40:33 +09:30
Jon
6286b06270 test: refactor history entry to have test cases in abstract classes
!27 #15
2024-06-15 18:50:10 +09:30
Jon
da746b8977 test(itam): ensure child history is removed on config group software delete
!27 #15
2024-06-15 16:37:18 +09:30
Jon
34db5f863a test: add placeholder tests
!27 #15
2024-06-15 16:31:23 +09:30
Jon
b7a2bfc612 test(config_management): test history on delete for config groups
!27 #15
2024-06-15 16:18:59 +09:30
Jon
3b3ee9fc3d fix(config_management): Add missing parent item getter to model
!27
2024-06-15 16:17:19 +09:30
Jon
8af5975428 feat(config_management): Use breadcrumbs for child group name display
formatted as '<parent name> > <child name>'

!21
2024-06-14 09:13:14 +09:30
Jon
ac70715752 feat(config_management): ability to add host to global group
!21
2024-06-14 07:03:59 +09:30
Jon
ca8e0c07ea feat(base): Add a notes field to TenancyObjetcs class
!21 #13
2024-06-12 05:57:37 +09:30
Jon
456fed80a9 feat(config_management): add docs icon to config groups page
!21
2024-06-12 05:07:19 +09:30
Jon
193dbf1e8b test(config_management): testing of config_groups rendered config
!22 #43
2024-06-10 04:25:29 +09:30
Jon
6b851ded0e test(config_management): history save tests for config groups software
!22 closes #43
2024-06-10 02:58:33 +09:30
Jon
fe0696fee6 feat(models): add property parent_object to models that have a parent
!22
2024-06-10 00:51:59 +09:30
Jon
11ec62feb6 test(config_management): config group software permission for add, change and delete
!22 #43
2024-06-09 18:11:16 +09:30
Jon
36962109d1 test(base): placeholder tests for config groups software
!22 #43
2024-06-08 08:37:11 +09:30
Jon
23c43ed8dc fix(config_management): correct delete success url
!22 #43
2024-06-08 08:31:20 +09:30
Jon
0c382a73e5 feat(config_management): assign software action to config group
!22 #43
2024-06-08 07:17:20 +09:30
Jon
ae81ee8863 refactor(config_management): relocate groups views to own directory
!22
2024-06-08 04:07:40 +09:30
Jon
95a08b2d2c refactor: adjust template block names
renamed so they make sense

!20
2024-06-07 20:01:56 +09:30
Jon
35cc88857a test(config_management): view permission check for config_groups
!18 #48 #15
2024-06-05 23:46:04 +09:30
Jon
2c1bbbfc15 fix(config_management): set config dict keys to be valid ansible variables
!18 fixes #47
2024-06-05 19:05:32 +09:30
Jon
dd30a57a9d fix(itam): correct logic for device add dynamic success url
!18
2024-06-05 18:45:49 +09:30
Jon
d1b6c96d72 test: add history entry creation tests for most models
!17 #15 #46
2024-06-03 15:24:11 +09:30
Jon
df98fbaecc chore: remove old pages
!17
2024-06-03 14:35:01 +09:30
Jon
55f0db2217 feat(config_management): Add button to groups ui for adding child group
!17 #42
2024-06-03 14:28:49 +09:30