Commit Graph

113 Commits (bf03b31ddeca06b78b98dd077d50919008c2bbb8)

Author SHA1 Message Date
Moxie Marlinspike d2a78ea84c Fix for contrived NPE on invalid recipient during conversation compose. 11 years ago
Moxie Marlinspike ea98fe2d4f Merge pull request #181 from thoughtbox/patch-2
Some minor language.
11 years ago
Moxie Marlinspike dda5bc8838 Add a 'mark as read' button to expanded notifications. 11 years ago
thoughtbox a1e82ab403 Update strings.xml
Minor edits.
11 years ago
Moxie Marlinspike 8c1ca6c9e0 Clean up identity key view activity 11 years ago
Moxie Marlinspike 95eb62190a Remove checkboxes from the multi-select UI 11 years ago
Moxie Marlinspike 3743c57edd Clean up list of identity keys. 11 years ago
Moxie Marlinspike 5e2b31af60 Add appropriate text for manual case when identity is trusted. 11 years ago
Moxie Marlinspike 24fc93e9ae Switch to a more heavily TOFU model for identity keys.
1) There is no longer a concept of "verified" or "unverified."
   Only "what we saw last time" and "different from last time."

2) Let's eliminate "verify session," since we're all about
   identity keys now.

3) Mark manually processed key exchanges as processed.
11 years ago
Moxie Marlinspike f44ee4a41a Translation updates 11 years ago
Moxie Marlinspike e07c1a8e92 Handle failed MMS connectivity state appropriately. 11 years ago
Moxie Marlinspike 1aa84b145f Add 'mark all as read' option 11 years ago
Moxie Marlinspike 4af7fdabda String resources reorganization 11 years ago
Moxie Marlinspike b1b9846971 merge liliakai-settings 11 years ago
Moxie Marlinspike 68ee1c8e62 Make a general category, move notification settings back inline. 11 years ago
Moxie Marlinspike 7c47ea5cec Make MMS more asynchronous and consistent with new SMS types.
1) We now delay MMS notifications until a payload is received,
   or there's an error downloading the payload.  This makes
   group messages more consistent.

2) All "text" parts of an MMS are combined into a second text
   record, which is stored in the MMS row directly rather than
   as a distinct part.  This allows for immediate text loading,
   which means there's no chance a ConversationItem will resize.

   To do this, we need to include MMS in the big DB migration
   that's already staged for this application update.  It's also
   an "application-level" migration, because we need the MasterSecret
   to do it.

3) On conversation display, all image-based parts now have their
   thumbnails loaded asynchronously.  This allows for smooth-scrolling.
   The thumbnails are also scaled more accurately.
11 years ago
Moxie Marlinspike dd0aecc811 First cut at group messaging refactor. 11 years ago
Moxie Marlinspike 83e260436b Major storage layer refactoring to set the stage for clean GCM.
1) We now try to hand out cursors at a minimum.  There has always been
   a fairly clean insertion layer that handles encrypting message bodies,
   but the process of decrypting message bodies has always been less than
   ideal.  Here we introduce a "Reader" interface that will decrypt message
   bodies when appropriate and return objects that encapsulate record state.

   No more MessageDisplayHelper.  The MmsSmsDatabase interface is also more
   sane.

2) We finally rid ourselves of the technical debt associated with TextSecure's
   initial usage of the default SMS DB.  In that world, we weren't able to use
   anything other than the default "Inbox, Outbox, Sent" types to describe a
   message, and had to overload the message content itself with a set of
   local "prefixes" to describe what it was (encrypted, asymetric encrypted,
   remote encrypted, a key exchange, procssed key exchange), and so on.

   This includes a major schema update that transforms the "type" field into
   a bitmask that describes everything that used to be encoded in a prefix,
   and prefixes have been completely eliminated from the system.

   No more Prefix.java

3) Refactoring of the MultipartMessageHandler code.  It's less of a mess, and
   hopefully more clear as to what's going on.

The next step is to remove what we can from SmsTransportDetails and genericize
that interface for a GCM equivalent.
11 years ago
Moxie Marlinspike 303d1acd45 Initial client support for GCM message send/receive 11 years ago
Moxie Marlinspike 2f39283da3 Initial GCM registration 11 years ago
Lilia Markham 14d88f615c Sentence case settings
Let's be consistent and conformant with android style guide for settings
labels.
11 years ago
Lilia Markham 815613cfaa Reorganize settings menu
Mostly xml work, with one small hack to fix the sub menu themes, found
here: http://code.google.com/p/android/issues/detail?id=4611#c35
11 years ago
Lilia Markham e3c5e837e1 Remove sign key exchange preference
Yet another setting that most users will never touch. Workaround for
those who would is to use a different identity key per device.

