Bug 87676
Fix z-index of sash to not be higher than the popup menu's 500 z-index.

http://bugzilla.zimbra.com/show_bug.cgi?id=87676
Fix some typos.
Fix some typos.
Bug 87499

Expanded conv message list does not get messages removed on delete


I'm not sure anymore if historically we showed the expanded conv list view with strikethrough when deleted (moved to trash more precisely). Anyway I fixed the "moved to trash" part relatively easily in ZmConvListView.prototype._changeListener, to make it behave like spam and "delete" (at first I thought the correct place would be ZmConv.prototype._msgListChangeListener, as it seems very specifically to changes in that expanded conv, but then saw that for spam, and hard delete, it's dealing with those in ZmConvListView.prototype._changeListener so that's where I made the change)

I then though noticed that undoing the delete does not return the messages to the expanded conv (this is true for undoing spam too). I guess it's not that important but I spent some time trying to see if I can do it and I do believe I found a reasonable solution to this.

http://bugzilla.zimbra.com/show_bug.cgi?id=87499
Bug 87138

empty line lost in quick reply


Note that what I see is that all new lines are lost. Not sure why the difference in the bug description.

Anyway the specific bug is that we needed to convert the text to HTML instead of "htmlEncode". Probably a typo. Not sure if something made it a recent regression, it doesn't look like it's new.

http://bugzilla.zimbra.com/show_bug.cgi?id=87138
Bug 83425

com_zimbra_date recognize date wrongly on Japanese preference


This would be a problem in any language that has the date as last in a year/month/date type thing.

The problem is that in an | (or) relation in a regex, there's precedence to the left side, regardless whether the right side has a longer match! And so the "datenum" regex was wrong:
(3[0-1]|0[1-9]|[1-9]|[1-2][0-9])
In particular:
[1-9]|[1-2][0-9]  meant it would prefer "1" or "2" over "10" or "21" for example, thus match "prematurely".

My change is to do this instead:
(3[0-1]|0[1-9]|[1-2][0-9]|[1-9])

The reason this worked in say English is the datenum was not at the end, and so the "/"s would force it to match the double digit datenum (if it's double).

http://bugzilla.zimbra.com/show_bug.cgi?id=83425
Bug 78891 - Shouldn't create new search tabs for each search type

Implemented deletion of the unused search controllers. Removing the view, but keeping the controller didn't allow reuse of the search tabs.
Implemented _postRemoveCallback. Can't use _postHideCallback, since it's ran after view looses focus (switching tabs) and we don't want to delete the controller then.

Also, found and corrected another issue — the search tab button was getting a selection listener attached every time a tab would be reused.

http://bugzilla.zimbra.com/show_bug.cgi?id=78891
Bug 87633

Moved and renamed logo images for touch client
Updated touch client styling to point to new image paths and names

http://bugzilla.zimbra.com/show_bug.cgi?id=87633
bug: none
AUTO UPDATE OF BUILD NUMBER
8.5.0.1150
Bug 78891 - Shouldn't create new search tabs for each search type

remove unnecessary "params" argument from calls to getDefaultViewType

http://bugzilla.zimbra.com/show_bug.cgi?id=78891
Bug 87485

Action toolbar is black in separate window


A little background - our standard for z-indexes (as seen in Dwt.Z_HIDDEN = 100; etc) is:
hidden: 100 (weird because it's more than 0 which is the default).
view: 300
veil: 600
a few more.

Recently the toolbar skin property @ToolbarContainer@ was changed to be transparent (to pick up the background) instead of AltC.

This works in the main window since there's an element behind everything that's with z-index 300 that has background white, so the toolbar shows white background too.

For a child window it's different and simpler (also less skinable as far as layout it seems), so there's no such background element.

My fix is to take advantage of the already existing child window specific ZmMsgViewToolBar_cw (and ZmAppToolBar_cw which for some reason is the class name used for the toolbar of compose view in new window ("cw" stands for "child window"!), and set the background color there to the default appC. That works.

http://bugzilla.zimbra.com/show_bug.cgi?id=87485
Bug: 87162 - JP - unlocalized 'Mail' string after creating a new folder

Make sure to use localized app name after editing a folder.

http://bugzilla.zimbra.com/show_bug.cgi?id=87162
Bug: 87635 - Conversation shows empty msg headers

Somehow the dogfood instance of the touch client lacks
ZCS.constants.APP_NAMES. Use the app array instead.

Add a null check to ZtItemController::getItemButton()

Instead of adding a function to XTemplate to enable nesting,
just create a function to make it easy to include the output
of one template within another.

http://bugzilla.zimbra.com/show_bug.cgi?id=87635
bug: none Auto update ZCS BUILD to 2606
bug: none
AUTO UPDATE OF BUILD NUMBER
8.5.0.1151
bug: none Auto update ZCS BUILD to 2607
bug 68445 - fix logging in after session timeout

The actual login request should disregard expired authentication
tokens.

http://bugzilla.zimbra.com/show_bug.cgi?id=68445
bug 87188 - apply client-side scaling to contact images

ZmContact::getImageUrl() doesn't always respect the maximum bounds;
Zimlet-supplied URL images in particular disregard them. Instead, use
max-width and max-height to achieve proportional scaling in all
browsers.

http://bugzilla.zimbra.com/show_bug.cgi?id=87188
bug:81403 - iPad: Calendar app
-Missed out the changes in ZtCalendarReader in previous checkin. Store the calendar folder color if present in the calendar model which will be used to for displaying the color block in the appt view. 
-Use "appointment" item type to address calendar items. Previously "calendar" was being used as an item type which is incorrect.
-On calendar load, do not fetch appointments belonging to "Trash" folder.
-Fix the calendar swipe. This was not working and random dates would appear on swipe. This was due to a custom function "setCustomView" introduced in one of the previous checkins to switch to day view on tap of any day in month view.
-Remove "setCustomView" function. Modify updateViewMode() and use that instead.

http://bugzilla.zimbra.com/show_bug.cgi?id=81403
bug: none Auto update ZCS BUILD to 2608