Commit graph

233 commits

Author SHA1 Message Date
the-djmaze
f0549e1735
Merge pull request #120 from Alphix/improve_change_password
[change-password] Improve change password

Last .js change is correct. It was a leftover of the old RainLoop AuthAccountHash system.
AuthAccountHash was some kind of login hash system to get logged in mail account.
2021-08-23 16:39:55 +02:00
David Härdeman
0728a26e95 [change-password] Bump version 2021-08-23 14:03:27 +02:00
David Härdeman
6c5106dbd2 [change-password] Fix password change js
Not sure what rl.hash.set() is supposed to do, but it is undefined, which
causes an exeption, which in turn provides an error message even when
the password was successfully changed.
2021-08-23 13:02:07 +02:00
David Härdeman
1d65ec5345 [change-password] Document LDAP URI option 2021-08-23 10:42:07 +02:00
David Härdeman
aee1d7841b [change-password] Make use of StartTLS configurable
This makes the use of all three kinds of connections possible (ldap://,
ldap:// + TLS, ldaps://). ldap_start_tls will fail with ldaps://.
2021-08-23 10:42:07 +02:00
David Härdeman
ba2b903d67 [change-password] Use LDAP URI format instead of host/name
ldap_connect(<host>, <port>) is deprecated and ldap_connect(<uri>)
format makes it possible to use ldaps.
2021-08-23 10:35:51 +02:00
David Härdeman
2454909e83 [change-password] Set plugins to default to off 2021-08-23 10:35:51 +02:00
David Härdeman
5cbc3ed3f9 [ldap-contacts-suggestions] Default to localhost instead of 127.0.0.1
No need to default to IPv4 only.
2021-08-23 10:14:42 +02:00
David Härdeman
9876597542 [ldap-contacts-suggestions] Bump version number 2021-08-22 13:36:05 +02:00
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