Updated the release information, dependencies and vagrant file.

feature/remove-db-abstract
Ruslan Baidan 2024-10-06 18:09:46 +02:00
parent 22c4ee232e
commit dffd956b66
No known key found for this signature in database
GPG Key ID: 4B7724C136BF1D89
6 changed files with 1360 additions and 750 deletions

12
AUTHORS
View File

@ -3,7 +3,7 @@
Cédric Bonhomme - https://www.cedricbonhomme.org
Jérôme Lombardi - https://github.com/jerolomb
Juan Rocha - https://github.com/jfrocha
Ruslan Baidan - https://github.com/ruslanbaydan
Ruslan Baidan - https://github.com/ruslanbaidan
# Contributors
@ -22,11 +22,11 @@ Thomas Metois
# Copyright holders
- Copyright (C) 2016-2023 Jérôme Lombardi - https://github.com/jerolomb
- Copyright (C) 2016-2023 Juan Rocha - https://github.com/jfrocha
- Copyright (C) 2016-2023 Luxembourg House of Cybersecurity
- Copyright (C) 2017-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
- Copyright (C) 2016-2024 Luxembourg House of Cybersecurity
- Copyright (C) 2016-2024 Jérôme Lombardi - https://github.com/jerolomb
- Copyright (C) 2016-2024 Juan Rocha - https://github.com/jfrocha
- Copyright (C) 2017-2024 Cédric Bonhomme - https://www.cedricbonhomme.org
- Copyright (C) 2019-2024 Ruslan Baidan - https://github.com/ruslanbaidan
- Copyright (C) 2016-2017 Guillaume Lesniak
- Copyright (C) 2016-2017 Thomas Metois
- Copyright (C) 2016-2017 Jérôme De Almeida
- Copyright (C) 2019-2023 Ruslan Baidan - https://github.com/ruslanbaidan

View File

@ -1,6 +1,33 @@
MONARC Changelog
================
## 2.13.1 (2024-10-07)
### Enhancement
- Refactored backend code. It includes the following changes points:
- Removed the relying on the abstraction and sharing the same methods execution of services.
- Implemented the single responsibility approach to the entities.I
- 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 for the 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 users 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 by manually faking the request (point 5.2.3).
- [Fixed the password change](https://github.com/monarc-project/MonarcAppFO/discussions/523).
## 2.12.7 (2023-10-25)

View File

@ -75,14 +75,14 @@ License
This software is licensed under
[GNU Affero General Public License version 3](http://www.gnu.org/licenses/agpl-3.0.html)
- Copyright (C) 2016-2023 Luxembourg House of Cybersecurity
- Copyright (C) 2016-2023 Jérôme Lombardi - https://github.com/jerolomb
- Copyright (C) 2016-2023 Juan Rocha - https://github.com/jfrocha
- Copyright (C) 2017-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
- Copyright (C) 2016-2024 Luxembourg House of Cybersecurity
- Copyright (C) 2016-2024 Jérôme Lombardi - https://github.com/jerolomb
- Copyright (C) 2016-2024 Juan Rocha - https://github.com/jfrocha
- Copyright (C) 2017-2024 Cédric Bonhomme - https://www.cedricbonhomme.org
- Copyright (C) 2019-2024 Ruslan Baidan - https://github.com/ruslanbaidan
- Copyright (C) 2016-2017 Guillaume Lesniak
- Copyright (C) 2016-2017 Thomas Metois
- Copyright (C) 2016-2017 Jérôme De Almeida
- Copyright (C) 2019-2023 Ruslan Baidan - https://github.com/ruslanbaidan
For more information, [the list of authors and contributors](AUTHORS) is available.

View File

@ -46,8 +46,8 @@
"ext-pdo": "*",
"ext-bcmath": "*",
"ext-openssl": "*",
"monarc/frontoffice": "dev-feature/remove-db-abstract",
"monarc/core": "dev-feature/remove-db-abstract as v2.12.6",
"monarc/frontoffice": "^2.13.1",
"monarc/core": "^2.13.1",
"laminas/laminas-mvc": "^3.1",
"laminas/laminas-di": "^3.1",
"laminas/laminas-permissions-rbac": "^3.0",

2050
composer.lock generated

File diff suppressed because it is too large Load Diff

7
vagrant/Vagrantfile vendored
View File

@ -22,10 +22,15 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# The FO application port:
config.vm.network :forwarded_port, guest: 80, host: 5001
# The stats-service port:
config.vm.network :forwarded_port, guest: 5005, host: 5005
# The MySQL DB port:
config.vm.network :forwarded_port, guest: 3306, host: 3306
# The PostgreSQL port:
config.vm.network :forwarded_port, guest: 5432, host: 5435
# The MailCatcher port:
config.vm.network :forwarded_port, guest: 1080, host: 1080
# Create a private network, which allows host-only access to the machine
@ -58,7 +63,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
#
# # Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--memory", "4092"]
vb.customize ["modifyvm", :id, "--name", "MONARC FO - Ubuntu 22.04 - NEW DEV"]
vb.customize ["modifyvm", :id, "--name", "MONARC FO - Ubuntu 22.04 - New"]
end
#
# View the documentation for the provider you're using for more