Commit Graph

163 Commits

Author SHA1 Message Date
Rubén D
24fcc0abf4 chore: Refactor Client naming
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-01-16 09:25:01 +01:00
Rubén D
c87f3abe39 chore: Refactor Category naming
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-01-16 09:19:44 +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
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
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
6b061d9930 chore: Code refactor
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-07 16:17:25 +01:00
Rubén D
7de0b1888d chore: Remove unused methods, minor refactor.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-07 07:34:49 +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
c0e876bd42 chore: Move interfaces into Domain
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-26 13:00:30 +01:00
Rubén D
140eb86997 chore(tests): UT for ThemeIcons
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-26 00:53:18 +01:00
Rubén D
a913e00218 chore(tests): UT for Theme
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-25 23:57: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
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
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
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
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
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
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
8a75c0e36e fix: Minor fixes.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-25 10:47:04 +02:00
Rubén D
f134a53d55 fix: Missing installer definition and naming.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-18 19:51:38 +02:00
Rubén D
fbe0e37c17 refactor: Improve helpers style and IoC.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-12 22:01:56 +02:00
Rubén D
8130582df1 refactor: Improve Account helper hierarchy.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-12 21:55:29 +02:00
Rubén D
4a7c4c317b refactor: [WIP] Migrate access and item manager controllers.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-06 18:11:05 +02:00
Rubén D
bc8e128138 refactor: [WIP] Remove circular dependency.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-06 08:24:13 +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
98ffc311cf chore: Refactoring of Bootstrap class into an abstract class.
This allows to implement bootstrap classes for each module and simplifies the bootstrap code.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-16 19:01:28 +02:00
Rubén D
6f2f1ec5e2 * [FIX] Prevent login process when user/password are not provided.
* [FIX] Use null when clientId or categoryId are not set when searching account.
* [FIX] Minor fixes.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-10-17 22:56:21 +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
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
90aa6eb027 * [FIX] Skip direct link on new account
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-06-29 00:49:31 +02:00
Rubén D
cd9dd167bd * [MOD] Merge v3.1 changes
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-03-11 19:34:54 +01:00
Rubén D
3bcf2e0b4d * [ADD] Include custom field in API response. Thanks to @sf32738 for the feedback. Closes #1388.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-01-11 20:50:09 +01:00
Rubén D
bec1d21d8c * [MOD] Improved CSRF handling by using HTTP header to set the token
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-01-08 13:18:03 +01:00
Rubén D
3f79d69336 * [FIX] Wrong URL when application URL setting is set. Thanks to @kalxasus for the notice. Closes #1395
* [MOD] Update Authenticator version in composer.json

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-07-20 23:30:47 +02: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
4e26b3918e * [ADD] Allow to set account's owner when creating or copying the account. Related #1264
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-02-24 22:15:42 +01:00
Rubén D
1ec8d26e3a * [ADD] Application URL for handling requests through reverse proxy. Thanks to @rob42 for the feedback. Closes #1218
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-02-24 20:48:34 +01:00
Rubén D
7fd6df7502 * [FIX] Wrong encoding when displaying account's password. Thanks to @DDH112 for the feedback. Closes #1257
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-02-23 12:59:57 +01:00
Rubén D
fda9466260 * [FIX] Wrong behavior when displaying profiles on item presets. Thanks to @DDH112 for the feedback. Closes #1223
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-02-07 19:54:15 +01:00
Rubén D
26261c0789 * [FIX] Wrong behavior when importing CSV. Thanks to @hoboristi for the feedback. Closes #1211
* [FIX] Wrong behavior when displaying passwords with scpecial characters. Thanks to @opeshm for the feedback. Closes #1207

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-26 12:00:29 +01:00
Rubén D
5dcc450326 * [MOD] Bump version&build numbers
* [FIX] Wrong behavior when setting security token on log/audit module. Thanks to @schleyk  for the feedback. Closes #1182

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-20 12:06:39 +01:00
Rubén D
1cd6eb0f89 * [FIX] Wrong behavior when logging in using Authenticator plugin. Redirection was wrong when using URI sub-path
* [MOD] Minor UI tweaks

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-20 11:23:30 +01:00
Rubén D
f1d9230554 * [FIX] Wrong behavior when checking saved search filters in context. Thanks to @fprina for the feedback. Related #1178
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-19 09:38:54 +01:00