1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-10 11:35:11 -05:00
Commit Graph

175 Commits

Author SHA1 Message Date
cketti
dc476eb3e8 Support ACTION_SEND extras when handling ACTION_SENDTO
Too many applications get this wrong and rely on the undocumented
behavior of the AOSP Email app and Gmail.

See https://code.google.com/p/android/issues/detail?id=30190
2012-05-06 17:47:59 +02:00
Andrew Chen
32ae7bad9c Migrate to Account.has(Special)Folder() methods. 2012-04-17 08:23:22 -07:00
cketti
ff4d6a66c8 Fixed bug introduced with 6f525f0e31
Intent extra was renamed but the code in MessageCompose still used the
(hardcoded) old name.
2012-04-11 04:47:10 +02:00
cketti
52b5c567ef Don't use EmailAddressAdapter as singleton 2012-04-11 03:26:45 +02:00
cketti
8bd5090816 Removed unused import + constants 2012-04-09 02:02:12 +02:00
cketti
6f525f0e31 Converted hardcoded strings to constants 2012-04-09 02:02:12 +02:00
cketti
56d4cca4dd Make ContactItem immutable 2012-04-09 01:57:45 +02:00
cketti
a09f26a227 Renamed getEmailFromContactPicker() to better reflect what it does 2012-04-09 01:57:44 +02:00
Koji Arai
6861c813ea Change layout of the email address list.
set title to the contact name.
change text size is medium from default(Large).
2012-04-08 12:32:10 -04:00
Jesse Vincent
3a9589714b added the ContactItem class for picked item from ContactPicker.
Conflicts:

	src/com/fsck/k9/helper/ContactsSdk3_4.java
	src/com/fsck/k9/helper/ContactsSdk5.java
2012-04-08 12:32:04 -04:00
Jesse Vincent
4723ea0ae5 Possible to select email addresses from the ContactPicker
Conflicts:

	src/com/fsck/k9/activity/MessageCompose.java
	src/com/fsck/k9/helper/ContactsSdk3_4.java
