Commit Graph

269 Commits (c6abb7dc64de7570efd6ecd34bf55b85af6b9742)

Author SHA1 Message Date
McLoo 49f77c9c06 Added l10n for message trimmer
//FREEBIE

Closes #2079
Closes #1868
11 years ago
Jake McGinty b0891fa986 move log submission to new library
// FREEBIE

Closes #1655
11 years ago
Moxie Marlinspike b57763f397 Display 'me' for device's local number in group membership list.
// FREEBIE

Fixes #1494
Closes #1505
11 years ago
Moxie Marlinspike bf19307916 Make GCM re-registration failure notification based.
// FREEBIE
11 years ago
Jake McGinty 98af1fb6ee shorten blocks of text
// FREEBIE
11 years ago
Jake McGinty 53da1f849a in-app image media preview
// FREEBIE
11 years ago
Jake McGinty 31167d11dd use wildcard media types, don't crash on preview fail
// FREEBIE
11 years ago
Jake McGinty 6e3751a0c5 sane fallback for media selection on exception
Fixes #1763
// FREEBIE
11 years ago
Moxie Marlinspike 40495a2261 Merge pull request #1854 from mcginty/content-description
improve some content descriptions
11 years ago
Jake McGinty a6c1fdd914 improve some content descriptions
// FREEBIE
11 years ago
Jake McGinty 020d61dd6e migrate nav panel items to actionbar
Fixes #1819
Closes #1839
// FREEBIE
11 years ago
Jake McGinty de63b0dd96 make reminder a custom view, make push reminder
// FREEBIE
11 years ago
Jake McGinty 7d688846f9 Move default SMS and system import to "reminders"
// FREEBIE
Closes #1730
12 years ago
Jake McGinty bea3c33223 disable passphrase creation on registration
// FREEBIE
Closes #1726
12 years ago
Moxie Marlinspike 358c923891 Merge pull request #1630 from mcginty/remove-keys-list
remove ReviewIdentitiesActivity
12 years ago
Jake McGinty 5121ab0eed temporarily disable encrypted backup
// FREEBIE
12 years ago
Jake McGinty f63f95404e remove ReviewIdentitiesActivity
// FREEBIE
12 years ago
Moxie Marlinspike 0d35e2bfa9 Fix the "Tap for X fallback" labels. 12 years ago
Moxie Marlinspike 983bf672cf Fix UI side of broken MMS fallback.
1) Actually tell the SendReceiveService to send the MMS if it is
   one.

2) Display the correct string (SMS vs MMS) in the fallback dialog.
12 years ago
Moxie Marlinspike ba1055df8e Correct contextual send language.
1) Use "secure" and "insecure" vs "encrypted" and "unencrypted.

2) Use MMS instead of SMS where appropriate.

Fixes #1602
12 years ago
phenx-de a54d20f3ef Add "%s selected" subtitle to Conversation List batch mode. 12 years ago
phenx-de ea0fa58265 Add preview of encryption channel in compose text hint. 12 years ago
Veeti Paananen bd889d8fa9 Reword the very confusing screen security setting 12 years ago
Moxie Marlinspike c719a48a2c Move media attachment long-click event to context menu.
Long-click on a media attachment will now bring up the normal
context menu for a ConversationItem long-click, but with the
addition of a "save attachment" option.

This allows users to long-click on messages with media in them
and still see the other contextual menu options.

// FREEBIE
12 years ago
Moxie Marlinspike 68747142d6 Add correct contextual menu options on 'Send' button.
[Send TextSecure message | Send unencrypted SMS | Send encrypted SMS]

// FREEBIE
12 years ago
Joshua Lund 667da3b2cf Fixing a typo in the WhisperPush error message
// FREEBIE
12 years ago
thoughtbox bc769debe2 Capitalisation according to Android guidelines
Not all updated capitalisations were correct.
12 years ago
Corbin Souffrant db356a0ec9 Fixed capitalization inconsistensies with Android guidelines.
Fixes #673
12 years ago
Jake McGinty ce7b8ab75a new passphrase prompt activity
// FREEBIE
12 years ago
thoughtbox 08d899e2e1 Slightly more verbose "no legacy support" message. 12 years ago
Moxie Marlinspike 0574ec170a Display legacy message error when V1 message is received. 12 years ago
Santoso Wijaya 12dac6ccc3 ShareActivity, destruction of RecipientsPanel
// FREEBIE
12 years ago
Jake McGinty e2f7c1529a group and contact list fixes
1) Updating a group without changing the avatar will keep that
   avatar

