Commit Graph

65 Commits (0c0db283587079f34ef745d08b3725cf96a6bd06)

Author SHA1 Message Date
Moxie Marlinspike 0c0db28358 Fix string case 12 years ago
Moxie Marlinspike b0216e1494 Finish KitKat compatibility details.
1) The system does actually enforce having a BROADCAST_SMS
   permission on the SMS receiver. Break out the "delivered"
   parts of this into a separate Receiver, so the permission
   won't trip up GB devices.

2) The system does actually enforce having "quick response"
   intents.  Add a no-op for now.

3) Add a "make default" prompt.

4) Update settings to reflect what's going on in KitKat.
12 years ago
Moxie Marlinspike 891e3aeb97 Merge pull request #381 from meskio/add_contact
New 'add contact info' option on the conversation contextual menu
12 years ago
rhodey 2c2a03e5e2 Enhanced MMS configuration prompts and processing.
1) Added a new message status to MmsDatabase to
   signify a pending MMS download which requires
   APN settings.

2) Added a database method to query MMS messages
   based on status.

3) Added login to SendReceiveService for processing
   of MMS pending APN information.

4) Moved all APN/MMS settings into ApnPreferencesActivity
   and transformed PromptApnActivity into a simple
   informational activity.

5) Added logic to check for APN settings on send and
   receive of all MMS (media, group, email) and direct
   user to PromptApnActivity then ApnPreferencesActivity
   if necessary.

6) Vocab/grammar adjustments.
12 years ago
Ruben Pollan 3d690faff0 New 'add contact info' option on the conversation contextual menu
This option is used to add phone numbers from the contact list on the
messages.
12 years ago
Moxie Marlinspike f49c62793b Merge pull request #377 from meskio/resend_message_on_fail2
Allow to resend a failed message
12 years ago
Moxie Marlinspike f27c7c4178 Merge branch 'thoughtbox-patch-1'
Conflicts:
	res/values/strings.xml
12 years ago
thoughtbox cfc255a7b7 update to in-thread notification description
I felt that the description of what "in-thread notification" could be difficult to understand for some. This is better, I think (though I'm not fully satisfied).
12 years ago
thoughtbox 615ca931d4 Update strings.xml
I think it should be "in-thread" rather than "in thread".
12 years ago
Ruben Pollan 04eafd5fab Allow to resend a failed message
Add an option to the context menu of the message to resend it if it has
failed.
12 years ago
Nikolai Rusakov 2cf7f82f07 closes #367 - add option to disable audible inthread notifications 12 years ago
rhodey 1149d8b625 Switched string constant name for notification sound from preferences__select_reingtone to preferences_sound to match the new value of the constant, 'Sound'. 12 years ago
rhodey 282e40db40 Changed language in notification section of settings from 'select ringtone' to 'sound'. 12 years ago
Moxie Marlinspike b14d9d84ad Fix for Android PRNG bug.
There is apparently an Android vulnerability with the PRNG it
provides through the JCE. This uses their suggested code to patch
the PRNG, and provides the option to regenerate identity keys.

http://android-developers.blogspot.com/2013/08/some-securerandom-thoughts.html
12 years ago
joeykrim 719d791962 Added Disable Passphrase title and summary strings from Preference.xml 12 years ago
Moxie Marlinspike d97252d8d6 Add ability to disable local encryption passphrase. 12 years ago
Moxie Marlinspike 68b82c168e Add in-app language selection support. 12 years ago
Moxie Marlinspike 614e962110 Remove unused resources. 12 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.
12 years ago
Moxie Marlinspike 903ab92f5f Basic navigation drawer support. 12 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.
12 years ago
Moxie Marlinspike 2928abc98f Catch attempts to dial on devices with no dialer. 12 years ago
Moxie Marlinspike d2a78ea84c Fix for contrived NPE on invalid recipient during conversation compose. 12 years ago
Moxie Marlinspike ea98fe2d4f Merge pull request #181 from thoughtbox/patch-2
Some minor language.
12 years ago
Moxie Marlinspike dda5bc8838 Add a 'mark as read' button to expanded notifications. 12 years ago
thoughtbox a1e82ab403 Update strings.xml
Minor edits.
12 years ago
Moxie Marlinspike 8c1ca6c9e0 Clean up identity key view activity 12 years ago
Moxie Marlinspike 5e2b31af60 Add appropriate text for manual case when identity is trusted. 12 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.
12 years ago
Moxie Marlinspike e07c1a8e92 Handle failed MMS connectivity state appropriately. 12 years ago
Moxie Marlinspike 1aa84b145f Add 'mark all as read' option 12 years ago
Moxie Marlinspike 4af7fdabda String resources reorganization 12 years ago
Moxie Marlinspike b1b9846971 merge liliakai-settings 12 years ago
Moxie Marlinspike 68ee1c8e62 Make a general category, move notification settings back inline. 12 years ago
Moxie Marlinspike dd0aecc811 First cut at group messaging refactor. 12 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.
12 years ago
Lilia Markham 14d88f615c Sentence case settings
Let's be consistent and conformant with android style guide for settings
labels.
12 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
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 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 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 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 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 01a5c889b0 Export stray strings for localization. 12 years ago
Moxie Marlinspike fe43ef65ab Support for auto-deleting old messages beyond a certain conversation thread length. 12 years ago
Moxie Marlinspike 25f75cb3d2 Change wording around local APN configuration preference. 12 years ago
Moxie Marlinspike 83f90ddd4e Display both sent and received time in message details.
1) We record time sent in SMS database (date_sent).

2) We record time received in MMS database (date_received).

3) We union this information correctly in MmsSmsDatabase.
12 years ago
Moxie Marlinspike ead97953e8 Add proxy port option to local APN settings. 12 years ago
Moxie Marlinspike 54fad30f9f Add ability to specify APN information in TextSecure settings.
1) Add configuration options for APN information in TextSecure settings.

2) Fall back to TextSecure settings if system settings are unavailable
while sending/receiving MMS.

3) Catch sqlite exception when devices randomly don't have the same
APN db or table structure.
13 years ago