Commit Graph

288 Commits (bf03b31ddeca06b78b98dd077d50919008c2bbb8)
 

Author SHA1 Message Date
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
Moxie Marlinspike f2475491fe Fix for NPE on null encrypted MMS messages. 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 c3e21f3f75 Bumping version to 0.9.8 11 years ago
Moxie Marlinspike 45b044f3e4 Updated language translations 11 years ago
Moxie Marlinspike fcea8ebc3f Added Telenor Norway to APN Defaults 11 years ago
cavanm 8e2288205c Use APN defaults when no other APN information is available.
Provides an in-app source for APN info for use in the case that the
device store is unavailable and the user hasn't provided local
connection parameters.

Only covers T-Moble USA, AT&T, and Verizon right now. Only T-Mobile is
tested. Other carriers can be added and tested on an ongoing basis.
11 years ago
Moxie Marlinspike fb21c09dbe Catch NPE thrown by APN provider. 11 years ago
Moxie Marlinspike 2d92b99fb3 Bumping version to 0.9.7 11 years ago
Moxie Marlinspike 09ce848b16 Remove default disabled tint from send button. 11 years ago
Moxie Marlinspike 5df88cc0a7 Scrub recipients for MMS messages so they'll be valid PLMN. 11 years ago
Moxie Marlinspike 0a769da9de Bumped version to 0.9.6 11 years ago
Moxie Marlinspike 4f8078c28a Updated language translations 11 years ago
Moxie Marlinspike ecaaff50da Switch UA to Android default and added x-wap-profile header 11 years ago
Moxie Marlinspike cdd6d59e6e Remove send button smart enable/disabled.
Temporarily remove this functionality, since it doesn't account for
attachments yet.
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
Moxie Marlinspike b05c840616 Fix for MMS send bug with an APN proxy. 11 years ago
Moxie Marlinspike 6687aa0911 Merge branch 'issue139' of https://github.com/liliakai/TextSecure into no_conversation_scroll 11 years ago
Moxie Marlinspike 58961fe0a8 Minor spelling correction. 11 years ago
Moxie Marlinspike bb3777aa68 Fix for viewing group recipients without contact information. 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 fa8208de33 Bumped version to 0.9.5 12 years ago
Moxie Marlinspike 9c4d973bef Updated language translations 12 years ago
Moxie Marlinspike 01fdb1115d We don't support unknown content lengths yet. 12 years ago
Moxie Marlinspike 2e55e9cdca Guard NPE 12 years ago
Moxie Marlinspike 6230abb524 Add synchronized access to cache 12 years ago
Moxie Marlinspike ef6a5c69af Tweak MMS retrieval and submission.
1) Only attempt direct connect outside of MMS radio mode on CDMA.

2) Don't switch back to normal radio state if pending messages remain.
12 years ago
Moxie Marlinspike 27e039c4a6 Bumped version to 0.9.4 12 years ago
Moxie Marlinspike 48576dbb58 Catch mysterious SMS too large exception. 12 years ago
Moxie Marlinspike 5ca7b1080c Fix for concurrentmodificationexception on race condition. 12 years ago
Moxie Marlinspike eb9b2ef318 Fix for NPE on null mms bytes. 12 years ago
Moxie Marlinspike 6bd0f35787 Sometimes querying the APN DB throws this exception as well. 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 c7e6a2afeb Bump version to 0.9.3 12 years ago
Moxie Marlinspike 4730ef1324 Updated language translations. 12 years ago
Moxie Marlinspike 34822557a6 Catch exception triggered by bug in telephony provider during import. 12 years ago
Moxie Marlinspike bac6b78b11 Clear passphrase field on invalid entry. 12 years ago
Moxie Marlinspike 5bf5b404a1 Fix for notification NPE on unknown sender. 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 df05508a6f Switch to AndroidHttpClient and explicit targeting. 12 years ago
Moxie Marlinspike 1e2adadae2 Resource cleanup 12 years ago