2) Prohibit adding non-push users to an existing push group

3) Add Android contacts to the same database. Takes a small amount
   more time and memory, but allows queries to not be a hack, and
   enables us to dedupe numbers in JB and higher devices.

// FREEBIE
12 years ago
Jake McGinty d4d684b670 simplified layouts 12 years ago
Moxie Marlinspike 54d2184c72 Merge pull request #1205 from mcginty/contact-select
refactor and improve contact selection
12 years ago
Jake McGinty 832763f695 UX for unencrypted fallback case 12 years ago
Moxie Marlinspike fd1a18d2d0 Don't display duplicate push messages. 12 years ago
Jake McGinty ca6d8a8a0d refactor and improve contact selection
* unify single and multi contact selection activities
* follow android listview design recommendations more closely
* add contact photos to selection
* change indicator for push to be more obvious
* cache circle-cropped bitmaps
* dedupe numbers when contact has multiple of same phone number

// FREEBIE
12 years ago
Buck Doyle 61fbf382eb Extract Input Settings preference header string.
Fixes #1159

FREEBIE
12 years ago
Jake McGinty d827ab1b36 more precise sms controls
// FREEBIE
12 years ago
Moxie Marlinspike ad54d2a05f Modify string tag.
//FREEBIE
12 years ago
3xo 339193af12 Give user the opportunity to chose no LED-notification. 12 years ago
Jake McGinty 054fcdca8d Merge pull request #1007 from SamWhited/issue998
s/Verify Recipient/Verify Identity/
12 years ago
Sam Whited fa423e4432 s/Verify Recipient/Verify Identity/ 12 years ago
Jake McGinty 90169e9468 pending messages more accurately conveyed to user 12 years ago
Lukas Barth 39ee363150 Add possiblity to refresh the push directory directly from the contact picking list. Fixes #835. Fixes #859.
Thanks benalbrecht for the icons.
12 years ago
Moxie Marlinspike 977765c80f Merge pull request #941 from Wikinaut/add-new-string-ViewIdentityActivity_my_identity_fingerprint
add new string ViewIdentityActivity_my_identity_fingerprint
12 years ago
Thomas Gries 4b2d07ab35 add new string ViewIdentityActivity_my_identity_fingerprint 12 years ago
Jens Füllenbach 003ebe6364 Added the color white to the notification colors of the LED. 12 years ago
Benjamin Albrecht 2f7c005c23 Show confirmation box before disabling push messages 12 years ago
Moxie Marlinspike 5cd8c922d2 Merge pull request #648 from veeti/tweaks-and-polish
Assorted tweaks and polish
12 years ago
Benedict Pregler ee921a8f49 fixed some hardcoded strings 12 years ago
Veeti Paananen de100f5be7 Add missing spaces 12 years ago
Moxie Marlinspike 81ee9e31c5 Update behavior for incoming SMS path.
1) On KitKat, unencrypted SMS messages are never stored in
   TextSecure unless it is set as the system-wide default.

2) On KitKat, if TextSecure is set as the system-wide default,
   provide an option to change the default to a different app.