2012-04-08 12:29:08 -04:00
cketti
4612ceb3c8 Enabled dark theme for MessageCompose and MessageView 2012-04-03 07:55:51 +02:00
cketti
2331696153 Always use the light theme in MessageCompose
This fixes a display bug in the "Send as" dialog in MessageCompose.
2012-03-29 06:39:31 +02:00
cketti
4e21f049d3 Validate "original message" field of identity header when loading drafts 2012-03-26 21:36:26 +02:00
cketti
661ed08061 Removed unnecessary layout containers 2012-03-24 22:51:33 +01:00
cketti
b9e0ec1ab4 Added AccountHolder 2012-03-24 20:43:17 +01:00
Jesse Vincent
ea90e24785 move the chips, change the sizes 2012-03-24 19:57:32 +01:00
Jesse Vincent
580f1639c3 UI improvements to the "select identity" button 2012-03-24 19:57:31 +01:00
cketti
8180fd9ad2 Added a button to switch the identity in MessageCompose
Originally I wanted to use a Spinner, but it doesn't support multiple
view types (see [1]). Those are necessary because we use different
layouts for accounts (section headers) and identities (selectable list
items).
Removed the ChooseAccount activity because it's now unused.
2012-03-22 22:17:10 +01:00
cketti
4721d92e79 Avoid some instances of autoboxing
This will hopefully allow us to compile with "Android Java IDE".
2012-03-07 21:40:41 +01:00
ashley willis
78615f878d added From: addresses on reply all when Reply-To: is set. don't repeat address in To: field if it's already included in replyToAddresses. 2012-03-05 15:17:31 -06:00
cketti
8ce78408c2 Fixed HTML generation in MimeUtility.extractTextAndAttachments() 2012-02-17 19:42:35 +01:00
cketti
898f65e081 Changed the way we set flags to update the original Message object 2012-02-04 21:06:34 +01:00
Nick Nikolaou
46bf2c5be7 Add discard confirmation dialog when pressing back 2012-02-02 19:33:49 -06:00
cketti
5a8ddaa039 Make sure draft id points to a valid message before deleting it
Avoids IllegalArgumentException in LocalStore.getMessage()
2012-01-26 00:37:25 +01:00
cketti
4bbc5de1ba Code cleanup / fixed lots of warnings 2012-01-22 06:25:06 +01:00
cketti
45faad041e Don't finish() MessageCompose in onPause() 2012-01-22 05:32:52 +01:00
cketti
bddacf6b64 Use database ID to keep track of the current draft
By using the database ID we avoid having to deal with the problem of
changing UIDs. First the message has a local UID, then, when the upload
to the server is completed, it gets a remote UID.
2012-01-22 05:20:41 +01:00
cketti
2c5f640b9e Minor cleanup 2012-01-20 23:15:11 +01:00
Nick Nikolaou
773d1e30f1 Simplied code and added curly brackets to if/else 2012-01-20 19:10:11 +00:00
Nick Nikolaou
1a01c10fc5 Don't save to drafts if drafts folder is -NONE- 2012-01-20 17:02:35 +00:00
cketti
8e627834c1 Changed font size unit from DIP to SP
"Scale-independent Pixels - this is like the dp unit, but it is also
scaled by the user's font size preference. It is recommend you use this
unit when specifying font sizes, so they will be adjusted for both the
screen density and the user's preference." - Android Developer Docs
2012-01-12 02:18:41 +01:00
cketti
edf0361aab Added font size setting for text input fields in MessageCompose 2012-01-12 01:05:01 +01:00
cketti
e7f29d429c Fixed quoted text for plain text messages 2012-01-10 07:44:50 +01:00
cketti
0d8497b04b Restructured and documented MessageCompose.buildText()
Also fixed a bug where the signature wasn't appended in the HTML part of
newly composed messages.
2012-01-10 01:47:23 +01:00
Koji Arai
d1778e0303 mIgnoreOnStop should be set to true when call startActivityForResult() 2011-12-04 05:25:57 +09:00
Andrew Chen
4b548169d6 Merge pull request #82 from ashleywillis/issue-1424
Issue 1424: saving duplicate or similar drafts fixed.
2011-11-21 11:13:09 -08:00
ashley willis
e9c8ec5598 Merge branch 'master' into pgp-fixes 2011-11-21 02:24:10 -06:00
ashley willis
94ba9bf71f added comments, reworked a bit, and created warning dialog if some recipients don't have keys saved. 2011-11-21 01:59:51 -06:00
ashley willis
079996ebe5 refuse to save draft marked encrypted 2011-11-19 18:05:24 -06:00
ashley willis
c49d1ecc8e removed code from previous commit disabling of syncing drafts to be encrypted. 2011-11-19 13:34:26 -06:00
ashley willis
51c662f0d0 pgp issues 2152, 2900, and 3673. also option to disable not-yet-encrypted drafts related to issue 1424. 2011-11-19 00:49:04 -06:00
cketti
fe727f8b20 Merge pull request #98 from cketti/remove_legacy_code
Remove legacy code
2011-11-15 20:07:23 -08:00
Andrew Chen
ec17cd3c38 Merge pull request #100 from ashleywillis/autoformat
Message Format: Automatic (plain text unless replying to an HTML message)
2011-11-15 10:13:45 -08:00
ashley willis
994f474aae configured so setting message format to auto does not break k-9 if it is downgraded. 2011-11-14 20:12:08 -06:00
ashley willis
9201d16659 add MessageFormat.AUTO so that text/html messages are created only when necessary. 2011-11-14 17:28:45 -06:00
Andrew Chen
22e61b987e Add javadoc for getSignatureHtml() and use StringUtil.isNullOrEmpty(). 2011-11-14 14:23:29 -08:00
ashley willis
37f480c969 Merge ashleywillis' changes in https://github.com/k9mail/k-9/pull/97.
Option to strip signature from quoted text in replies.
Strips signature from quoted text in replies (line of /^-- $/ or html
equivalent, and everything below). Per account.
2011-11-14 14:00:15 -08:00
ashley willis
1012ad56dd Merge ashleywillis' changes in https://github.com/k9mail/k-9/pull/96 2011-11-14 13:20:07 -08:00
cketti
8c8b3eea9e Use Intent.ACTION_SEND_MULTIPLE instead of string constant 2011-11-10 05:44:30 +01:00