Ubuntu: rename to trojita-ubu

This is done in order to prevent filesystem clashes between the Ubuntu-branded
and the common desktop version.

BUG: 333073
REVIEW: 117418
Ubuntu: Fix not finding main.qml causing core dump

the qml files were still being copied to share/trojita and not share/

BUG: 333153
REVIEW:117419
Ubuntu: Enable viewing mailbox subdirectories

Mailbox view can now navigate through child mailboxes.

REVIEW: 117382
BUG: 332989

Fixed translation of Total & Unread message counts

Icon is copied from the ubuntu-mobile-icons package available from
http://packages.ubuntu.com/trusty/all/ubuntu-mobile-icons/download
and is available under the CC-BY-SA 3.0. Copyright by 2004-2012, Canonical Ltd.
Merge remote-tracking branch 'dpniel/mail_box'
Remove the x-test language from the .desktop files

In cmake, this is not just a matter of running `grep -v`, unfortunately.

The regexp contains the trailing LF because otherwise I cannot ask it to remove
that line instead of insisting on replacing it with an empty one.

CCBUG: 332578
Do not install the x-test translations

The .qm files should still be produced when doing the build (especially the
debug one), but there is no need to install them to the users' systems.

BUG: 332578
Ubuntu messageListPage suppress error message caused by model being null

REVIEW: 117308
Ubuntu: support RoleMessageHasAttachments returning null QVariants

This fixes a nice QML warning "Unable to assign [undefined] to bool".
Add support for the x-test language

Since we're using Qt's facilities for determining what language to use (based on
the technology we're using, we're a Qt application, not a KDE one), we end up
with examining the QLocale::system(). However, its return value is actually
sanitized by the C library (?), i.e. trying to use either LANG or LC_ALL set to
x-test or x_test does not work at all.

Rather than inventing a custom scheme, it's easier to just follow the KDE's
conventions for env vars, and this patch makes it follow the KDE_LANG env
variable when asked for the x-test language. We still follow the systemwide
settings, and the Qt's own locale is not changed (so you might still get
"untranslated" messages in Trojita in case they're provided by Qt itself).

REVIEW: 117429
SVN_SILENT made messages (.desktop file)
Merge branch 'kill-the-xtest'

REVIEW: 117423
SVN_SILENT made messages (.desktop file)
SVN_SILENT made messages (.desktop file)
Ubuntu: Fix for dual use mailbox's

Enables the viewing of dual use mailboxes. Clicking on the progression will show any nested mailbox's
Clicking anywhere else will show the message list for current mailbox.

BUG: 333166
REVIEW: 117446
SVN_SILENT made messages (.desktop file)
Ubuntu: adjust the application name to play with the app confinement

QSettings uses the application's name and organization name to determine the
file path for storing config and cache data.  Because Ubuntu's app confinement
only allows access to certain pre-defined paths, we need to force the
application name and organization name to be something that will force QSettings
to use these allowed paths.

This has a pretty big disadvantage that the Ubuntu-specific version will not be
able to share data with the desktop one, unfortunately.

REVIEW: 117439
Ubuntu: Fix password dialog

Password dialog now uses a composer sheet, which also displays any
authentication errors
raised.

When launching app, if an imap account already exists then we skip the
settings page and
go straight to mailbox view where the password dialog will open
requesting password.

If an authentication error is raised we show an additional message that
explains to
either retry entering password or click cancel to return to the settings
page. We do not want the
user to be able to view mailbox without a connection. So this message
tries to make it clear what
clicking Cancel will do

REVIEW: 117380

Changed dialog message to match Desktop message

Added keys.svg icon for password dialog. License: CC-BY-SA 3.0. Copyright by Dan Chapman <dpniel@ubuntu.com> 2014.

Changed text to 90% gray HEX: #333333. Using pure black did not work nice with ubuntu font
Add a bridge between the QQuickNetworkReply and QNetworkReply

This is simply a wrapper class which provides the data made available via the
QNetworkReply into the QML WebView. The Qt5's WebView API does not support
providing a QNetworkAccessManager anymore, so this is our best bet.

BUG: 332986
REVIEW: 117445
Ubuntu: hide e-mail headers when scrolling one message

By turning on the flickable property of the Page, scrolling the actual message contents properly hides the header.

REVIEW: 117502
www: Link to a Windows version which bundles an updated OpenSSL