Rubén D
ff745a0cd5
feat: Installer refactoring to inject all dependencies at build time.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-19 11:39:59 +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
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
2796ef578b
chore: Refactor Installer's constructor signature.
...
This will provide connection data when running instead of building time (object wiring).
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-20 07:11:24 +02:00
Rubén D
fe349cb6f9
chore: Inject dependencies into modules.
...
Avoid to inject de IoC container and inject required dependencies. A few helper modules have been created to provide common dependencies.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-16 18:02:35 +02: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
19f9ae1ab3
* [ADD] Warning messages before changing the master password.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-10-03 11:26:18 +02:00
Rubén D
dd96643e6a
* [ADD] Check whether the master password is correct and not the same as the new one.
...
* [MOD] Unset environment variables before every test.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-10-02 08:34:55 +02:00
Rubén D
e64897855a
* [ADD] Master password update CLI command and tests.
...
* [MOD] Code refactoring.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-09-27 00:20:24 +02:00
Rubén D
f8e9e19731
* [ADD] Backup CLI command and tests.
...
* [MOD] Code refactoring.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-09-26 18:42:34 +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
33c381a1e1
* [MOD] Use logger on CLI commands
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-03-13 10:01:53 +01:00
Rubén D
ff4e8df2e6
* [ADD] CHeck whether sysPass is installed
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-01-19 08:39:22 +01:00
Rubén D
b1f76654cd
* [ADD] CLI module with install command
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-01-19 08:23:53 +01:00