Rubén D
92e92ea605
refactor: [WIP] Migrate config manager controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-06 18:33:20 +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
bf456ffd4b
chore: Minor code tweaks.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-28 08:53:13 +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
3b5c62f697
fix: Prevent XSS on all output variables.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-24 07:46:35 +02:00
Rubén D
57470583e7
fix: Prevent XSS on all output variables.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-23 21:51:54 +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
f0e5be2c52
chore: Build mock test for FileBackupService class.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-19 08:25:34 +02:00
Rubén D
f22145b389
chore: Use Application helper class and externalize UpgradeConfigChecker.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-16 22:04:08 +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
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
d6963e041e
chore: (WIP) Do not rely on dependencies' container for controllers.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-16 11:31:02 +02:00
Rubén D
c76e262daa
* [MOD] Exceptions in docblock.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-02-27 19:20:14 +01: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
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
f3e35941b7
* [ADD] New translations to Spanish.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-10-02 12:15:44 +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
0b02c8fdbf
Merge branch 'v3.2' into feature/cli_module
...
# Conflicts:
# composer.json
# composer.lock
# lib/SP/Providers/Auth/Ldap/LdapMsAds.php
# lib/SP/Services/Install/Installer.php
# lib/SP/Util/Checks.php
# lib/SP/Util/Link.php
# public/js/app-actions.min.js
# public/js/app-util.min.js
# tests/res/scripts/reset_db.sh
2021-09-19 21:40:27 +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
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
a55548f4c4
* [MOD] Update dependencies
...
* [FIX] Fix displaying install page when the app is already installed. Thanks to @kmmndr for the notice. Closes #1629
* [FIX] Fix issue when dropping DB user after an errored installation.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2020-12-20 15:25:20 +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
896d9fd3ad
* [MOD] Deprecate PHP versions below 7.2 since they are no longer supported by PHP and Travis CI tests are not performed for them. https://www.php.net/supported-versions.php
...
* [MOD] Improve internal config handling. No more properties visibility tweaks.
* [MOD] Updated dependencies.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2020-12-07 19:37:00 +01:00
magcho
c82e0e4018
[update] translate
2020-09-30 17:26:30 +09:00
magcho
3ebbc540d4
[update] notification translate
2020-09-30 15:56:55 +09:00
magcho
cbd89815d2
[update] confuguration translate
2020-09-30 12:18:51 +09:00
magcho
c2d3f8c0d3
[update] encrypt of configuration translate
2020-09-30 11:40:05 +09:00
magcho
50686bc6df
[update] mail of configuration translate
2020-09-30 01:32:33 +09:00
magcho
9e057c49eb
[update] ldap of configuration translate
2020-09-30 01:30:02 +09:00
magcho
6900ff66e7
[update] wiki of configuration translate
2020-09-30 01:25:40 +09:00
magcho
d1976a4b9e
[update] general of configuration translate
2020-09-30 00:50:50 +09:00
magcho
5e3bdf0770
[update] translate plugins page
2020-09-30 00:45:59 +09:00
magcho
a664f6b1f3
[update] セキュリティーと異常検知を翻訳
2020-09-30 00:24:09 +09:00
magcho
7b57c066b2
[fix] ユーザーとアクセス管理の翻訳を修正
2020-09-21 00:25:27 +09:00
magcho
8715b73502
[fix] 新規アカウント作成画面の翻訳を修正
2020-09-20 22:11:10 +09:00
magcho
b5b1bc0f0c
[updte] source text
2020-09-20 21:59:16 +09:00
magcho
60228041ce
[fix] 翻訳修正
2020-09-20 18:37:24 +09:00
magcho
b8d319e4da
[fix] 新規アカウント作成ページの翻訳を修正
2020-09-13 16:31:00 +09:00
magcho
830810de66
[fix] 「検索」の翻訳修正
2020-09-13 16:18:00 +09:00
magcho
af5a283b65
[update] application translation
2020-09-13 00:54:39 +09:00