Commit Graph

14204 Commits

Author SHA1 Message Date
Jorge Ruesga
dcdf4ab236 email: fix tests
Change-Id: I237337c0c86ad66023db684c8a01c89ee1ef7aef
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:05:32 -07:00
Jorge Ruesga
aea3dff32d email: fix Exchange sync frequency account setup
Auto sync is not displayed as an option in sync frequency settings, because capabilities
aren't filled. Just ensure account capabilities are always saved.

Change-Id: I70b7ab9464a99eebf7f82726faa0fb2418e09a99
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:05:32 -07:00
Michael Bestas
15cc6ebeec Automatic translation import
Change-Id: I302532a0d88f6cf8a5987ab52738cfd24a736777
2015-10-18 14:05:32 -07:00
Jorge Ruesga
08ace26ed6 email: imap push
Change-Id: I8a184a5644e4322ee65d969e14cd47fe119f5df2
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:05:32 -07:00
Michael Bestas
3b1b30873e Automatic translation import
Change-Id: I906df0fcdea123d5278c0de34a1cca4c0c9625eb
2015-10-18 14:03:26 -07:00
Michael Bestas
aacad23dbc Automatic translation import
Change-Id: I1a364a4b794a8228155dc1dbb8758eed15ac4ea5
2015-10-18 14:03:26 -07:00
Jorge Ruesga
087a0406a3 email: fix Account table creation
Due to a bug in commit 44a064e5f16ddaac25f2acfc03c118f65bc48aec,
AUTO_FETCH_ATTACHMENTS column could not be available in the Account table.
Since cm12 and up doesn't use this column, we are leave as is it. In case
the feature were added, then we need to create a new exception to ensure
that the columns is re-added.

Change-Id: I1803e343dde2e841fdc99b4489a74eb08b0a8352
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:25 -07:00
Jorge Ruesga
a2d99c6fea email: custom notification lights
Change-Id: I3aaed3c682ae33da925316a5b9a586796fe71229
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:25 -07:00
Michael Bestas
e1c6510f32 Automatic translation import
Change-Id: Id354731aa653029aa9cce6f75489559f2c9bbaf7
2015-10-18 14:03:25 -07:00
Jorge Ruesga
e0a547bb66 email: fix eas autodiscover
Change-Id: Ifaf5f757f7f844e49f0ac635b477fcbef4926293
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:24 -07:00
tobitege
7725334f81 Fix NPE in getHierarchicalFolder
Fixes exceptions like this:
java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.mail.providers.Folder.name' on a null object reference
at com.android.email.activity.setup.MailboxSettings$MailboxSettingsFolderLoaderCallbacks.getHierarchicalFolder(MailboxSettings.java:377)

Change-Id: I2c5dda84439caa5d894f5706c9c6a07079cda69c
2015-10-18 14:03:24 -07:00
Jorge Ruesga
c60b08e059 email: finish the settings activity after delete its account
Change-Id: I540f1fe9dc874093ad0067cd56c9f0920620ece1
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:24 -07:00
Michael Bestas
4e24271153 Automatic translation import
Change-Id: I8bf6ec74fa7132f71554e88d390cc89feb02df15
2015-10-18 14:03:23 -07:00
Michael Bestas
fe0ae45fd4 Automatic translation import
Change-Id: I13324c929f272c36bc31650a508cbc1f4c874d08
2015-10-18 14:03:23 -07:00
Michael Bestas
7429399fbc Automatic translation import
Change-Id: Ifd737704c6917543e69c08bcf3800ecc309a0f4e
2015-10-18 14:03:23 -07:00
Michael Bestas
6dfac6a28b Update strings for crowdin
Change-Id: Ib59198e1321db5b3c6889432c842d42dd040cea4
2015-10-18 14:03:23 -07:00
Jorge Ruesga
707cdc8b18 email: support per-folder notifications
This change enables support to configure per-folder notifications options.

Change-Id: I6107340da3438ea223506bb22ff898cca179c1f6
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:22 -07:00
Jorge Ruesga
598a070c27 email: support for auto-sync multiple IMAP folders
This enables to auto-sync multiple IMAP folders, not only Inbox. Default to Inbox only.
This changes relays in the syncloopback attribute to configure the folders to add to
sync process.

Change-Id: I8973cfd6ddec33446256bc8b48418558e27596b5
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:22 -07:00
Jorge Ruesga
8b1818d4a8 email: add an option for delete the account
Change-Id: I0f0f2b7ea950d5154f90cd60261c6918b7ad36b7
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:22 -07:00
Jorge Ruesga
f119f904ed email: don't block extras database
This will call other setences (like delete accoutns) to block access. Just integrate
in the normal database transactions

