Commit Graph

96 Commits

Author SHA1 Message Date
Rubén D
739f40ba5d chore(tests): UT for Config service & repository
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-01-14 10:42:45 +01:00
Rubén D
6e4f532f2b chore(tests): UT for ClientRepository
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-01-12 06:27:54 +01:00
Rubén D
a76610fd85 fix(tests): UT for CategoryRepository
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-16 07:59:57 +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
f519f6b23e chore: Refactor AuthTokenRepository
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-09 11:26:26 +01:00
Rubén D
dc4322838f chore(wip): Rework plugins architecture
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-08 09:08:03 +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
efc606cb91 chore(tests): UT for ACL actions
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-16 06:49:25 +01:00
Rubén D
17083f10d8 chore(tests): UT for Database auth
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-12 10:47:51 +01:00
Rubén D
7eff3307e8 chore(tests): UT for Browser auth
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-12 10:12:10 +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
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
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
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
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
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
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
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
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
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
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
055a1bd4b5 chore: Fix interface implementation
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-19 11:15:25 +01:00
Rubén D
2ccce01acb chore: Fix unitary tests
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-06 17:34:32 +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
0e4e92d7db chore: Fix properties visibility
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-06 10:06:20 +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
Rubén D
de0bc2a15b fix: wrong property declaration.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-24 08:05:41 +02:00
Rubén D
6a6c5d966d * [FIX] Minor fixes.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-02-27 13:52:40 +01:00
Rubén D
ebe58282f6 * [ADD] Test API module without using a real sysPass instance.
* [MOD] Improve module loading.
* [MOD] Improve backup file regex.
* [MOD] Minor code tweaks.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-10-17 16:26:39 +02:00
Rubén D
58249da565 * [MOD] Use static types.
* [MOD] CORS headers.
* [MOD] Improve Forwarded header lookup.
* [ADD] Create interface for configuration data.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-10-12 20:49:18 +02:00
Rubén D
600c398bb8 * [ADD] Install CLI command tests.
* [MOD] Install CLI command refactoring.
* [MOD] Minor code tweaks.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-09-19 21:32: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
41703b50f9 * [MOD] Strict type checking (WIP)
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-20 14:24:42 +01:00
Rubén D
e4e6e04c57 * [MOD] Updated copyright
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-07 19:42:41 +01:00
Rubén D
6197c52af1 * [MOD] Update copyright date
* [MOD] Code cleanup

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-27 02:48:18 +02: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
Rubén D
3ea87a4ecc * [MOD] Improved plugins data handling by encrypting the plugin's data
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-30 00:04:05 +01:00
Rubén D
0fbaccf8a1 * [MOD] Improved plugins handling by moving items' data to new database table.
* [MOD] Added plugins upgrade process

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-22 01:18:03 +01:00
nuxsmin
42aa27b03a * [FIX] Untranslated string on public links list. Thanks to @vmario89 for the feedback. Related #1124
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-26 19:30:38 +01:00
nuxsmin
57260871d6 * [FIX] Notifications assigned to a user can be deleted
* [MOD] Improved in-app notifications displaying. Database update is needed
* [ADD] Added ACL event handler in order to recreate users' ACL when items like user, profile or group are updated/deleted

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-18 19:51:42 +01:00
nuxsmin
305d4de16f * [MOD] Switched base language over to English
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-05 00:03:37 +01:00
nuxsmin
c4ba84e206 * [ADD] New preferences option to always display the account search filters
* [MOD] Updated translations
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-03 13:41:46 +01:00
nuxsmin
e322563a66 * [ADD] Added In-App notifications polling. It will show up a browser notification when there are pending notifications
* [MOD] Improved Javascript error handling
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-16 01:13:38 +02:00
nuxsmin
513ab01cff * [ADD] User groups can now be managed thorugh API. Related #1054. Thanks to @pierrehenrymuller for the feedback
* [ADD] Added missing API help for some actions
* [MOD] Updated translations
* [MOD] UI tweaks

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-07 20:49:30 +02:00
nuxsmin
c65f406cbd * [ADD] Added tracks management.
* [MOD] Code refactoring.
* [MOD] Updated translations.

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-01 00:18:57 +02:00
nuxsmin
5a06ca3b26 * [ADD] Added password preset for accounts password validation
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-09-02 21:05:03 +02:00