Commit Graph

62 Commits (f58f79a4593545278abc5abbf737ca1544544d81)

Author SHA1 Message Date
Moxie Marlinspike d97252d8d6 Add ability to disable local encryption passphrase. 11 years ago
Moxie Marlinspike 7f532fc37f Fix dark theme recipients editor font color. 11 years ago
Moxie Marlinspike 767d790b3d Dark theme fixes.
1) Make the conversation background all black with no column.

2) Fix the font color on identity key review.
11 years ago
Moxie Marlinspike 93c222fe9c Added "recent emoji" panel as an LRU cache. 11 years ago
Moxie Marlinspike 2e31cfed11 Basic support for composing emoji 11 years ago
Moxie Marlinspike 408672b0b8 Fix or invisible delivery status regression with MMS. 11 years ago
Moxie Marlinspike 614e962110 Remove unused resources. 11 years ago
Moxie Marlinspike aa25f94291 Enhanced import/export support.
1) Allow imports from the stock SMS database at any time.

2) Provide plaintext export support, in a format compatible with
   the "SMS Backup And Restore" app.

3) Fix the DB weirdness on encrypted restore that previously
   required killing the app.
11 years ago
Moxie Marlinspike 903ab92f5f Basic navigation drawer support. 11 years ago
Moxie Marlinspike 5263ac1f1a Theme Support
1) Broke out the UI elements of the major Activites into stylable
   attributes.

2) Created a 'light' and 'dark' theme for the newly stylable attrs.

3) Touched up some of the UI spacing.

4) Implemented dynamic theme switching support.
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 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 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
Moxie Marlinspike 09ce848b16 Remove default disabled tint from send button. 12 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
12 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 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 5cb02445e8 Add support for "delivery notifications." Currently SMS-only. 12 years ago
Moxie Marlinspike 01f5ec5ab8 Align date for GB devices. Compromise nice checkbox alignment. 12 years ago
Moxie Marlinspike 9bf434cb3b The <= GB QuickContactBadge is ugly. Let's do something nicer for them.
Unfortunately GB is 50% of the TS userbase, best not to neglect them.
12 years ago
Moxie Marlinspike 187ec95817 Add collating support for group SMS/MMS messages.
1) When sending an SMS or MMS to multiple recipients, only show one
ConversationItem, but provide statistics on the number of recipients
delivered to.

2) Still break up the messages for secure and insecure messages.
12 years ago
Moxie Marlinspike bb0ec65744 Include source origin in string key name.
This should help eliminate string duplicates, as well as provide
visibility into where strings in a resource file are being used.
12 years ago
Moxie Marlinspike 4715512194 Fixed auto-initiate layout on GB. 12 years ago
Moxie Marlinspike a834ccad55 Fix for 2.3 ugliness. 12 years ago
Moxie Marlinspike 3d3db421d3 Lint warning changes. 12 years ago
Moxie Marlinspike 7a7dba66ad Update passphrase caching notification strategy.
On platforms (API >= 11) that support receiving click events within
a notification, we change the notification format so that users
can "lock" TextSecure with a click.

For all platforms, we change the notification icon in the status
bar from a "lock" to an "unlock," to better reflect the situation.

This is all part of the master plan for eliminating the passphrase
timeout option.
12 years ago
Moxie Marlinspike 312942439d Fixed RecipientsPanel white-on-white weirdness for Android <= 2.3.
Only appeared when the RecipientsEditor was in the unselected state.
12 years ago
Moxie Marlinspike f39b8e5fc8 Fix up whitespace tagging and tag detection prompt.
1) Fix up the whitespace tagging so that it's a little more strict.

2) Don't display whitespace tags that we add to our own messages.

3) Make the tag detection prompt a little more visually pleasing.
12 years ago
Moxie Marlinspike 4c3b7cbe08 Extract TextSecure strings for i18n.
1) Change all instances which use concatenation to build strings
with variables in them to use string formatting instead.

2) Extract all string literals from layouts and menus into strings.xml

3) Extract all string literals from code into strings.xml
12 years ago
Moxie Marlinspike 07305d939a Fix display problem on <= Gingerbread devices. 12 years ago
Moxie Marlinspike bffeed7cd3 Removed old drawable resources. 12 years ago
Moxie Marlinspike 7883d09573 Fix success/failure status on conversation item. 12 years ago
Moxie Marlinspike cffedb09a1 Do migration in backgrounded service. 12 years ago
Moxie Marlinspike 31d59dddef Remove key exchange indicator from list view, spruce up create passphrase dialog. 12 years ago
Moxie Marlinspike bc8f26c591 Correctly initialize conversation after message sent. 12 years ago
Moxie Marlinspike 853e12693d Fix Auto/Save activities for GB. 12 years ago
Moxie Marlinspike edb286a44d Add search support for v11+ 12 years ago
Moxie Marlinspike e641a28cf5 New lock icons. 12 years ago
Moxie Marlinspike 5918353fc7 Updated lock icon image 12 years ago
Moxie Marlinspike 1ff278dc81 Update the key exchange icon look. 12 years ago
Moxie Marlinspike 7cab26750b Switch to Contextual Action Bar goodness. 12 years ago
Moxie Marlinspike a66cc636c6 Fix review identity activity UI. 12 years ago