Change-Id: I48d7028f2ceddcdfbc170acd1a1fe32f0322b6e6
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:21 -07:00
Jorge Ruesga
8210da8b50 email: suggested contacts
This change adds support for suggested contacts (email addresses not in the contact
provider and received via email). The implementation creates a new separate
"extras" database (to avoid conflicts with future aosp changes). In the table
SuggestedContacts are stored every email address present in every email inserted
in the database.
This allow to display this contacts in the RecipientEditTextView when compose an email.
Suggested contacts are selected by account (only those ones received by that account).

This features is opt-out by default, but it can be activated in general settings by
choosing the suggested contact mode:

* none: Not active
* recents: Those received within the last 7 days
* all: All the suggested contacts

Change-Id: I156c3b1e2c4e4cff985a2183bc72b805bd596f3b
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:21 -07:00
hmh
fb2b538c54 Fix crash issue when trying to setup an IMAP/POP3 account
Fix crash issue when trying to setup an IMAP/POP3
account. Issue 78699.

Change-Id: I6a09cf27d83edc17495bb1ab20a10e6994cf5506
Signed-off-by: HUANG Menghuai <menghuai.huange@orange.com>
2015-10-18 14:02:24 -07:00
Michael Bestas
6ad7266164 Automatic translation import
Change-Id: Ieec8df6ac820d63ac696047dc1a610ab697fbea7
2015-10-18 14:02:24 -07:00
Daniel Volk
c2c258f261 Don't fetch deleted messages from IMAP folder
Fetching messages from an IMAP folder within a specific date range returns
messages marked as deleted, also. Unlike every other getMessages() method,
which filter out deleted messages.
This leaves server deleted messages untouched in the mail conversation
view, even when the folder is synced manually.

This patch adds "NOT DELETED" to the IMAP search command, when searching
for mails in a given date range.

Change-Id: I49e4adfcab9a1de1d1baa4700462a82df651f3cb
2015-10-18 14:02:23 -07:00
Jorge Ruesga
a7d1b42409 email: start handshake before hostname verification
Start handshake prior to hostname verification to ensure exceptions do not get silenced

Change-Id: Ide60753663d82d63b0f410b985447b7b26efd8f1
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:02:22 -07:00
Jorge Ruesga
761a860cee email: add support for Server Name Indication (SNI)
Change the underlying socket factory reference to SSLCertificateSocketFactory which
has support for SNI since 4.2, and remove the access to the obsolete methods from
the old factory reference.
This change will setup the socket with a proper hostname prior to the ssl handshake.

Change-Id: Ic3315f3924f33470ea2da14e8ac3b946d039b1d5
JIRA: CYAN-3775
Issue: https://jira.cyanogenmod.org/browse/CYAN-3775
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:02:22 -07:00
blunden
68cce7faee Email: Update the widget preview image
Change-Id: I97fbbdbbc0223957eb2733a658454e94f46f9d42
2015-10-18 14:02:21 -07:00
Ricardo Cerqueira
7fbf9f957c DBHelper: Support upgrades from CM11
Add the new columns when coming from v126, add the old ones when
coming from any other value (or creating) so that they're there
when the feature gets reintroduced

Change-Id: I48ec042b30afbcefd43bdad0042147b6b0d2249f
2015-10-18 14:02:20 -07:00
Ashwini Munigala
11f2252994 Add MAIL_SERVICE WAKEUP, SEND, MOVE, READ, DELETE MESSAGE action
Add change in Email App to process following intents
from Bluetooth App, for MAP MSE support.

- org.codeaurora.email.intent.action.MAIL_SERVICE_WAKEUP
- org.codeaurora.email.intent.action.MAIL_SERVICE_DELETE_MESSAGE
- org.codeaurora.email.intent.action.MAIL_SERVICE_MOVE_MESSAGE
- org.codeaurora.email.intent.action.MAIL_SERVICE_MESSAGE_READ
- org.codeaurora.email.intent.action.MAIL_SERVICE_SEND_PENDING

Change-Id: I2b46265ba20c6f333c9e6d1b19ee73f5a066f1ff
2015-10-06 03:30:32 -06:00
Geoff Mendal
dcb985eafe Import translations. DO NOT MERGE
Change-Id: I6e64b3ae53a67cfe71245617c64d3cc2116c360f
Auto-generated-cl: translation import
2015-07-15 09:39:49 -07:00
Alex Klyubin
f3973456f4 Merge "Email app might use cleartext network traffic." into mnc-dev 2015-06-09 16:52:20 +00:00
Geoff Mendal
a66673b72b Import translations. DO NOT MERGE
Change-Id: I8fb8478e49fd7a4668c85a7df4e21f9e6b242dee
Auto-generated-cl: translation import
2015-05-30 14:47:08 -07:00
Alex Klyubin
53db1e4718 Email app might use cleartext network traffic.
This declares that the Email app might be using cleartext network
traffic (e.g., HTTP instead of HTTPS). This CL does not change the
behavior of the app. The flag added by this CL to the app's manifest
will make it easier to identify apps that use cleartext traffic in
the future.

