mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-04 13:08:15 +08:00
Beta 1.8.2 (for testing)
This commit is contained in:
parent
b6ca9e357e
commit
7750587be1
6 changed files with 16 additions and 14 deletions
|
@ -359,7 +359,7 @@
|
||||||
'Limit': iLimit,
|
'Limit': iLimit,
|
||||||
'Search': sSearch,
|
'Search': sSearch,
|
||||||
'UidNext': Cache.getFolderInboxName() === sFolderFullNameRaw ? Cache.getFolderUidNext(sFolderFullNameRaw) : '',
|
'UidNext': Cache.getFolderInboxName() === sFolderFullNameRaw ? Cache.getFolderUidNext(sFolderFullNameRaw) : '',
|
||||||
'UseThreads': AppStore.threadsAllowed() && SettingsStore.useThreads() ? '1' : '0',
|
'UseThreads': AppStore.threadsAllowed() && SettingsStore.useThreads() ? '1' : '0'
|
||||||
}, '' === sSearch ? Consts.Defaults.DefaultAjaxTimeout : Consts.Defaults.SearchAjaxTimeout, '', bSilent ? [] : ['MessageList']);
|
}, '' === sSearch ? Consts.Defaults.DefaultAjaxTimeout : Consts.Defaults.SearchAjaxTimeout, '', bSilent ? [] : ['MessageList']);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -483,7 +483,7 @@
|
||||||
Cache.initMessageFlagsFromCache(oMessage);
|
Cache.initMessageFlagsFromCache(oMessage);
|
||||||
|
|
||||||
this.message(this.staticMessage.populateByMessageListItem(oMessage));
|
this.message(this.staticMessage.populateByMessageListItem(oMessage));
|
||||||
oMessage = this.message(),
|
oMessage = this.message();
|
||||||
|
|
||||||
bNew = true;
|
bNew = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -252,7 +252,7 @@
|
||||||
if (-1 < iIndex)
|
if (-1 < iIndex)
|
||||||
{
|
{
|
||||||
aResult[0] = true;
|
aResult[0] = true;
|
||||||
aResult[1] = (iIndex + 1) + ' / ' + iLen;
|
aResult[1] = (iIndex + 1) + '/' + iLen;
|
||||||
aResult[2] = aThreads[iIndex];
|
aResult[2] = aThreads[iIndex];
|
||||||
aResult[3] = 0 < iIndex && aThreads[iIndex - 1] ? aThreads[iIndex - 1] : '';
|
aResult[3] = 0 < iIndex && aThreads[iIndex - 1] ? aThreads[iIndex - 1] : '';
|
||||||
aResult[4] = aThreads[iIndex + 1] ? aThreads[iIndex + 1] : '';
|
aResult[4] = aThreads[iIndex + 1] ? aThreads[iIndex + 1] : '';
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "RainLoop",
|
"name": "RainLoop",
|
||||||
"title": "RainLoop Webmail",
|
"title": "RainLoop Webmail",
|
||||||
"version": "1.8.1",
|
"version": "1.8.2",
|
||||||
"release": "281",
|
"release": "284",
|
||||||
"description": "Simple, modern & fast web-based email client",
|
"description": "Simple, modern & fast web-based email client",
|
||||||
"homepage": "http://rainloop.net",
|
"homepage": "http://rainloop.net",
|
||||||
"main": "gulpfile.js",
|
"main": "gulpfile.js",
|
||||||
|
|
|
@ -1424,7 +1424,6 @@ class MailClient
|
||||||
* @param string $sFolderHash
|
* @param string $sFolderHash
|
||||||
* @param array $aIndexOrUids
|
* @param array $aIndexOrUids
|
||||||
* @param \MailSo\Cache\CacheClient $oCacher
|
* @param \MailSo\Cache\CacheClient $oCacher
|
||||||
* @param int $iThreadLimit = 50
|
|
||||||
* @param bool $bCacheOnly = false
|
* @param bool $bCacheOnly = false
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
|
@ -1433,9 +1432,9 @@ class MailClient
|
||||||
* @throws \MailSo\Net\Exceptions\Exception
|
* @throws \MailSo\Net\Exceptions\Exception
|
||||||
* @throws \MailSo\Imap\Exceptions\Exception
|
* @throws \MailSo\Imap\Exceptions\Exception
|
||||||
*/
|
*/
|
||||||
public function MessageListThreadsMap($sFolderName, $sFolderHash, $aIndexOrUids, $oCacher, $iThreadLimit = 50, $bCacheOnly = false)
|
public function MessageListThreadsMap($sFolderName, $sFolderHash, $aIndexOrUids, $oCacher, $bCacheOnly = false)
|
||||||
{
|
{
|
||||||
$iThreadLimit = \is_int($iThreadLimit) && 0 < $iThreadLimit ? $iThreadLimit : 0;
|
$iThreadLimit = \MailSo\Config::$LargeThreadLimit;
|
||||||
|
|
||||||
$sSearchHash = '';
|
$sSearchHash = '';
|
||||||
if (0 < \MailSo\Config::$MessageListDateFilter)
|
if (0 < \MailSo\Config::$MessageListDateFilter)
|
||||||
|
@ -1829,8 +1828,7 @@ class MailClient
|
||||||
$aResult = array();
|
$aResult = array();
|
||||||
if (0 < \strlen($sFolderName) && 0 < \strlen($sFolderHash) && 0 < \strlen($sUid) && $oCacher && $oCacher->IsInited())
|
if (0 < \strlen($sFolderName) && 0 < \strlen($sFolderHash) && 0 < \strlen($sUid) && $oCacher && $oCacher->IsInited())
|
||||||
{
|
{
|
||||||
$mThreads = $this->MessageListThreadsMap($sFolderName, $sFolderHash, array(), $oCacher,
|
$mThreads = $this->MessageListThreadsMap($sFolderName, $sFolderHash, array(), $oCacher, true);
|
||||||
\MailSo\Config::$LargeThreadLimit, true);
|
|
||||||
|
|
||||||
if (\is_array($mThreads))
|
if (\is_array($mThreads))
|
||||||
{
|
{
|
||||||
|
@ -1957,7 +1955,7 @@ class MailClient
|
||||||
|
|
||||||
$aThreads = $this->MessageListThreadsMap(
|
$aThreads = $this->MessageListThreadsMap(
|
||||||
$oMessageCollection->FolderName, $oMessageCollection->FolderHash,
|
$oMessageCollection->FolderName, $oMessageCollection->FolderHash,
|
||||||
$aIndexOrUids, $oCacher, \MailSo\Config::$LargeThreadLimit);
|
$aIndexOrUids, $oCacher);
|
||||||
|
|
||||||
$aNewIndexOrUids = array();
|
$aNewIndexOrUids = array();
|
||||||
foreach ($aIndexOrUids as $iUid)
|
foreach ($aIndexOrUids as $iUid)
|
||||||
|
|
|
@ -186,8 +186,8 @@
|
||||||
<a class="btn btn-thin" data-tooltip-placement="bottom" data-bind="command: threadForwardCommand">
|
<a class="btn btn-thin" data-tooltip-placement="bottom" data-bind="command: threadForwardCommand">
|
||||||
<i class="icon-left-middle"></i>
|
<i class="icon-left-middle"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-thin" data-tooltip-placement="bottom">
|
<a class="btn btn-thin" data-tooltip-placement="bottom" style="display: none">
|
||||||
<b data-bind="html: viewThreadsControlDesc"></b>
|
<b data-bind="text: viewThreadsControlDesc"></b>
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-thin" data-tooltip-placement="bottom" data-bind="command: threadBackCommand">
|
<a class="btn btn-thin" data-tooltip-placement="bottom" data-bind="command: threadBackCommand">
|
||||||
<i class="icon-right-middle"></i>
|
<i class="icon-right-middle"></i>
|
||||||
|
@ -205,7 +205,10 @@
|
||||||
<span class="flagParent">
|
<span class="flagParent">
|
||||||
<i class="icon-star-empty flagOff" data-bind="css: {'icon-star flagOn': viewIsFlagged, 'icon-star-empty flagOff': !viewIsFlagged()}"></i>
|
<i class="icon-star-empty flagOff" data-bind="css: {'icon-star flagOn': viewIsFlagged, 'icon-star-empty flagOff': !viewIsFlagged()}"></i>
|
||||||
</span>
|
</span>
|
||||||
<b style="color:red;margin-right:5px" data-bind="visible: viewIsImportant">!</b>
|
<span class="thread-counter" data-bind="visible: viewThreadsControlVisibility"
|
||||||
|
style="font-weight: normal; margin-right: 5px">(<span
|
||||||
|
data-bind="text: viewThreadsControlDesc"></span>)</span>
|
||||||
|
<b style="color: red; margin-right: 5px" data-bind="visible: viewIsImportant">!</b>
|
||||||
<span class="subject" data-bind="text: viewSubject, title: viewSubject"></span>
|
<span class="subject" data-bind="text: viewSubject, title: viewSubject"></span>
|
||||||
<span class="i18n emptySubjectText" data-i18n-text="MESSAGE/EMPTY_SUBJECT_TEXT"></span>
|
<span class="i18n emptySubjectText" data-i18n-text="MESSAGE/EMPTY_SUBJECT_TEXT"></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -276,6 +279,7 @@
|
||||||
<div class="content g-scrollbox" tabindex="0" data-bind="hasfocus: messageDomFocused">
|
<div class="content g-scrollbox" tabindex="0" data-bind="hasfocus: messageDomFocused">
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
<span class="buttonUp" data-bind="click: scrollMessageToTop">
|
<span class="buttonUp" data-bind="click: scrollMessageToTop">
|
||||||
<i class="icon-up"></i>
|
<i class="icon-up"></i>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue