Commit Graph

464 Commits (054fcdca8dce334a58b3aaa13a6e9d965238f66d)

Author SHA1 Message Date
Jake McGinty 93329df530 avatar selection on gb fixed, disable push groups if not push registered 12 years ago
Jake McGinty 948f888670 group ui task refactor, small bug fixes 12 years ago
Jake McGinty c19ac8ec1e less hacky way of converting ContactData to Recipients 12 years ago
Jake McGinty 04327e9ed7 refresh conversation fragment to new thread when created 12 years ago
Jake McGinty e81526e581 error messaging for group creation issues 12 years ago
Jake McGinty 4f87c1e52e better intent sequence for single contact selection 12 years ago
Moxie Marlinspike 9bb327db42 Handle SMS fallback preferences correctly, and fix directory sync. 12 years ago
Moxie Marlinspike 94b54a6d63 Fix build. 12 years ago
Moxie Marlinspike fe03a22926 Make group creation exceptions more accurate. 12 years ago
Moxie Marlinspike d8e1df9233 Check prekey identity on mismatched devices too. 12 years ago
Moxie Marlinspike 6b5753337c Putting this functionality in the hands of the user was a bad idea. 12 years ago
Moxie Marlinspike 18f3314cd2 Fix for no paradigm. 12 years ago
Moxie Marlinspike b9f4fba98a Handle identity key mismatch on outgoing group messages.
Additionally, make the group creation process asynchronous.
12 years ago
Jake McGinty 5810062b25 group action conversation items, tweaks to single contact selection 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
Moxie Marlinspike e2989373cd All push groups are 'secure' ConversationActivities. 12 years ago
Moxie Marlinspike 4e703d5a00 Correct retry logic for SMS JB+ and for push groups. 12 years ago
Moxie Marlinspike b79bc4c234 Fix for non-group threading issue. 12 years ago
Moxie Marlinspike a305bb80e6 Correctly display group members 12 years ago
Jake McGinty 8e3aa94a05 group member name tags, group convo iconography, tweaks 12 years ago
Moxie Marlinspike 7d3a2acb29 Fix build 12 years ago
Jake McGinty 9b41675f8f single contact selection 12 years ago
Moxie Marlinspike 9438973eac Switch to protobuf enums for push signal type. 12 years ago
Moxie Marlinspike 2f98622948 Fix group migration. 12 years ago
Moxie Marlinspike 067799be06 Display group actions and correctly handle group delivery. 12 years ago
Moxie Marlinspike 7c46f3cbf8 Fill in group creation actions 12 years ago
Jake McGinty 41aa53dd66 masterSecret 12 years ago
Jake McGinty b47076cf1b kill wrong finish() for mms creation 12 years ago
Jake McGinty bb4a4d33c9 handlePush and handleMms prototypes 12 years ago
Jake McGinty c5d010c86f Quick progressbar sample for network operations during group create 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 9cd5a67ec5 directory changes to use number instead of token, group ui progress 12 years ago
Moxie Marlinspike 0af473d880 Merge branch 'groups' of github.com:WhisperSystems/TextSecure into groups 12 years ago
Moxie Marlinspike 0ace469d74 Support for multi-device.
1) In addition to the Recipient interface, there is now
   RecipientDevice.  A Recipient can have multiple corresponding
   RecipientDevices.  All addressing is done to a Recipient, but
   crypto sessions and transport delivery are done to
   RecipientDevice.

2) The Push transport handles the discovery and session setup
   of additional Recipient devices.

