Commit Graph

46 Commits

Author SHA1 Message Date
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
50384044c8 test(core): test cases for notes permissions
!33 #15
2024-06-19 17:08:42 +09:30
Jon
4e42856027 fix(api): inventory upload requires sanitization
!33
2024-06-19 15:00:30 +09:30
Jon
a6e569eaef test(core): skip invalid tests
tests for notes belong within the models that rx notes

!27 #15 #52
2024-06-17 14:46:48 +09:30
Jon
44afa4f7de test(core): tests for manufacturer history entries
!27 #15
2024-06-17 14:06:25 +09:30
Jon
2be4810ed4 test: move manufacturer to it's parent
!27
2024-06-17 13:59:21 +09:30
Jon
f861295b1c docs(development): add device model to api docs
!27
2024-06-16 06:26:37 +09:30
Jon
ceb1929d8c test: refactor history permission tests to use an abstract class of test cases
!27 #15
2024-06-16 01:43:07 +09:30
Jon
5eec41fe57 docs(development): Add test case documentation
!27 #15 nofusscomputing/infrastructure/website-template!16 nofusscomputing/projects/django_template#57 nofusscomputing/projects/gitlab-ci!83
2024-06-16 00:15:01 +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
34db5f863a test: add placeholder tests
!27 #15
2024-06-15 16:31:23 +09:30
Jon
54c34a95f5 fix(core): dont attempt to access parent_object if 'None' during history save
!27
2024-06-15 16:19:55 +09:30
Jon
0a1aba7ca8 fix(core): overridden save within SaveHistory to use default attributes
!27
2024-06-15 14:09:17 +09:30
Jon
8b47d95614 feat(core): add skeleton http browser
get and post intrim functions

!26 #58
2024-06-14 02:20:33 +09:30
Jon
7239f572a3 fix(core): on object delete remove history entries
!25 fixes #54
2024-06-13 23:38:30 +09:30
Jon
ca8e0c07ea feat(base): Add a notes field to TenancyObjetcs class
!21 #13
2024-06-12 05:57:37 +09:30
Jon
8d6826f7c0 fix(core): Add overrides for delete so delete history saved for items with parent model
!22 fixes #53
2024-06-10 02:44:57 +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
1069211d1b feat(config_management): add config group software to group history
!22 #43
2024-06-08 08:30:55 +09:30
Jon
95a08b2d2c refactor: adjust template block names
renamed so they make sense

!20
2024-06-07 20:01:56 +09:30
Jon
eb6ae13c58 feat(core): support more history types
!18
2024-06-06 01:43:57 +09:30
Jon
f053b9c6a8 test: refactor core test layout
!18 #48 #15
2024-06-05 23:47:31 +09:30
Jon
4cafa34d69 fix(core): correct history view permissions
!18 #48 #15
2024-06-05 23:44:48 +09:30
Jon
46bdd488ec feat(core): function to fetch history entry item
required for the checking of user permissions against the organization

!18 #48 #15
2024-06-05 23:44:17 +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
fff51e38d2 feat(config_management): Ability to add a host to a config group
!17 #42
2024-06-03 06:25:30 +09:30
Jon
fdeae217fa feat(config_management): add configuration groups
!17 #42
2024-06-03 01:31:51 +09:30
Jon
8d786d4dea feat(history): always create an entry even if user=none
a none user denotes an admin operation, i.e. cli action

!13
2024-05-29 05:11:40 +09:30
Jon
0e72668454 fix(core): dont save history when no user information available
!13
2024-05-29 04:47:12 +09:30
Jon
c656f5bce5 fix(core): dont save history for anonymous user
anonymous user is intended not to be granted access to any model

!13
2024-05-29 04:09:35 +09:30
Jon
bf69a30163 feat(setting): Enable super admin to set ALL manufacturer/publishers as global
sets is_global=true and creates manufacturers/publishers in global organization

!12
2024-05-27 15:06:58 +09:30
Jon
395f24f22c feat: Add management command software
allows setting software as global and migrating to global organization

!11 #27
2024-05-25 15:37:17 +09:30
Jon
99a559fe6d feat(itam): Add device model
!10 closes #12
2024-05-23 21:42:03 +09:30
Jon
ef463b845d feat(core): Add manufacturers
!10 #12
2024-05-23 20:31:53 +09:30
Jon
a6a0da72b2 refactor(organizations): set org field to null if not set
!10
2024-05-23 20:29:48 +09:30
Jon
9e1a024a12 test: adjust test layout and update contributing
!9 #15
2024-05-23 15:45:30 +09:30
Jon
724c52b777 feat(access): Save changes to history for organization and teams
!9 closes #5
2024-05-23 14:07:36 +09:30
Jon
ae4ef9d14d test(core): placeholder tests for history component
!9 #5
2024-05-23 13:10:21 +09:30
Jon
9b2abecac3 feat(core): history model for saving model history
!9 #5
2024-05-23 12:43:04 +09:30
Jon
41621c6a64 chore(notes): ensure blank note cant be saved
!9
2024-05-22 13:56:31 +09:30
Jon
4562e921e9 test(core): place holder tests for notes model
!8 closes #7
2024-05-21 01:37:53 +09:30
Jon
4df25575e8 chore(core): remove serial_number field from notes model
!8 #7
2024-05-21 01:36:40 +09:30
Jon
8e0df948d5 feat(core): notes model added to core
!8 #7
2024-05-21 01:20:43 +09:30
Jon
c52fd0802e feat(api): API accept computer inventory
!8 closes #2
2024-05-20 16:42:51 +09:30
Jon
0d1b31f9f0 chore: template cleanup
!1
2024-05-13 20:00:17 +09:30