You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🧪 Confirm Tests ensure that the audit entries are being created for ALL models
🧪 ⏩ Add model test case to inherited that ensures the base class methods clean, clean_fields etc are called ◀️ i.e. ticket base clean does not call super().clean() which was not detected
planning document for release.
Working Plan
Currently there are a lot of changes occurring that require they be done in a specific order. This working plan is the coordination of that work.
-🥇 Priority is to get the refactored ticketing system production ready.
This will be done in the following stages:
Goals
Order of Work / Tasks
Core Models1
Models Dependent upon new models
Entity Models - Refactor Manufacturers/Users/Groups/Teams #704
pre-reqs for all entity models:
✔ New Model - Entity #706
✔️ Migrate teams to be Roles (RBAC) #551
Employee Entity
Users need to be linked to entity
User must have
entityas field so it can be added to User fields that use entityMigrate Auth to new User Model
get_user_model()#755Add/Refactor new ticket and comment models
Migration to new Tickets - Migrate Tickets to new models #746
Links / References
Nil
Tasks
🧪 Confirm Tests ensure that the audit entries are being created for ALL models
🧪 ⏩ Add model test case to inherited that ensures the base class methods clean, clean_fields etc are called◀️
i.e. ticket base clean does not call
super().clean()which was not detected✔️ Remove code pytest/simplified#2 #1100
🏁 Release schedule
Emplyee model - https://github.com/nofusscomputing/centurion_erp/milestone/37Manufacturer Migration - https://github.com/nofusscomputing/centurion_erp/milestone/39Ticket Feature Preperation - https://github.com/nofusscomputing/centurion_erp/milestone/43Meta model - Ticketsauto-magic model that allows linking to a ticketTicket Slash commandsTicket Action CommentsTicket Feature Preperation extended - https://github.com/nofusscomputing/centurion_erp/milestone/40
Ticket Model Migration - https://github.com/nofusscomputing/centurion_erp/milestone/45
♾️ In the future
Outstanding Bugs
Organization manager cant view organization #425
Missing UI Feature, ITAM - Software #653
Missing UI Feature, ITAM - Devices #654
Missing UI Feature, ITAM - Operating System #655
Current Permissions model prevents admin panel access #1107
✔️ Markdown field uses TicketBase as model for permission check #1118
Editing an entity model within the inheritence chain incorrectly updates field
entity_type#1123Outstanding Backlog
This section contains items from the backlog that are considered priority
Integration Tests #152
Unit test API HTTP/OPTIONS endpoint #394
🧪 fix skipped tests #395
DB queries >2K per view #471
🧪 Wrong serializer is used for CRUD return #477
Rename Organizations to Tenant #505
🧪 Add Model Git repository #515
1️⃣ Refactor Ticketing Models #564
New Model - Software Packages #636
Deployment Statistics #676
Organization and Permission Mixin test case refactor #698
Refactor Manufacturers/Users/Groups/Teams #704
Refactor All Tests to use PyTest not unittest #729
Meta Models #758
7️⃣ History - Meta Model #759
Model inheritance cleanup #767
Remaining model Tests #876
3️⃣ Add remaining model tests - devops.GitGroup #882
3️⃣ Add remaining model tests - accounting.AssetBase #887
3️⃣ Add remaining model tests - itam.ITAMAssetBase #888
Unit Tests Completion of api.CommonViewSet #898
7️⃣ Add Viewset Functional test suite for ALL ViewSets #984
✔️ New Model - itim.ChangeTicket #1045
✔️ New Model - itim.IncidentTicket #1046
✔️ New Model - project_management.ProjectTask #1047
✔️ New Model - itim.ProblemTicket #1048
refactor Metadata test suit to pytest #1058
✔️ Capture ManyToManyField as part of audit history #1064
✔️ remove superfluous property
Meta.sub_model_type#1132Ansible Collection work
Footnotes
Blocked By: Unit Tests Completion of api.CommonViewSet #898 ↩ ↩2