Releases: monarc-project/MonarcAppFO
Releases · monarc-project/MonarcAppFO
Release v2.13.1-p1
Fixes
- Assets library removal if it is in a composition as a child and presented in the analysis.
- Risks owners duplication when snapshot is created.
- Added a condition to prevent instances becoming root for itself.
- Setting specific risks property during the import.
Release v2.13.1
The code refactoring includes the following parts:
- Removed the relying on the abstraction and sharing the same methods execution of services.
- Implemented the single responsibility approach to the entities.
- Added the filtering functionality to process the incoming get requests data and prepare them for the filter and sort queries.
- Added the data validation at first place. Before the post, put, patch and delete requests data are passed to the services, they are validated.
- Removed the dependency on the abstract table common methods, where the entities positions were processed, and some specific code run.
- Implemented the common approach, not resources/time consuming, of the entities positioning based on interfaces and traits.
- Optimised the export and import functionality to be clean and fast.
- Added a common place to validate the analysis access and endpoints permissions before the controllers’ actions are reached. The Middleware passed an anr object to the actions automatically as an attribute.
- Restructured the components and code parts of the application based on responsibilities, relations and to be more clear.
- Removed many deprecated code parts and cleaned up the deprecated columns in the DB tables.
- Improved some DB indexes and renamed tables, columns to be more clear on the names.
- Added some first unit tests as a starting point for the full coverage.
Not refactored parts are the following: Questions
, QuestionsChoices
, Guide
, Interviews
, ROPA
, Deliverable
.
User stories.
- Added possibility to export risk analysis with Knowledge Base (KB) and/or Assets Library (AL). That allows to optionally export all the KB a AL data without having the analysis modelling started. This is needed for sharing models between FrontOffices or update AL or KB with new versions of the structures.
- Changed the export format of JSON export file to reduce its size and be similar to the api endpoints responses and the projects structures views. An old data converter is implemented for the backward compatibility.
- Significantly improved the import time and made it always consistent. In case of import issues the data are not inserted, there are saved in the DB only at the end of the process (transactional approach).
- Removed extra user’s information from password reset response and removed the endpoint access by the other users (points 5.1.1, 5.1.2).
- Restricted analysis creation based on the models that are not available for the client (point 5.2.3).
- Fixed the password change.
Release v2.12.7-p5
Fix
- Added the validation to prevent redirection to the login page when the reset password link is opened.
Release v2.12.7-p4
- Fixed the global library assets disappearing after the
Edit Impacts
action.
Release v2.12.7-p3
Fixed the issues of the position update, uuid
was wrongly used as Anr id
.
Release v2.12.7-p2
Fixes
- Fixed removal of specific instance risks.
- Fixed the library objects disappearing after the specific risks removal.
Release v2.12.7-p1
- [FrontOffice] Fixed the operational risks import from CSV
#484
Release v2.12.7
Release v2.12.6-p1
Fixed the issues:
- Console commands execution. TranslateServiceFactory should not return false and the PROJECT_ROOT const is used to search for PO files. The issue sometimes occurred during the background import execution.
- Snapshots creation or analysis creation based on existing, when there are custom objects in the library.
Release v2.12.6
New features
- Analysis background import.
- Support of PHP8.
- Specific error message on a wrong password input of analysis import.
Fixes
- Recommendations modification from the Knowledge Base when due date is set.
- Recommendations modification fix of loading the linked recommendation set.