3) Don't store the TextSecure challenge on KitKat+ devices.
12 years ago
Moxie Marlinspike a3e900ecbe Merge pull request #794 from SamWhited/issue788
Add option to disable screen security
12 years ago
Sam Whited 384fb3b2b5 Add option to disable screen security
See WhisperSystems/TextSecure#788
12 years ago
Matt Enright 852ca2ac05 Don't display sender in outgoing message details
Because we don't know it. Fixes WhisperSystems#711.
12 years ago
Jake McGinty 0015711759 migrate logcat submit to preferences
// FREEBIE
12 years ago
Jake McGinty ce68429a9b activity to submit logcat to pastebin 12 years ago
Moxie Marlinspike 20fd881613 Display error code from server when already registered elsewhere. 12 years ago
Tim Bücher bd167cbb17 Fix missing localozation strings for custom LED blink pattern. 12 years ago
Jake McGinty a0aaa7d724 Explain why SMS fallback is disabled when it is 12 years ago
Moxie Marlinspike ca2eecaedf Add advanced preference for refreshing push directory. 12 years ago
Moxie Marlinspike c36b5869fc Tweak create passphrase screen text. 12 years ago
Moxie Marlinspike 056dbd1a4e tweak text
//FREEBIE
12 years ago
Moxie Marlinspike 315cf2d8e4 Eliminate concept of group 'owner'. 12 years ago
Moxie Marlinspike da57a689c1 Fill in some strings.
// FREEBIE
12 years ago
Moxie Marlinspike 9c9866e7ee Add 'leave group' functionality. Includes other bug fixes. 12 years ago
Jake McGinty 7beab36c6a updates to conversation menu, and updating of group info
// FREEBIE
12 years ago
Moxie Marlinspike 918f223149 Add preference to disable the SMS channel all together.
1) If the SMS fallback preference is disabled, no outgoing
   messages will succeed via the SMS transport.

2) If the SMS fallback preference is disabled, "mirroring" the
   SMS db state when not the default system SMS app is disabled.
12 years ago
Jake McGinty 0cdc6fd87d embrace the darkness, don't open quickcontact for groups
// FREEBIE
12 years ago
Jake McGinty 0688dd0c2c repurpose ImageDivet for avatar, minor lint, fix bitmap decoding
// FREEBIE
12 years ago
Jake McGinty e05bacd8c3 fixing avatar selection when some gallery apps won't return any extras
but still succeed // FREEBIE
12 years ago
Moxie Marlinspike 760c96171d Merge branch 'master' into groups 12 years ago
Jake McGinty 25324a45b3 Show something for unnamed groups, allow us to have different default photos for groups vs. individuals 12 years ago
Jake McGinty 877ed8f59c Show TS group titles properly, hide MMS options 12 years ago
Jake McGinty e8251800ab gb icon for new group changed 12 years ago
Jake McGinty 93329df530 avatar selection on gb fixed, disable push groups if not push registered 12 years ago
Jake McGinty e81526e581 error messaging for group creation issues 12 years ago
Moxie Marlinspike e7e5bc0884 Verify identity keys on outgoing messages.
If PreKeyEntity identity key doesn't match local DB, fail
outgoing message and queue "incoming" identity key update
message for manual user approval.
12 years ago
Jake McGinty 556b0dec1d pretty up the interface/colors a bit. 12 years ago
Jake McGinty 9b41675f8f single contact selection 12 years ago
Jake McGinty fe55ac57d9 strings, strings, strings 12 years ago
Jake McGinty 01a438de09 basic messaging when non-push users are added 12 years ago
Jake McGinty b4a4e629f1 alignment and string work 12 years ago
Jake McGinty ed3151bdb5 backward compatible navigation drawer toggle // FREEBIE 12 years ago
Jake McGinty 9fd2c4753e ui wip 12 years ago
Jake McGinty 28c1c5006b icon, contact list and conversation redesign 12 years ago
Moxie Marlinspike a4a3b4a453 Update registration strings 12 years ago
Moxie Marlinspike 44092a3eff Support for Axolotl protocol.
1) Split code into v1 and v2 message paths.

2) Do the Axolotl protocol for v2.

3) Switch all v2 entities to protobuf.
12 years ago
Moxie Marlinspike 073b1f69e3 Rollbacks, v2 sms-transport key exchanges, push identity conflicts.
1) Stop protocol rollbacks.

2) Handle v2 version key exchange messages.

3) Handle identity key conflicts on prekeybundle messages.
12 years ago
Moxie Marlinspike 2042ca6cb7 Generate "prekeys" at push registration time.
This generates a large number of key exchange messages and
registers them with the server during signup.
12 years ago
Moxie Marlinspike d7070e7ecf Inserted the Registration activity into initial setup flow.
1) Added push messaging toggle to preferences.

