Commit graph

283 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
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
djmaze
0c8c28fe41 Bugfix: Undefined property ChangePasswordPlugin::$oLogger 2021-03-04 14:54:35 +01:00
djmaze
a36cb17165 Issue #51
Added: visual password weakness meter
Bugfix: PasswordWeaknessCheck
2021-03-04 14:18:23 +01:00
djmaze
96ea4fdf0a Added config option for minimum passlength
Disable broken PasswordWeaknessCheck
See https://github.com/the-djmaze/snappymail/issues/51#issuecomment-790582737
2021-03-04 13:51:21 +01:00
djmaze
72988972a7 Bugfix: Undefined variable oAccount
https://github.com/the-djmaze/snappymail/issues/51#issuecomment-790419644
2021-03-04 12:20:06 +01:00
djmaze
a1ad4a8f27 Improve plugin Description/README functionality 2021-03-04 12:15:11 +01:00
djmaze
1e13725768 Added: support plugins als .phar files 2021-03-04 11:56:26 +01:00
djmaze
514fe02619 v2.3.4 2021-03-03 11:53:11 +01:00
djmaze
b8fd3df2e6 Issue #51 check if PDO is supported 2021-03-02 14:33:11 +01:00
djmaze
25958cd87a ChangePasswordDriverLDAP, see https://github.com/the-djmaze/snappymail/issues/51#issuecomment-788851329 2021-03-02 14:30:24 +01:00
djmaze
c0e61bb0a2 Issue #51 added getSupportedDrivers() 2021-03-02 14:23:45 +01:00
djmaze
4d80671bf3 Improve Issue #51 2021-03-02 12:35:41 +01:00
djmaze
93f371e0ff Added PDO driver to the change-password plugin 2021-03-02 12:23:50 +01:00
djmaze
bba0ac150a Moved the change-password plugin language strings 2021-03-01 12:42:34 +01:00
djmaze
fb03687528 Revamp Issue #51 to make the whole "change password" thing a plugin 2021-03-01 00:52:46 +01:00
djmaze
1a82dde49b https://github.com/the-djmaze/snappymail/issues/51 2021-02-24 22:03:14 +01:00
djmaze
b9b0a550d6 Release plugins as tar.gz because PharData is more common then ZipArchive 2021-02-10 09:50:20 +01:00
djmaze
7ccc44616d Small code cleanups and fix translations 2021-01-27 00:26:31 +01:00
djmaze
950579c7f5 Rename 'ajax' to 'json' because we don't use XML
We use json as response
2020-12-30 15:50:47 +01:00
Floris Westerman
0f30d33977
Added constructor to LDAP identities plugin
Without the constructor, SnappyMail would crash when using custom language features. This is now resolved.
2020-11-26 23:56:36 +01:00
djmaze
2047525ce6 Fix filename 2020-11-25 14:39:46 +01:00
djmaze
1670ca0db1 Checked merge https://github.com/the-djmaze/snappymail/pull/40
Some small formatting changes for ldap identities
FWest98 accidentally removed `case 'suggestions': $mResult = [];` in fabrica?
2020-11-13 09:56:40 +01:00
Floris Westerman
e46c3b10ec
Fixing indentation 2020-11-10 11:52:55 +01:00
Floris Westerman
427d909783
Add early exit when no groups are configured 2020-11-10 11:52:55 +01:00
Floris Westerman
abe058943e
Add ldap identities plugin 2020-11-10 11:52:55 +01:00
djmaze
d0f686c657 Rename basefolder 'rainloop' to 'snappymail'
this prevents conflicts with original rainloop
2020-10-15 16:21:52 +02:00
djmaze
5009adfb60 Resolve issue #5 2020-08-30 18:04:54 +02:00
djmaze
412d69ce75 Removed jquery-backstretch that handled the UserBackground
The UserBackground is now handled with CSS3 on body.thm-body
This allowed me to remove the #rl-bg so that the "video-on-login-screen" plugin will not work indefinitely.
2020-07-13 15:47:19 +02:00
djmaze
aae7883b99 Bugfix: bootstrap jQuery('#') syntax error
Changed: use ES2015
Changed: gulp uglify to terser
Removed: ChangePassword
Removed: nanoscroll
Removed: JS polyfills
2020-03-13 15:30:39 +01:00
djmaze
6e0d0b3b6e CRLF to LF 2020-03-11 14:17:52 +01:00
djmaze
4468d5bd22 Removed: twitter, google, dropbox, facebook, owncloud, modernizr from JavaScript 2020-03-11 12:55:03 +01:00
RainLoop Team
66b23747c7
Merge pull request #1888 from hifihedgehog/master
Added CyberPanel password changing plugin
2019-08-01 00:15:39 +03:00
hifihedgehog
4c1a7a41a8
Update VERSION 2019-07-31 15:48:28 -04:00
hifihedgehog
4640e1941b
Increased cost/rounds to 12 for enhanced security 2019-07-31 15:46:44 -04:00
Nicolas B
fdaefab7cb
code review
correction after review: use the temporary variable instead of recalculating the JQuery node
2019-07-31 12:31:36 +02:00
Nicolas B
b0cf16ace4
Add files via upload
Fixes a regression of plugin contact-group-excel-paste since an update of rainloop that modified CSS classes and JavaScript of autocomplete fields
2019-07-30 23:10:07 +02:00
hifihedgehog
d75641c367
Update ChangePasswordCyberPanel.php 2019-07-26 15:56:43 -04:00
hifihedgehog
d683da256f
Update README.md 2019-07-26 10:06:07 -04:00
hifihedgehog
cf63417374
Update README 2019-07-26 10:04:00 -04:00
hifihedgehog
03e4f4fc9c
Update README.md 2019-07-26 10:02:25 -04:00
hifihedgehog
d4fdac74e6
Tweaked wording and edited grammar 2019-07-26 10:02:15 -04:00
hifihedgehog
e157fb02a5
Update ChangePasswordCyberPanel.php 2019-07-26 09:59:05 -04:00