Commit Graph

11 Commits

Author SHA1 Message Date
Rubén D
a597d8ae62 chore: Create AccountService tests and rework models.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-12-10 12:07:38 +01:00
Rubén D
7f986f17ef chore: Add tests for AccountSearchService
AccountSearchService has been split into multiple classes for better testeability.
Accounts' DTOs have been moved to domain

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-12-03 21:01:32 +01:00
Rubén D
78ad705aee fix: Wrong arguments for DTO
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-27 18:27:04 +01:00
Rubén D
5952a3f48a chore: Adapt to hexagonal architecture pattern.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-26 19:45:53 +01:00
Rubén D
1c8fb0ea1a refactor: [WIP] Use hexagonal architecture and implement interfaces for services and repositories.
Controllers are being splited into commands to better dependency management.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-06 08:17:34 +02:00
Rubén D
8e96ec4285 * [MOD] Code refactoring by enforcing type checks (WIP)
* [MOD] Update dependencies

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-01-17 14:56:56 +01:00
Rubén D
e2885bcb76 * [MOD] Update PHPunit to latest version.
* [MOD] Load fixtures using plain SQL files.
* [MOD] Raise PHP version requirements (7.2 will be deprecated within a month).

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-09 12:03:13 +01:00
Rubén D
2318796c00 * [FIX] Fixed wrong behavior when searching for accounts on accounts manager. Thanks to @Weptun for the feedback. Closes #1271
* [ADD] Added missing tests
* [MOD] Code cleanup

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-21 23:12:45 +02:00
nuxsmin
09520d3cc7 * [FIX] Fixed wrong behavior when downloading PDF file from file management
* [MOD] Improved backup and export management. They are now stored in compressed file format, can be downloaded without direct access through the web browser and it keeps tracking when downloaded.
* [MOD] Updated translations
* [ADD] Unit tests

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-28 22:37:57 +01:00
nuxsmin
5b86397f5b * [FIX] Fixed issue when compiling ACL. Closes #1063. Thanks to @dcotruta and @odavis1 for the feedback and testing.
* [FIX] Fixed issue when setting master password from old user's password on login
* [FIX] Minor bugfixes
* [ADD] Added accounts bulk edit on Accounts Manager
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-12 01:17:06 +02:00
nuxsmin
3c78910569 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-08-11 09:46:36 +02:00