Let this be a sacrifice to the android settings design pattern gods.
11 years ago
Lilia Markham 40eca5e0f6 Remove whitespace tag preference
The vast majority of users will never uncheck this option. Those who
would can send an unencrypted untagged message through the system sms
app. It would then be stored locally in the clear, but it was already
transmitted in the clear and likely stored on the recipient's side in
the clear, so the security gains of locally encrypting are low, and
again, this seems an extremely rare edge case.

By android design pattern specs for the settings menu, we should kill
this preference.
11 years ago
Lilia Markham eae499052b Remove MMS delivery report setting
No good reason to have this cluttering up the menu when it is disabled
and not implemented.
11 years ago
Lilia Markham 5cd044a6cc Swap settings and clear passphrase menu options
Android design pattern best practice recommends placing the settings
menu item below all other items because it's not frequently needed.

In that spirit, I've also moved the clear passphrase option to be first
since it is likely to be used more often than database import/export.
11 years ago
Moxie Marlinspike 45b044f3e4 Updated language translations 11 years ago
Moxie Marlinspike 09ce848b16 Remove default disabled tint from send button. 11 years ago
Moxie Marlinspike 4f8078c28a Updated language translations 11 years ago
Jake McGinty 674cd68ebd Modern-style Android chat icons (incl. secure icon)
Make the send-button appearance more similar to the default Android
messenger application
11 years ago
Lilia Markham 5dabe1069d Avoid auto-scroll after deleting a message
See WhisperSystems/TextSecure#139

This fix involves setting transcriptMode to normal on conversation view,
which resolves the issue but comes with the side effect that if you
have scrolled away from the bottom of the list, new incoming messages
will not trigger auto-scroll as they arrive.
12 years ago
Moxie Marlinspike 07c59d969a Prompt user for APN details when missing.
If TextSecure is running on a device without APN details, we prompt
the user to manually specify them when the user goes to send an MMS
message.
12 years ago
Moxie Marlinspike 9c4d973bef Updated language translations 12 years ago
Moxie Marlinspike 2397176d9e Search support in ConversationList for <3.0 devices.
Switch to the newly-introduced ActionBarSherlock SearchView.
12 years ago
Moxie Marlinspike 4730ef1324 Updated language translations. 12 years ago
Moxie Marlinspike f73adfc8f5 Change MMS network request pattern.
Currently we're flipping the radio in "MMS" mode, and connecting through
any proxies specified in the APN.  This always work, or at least doesn't
seem to work on Sprint, since the configured mms proxy rejects proxy
requests.

Instead we try the following in this order:

1) Connect over normal data connection directly to MMSC.
2) Connect over MMS radio connection to MMSC.
3) Connect over MMS radio connection with any configured proxy to MMSC.

Hopefully this doesn't fuck up shit on other unknown networks.
12 years ago
Moxie Marlinspike 1e2adadae2 Resource cleanup 12 years ago
Moxie Marlinspike 6c1572e0ec Layout touchup 12 years ago
Moxie Marlinspike 5eb04328d3 Improve passphrase and onboarding UI. Abstract out routing.
1) Update the create, prompt, and change passphrase activities.
   They are no longer dialog themed, and should look a little
   less ugly.

2) Update the import DB activity to be less ugly and more robust.

3) Abstract all of the state handling stuff out of
   ConversationListActivity.  This is now handled by RoutingActivity,
   which all launch intents move through.
12 years ago
Moxie Marlinspike 3d1ade7554 Update language translations. 12 years ago
Moxie Marlinspike 471ef16a5b Support for robust delivery.
1) If a message fails to be delivered, post a notification in the
   status bar if that thread is not active and visible.

2) If a message fails to be delivered because there is no service,
   keep retrying every time service becomes available again.
12 years ago
Moxie Marlinspike 71f43075a9 Distinguish unread threads with background color. 12 years ago
Moxie Marlinspike 0a8c62e0e3 Include incoming message body in notifications.
1) Refactor the master secret reset logic to properly interact with
   services.

2) Add support for "BigText" and "Inbox" style notifications.

3) Decrypt message bodies when unlocked, display 'encrypted' when
   locked.
12 years ago
Moxie Marlinspike d1d0f8afe5 Fix attachment icon for GB devices 12 years ago
Moxie Marlinspike 8dad82323d Fix for missing format string params in Tibetan translation. 12 years ago
Moxie Marlinspike 295abf8da3 Updated translations 12 years ago
Moxie Marlinspike 01a5c889b0 Export stray strings for localization. 12 years ago
Moxie Marlinspike ebdeea1401 Updated language files from transifex 12 years ago
Moxie Marlinspike fe43ef65ab Support for auto-deleting old messages beyond a certain conversation thread length. 12 years ago
Moxie Marlinspike 5cb02445e8 Add support for "delivery notifications." Currently SMS-only. 12 years ago