Skip to content

Commit

Permalink
[mms] Fix scrolling through large search mailboxes in dynamic view (B…
Browse files Browse the repository at this point in the history
…ug #13138).
  • Loading branch information
slusarz committed Apr 22, 2014
1 parent c8f1815 commit 9c7c500
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
6 changes: 4 additions & 2 deletions imp/docs/CHANGES
Expand Up @@ -2,14 +2,16 @@
v6.1.8-git
----------

[mms] Better handling of malformed message dates in mailbox listing (Bug
#13114).
[mms] SECURITY: Fix XSS in displaying user-defined flags in basic mailbox and
message view.
[mms] SECURITY: Fix XSS in displaying user-defined flags in dynamic mailbox
view (João Machado <geral@jpaulo.eu>).
[mms] SECURITY: Fix XSS in displaying mailbox name in dynamic mailbox view
(João Machado <geral@jpaulo.eu>).
[mms] Fix scrolling through large search mailboxes in dynamic view (Bug
#13138).
[mms] Better handling of malformed message dates in mailbox listing (Bug
#13114).
[jan] Update Korean translation (Deokgon Kim <dgkim@dgkim.net>).


Expand Down
11 changes: 7 additions & 4 deletions imp/lib/Ajax/Application/ListMessages.php
Expand Up @@ -131,10 +131,13 @@ public function listMessages($args)

if ($is_search) {
/* For search mailboxes, we need to invalidate all browser data
* and repopulate, since BUIDs may have changed. */
$args['cache'] = array();
$args['change'] = true;
$result->data_reset = $result->rowlist_reset = true;
* and repopulate on force update, since BUIDs may have
* changed (TODO: only do this if search mailbox has changed?). */
if (!empty($args['change'])) {
$args['cache'] = array();
$args['change'] = true;
$result->data_reset = $result->rowlist_reset = true;
}
} elseif (!$args['initial'] && $args['cacheid'] && $args['cache']) {
/* Check for UIDVALIDITY expiration. If it has changed, we need to
* purge the cached items on the browser. */
Expand Down
10 changes: 6 additions & 4 deletions imp/package.xml
Expand Up @@ -33,11 +33,12 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
* [mms] Better handling of malformed message dates in mailbox listing (Bug #13114).
* [mms] SECURITY: Fix XSS in displaying user-defined flags in basic mailbox and message view.
* [jan] Update Korean translation (Deokgon Kim &lt;dgkim@dgkim.net&gt;).
* [mms] SECURITY: Fix XSS in displaying user-defined flags in dynamic mailbox view (João Machado &lt;geral@jpaulo.eu&gt;).
* [mms] SECURITY: Fix XSS in displaying mailbox name in dynamic mailbox view (João Machado &lt;geral@jpaulo.eu&gt;).
* [mms] Fix scrolling through large search mailboxes in dynamic view (Bug #13138).
* [mms] Better handling of malformed message dates in mailbox listing (Bug #13114).
* [jan] Update Korean translation (Deokgon Kim &lt;dgkim@dgkim.net&gt;).
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -3347,11 +3348,12 @@
<date>2014-03-07</date>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
* [mms] Better handling of malformed message dates in mailbox listing (Bug #13114).
* [mms] SECURITY: Fix XSS in displaying user-defined flags in basic mailbox and message view.
* [jan] Update Korean translation (Deokgon Kim &lt;dgkim@dgkim.net&gt;).
* [mms] SECURITY: Fix XSS in displaying user-defined flags in dynamic mailbox view (João Machado &lt;geral@jpaulo.eu&gt;).
* [mms] SECURITY: Fix XSS in displaying mailbox name in dynamic mailbox view (João Machado &lt;geral@jpaulo.eu&gt;).
* [mms] Fix scrolling through large search mailboxes in dynamic view (Bug #13138).
* [mms] Better handling of malformed message dates in mailbox listing (Bug #13114).
* [jan] Update Korean translation (Deokgon Kim &lt;dgkim@dgkim.net&gt;).
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 9c7c500

Please sign in to comment.