Skip to content

Commit

Permalink
[jan] Sort public keys in preferences by name.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 25, 2017
1 parent f8edd99 commit 4a993ac
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions imp/docs/CHANGES
Expand Up @@ -2,6 +2,7 @@
v7.0.0-git
----------

[jan] Sort public keys in preferences by name.
[jan] Allow to specify a secondary S/MIME certificate for signatures only.
[jan] Find logged replies in other than default sent-mail folders too.
[mjr] Fix SyntaxHighlighter MIME viewer not rendering part after the initial
Expand Down
7 changes: 7 additions & 0 deletions imp/lib/Prefs/Special/PgpPublicKey.php
Expand Up @@ -57,6 +57,13 @@ public function display(Horde_Core_Prefs_Ui $ui)
$view->addHelper('Text');

if (!empty($pubkey_list)) {
uasort(
$pubkey_list,
function ($a, $b)
{
return strcoll($a['name'], $b['name']);
}
);
$plist = array();
$self_url = $ui->selfUrl(array(
'special' => true,
Expand Down
7 changes: 7 additions & 0 deletions imp/lib/Prefs/Special/SmimePublicKey.php
Expand Up @@ -58,6 +58,13 @@ public function display(Horde_Core_Prefs_Ui $ui)
$view->addHelper('Text');

if (!empty($pubkey_list)) {
uasort(
$pubkey_list,
function ($a, $b)
{
return strcoll($a['name'], $b['name']);
}
);
$plist = array();
$self_url = $ui->selfUrl(array('special' => true, 'token' => true));

Expand Down
2 changes: 2 additions & 0 deletions imp/package.xml
Expand Up @@ -33,6 +33,7 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
* [jan] Sort public keys in preferences by name.
* [jan] Allow to specify a secondary S/MIME certificate for signatures only.
* [jan] Find logged replies in other than default sent-mail folders too.
* [mjr] Fix SyntaxHighlighter MIME viewer not rendering part after the initial view of a part (Bug 14337).
Expand Down Expand Up @@ -4012,6 +4013,7 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
* [jan] Sort public keys in preferences by name.
* [jan] Allow to specify a secondary S/MIME certificate for signatures only.
* [jan] Find logged replies in other than default sent-mail folders too.
* [mjr] Fix SyntaxHighlighter MIME viewer not rendering part after the initial view of a part (Bug 14337).
Expand Down

0 comments on commit 4a993ac

Please sign in to comment.