Rubén D
d1b040300e
chore(tests): UT for LDAP STD
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-11-01 19:03:38 +01:00
Rubén D
d30b5634f1
chore(tests): UT for LDAP MS ADS
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-11-01 18:02:42 +01:00
Rubén D
53d62e2d39
chore(tests): UT for LDAP authentication
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-10-29 11:09:37 +01:00
Rubén D
c3cb63417d
fix(tests): Fix unitary tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-06-03 22:38:08 +02:00
Rubén D
b640b6d695
chore(refactor): LDAP auth refactoring.
...
- Decouple from ldap_* native functions
- Use Laminas/Ldap library
- Use enum for interface constants
- Move LDAP interfaces to domain
- Simplify LdapActions API
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-06-03 21:40:20 +02:00
Rubén D
dba0c4ceda
chore(tests): Add SecureSessionService tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-21 17:09:09 +02:00
Rubén D
419a674fba
chore(tests): Add more unitary tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-21 13:02:19 +02:00
Rubén D
c907bb9895
ci(php): Bump to PHP 8.1 version
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-20 22:46:42 +02:00
Rubén D
354a33cf17
chore: Create ApiService tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-20 22:01:41 +02:00
Rubén D
347137a361
chore: Create ApiResponse tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-17 21:12:56 +02:00
Rubén D
9abe75ea84
chore: Create ApiRequest tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-17 20:55:11 +02:00
Rubén D
13d542522f
chore: Create UpgradePublicLinkService tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-16 23:09:50 +02:00
Rubén D
29f4d10a85
chore: Use array access instead of object
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-16 15:39:28 +02: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
cbf18bb186
chore: Create PublicLinkKey tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-15 10:12:42 +02:00
Rubén D
9862340f5f
chore: Create AccountToUserGroupService tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-15 10:00:31 +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
ab6061bf34
chore: Create AccountToTagService tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-13 12:21:29 +02:00
Rubén D
b17cc55bfb
chore: Create AccountToFavoriteService tests.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-13 11:03:42 +02:00
Rubén D
a8939dfddf
chore: Improve search regex
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-13 18:58:13 +01:00
Rubén D
d5ec816415
chore: Remove unused classes and fix types.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-10 12:30:58 +01: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
60f21cfddf
chore: Create tests for AccountHistoryService
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 21:19:48 +01:00
Rubén D
57c1569430
chore: Create tests for AccountFilterUser
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 16:43:27 +01:00
Rubén D
1e1ec16f73
chore: Remove BypassFinals and Pseudo PDO.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 14:33:17 +01:00
Rubén D
84cf2a59d7
chore: Update definitions
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 10:26:46 +01:00
Rubén D
78f51f3259
chore: Add tests for CryptPKI
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 00:06:43 +01:00
Rubén D
973bb8ebfd
chore: Add tests for AccountCacheService
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-03 22:57:10 +01:00
Rubén D
c588734fb8
chore: Add tests for AccountSearchDataBuilder
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-03 22:32:11 +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
3a2137f738
chore: Add test for null operator.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-03 19:58:08 +01:00
Rubén D
ab49a901ff
chore: Create AccountPresetService tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-28 20:42:48 +01:00
Rubén D
42a77cc5ec
fix: Use generators and fix ItemSearch builders
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 22:20:13 +01:00
Rubén D
5531af39f4
chore: Create tests for AccountFileService
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 19:55:03 +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
41b171e89d
chore: Create AccountSearchTokenizer tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-27 00:46:43 +01:00
Rubén D
c939ef634a
chore: Adapt to hexagonal architecture pattern.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-26 20:12:23 +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
ae16c0ad76
fix: Set properties type
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-26 15:13:02 +01:00
Rubén D
07437ffda0
chore: Create AccountAdapter tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-26 13:04:38 +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
796ecbc5fb
chore: Implement AccountAclService tests.
...
Use scoped namespace for simple functions.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-25 23:40:27 +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
e849c9d521
chore: Reformat code
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-20 12:56:00 +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