3) Some internal rejiggering of Groups.
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 2f01569e45 Revert "Don't stick thread IDs in the Intent extra data. Always mark all threads read from notification."
This reverts commit 91b52bed18.
12 years ago
Moxie Marlinspike 49daa45dca wip 12 years ago
Moxie Marlinspike 4851a555e7 Merge pull request #540 from WhisperSystems/lint
Fixes more lint errors
12 years ago
Ruben Pollan 6cdd2aff0d Suppress lint errors 12 years ago
Ruben Pollan c134709009 Add apn settings for some providers 12 years ago
Moxie Marlinspike 9b6d4e3696 Merge pull request #532 from mcginty/visual_refresh
WBoC Visual Refresh
12 years ago
Jake McGinty 28c1c5006b icon, contact list and conversation redesign 12 years ago
bozsco e9a8c7474c Automatically show keyboard when new SMS is composed 12 years ago
Ben Reser 149671095b Fix issue #469: Hide "Clear Passphrase" if passphrase is disabled. 12 years ago
Moxie Marlinspike c488947248 Merge pull request #453 from irv/master
Merge Fix issue #433
12 years ago
Moxie Marlinspike 04b2c3772a Support skipping password creation at setup 12 years ago
Moxie Marlinspike 5c97b1e864 Twiddle the auto initiate 12 years ago
Moxie Marlinspike dde2d2564a Fix rebase errors 12 years ago
Moxie Marlinspike 71664926e9 Better handling for unregistered users on outgoing message. 12 years ago
Moxie Marlinspike d4188c4a1c SHA256 attachment MACs. 12 years ago
Moxie Marlinspike f002072f38 New attachment API 12 years ago
Moxie Marlinspike 327ee4ff62 Remove unnecessary classes, up prekey limit to 100 12 years ago
Moxie Marlinspike 1ab4e7e9de Library accepts push connection certificate as argument. 12 years ago
Moxie Marlinspike ce5f3c5157 Validate phone numbers when formatting. 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 dc73bc2a5c Having calling code specify push URL to library. 12 years ago
Moxie Marlinspike 4380b46a35 Correctly update MMS security status. 12 years ago
Moxie Marlinspike fde8d32848 Subtle rebase conflicts... 12 years ago
Moxie Marlinspike dadabdfaa8 Make UI responsive to UniversalTransport upgrades. 12 years ago
Moxie Marlinspike c38a8aa699 Migrate to Curve25519.
1) Generate a Curve25519 identity key.

2) Use Curve25519 ephemerals and identities for v2 3DHE agreements.

3) Initiate v2 key exchange messages.

4) Accept v1 key exchange messages.

5) TOFU Curve25519 identities.
12 years ago
Moxie Marlinspike dbc070cd65 Refactor the ciphertext message parsing and building. 12 years ago
Moxie Marlinspike 44d59d0fd1 Correctly store destination SMS state. 12 years ago
Moxie Marlinspike 51b9affe90 Add federation support for attachment retrieval. 12 years ago
Moxie Marlinspike 246cd10454 Bundle e164 and relay into PushDestination 12 years ago
Moxie Marlinspike ca3c82f581 Simply PushServiceSocket constructor. 12 years ago
Moxie Marlinspike 5b2caa0074 Make relay arguments consistent. 12 years ago
Moxie Marlinspike fa5ccc3f8a Support for server federation. 12 years ago
Moxie Marlinspike 25a2ad7289 Add directory refreshing at 24hr intervals. 12 years ago
Moxie Marlinspike eb4cc7f4e5 Add incoming message sources to active token dir. 12 years ago
Moxie Marlinspike 1ac32346c1 Graduate to a rebased and gradle world. 12 years ago
Moxie Marlinspike 2d083208cc Handle negative directory case and unlisted contacts. 12 years ago
Moxie Marlinspike 75cca3add1 Resign ourselves to a less sophisticated contact intersection method. 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 5e6d39beea Move classes into library 12 years ago
Moxie Marlinspike 8f6590b738 Handle notifications and receiving push when locked. 12 years ago
Moxie Marlinspike 0dd36c64a4 Basic support for encrypted push-based attachments.
1) Move the attachment structures into the encrypted message body.

2) Encrypt attachments with symmetric keys transmitted in the
   encryptd attachment pointer structure.

3) Correctly handle asynchronous decryption and categorization of
   encrypted push messages.

TODO: Correct notification process and network/interruption
      retries.
12 years ago
Moxie Marlinspike cddba2738f Make encoding/decoding more explicit. 12 years ago
Moxie Marlinspike 0cc5837d7f Support encrypted transport, properly handle multiple recipients.
1) Add encryption support for the transport layer.  This obscures
   metadata from the push messaging provider.

