Rubén D
40c6cb1dba
chore: Use strict types
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-05-01 12:03:55 +02:00
Rubén D
016aa1d8d3
chore: Refactor structure
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-04-28 19:47:50 +02:00
Rubén D
cda692d4de
chore: Relocate classes
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-04-21 21:09:32 +02:00
Rubén D
4e346d9f1a
chore: Bootstrap refactoring
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-04-20 11:59:23 +02:00
Rubén D
5c3da6fc3b
chore(tests): UT for Database service
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-03-29 13:10:41 +01:00
Rubén D
d17b50183a
chore: Fix wrong classes naming
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-03-09 13:19:02 +01:00
Rubén D
ff9bf9f91d
chore: Remove unneeded classes
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-03-09 13:16:47 +01:00
Rubén D
2e4eca1c75
chore(tests): UT for ItemPreset
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-03-09 12:48:40 +01:00
Rubén D
c263a8bef9
chore(tests): UT for MasterPass service
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-01-16 14:15:30 +01:00
Rubén D
7eee87b74c
chore: Refactor Account interfaces naming
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-01-16 08:47:32 +01:00
Rubén D
5c5dc57bf6
chore(tests): UT for AuhToken
...
- Remove old tests
- Refactor Actions and Acl (WIP)
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-12-10 20:53:12 +01:00
Rubén D
efea16c6f5
chore: Minor refactor
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-12-09 08:01:57 +01:00
Rubén D
05186e188e
chore(tests): UT for AccountSearchRepository
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-12-08 11:50:52 +01:00
Rubén D
d542685e14
chore: Move exceptions to domain
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-11-26 22:17:14 +01:00
Rubén D
05af371010
chore: Move interfaces into Domain
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-11-26 13:09:47 +01:00
Rubén D
cb1e5f9e93
chore: Create PublicLinkService tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-16 14:55:34 +02:00
Rubén D
651a1271f1
ci: Bump aura/sqlquery version.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-15 09:43:22 +02:00
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
bd8e599014
chore: Create tests for AccountFileService
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 19:51:18 +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
930b1f7139
chore: Create AccountCryptService tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 16:01:51 +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
f9d16dd76f
chore: Move repository interface
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-26 08:39:44 +01:00
Rubén D
a4c654f44c
chore: Implement PublicLinkRepository tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 19:58:16 +01:00
Rubén D
caa5571b20
chore: Implement AccountToUserRepository tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 17:43:49 +01:00
Rubén D
930c519ef1
chore: Implement AccountToUserGroupRepository tests.
...
A new Query class is needed to perform custom queries.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 17:31:13 +01:00
Rubén D
4a22b12be8
chore: Reformat code and extend from RepositoryInterface
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 12:02:46 +01:00
Rubén D
de9d500d85
chore: Create AccountToTagRepository tests
...
A RepositoryInterface is added to expose transactionAware method to the service.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 11:46:11 +01:00
Rubén D
120adb09ee
chore: Create AccountToFavoriteRepository tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 17:26:30 +01:00
Rubén D
8379a8cbd6
chore: AccountFile repository test
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 17:05:34 +01:00
Rubén D
a383d712a1
chore: Fix PHPStan warnings
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 15:38:34 +01:00
Rubén D
666bd06566
chore: Fix tests and PHPStan warnings
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 15:37:01 +01:00
Rubén D
cebb3bb72d
chore: Move repository interface to domain
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 15:07:00 +01:00
Rubén D
6a71fe3372
chore: Remove unused methods
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-06 16:38:05 +01:00
Rubén D
8ef229f8ed
chore: AccountHistoryRepository tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-06 16:29:33 +01:00
Rubén D
4db6bcfcf6
chore: Complete AccountRepository tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-06 11:56:41 +01:00
Rubén D
fde6e60bd1
chore: Fix tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-05 19:34:56 +01:00
Rubén D
8a2bbc8283
chore: Use Aura.SqlQuery for building queries.
...
Refactor AccountRepository and AccountSearchRepository to use Aura.SqlQuery. This will allow to mock queries when testing.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-05 09:58:57 +01:00
Rubén D
08ce35a837
chore: Use constants for queries.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-10-31 10:03:59 +01:00
Rubén D
8fe49d064e
chore: Update PHPDoc blocks
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-10-31 09:25:59 +01:00
Rubén D
de06ff5b0f
chore: Move account data models and unit test for account repository.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-07-02 18:01:56 +02: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