Commit graph

224 commits

Author SHA1 Message Date
David Härdeman
3beef5a789 [ldap-contacts-suggestions] Support multiple objectClasses
This is mostly for consistency with the other LDAP attributes.
2021-08-22 13:34:51 +02:00
David Härdeman
8eec9d4a8f [ldap-contacts-suggestions] Clarify some more variables
Make it clearer that these variables take several attributes.
2021-08-22 13:34:51 +02:00
David Härdeman
f3b6cd08f0 [ldap-contacts-suggestions] Update defaults
Since multiple LDAP attributes are supported for the user name/email,
there's no harm in having defaults that are a bit more flexible
(for example, "givenName" is commonly only the users first name,
while a full name is usually preferable as an email recipient).
2021-08-22 12:54:02 +02:00
David Härdeman
8e9cef4f78 [ldap-contacts-suggestions] Use LDAP URI for connecting
ldap_connect(<host>, <port>) is deprecated and ldap_connect(<uri>) is
more expressive (for example, by allowing the use of SSL to be
mandatory using a ldaps:// URL).
2021-08-22 12:32:02 +02:00
David Härdeman
1841688b5f [ldap-contacts-suggestions] Rename some variables
Rename some variables to use common LDAP terminology and to make their
purpose clearer.
2021-08-22 12:32:02 +02:00
David Härdeman
a53d7383db [ldap-contacts-suggestions] Update option documentation
Use common LDAP terminology and update comments to reflect how the
configuration options work (e.g. that all the LDAP attribute options
are multivalued).
2021-08-22 12:31:56 +02:00
David Härdeman
725f217778 [ldap-contacts-suggestions] Better handling of mixed case attributes
While the LDAP search is case insensitive, the array which is returned from
ldap_get_entries() will only use lowercase. This means that if one
configures the plugin to look for e.g. "givenName", no results
will be returned.
2021-08-22 12:31:56 +02:00
David Härdeman
11294a8f8b [ldap-contacts-suggestions] Add support for StartTLS
The plugin currently supports SSL (by using a ldaps:// URI as the
hostname of the LDAP server) and unencrypted LDAP. This patch
also adds StartTLS support, which is used by many LDAP servers.
2021-08-22 10:48:33 +02:00
David Härdeman
c23eeb54be [ldap-contacts-suggestions] Fix allowed emails
The configuration interface allows a list of allowed emails to be set, but
the configuration parameter is never used.
2021-08-22 00:42:38 +02:00
djmaze
212aeb6910 Prevent 'undefined' in php error log 2021-08-18 12:25:17 +02:00
djmaze
b403f0579b v2.6.2 2021-08-17 15:14:55 +02:00
djmaze
a3dc8ad639 Drop unused allow_html_editor_source_button 2021-08-16 18:18:11 +02:00
djmaze
b7cb990b00 v2.6.0 2021-07-28 16:11:59 +02:00
djmaze
55a581f922 Resolved Issue #84 2021-07-23 16:21:06 +02:00
djmaze
d1f43f49b7 Cleanup plugin languages 2021-07-23 16:18:23 +02:00
djmaze
8b760ef0d1 Get this plugin working 2021-07-23 15:58:54 +02:00
djmaze
2d1f99a8ce Get 2FA plugin somesort of working 2021-07-23 13:36:38 +02:00
djmaze
7d61f40fff improved some 2fa code based onmaster source changes 2021-07-22 22:14:26 +02:00
djmaze
0aab26383c Merge branch 'master' into plugin-2fa 2021-07-21 12:26:14 +02:00
djmaze
2aed429e5d Merge branch 'master' into OwnCloud 2021-07-20 20:47:44 +02:00
djmaze
e13337e247 Cleanup styling and gulp merge @media queries 2021-07-20 16:45:55 +02:00
djmaze
b8d594eb45 Move OwnCloud plugin to final destination 2021-07-17 08:56:09 +02:00
djmaze
b0d7bab1b0 Move the NextCloud plugin to final destination 2021-07-17 08:53:50 +02:00
djmaze
65200af210 Added NextCloud
Taken from https://github.com/pierre-alain-b/snappymail-nextcloud
2021-07-17 08:38:21 +02:00
djmaze
2dde6c59eb Bugfix: \RainLoop\Utils::IsOwnCloudLoggedIn() undefined 2021-07-16 17:13:24 +02:00
djmaze
6e26c767c3 Changes for base OwnCloud/NextCloud
See https://github.com/the-djmaze/snappymail/issues/96
2021-07-16 16:27:19 +02:00
djmaze
5213b804d9 Some tiny changes 2021-07-16 16:24:07 +02:00
djmaze
7985eaa23a Merge branch 'master' into plugin-2fa 2021-07-14 12:51:54 +02:00
djmaze
d67cfaa3a4 Resolve Issue #93 2021-05-31 16:19:01 +02:00
djmaze
0d5ea94934 Resolve #87
Resolve #85
2021-04-21 10:34:54 +02:00
djmaze
2ed328d07c Improved 2fa plugin 2021-04-14 15:33:37 +02:00
djmaze
7621ecbf2a improve 2fa plugin 2021-04-14 15:24:57 +02:00
djmaze
c30de83da9 Merge branch 'master' into plugin-2fa 2021-04-14 14:38:13 +02:00
djmaze
e112d1fd70 Change and document plugins hook system 2021-04-14 14:30:42 +02:00
djmaze
54d2fb93cc Prepare more 2fa data 2021-04-14 10:11:09 +02:00
djmaze
d9bab28bfe #84 as plugin 2021-04-13 11:42:06 +02:00
djmaze
7fc279293c v2.5.0-rc.1 2021-04-08 16:02:41 +02:00
djmaze
d2534b5ed9 Implemented: plugin CSS
RainLoop still had a TODO for implementing plugin CSS
This is now used by the CKEditor plugin
2021-04-01 21:01:35 +02:00
djmaze
af3c79ce80 Moved CKEditor to be plugin 2021-03-25 13:35:15 +01:00
djmaze
2cf5fce562 Resolve Issue #61 2021-03-19 10:11:30 +01:00
djmaze
407a69e100 v2.4.0 2021-03-18 16:28:06 +01:00
djmaze
11fd6736bb Set response ErrorCode as iError for easier fetch error handling 2021-03-18 12:33:13 +01:00
djmaze
4a8d516123 Changed: StorageResultType to error result code 2021-03-16 09:46:23 +01:00
djmaze
6d0fa33022 Resolve Issue #51 2021-03-08 12:21:58 +01:00
djmaze
addaede0df Improved password strength meter 2021-03-05 09:43:46 +01:00
the-djmaze
c36b2ed839
Merge pull request #57 from dominiquefournier/patch-4
Error: preg_match_all(): Unknown modifier 'g'
2021-03-04 16:26:38 +01:00
dominiquefournier
986b424b5e
Update index.php : $oConfig() -> $oConfig 2021-03-04 15:27:07 +01:00
djmaze
fbd333cf4a Bugfix: allow space in password
Bugfix: throw ClientException on failure
See #51
2021-03-04 15:23:38 +01:00
dominiquefournier
ea1ce46f2d
Error: preg_match_all(): Unknown modifier 'g'
Error: preg_match_all(): Unknown modifier 'g'
2021-03-04 15:20:05 +01:00
djmaze
a528c93d47 Bugfix password plugin properties 2021-03-04 15:15:21 +01:00