Rubén D
5aa66b7045
refactor: [WIP] Migrate config ldap controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 12:15:59 +02:00
Rubén D
488cb59e82
refactor: [WIP] Migrate config import controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 11:58:31 +02:00
Rubén D
6052b9820a
refactor: [WIP] Migrate config general controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 11:55:49 +02:00
Rubén D
9e3e3496bf
refactor: [WIP] Migrate config encryption controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 11:18:16 +02:00
Rubén D
a6310e9702
refactor: remove DokuWiki controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 11:04:02 +02:00
Rubén D
167926f704
refactor: [WIP] Migrate config backup controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 11:03:10 +02:00
Rubén D
aea8aaac1f
refactor: [WIP] Migrate config account controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 10:50:26 +02:00
Rubén D
40518121b8
refactor: [WIP] Migrate client controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 10:37:23 +02:00
Rubén D
81996b02d7
refactor: [WIP] Create base class for resource file.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 10:16:36 +02:00
Rubén D
3de717d40f
refactor: [WIP] Migrate items controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 10:13:48 +02:00
Rubén D
4c292fd120
refactor: [WIP] Create base class for account file.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 09:52:19 +02:00
Rubén D
904b44e29e
refactor: [WIP] Create base class for account favorite.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 09:47:55 +02:00
Rubén D
b9b3754fbe
refactor: [WIP] Create base classes for account view and save.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 09:43:09 +02:00
Rubén D
52c6fa2e3f
refactor: [WIP] Migrate category controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 09:16:27 +02:00
Rubén D
54bedda0b2
refactor: [WIP] Improve form building.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 08:53:50 +02:00
Rubén D
1bc977dfc8
refactor: [WIP] Migrate auth token controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 08:44:23 +02:00
Rubén D
6aa2e29caf
refactor: [WIP] Migrate account history manager controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-11 07:34:58 +02:00
Rubén D
24d2677ce1
refactor: [WIP] Migrate account file controller.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-06 18:58:54 +02:00
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
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
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
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
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
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
9d6509e386
* [ADD] Allow to disable database fallback when using LDAP auth. Closes #1518 . Thank to @itpro-tips for the feedback.
...
* [MOD] Improved authentication workflow.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2020-06-29 00:25:13 +02:00
Rubén D
d310a10ba0
* [MOD] Merge v3.1 changes
...
* [ADD] Use custom ldap attributes for users or groups
* [ADD] Use custom ldap filter for users or groups lookup
* [MOD] Improved internal config handling by using an array instead of class properties
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2020-06-28 19:38:06 +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
749a45fd0a
* [FIX] Do not allow deleting Plugins from the UI. Thanks to @yawnbros for the feedback.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2019-12-21 11:30:54 +01:00
Rubén D
a299760683
* [FIX] Wrong behavior when viewing PDF files. Thanks to @m-shirokov for the notice. Closes #1501
...
* [MOD] Minor code tweaks
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2019-12-16 00:40:02 +01:00