52 Commits

Author SHA1 Message Date
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
699c40a694 * [FIX] Fix ADS search behavior by unsseting ACCOUNTDISABLE flag for UserAccountControl property, since it prevents to throw the proper status code when authenticating against LDAP. Thanks to @t0l0 for testing. Closes #1574
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-01-17 15:13:36 +01:00
Rubén D
728ec832f3 * [FIX] Fix ADS search behavior by unsseting ACCOUNTDISABLE flag for UserAccountControl property, since it prevents to throw the proper status code when authenticating against LDAP. Thanks to @t0l0 for testing. Closes #1574
* [MOD] Update dependencies
* [MOD] Bump version number

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-01-16 12:13:25 +01:00
Rubén D
b0050813b0 * [FIX] Fix ADS search behavior by unsseting ACCOUNTDISABLE flag for UserAccountControl property, since it prevents to throw the proper status code when authenticating against LDAP. Thanks to @t0l0 for testing. Closes #1574
* [MOD] Update dependencies
* [MOD] Bump version number

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-01-16 11:46:58 +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
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
f3e01eee9d * [MOD] Enforce LDAP schema in ldap_connect function. Skip ldap_connect signature using port because it's deprecated
* [ADD] LDAP params tests

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-03-07 17:49:15 +01: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
df02a33677 * [FIX] Wrong behavior when setting user's email from LDAP when several email addresses are set. Thanks to @ cRaZy-bisCuiT for the feedback. Closes #1283
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-26 23:16:49 +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
3ad99a6cf7 * [MOD] Improved LDAP user-in-group lookup by using user's DN as base for search. Thanks to @deajan for the contribution. Related #1130
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-16 13:36:41 +01:00
nuxsmin
7d67156985 Merge remote-tracking branch 'origin/3.0' into 3.0
# Conflicts:
#	lib/SP/Providers/Auth/Ldap/LdapActions.php
2018-12-16 13:30:24 +01:00
nuxsmin
ef5ef071dc * [FIX] Wrong behaviour when retrieving LDAP results using pagination. Thanks to @jinyiwoo for the feedback. Closes #1149
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-16 12:44:48 +01:00
Orsiris de Jong
1c3989c8fb Another false to null switch 2018-11-29 17:30:52 +01:00
Orsiris de Jong
7aa19b43aa Switched from default searchBase = false to null 2018-11-29 17:30:02 +01:00
Orsiris de Jong
0b5b3806d3 More elegant code 2018-11-27 21:49:05 +01:00
Orsiris de Jong
d9ac1f93df Added @ to ldap_search again since debugging is finished 2018-11-27 12:07:13 +01:00
deajan
544b24653f Faster MS AD group filter 2018-11-27 11:35:02 +01: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
Orsiris de Jong
dba7dfc9c9 Allow usage of 'cn' and 'CN' for filter attributes 2018-11-22 13:04:07 +01:00
Orsiris de Jong
818214360d Allow usage of 'cn' and 'CN' for filter attributes 2018-11-22 13:03:49 +01:00
Orsiris de Jong
ef700ec79d Removed doubled equal sign for recursive group membership filter 2018-11-22 13:01:13 +01:00
nuxsmin
a159569e74 * [FIX] Fixed issue when connecting to LDAP without any defined group. Thanks to @odavis1 for the feedback. Closes #1095
* [FIX] LDAP server was not sent to event log on login. Related #1095

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-10 09:40:57 +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
6b6d4a0f23 * [FIX] Fixed issue when an LDAP error is thrown on the logging in process. Some error codes were not passed through the stack. Solves #1065. Thanks to @dcotruta and @odavis1 for the feedback.
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-12 11:35:27 +02:00
nuxsmin
31000f20db * [FIX] Disabled not null restriction for ipv4 column in Track table. IP addresses will be checked out within Track service. Related #1044. Thanks to @pierrehenrymuller for the feedback and testing
* [ADD] Added Danish translation
* [MOD] Updated translations. Thanks to all contributors!

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-09-24 01:15:28 +02:00
nuxsmin
5b8f21ee01 * [FIX] Fixed issue when getting LDAP TLS setting 2018-09-11 17:53:33 +02:00
nuxsmin
febc796e34 * [ADD] Added TLS option for LDAP connection. Closes #936
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-09-09 23:55:48 +02: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
950ad4fff5 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-08-08 15:26:14 +02:00
nuxsmin
a00b1fb3e9 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
* [FIX] Minor bugfixes
2018-08-06 10:16:29 +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
ff8713768d * [FIX] #987. Fixed regex pattern for parsing ldap server data. Thanks to @deajan for the feedback. 2018-07-09 23:52:04 +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
78429052b9 * [FIX] Related #928. Fixed wrong regex when setting LDAP server using an URL. Thanks to @lcuervott for the feedback and testing. 2018-05-29 02:53:41 +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
4d6104b839 * [ADD] API module. Work in progress.
* [ADD] Upgrade service. Work in progress.
* [MOD] Context based session data. Added collection class to manage session properties.
* [MOD] Code refactoring.
* [MOD] Improved theme icons load by caching objects.
2018-03-13 02:01:09 +01: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
nuxsmin
3504e66c9c * [MOD] Improved LDAP import
* [ADD] Groups import from LDAP
* [MOD] Improved LDAP auth behavior
* [MOD] Config data is always cloned on every request
* [MOD] Improved non RSA encrypted data detection
* [MOD] Code refactoring
2018-03-01 00:49:00 +01:00
nuxsmin
407a3f0694 * [ADD] Password reset module. Work in progress
* [ADD] Mail provider. Work in progress
* [MOD] Updated copyright
* [MOD] Improved tracking module
2018-02-27 00:06:59 +01:00
nuxsmin
d1f4068aaf * [MOD] Improved layouts/templates handling. Work in progress.
* [MOD] Improved bootstrap workflow. Work in progress.
* [MOD] Improved installer workflow. Work in progress.
2018-02-12 02:13:33 +01:00