Commit Graph

28 Commits

Author SHA1 Message Date
Rubén D
04c49cb8fd chore(tests): UT for Login service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-04-15 07:56:27 +02:00
Rubén D
1d2e991be5 chore(tests): UT for UserMasterPass service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-04-07 07:44:23 +02:00
Rubén D
cd6b3dbc92 chore: Remove unused file and set type
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-06 12:56:36 +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
3dd1966e1a chore(tests): UT for Provider auth
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-12 23:33:03 +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
b640b6d695 chore(refactor): LDAP auth refactoring.
- Decouple from ldap_* native functions
- Use Laminas/Ldap library
- Use enum for interface constants
- Move LDAP interfaces to domain
- Simplify LdapActions API

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-06-03 21:40:20 +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
a6e34f7b25 chore: Use Application on constructor.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-28 09:14:37 +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
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
e4e6e04c57 * [MOD] Updated copyright
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-07 19:42:41 +01: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
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
nuxsmin
cd4d4f8326 * [ADD] Added Azure AD implementation. Thanks to @deajan for the contribution. Closes #1115
* [MOD] Improved LDAP connection. Thanks to @deajan for the feedback. Related #1111
* [MOD] Improved LDAP user in group detection. Thanks to @deajan for the feedback. Related #1120

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-25 19:48:05 +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
18c750bd25 * [MOD] Improved LDAP handling
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-09-09 20:43:21 +02:00
nuxsmin
e6924221e2 * [MOD] Improved LDAP handling
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-09-09 19:34:24 +02:00
nuxsmin
4270f63414 * [ADD] Added additional filtering fields for LDAP groupmembership. Related #937 #1020
* [MOD] Improved LDAP handling
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-09-09 14:12:30 +02:00
nuxsmin
3e26a1df71 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
* [MOD] Make classes final for performance improvements and avoid some side behaviours
2018-07-28 19:15:11 +02:00
nuxsmin
14175c329e * [FIX] Fixed issue when handling events for log handlers. Thanks to @Whatsek for the feedback. Related #991
* [MOD] Improved log handling by setting application language
2018-07-19 21:19:51 +02:00
nuxsmin
a97b92131f * [ADD] Added URI signature for JS and CSS resources
* [MOD] Improved requests handling. It makes them more testing friendly
* [MOD] Code refactoring
2018-07-08 23:05:30 +02:00
nuxsmin
b041720886 * [MOD] Improved help for special paramenters.
* [MOD] Improved UI for mobile browsing.
* [MOD] Improved locale detection.
* [MOD] Minor UI tweaks.
2018-04-14 22:26:30 +02:00
nuxsmin
e640f12f23 * [ADD] Session abstraction by using context classes 2018-03-09 12:48:33 +01:00
nuxsmin
e3d64db801 * [ADD] An LDAP filter can be set when importing objects 2018-03-01 15:51:05 +01:00