2) Added push messaging registration screen to setup flow.

3) Migrated rest of SharedPreferences accessors to
   TextSecurePreferences.
12 years ago
Moxie Marlinspike 0ed9da9a2c Strings and slight cleanup 12 years ago
Moxie Marlinspike 2539723410 Fix string 12 years ago
Moxie Marlinspike 0958c30400 Stringify 12 years ago
Moxie Marlinspike 7eef93c829 Stringify and clean layout 12 years ago
Moxie Marlinspike 3634ba0b55 Registration with voice verification. 12 years ago
thoughtbox 8186694555 Change to string refs for Enter
To allow for translation
12 years ago
Veeti Paananen eb1b762a76 Improve password caching notification UI & UX
On Jelly Bean and above:

- Use the standard notification style for a better and consistent visual
  appearance

- Use the JB notification actions API for the locking action

- Use a lower notification priority to prioritize other notifications
  over TextSecure

On ICS:

- Use the existing custom notification layout

Everywhere:

- Allow opening the app itself from the notification

- Simplify strings: don't talk about a "cached passphrase" but about the
  app being "unlocked"/"locked"
12 years ago
Veeti Paananen 6eb094c87e Show LED and ringtone setting values in their summaries
As instructed in the Android design guidelines. Also removed unnatural
capitalization.
12 years ago
Joshua Lund 0fed5593a8 Incredibly minor cleanup of the strings file 12 years ago
thoughtbox b56a4f9740 Update strings.xml to reference Sound summary in Settings. 12 years ago
thoughtbox 33fd6414b8 Update strings.xml
Removed emoticon from QuickResponse and changed the wording slightly of the "default SMS app" setting.
12 years ago
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 13 years ago
Moxie Marlinspike d97252d8d6 Add ability to disable local encryption passphrase. 13 years ago
Moxie Marlinspike 68b82c168e Add in-app language selection support. 13 years ago
Moxie Marlinspike 614e962110 Remove unused resources. 13 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.
13 years ago
Moxie Marlinspike 903ab92f5f Basic navigation drawer support. 13 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.
13 years ago
Moxie Marlinspike 2928abc98f Catch attempts to dial on devices with no dialer. 13 years ago
Moxie Marlinspike d2a78ea84c Fix for contrived NPE on invalid recipient during conversation compose. 13 years ago
Moxie Marlinspike ea98fe2d4f Merge pull request #181 from thoughtbox/patch-2
Some minor language.
13 years ago
Moxie Marlinspike dda5bc8838 Add a 'mark as read' button to expanded notifications. 13 years ago
thoughtbox a1e82ab403 Update strings.xml
Minor edits.
13 years ago
Moxie Marlinspike 8c1ca6c9e0 Clean up identity key view activity 13 years ago
Moxie Marlinspike 5e2b31af60 Add appropriate text for manual case when identity is trusted. 13 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.
13 years ago
Moxie Marlinspike e07c1a8e92 Handle failed MMS connectivity state appropriately. 13 years ago
Moxie Marlinspike 1aa84b145f Add 'mark all as read' option 13 years ago
Moxie Marlinspike 4af7fdabda String resources reorganization 13 years ago
Moxie Marlinspike b1b9846971 merge liliakai-settings 13 years ago
Moxie Marlinspike 68ee1c8e62 Make a general category, move notification settings back inline. 13 years ago
Moxie Marlinspike dd0aecc811 First cut at group messaging refactor. 13 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.
13 years ago
Lilia Markham 14d88f615c Sentence case settings
Let's be consistent and conformant with android style guide for settings
labels.
13 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
13 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.
13 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.
13 years ago
Moxie Marlinspike 1e2adadae2 Resource cleanup 13 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.
13 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.
13 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.
13 years ago
Moxie Marlinspike 01a5c889b0 Export stray strings for localization. 13 years ago
Moxie Marlinspike fe43ef65ab Support for auto-deleting old messages beyond a certain conversation thread length. 13 years ago