2) Better support the direction multiple destination messages is
   headed (one unique message per recipient).
12 years ago
Moxie Marlinspike 68ec0a3727 Add last resort key and signaling key. 12 years ago
Moxie Marlinspike 45e380a5bb move constants into library 12 years ago
Moxie Marlinspike 1bbcedabd4 Added SMS transport support for PreKeyBundle messages.
1) Added SMS transport support.

2) Keep track of whether a PreKeyBundle message has gotten
   a response, and send them as subsequent messages until
   one has been received.
12 years ago
Moxie Marlinspike c3b8b62d32 Delete pre-key record when establishing agreement. 12 years ago
Moxie Marlinspike 43492b66c4 Rename EncryptedMessage 12 years ago
Moxie Marlinspike 7f642666dd Basic support for prekeybundle message delivery and receipt. 12 years ago
Moxie Marlinspike 1cc2762656 Refactor relationship between SessionCipher and Message. 12 years ago
Moxie Marlinspike d1969412fb Move PreKey ids to be Mediums, generate in circular buffer. 12 years ago
Moxie Marlinspike edb89ee3e9 Encode prekey as full JSON rather than protobuf blobs.
1) Split prekey messages out into full JSON.

2) Add support for retrieving prekeys.
12 years ago
Moxie Marlinspike 499de2d2bf Move prekey jsonifcation into the push code, add identity key. 12 years ago
Moxie Marlinspike b8f663b69c Move common crypto classes into TextSecureLibrary.
1) Move all the crypto classes from securesms.crypto.

2) Move all the crypto storage from securesms.database.keys

3) Replace the old imported BC code with spongycastle.
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 cfb7b8fcba Consider unregistered if authorization fails.
This should only occur if another device has registered with the
same number, effectively making the current device unregistered.
12 years ago
Moxie Marlinspike 03ff55db97 Actually set the preference to unregistered 12 years ago
Moxie Marlinspike fb378a6e00 Change attachment retrieval interface 12 years ago
Moxie Marlinspike 9287d413ac Support for incoming attachments.
1) Refactored MMS layer to use abstracted types.

2) Added support for retrieving attachment IDs.
12 years ago
Moxie Marlinspike 4bb337a3a0 Revised support for outgoing attachments 12 years ago
Moxie Marlinspike fd045f2354 Refactor MMS send/download to be synchronous.
1) Make the radio change a synchronous action with a timeout.

2) Move the send logic into an MmsTransport, in preparation for
   UniversalTransport composition.

3) Move the download logic into a synchronous receiver.
12 years ago
Moxie Marlinspike 53803630d4 Enable TextSecure universal transport. 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 52e5274a2f Add registration notification support. 12 years ago
Moxie Marlinspike 0ed9da9a2c Strings and slight cleanup 12 years ago
Moxie Marlinspike 26dadfcb7a Move trust store to raw resource from asset. 12 years ago
Moxie Marlinspike 1ac06312a0 Move directory and push service socket into library. 12 years ago
Moxie Marlinspike a200d29514 Move most of Util into library 12 years ago
Moxie Marlinspike 21eee19380 Split into library project and add shared preferences layer of indirection. 12 years ago
Moxie Marlinspike 0958c30400 Stringify 12 years ago
Moxie Marlinspike 3634ba0b55 Registration with voice verification. 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
nicky g a0c821f6ac set unread message count in notifications.
was not able to squash commit requesting new pull
12 years ago
Moxie Marlinspike d260cdcc9f Add giffgaff APN defaults. // FREEBIE 12 years ago
Moxie Marlinspike 496d5e21d2 Add Slovenia APN defaults 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
Veeti Paananen f18324e2d6 Add tab swiping in the contact picker 12 years ago
Andy Irving 91b52bed18 Don't stick thread IDs in the Intent extra data. Always mark all threads read from notification. 12 years ago
Moxie Marlinspike 7c2fb74af4 Fix for bug that could drop unencrypted MMS on KitKat. 12 years ago
Moxie Marlinspike 7489f3463a Change the way notifications work for non-default KitKat.
Messages that are not "secure" (encrypted or key exchange) are
automatically marked as read if TextSecure isn't the default
KitKat SMS app.

