Skip to content

Commit

Permalink
Merge pull request #84 from YetiForceCompany/developer
Browse files Browse the repository at this point in the history
0.2.9
  • Loading branch information
mariuszkrzaczkowski authored Jan 4, 2022
2 parents 895eda1 + 837bac2 commit 4b6cba9
Show file tree
Hide file tree
Showing 29 changed files with 241 additions and 366 deletions.
2 changes: 1 addition & 1 deletion plugins/contextmenu/contextmenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
class contextmenu extends rcube_plugin
{
public $task = '^((?!login).)*$';
public $task = '?(?!login$|logout$|cli$).*';
private $rcube;

public function init()
Expand Down
4 changes: 2 additions & 2 deletions plugins/emoticons/emoticons.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ function preferences_list($args)
function preferences_save($args)
{
if ($args['section'] == 'mailview') {
$args['prefs']['emoticons_display'] = !empty(rcube_utils::get_input_value('_emoticons_display', rcube_utils::INPUT_POST));
$args['prefs']['emoticons_display'] = (bool) rcube_utils::get_input_value('_emoticons_display', rcube_utils::INPUT_POST);
}
else if ($args['section'] == 'compose') {
$args['prefs']['emoticons_compose'] = !empty(rcube_utils::get_input_value('_emoticons_compose', rcube_utils::INPUT_POST));
$args['prefs']['emoticons_compose'] = (bool) rcube_utils::get_input_value('_emoticons_compose', rcube_utils::INPUT_POST);
}

return $args;
Expand Down
152 changes: 0 additions & 152 deletions plugins/emoticons/emoticons_engine.php

This file was deleted.

6 changes: 6 additions & 0 deletions plugins/jqueryui/themes/elastic/jquery-ui.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions plugins/jqueryui/themes/elastic/jquery.minicolors.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

146 changes: 0 additions & 146 deletions plugins/password/drivers/cpanel_webmail.php

This file was deleted.

7 changes: 5 additions & 2 deletions plugins/password/drivers/directadmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ function query($request, $content = '')
$this->set_login($location['user'], $location['pass']);

$request = $location['path'];
$content = $location['query'];

if ($content == '') {
$content = $location['query'];
}

if (strlen($request) < 1) {
$request = '/';
Expand Down Expand Up @@ -320,7 +323,7 @@ function query($request, $content = '')

$this->max_redirects--;
$this->redirectURL = $headers['location'];
$this->query($headers['location']);
$this->query($headers['location'], $content);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/password/helpers/chpass-wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
sys.exit('Changing password for user %s is forbidden (user blacklisted)' %
username)

handle = subprocess.Popen('/usr/sbin/chpasswd', stdin = subprocess.PIPE)
handle = subprocess.Popen('/usr/sbin/chpasswd', stdin = subprocess.PIPE, universal_newlines = True)
handle.communicate('%s:%s' % (username, password))

sys.exit(handle.returncode)
Loading

0 comments on commit 4b6cba9

Please sign in to comment.