Commit Graph

263 Commits

Author SHA1 Message Date
Thomas Bruederli
c973f003e5 Synchronized localizations with Transifex 2018-03-10 15:48:06 +01:00
PhilW
e7311e0e5e more consistent function names 2017-11-18 13:17:14 +00:00
PhilW
af52df68bf use skinned alert and confirm boxes in plugins 2017-11-18 09:50:43 +00:00
Aleksander Machniak
23af0b7f36 Merge branch 'master' into dev-elastic 2017-11-07 20:50:01 +01:00
Thomas Bruederli
342b049841 Update localization files from Transifex 2017-10-30 22:16:39 +01:00
Aleksander Machniak
fd9517655f Fix password form 2017-10-28 18:23:35 +02:00
Aleksander Machniak
315f78a65a Elastic: Use btn.submit instead of button.save classes for Save button in forms 2017-10-20 14:56:08 +02:00
Aleksander Machniak
3c1b78af48 Merge branch 'master' into dev-elastic 2017-10-02 16:58:38 +02:00
Aleksander Machniak
148ccda88a Password: Support host variables in password_db_dsn option (#5955) 2017-09-15 19:07:26 +02:00
Aleksander Machniak
3a77c906a1 Merge branch 'master' into dev-elastic 2017-09-10 13:28:47 +02:00
buborh
4f400ab7aa password plugin ldap driver: use full %login as %name/%n when no @ in username. (#5902) 2017-08-19 07:51:58 +02:00
Aleksander Machniak
f3ce401def Set 'propform' class for password change form table 2017-08-04 12:47:20 +02:00
Aleksander Machniak
86a4d78369 Merge branch 'dev-elastic' 2017-07-02 16:47:54 +02:00
Remi Collet
ff256b7bb9 Drop ereg dependency, fix compat with PHP 7 (#5820) 2017-06-27 13:24:23 +02:00
Aleksander Machniak
982d211ec0 Update changelog, CS fixes 2017-05-19 20:04:08 +02:00
Aleksander Machniak
aacf1eb3bd Merge branch 'password-driver-virtualmin' of https://github.com/ElpyDE/roundcubemail into ElpyDE-password-driver-virtualmin 2017-05-19 19:59:25 +02:00
Aleksander Machniak
30f9839b46 Remove redundant code 2017-05-19 07:37:00 +02:00
Aleksander Machniak
9858c2a294 Merge branch 'master' into dev-elastic 2017-05-14 13:32:35 +02:00
ElpyDE
73db885647 Virtualmin driver for password plugin now uses virtualmin to ask for the domain 2017-05-11 18:52:40 +02:00
Aleksander Machniak
89987ee1e0 Password: Fix security issue in virtualmin and sasl drivers 2017-04-25 08:51:14 +02:00
Aleksander Machniak
757ba8b81a Fix typo 2017-04-22 08:06:07 +02:00
Torkel Bjørnson-Langen
278b46a99d password plugin: better error message on constraint violation (#5727)
If the password policy on the ldap server is violated when changing
password, report error as "constraint violation" instead of the
misleading "connection error".

Only tested with OpenLDAP (v2.4).
2017-04-21 10:39:49 +02:00
Aleksander Machniak
01656221a4 Update localization 2017-04-19 13:13:07 +02:00
Torkel Bjørnson-Langen
3bbe218b83 Password plugin: Added missing default values (#5726)
* Added correct default values for password plugin (ldap backends only)
* Sync default values in config.inc.php.dist with code.
2017-04-18 10:17:18 +02:00
Aleksander Machniak
6ba41836b6 Revert "extend plugin password to avoid sudo (use ssh instead calling chpasswd) (#5654)"
This reverts commit 938dd4670b.
2017-04-11 08:53:34 +02:00
Kay Marquardt
938dd4670b extend plugin password to avoid sudo (use ssh instead calling chpasswd) (#5654)
Use proc_open() instead of popen() to catch error messages from called wrapper.
Create new wrapper chpass-wrapper-expect.py
2017-04-10 13:38:16 +02:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Aleksander Machniak
8e6eb9fa72 Define 'save' class for password form button 2017-03-10 18:44:38 +01:00
Aleksander Machniak
81f67a4de2 Don't use each() deprecated in PHP 7.2 2017-02-06 15:46:18 +01:00
Aleksander Machniak
692cb9c63b Update localization 2016-12-15 09:42:17 +01:00
Aleksander Machniak
be49c2e1cd Code improvements, replace exception thrown with rcube::raise_error() 2016-12-13 08:42:30 +01:00
Maikel Linke
bd5eaf98aa Handle null or non-JSON result of cPanel UAPI
More unit testing. More documentation.
2016-12-10 08:45:08 +11:00
Maikel Linke
dd29ca1ee8 Correct decoding of JSON response
The old version assumed `json_decode` would return an associative array.
While it can do so if an extra option is specified, the default
behaviour is to return an object. Therefore, a successful password
change resulted in an error while parsing the response.

The new code is accessing the response as object instead. The method
is now covered by a unit test.
2016-12-08 23:35:43 +11:00
Aleksander Machniak
f351b48771 Update changelog, CS fixes 2016-12-07 18:28:32 +01:00
Maikel
adbc9b1889 Add cPanel Webmail driver (#5549)
This driver does not use an admin account. It uses the user's account to
authenticate at the Webmail API. It uses the recommended UAPI and does
not rely on third-party classes.
2016-12-07 18:18:31 +01:00
Aleksander Machniak
8fc488afa0 Parse error and CS fixes after PR merge 2016-12-01 09:05:31 +01:00
Paolo Asperti
815b79df7f Added replacement variables support in password_pop_host (#5539)
Use rcube_utils::parse_host() on a hostname
2016-12-01 09:01:39 +01:00
Aleksander Machniak
e240e5f8dd CS fixes and update changelog 2016-11-27 14:27:23 +01:00
KaloNK
d41db75d82 Do not store passwords on disk - use proc_open instead of popen (#5531) 2016-11-27 14:20:58 +01:00
JohnDoh
dd714b33a8 replace old trac links (#5514) 2016-11-13 19:15:00 +01:00
Raoul Bhatia
c5a16e72d7 password: Add missing quote in password_ldap_ppolicy_uri in config.inc.php.dist (#5507)
This was introduced in 5322e91825
2016-11-11 18:26:32 +01:00
Aleksander Machniak
d59bf988e3 Fix style of Save button in password form (larry) 2016-11-07 13:43:21 +01:00
Aleksander Machniak
391d0d2039 Remove "@version @package_version@" 2016-11-01 18:26:47 +01:00
Aleksander Machniak
33addff305 assword: Added possibility to nicely handle password epiration from other plugins (#5468)
Squashed commit of the following:

commit 41283ecab18321201c3adfef8e964e2aa0dc2032
Author: Aleksander Machniak <alec@alec.pl>
Date:   Sat Oct 15 08:37:31 2016 +0200

    CS fixes after PR merge, renamed session variable

commit b4440a0c4d15c194619c003683ff0d36787f82a8
Merge: cf9f0d8 5dee181
Author: Aleksander Machniak <alec@alec.pl>
Date:   Sat Oct 15 08:26:04 2016 +0200

    Merge branch 'master' of https://github.com/ZiBiS/roundcubemail into ZiBiS-master

commit 5dee1812e7
Author: Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
Date:   Thu Oct 13 14:20:14 2016 +0200

    passing by session

commit 6ccb7e7d1d
Author: Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
Date:   Thu Oct 13 11:45:43 2016 +0200

    formatted passwdexpdatetime should be set in session data

commit a43f30fdfc
Author: Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
Date:   Thu Oct 13 11:10:06 2016 +0200

    _passwdexpwarning removed and expdatetime object is stored in session

commit 62ef852a11
Author: Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
Date:   Thu Oct 13 10:24:39 2016 +0200

    String concatenation is removed and expdatetime is passed via session
    data.

commit 2aea3a4e85
Author: Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
Date:   Wed Oct 12 10:20:58 2016 +0200

    Removing ppolicy plugin from my repository.

commit 8848c944ab
Author: Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
Date:   Tue Oct 11 11:32:37 2016 +0200

    little correction of variables names

commit 5266c89da9
Author: Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
Date:   Tue Oct 11 11:14:17 2016 +0200

    little corrections

commit c665b5c607
Author: Zbigniew Szmyd <zbigniew.szmyd@linseco.pl>
Date:   Tue Oct 11 10:31:05 2016 +0200

    A plugin to check LDAP password for expiration
2016-10-15 08:38:40 +02:00
Aleksander Machniak
affec47eab CS fixes, updated changelog 2016-10-10 16:25:06 +02:00
Aleksander Machniak
7f4ab8c14a Merge pull request #5364 from ZiBiS/master
Password: LDAP PPolicy driver
2016-10-10 16:17:17 +02:00
Zbigniew Szmyd
fa533a4a01 Revert "Correction to work good with the Net_LDAP2 2.2.0"
This reverts commit acbc67ea1c.
2016-10-10 11:55:12 +02:00
Zbigniew Szmyd
06956572ec Change parameters names to the standard. 2016-10-10 11:27:41 +02:00
Zbigniew Szmyd
7254a89e7f get log_dir from config 2016-10-03 12:28:07 +02:00
Zbigniew Szmyd
c22d4bc642 The correction of the script path and log_dir from the rc
config.
2016-10-03 09:06:11 +02:00