This change in functionality allows people who aren't using
TextSecure as a default SMS app on KitKat to still receive
notifications when they get incoming encrypted messages.
12 years ago
Andy Irving 7f44b029fe use PendingIntent.FLAG_UPDATE_CURRENT in calls to PendingIntent.getActivity() to avoid re-using the same extra data on every intent. 12 years ago
Moxie Marlinspike c2b809c7c6 Fix for long multipart message bug on some ROMs. 12 years ago
Moxie Marlinspike e0aa7fd359 Let unencrypted messages through. 12 years ago
Veeti Paananen 10580a7f20 Fix crash when no SMS package is set 12 years ago
Moxie Marlinspike aad82e314d Fix duplicate MMS bug in KitKat.
1) Fix for typo that caused duplicate incoming MMS.

2) Only pay attention to "use for all" properties in < KitKat.
12 years ago
Moxie Marlinspike fda01796ab Merge pull request #421 from wsot/master
Fix issue #410: DecryptingPartInputStream could return more data than re...
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
Gabe Conradi e81756f443 Proper SMS support for KitKat. 12 years ago
Simeon Morgan 4931d7327b Switch to two-space indentation, remove inline comments. 12 years ago
Simeon Morgan adfa3c1b10 Optimised use of buffers when decrypting to avoid unnecessary array copying properly. 12 years ago
Simeon Morgan 3cc6344c8b Optimised use of buffers when decrypting to avoid unnecessary array copying 12 years ago
Simeon Morgan 546dd5485c Fix issue #410: DecryptingPartInputStream could return more data than requested, causing segfaults in BitmapFactory on Android 4.4. 12 years ago
Moxie Marlinspike 73bf21602a Move ReceiveKeyActivity back to themed dialog activity. 12 years ago
Moxie Marlinspike 798e3c0656 Merge pull request #384 from meskio/383_batch_selection
Add deselect to batch selection mode
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 c7b39eca11 Add deselect to batch selection mode 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 f3fdde6040 Merge pull request #376 from meskio/extension_saving_attachment
Set the right extension on saving an attachment
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
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
Ruben Pollan 73b1e3f3d4 Set the right extension on saving an attachment 12 years ago
Moxie Marlinspike 8d115562f0 Merge branch 'master' of github.com:WhisperSystems/TextSecure 12 years ago
Moxie Marlinspike f26b9070f2 Update PRNG fix code sample.
Google updated their code sample to account for restrictive
SELinux configurations on some devices.
12 years ago
Moxie Marlinspike 2cbc4d3b0a Merge pull request #372 from meskio/key_notification
Upgrade notification KeyCachingService code to use NotificationCompat.Builder
12 years ago
Moxie Marlinspike ee8c8530bf Merge pull request #373 from d3sre/issues-273
Issues 273
12 years ago
Moxie Marlinspike 763e4b1b27 Merge pull request #367 from nikolai-r/master
add option to disable audible inthread notifications
12 years ago
Desiree Sacher 4f49216103 corrected class info of NullPointerException messages 12 years ago
Desiree Sacher ed4c8cd799 extended log of encrypted and plaintext messages NullPointerException 12 years ago
Ruben Pollan 4826dbcc34 Upgrade notification KeyCachingService code to NotificationCompat.Builder 12 years ago
Nikolai Rusakov 2cf7f82f07 closes #367 - add option to disable audible inthread notifications 12 years ago
Moxie Marlinspike 1c8f8666ba Make the switch to gradle!
1) ABS is now published as an AAR, so we can eliminate all local
   dependencies and bundled jars.

2) Upgrade to ABS 4.4.0 (The Last Release) and deal with the loss
   of Sherlock.Dialog by faking it with our own themes.

3) Remove all traces of ant. The modern world is here.
12 years ago
joshua stein 99e3e596bb Correctly preserve MMS image aspect ratios. 12 years ago