Bug: 19215516
Change-Id: Ia55589151a77eb175149aaaf4f7cb4975ecb9c69
2015-05-20 09:24:09 -07:00
Ying Wang
083af06aba Use $(SUPPORT_LIBRARY_ROOT) to reference support library resource dir.
The build system sets up $(SUPPORT_LIBRARY_ROOT) based on if it's
platform build or apps-only build.

Change-Id: I81e832138918c729e999690b4c3a215a3c989cfa
2015-05-19 16:10:17 -07:00
Geoff Mendal
a077ee42ad Import translations. DO NOT MERGE
Change-Id: I8d7aae1a1184d97a2f982099fe5ad8d2a6c4d623
Auto-generated-cl: translation import
2015-05-13 20:37:30 -07:00
Geoff Mendal
ab52e8bc5f Import translations. DO NOT MERGE
Change-Id: I0c8f527b313a99b3bfe0d79d0bc0b6a2e9f8d697
Auto-generated-cl: translation import
2015-04-22 05:28:06 -07:00
Geoff Mendal
a7138285f6 Import translations. DO NOT MERGE
Change-Id: Ia33bc5085118d42bdf2db82a6ed596eb0faaf729
Auto-generated-cl: translation import
2015-03-27 15:33:42 -07:00
Geoff Mendal
b49642dba4 Import translations. DO NOT MERGE
Change-Id: I581da09d2cb75aa94cef96397581ad6d43e9e007
Auto-generated-cl: translation import
2015-03-25 06:43:13 -07:00
Geoff Mendal
62fc8b4cb9 Import translations. DO NOT MERGE
Change-Id: Idff469dd7e5c4056acd66cd2a474571c6b89d437
Auto-generated-cl: translation import
2015-03-23 05:33:44 -07:00
Geoff Mendal
8b66082507 Import translations. DO NOT MERGE
Change-Id: I803b251084cc3dcaea8f55b407130c1cd3afe35c
Auto-generated-cl: translation import
2015-03-21 02:25:10 -07:00
Geoff Mendal
c71d37be31 Import translations. DO NOT MERGE
Change-Id: I63c7f3e9b282aefbafcf318ee3fa3fc0a11f35e8
Auto-generated-cl: translation import
2015-03-18 06:19:18 -07:00
Geoff Mendal
7deef7545b Import translations. DO NOT MERGE
Change-Id: I54b54869d9723d74a99c5d71c3e5bdebc450d12f
Auto-generated-cl: translation import
2015-03-16 06:22:57 -07:00
Geoff Mendal
8346a3b3b7 Import translations. DO NOT MERGE
Change-Id: I16087201b8d54a088050fc36962633e73ddfd8dd
Auto-generated-cl: translation import
2015-03-09 05:44:01 -07:00
Geoff Mendal
7f54d3df52 am 404e707c: (-s ours) am 7f4a1da1: (-s ours) Import translations. DO NOT MERGE
* commit '404e707cda0dd9bece38a3315e0d13e2e09bd152':
  Import translations. DO NOT MERGE
2015-02-26 23:01:24 +00:00
Geoff Mendal
404e707cda am 7f4a1da1: (-s ours) Import translations. DO NOT MERGE
* commit '7f4a1da18ef7ffc745e2f8f174fd238397613d7c':
  Import translations. DO NOT MERGE
2015-02-26 22:56:05 +00:00
Geoff Mendal
7f4a1da18e Import translations. DO NOT MERGE
Change-Id: I0ac18cbbc10d46f0264dc6daa7ac8822f540b6bc
Auto-generated-cl: translation import
2015-02-26 12:07:51 -08:00
Geoff Mendal
ef8af92bf2 Import translations. DO NOT MERGE
Change-Id: Ibaa809885945fb1721f82668bb1a15597461d8da
Auto-generated-cl: translation import
2015-02-25 06:40:26 -08:00
Geoff Mendal
5db9f0b51c Import translations. DO NOT MERGE
Change-Id: I530da8fe2577e8fda58705f3331aa10d68e3a9dc
Auto-generated-cl: translation import
2015-02-23 07:07:57 -08:00
Geoff Mendal
012fc88664 am 7262945e: (-s ours) am 0816a36d: (-s ours) Import translations. DO NOT MERGE
* commit '7262945e4f9775f74621d0a042a080a5607553fa':
  Import translations. DO NOT MERGE
2015-02-12 21:30:57 +00:00
Geoff Mendal
7262945e4f am 0816a36d: (-s ours) Import translations. DO NOT MERGE
* commit '0816a36dc033a83663958df6e7fa2909e1ea33ac':
  Import translations. DO NOT MERGE
2015-02-12 20:25:13 +00:00