94 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
d82dd4cb4b * [MOD] Use logger on CLI commands
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-03-13 10:01:29 +01: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
3f4bb11978 * [FIX] Wrong behavior when no mail recipients are set
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-26 21:19:54 +02:00
Rubén D
63e7e88a23 * [MOD] Improved logging messages
* [MOD] Unlocked PHP 7.3
* [FIX] No debug messages when debug mode is activated

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-24 00:50:04 +02:00
Rubén D
752d05c1c6 * [MOD] Improved logging messages
* [MOD] Unlocked PHP 7.3
* [FIX] No debug messages when debug mode is activated

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-23 20:50:15 +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
Rubén D
5c38da88c6 * [ADD] Added client IP address in syslog messages. Thanks to @sebagarayco for the feedback. Closes #1302
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-21 16:44:05 +02:00
Rubén D
5e8861e42f * [ADD] Allow to enable email notifications only for account access requests. Thanks to @jorgemfm for the feedback. Closes #1157
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-02-23 20:00:38 +01:00
Rubén D
36a57c82b8 * [FIX] Wrong behavior when no events are set
* [FIX] Wrong behavior when wiki filters are active
* [FIX] Wrong behavior importing XML files from previous version

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2018-12-26 07:20:33 +01:00
Rubén D
08e8bd8102 * [MOD] Improved master password change by enforcing maintenance mode before running the process
* [MOD] Added import events to fixed ones
* [MOD] Minor code tweaks

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2018-12-22 13:00:05 +01:00
Rubén D
61795993ab * [FIX] Wrong behavior on mail events handling. Thanks to @deajan for the notice. Related #1165
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2018-12-17 22:38:13 +01:00
nuxsmin
8acca8250e * [FIX] Disable database events from logging into the database. Thanks to @deajan for the notice. Related #1165
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2018-12-17 18:58:18 +01: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
RubénD
dce2bb29ba Merge pull request #1130 from deajan/ad-quick-group-filter
Ad quick group filter
2018-12-16 13:28:05 +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
nuxsmin
3cf75fb6ba * [FIX] Wrong behaviour when requesting user's password change. Thanks to @jorgemfm for the feedback. Closes #1155
* [MOD] Improved events handling by setting fixed events (always triggered)

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-16 12:19:53 +01:00
nuxsmin
90ba034522 * [FIX] Wrong behaviour when displaying task progress on master password change. Thanks to @deajan for the feedback. Closes #1128
* [FIX] Improved browser notifications format. Thanks to @vmario89 for the feedback. Closes #1142
* [FIX] Temporary master password change notifications are sent to all users. Thanks to @jorgemfm for the feedback. Closes #1156
* [MOD] Improved background tasks management
* [MOD] Improved email notifications format

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-10 07:01:25 +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
13e12baaf0 * [FIX] Fixed wrong behavior when setting mail parameters
* [MOD] Improved email message templates

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-19 18:44:18 +01:00
nuxsmin
57260871d6 * [FIX] Notifications assigned to a user can be deleted
* [MOD] Improved in-app notifications displaying. Database update is needed
* [ADD] Added ACL event handler in order to recreate users' ACL when items like user, profile or group are updated/deleted

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-18 19:51:42 +01:00
nuxsmin
84800e8a09 * [MOD] Bump build number and version
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-17 18:52:36 +01:00
nuxsmin
f6f9cd1a03 * [FIX] Fixed wrong behavior when displaying account data when private presets were set
* [MOD] Improved presets precedence
* [FIX] Fixed wrong behavior when logging exceptions
* [MOD] Removed DokuWiki configuration (will be restored in later releases)
* [MOD] Removed LDAP sync icon from users view
* [MOD] Use minimized version of JS resources

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-13 23:53:17 +01:00
nuxsmin
0da5c282d6 * [MOD] Improved logging when performing upgrades
* [MOD] Log to file is turned on when debug mode is active

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-11 12:58:31 +01:00
nuxsmin
ed956eec54 * [ADD] Added mime type file checking instead of extension. Thanks to @vmario89 for the feedback. Related #825
* [MOD] Improved exception handling in controllers

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-10 21:41:07 +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
a37b49d506 * [ADD] Added PDF files displaying
* [FIX] Minor bugfixes
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-24 01:59:58 +02:00
nuxsmin
7f2dd35059 * [MOD] Improved plugins management
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-15 02:56:00 +02:00