Commit Graph

9 Commits (master)

Author SHA1 Message Date
Aleksander Machniak 57c67db029 Remove year(s) from copyright headers + some cleanup 7 years ago
Aleksander Machniak 1078d8df16 Fix cpanel_webmail driver 7 years ago
Aleksander Machniak 60922dc3d5 Password: Added password_username_format option (#5766) 8 years ago
Remi Collet ff256b7bb9 Drop ereg dependency, fix compat with PHP 7 (#5820) 9 years ago
Aleksander Machniak be49c2e1cd Code improvements, replace exception thrown with rcube::raise_error() 9 years ago
Maikel Linke bd5eaf98aa Handle null or non-JSON result of cPanel UAPI
More unit testing. More documentation.
9 years ago
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.
9 years ago
Aleksander Machniak f351b48771 Update changelog, CS fixes 9 years ago
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.
9 years ago