Commit Graph

77 Commits (dc903e49af94de4339b90e1e757d5f2948536435)

Author SHA1 Message Date
Moxie Marlinspike dc903e49af Fix image cache bugs.
1) Index SlideDeckListener cache by MMS (id, timestamp) tuple.

2) Index parts by (id, content_id) tuples.

Fixes #840
Closes #3183
// FREEBIE
10 years ago
Jake McGinty 26c4d746d2 make part and mms insertion a single transaction
fixes #3051
closes #3059
// FREEBIE
10 years ago
Rhodey Orbits 9ba19df2af Eliminate ghost thread when all messages deleted in a thread.
Fixes #2262
Closes #2842

// FREEBIE
10 years ago
Jake McGinty 6a6f900b7d Fix NPE when 'from' missing in NotificationInd
Fixes #2806
// FREEBIE
10 years ago
Moxie Marlinspike a4e18c515c Remove encrypted SMS transport, simplify transport options.
Closes #2647

// FREEBIE
10 years ago
Moxie Marlinspike 5602a3dfc0 Update to latest version of libtextsecure for simplified interface.
1) Switch to new TextSecureAddress addressing, rather than mixing
   long-based recipient IDs into libtextsecure.

2) Get rid of RecipientFormattingException throws in calls to
   RecipientFactory.

Closes #2570
10 years ago
Moxie Marlinspike 00d7b5c284 Better UX handling on identity key mismatches.
1) Migrate from GSON to Jackson everywhere.

2) Add support for storing identity key conflicts on message rows.

3) Add limited support for surfacing identity key conflicts in UI.
10 years ago
Jake McGinty 242dbef54e Prevent NPE when MMS's FROM PduHeader is missing
Fixes #1448
// FREEBIE
10 years ago
Jake McGinty 12845da91a use PartDatabase to look up thumbnails async
// FREEBIE

Closes #2286
10 years ago
McLoo 3ec95f7a8e More l10n - for decrypting errors
//FREEBIE

Closes #2231
10 years ago
Jake McGinty 07bb07c342 streaming media
// FREEBIE
10 years ago
Moxie Marlinspike d72a3ec669 Do thread trimming as JobManager job rather than AsyncTask.
// FREEBIE
11 years ago
Moxie Marlinspike 08ed90c5ec Split out Util functions. 11 years ago
Moxie Marlinspike 0d102f76cc Move ListenableFutureTask up to parent. 11 years ago
Moxie Marlinspike cafe03a70a Transition the outbound pipeline to JobManager jobs. 11 years ago
Moxie Marlinspike a3f1d9cdfd Beginning of libtextsecure refactor.
1) Break out appropriate components.

2) Switch the incoming pipeline from SendReceiveService to
   the JobManager.
11 years ago
Jake McGinty ff2ac8a66e refactor ListenableFutureTask and make saves async
// FREEBIE
11 years ago
Moxie Marlinspike 9768de2d5e Short circuit self-send.
// FREEBIE
11 years ago
Moxie Marlinspike b568ce70b2 Make delivery receipts work correctly for groups. 11 years ago
Moxie Marlinspike 36ec1d84a1 Implement delivery receipts.
1) Support a "receipt" push message type.

2) Identify messages by timestamp.

3) Introduce a JobManager to handle the queue for network
   dependent jobs.
11 years ago
Moxie Marlinspike d902c12941 Break core ratchet out into libaxolotol.
1) Break the core cryptography functions out into libaxolotol.

2) The objective for this code is a Java library that isn't
   dependent on any Android functions.  However, while the
   code has been separated from any Android functionality,
   it is still an 'android library project' because of the
   JNI.
11 years ago
Moxie Marlinspike 68747142d6 Add correct contextual menu options on 'Send' button.
[Send TextSecure message | Send unencrypted SMS | Send encrypted SMS]

// FREEBIE
11 years ago
Moxie Marlinspike 0574ec170a Display legacy message error when V1 message is received. 11 years ago
Moxie Marlinspike 1d07ca3e6f Remove V1 code. 11 years ago
Jake McGinty b715debefc mark auto-fallback to sms as forcedSms
// FREEBIE
11 years ago
Jake McGinty 832763f695 UX for unencrypted fallback case 11 years ago
Moxie Marlinspike fd1a18d2d0 Don't display duplicate push messages. 11 years ago
Jake McGinty d827ab1b36 more precise sms controls
// FREEBIE
11 years ago
Pat McLaughlin d229a4274c Also check cc for duplicates 11 years ago
Moxie Marlinspike 0b4fe84a41 Format-neutral compare numbers in MMS group with local device.
Closes #1018
11 years ago
Moxie Marlinspike a6e1d56cde Refactor group messaging protocol.
// FREEBIE
11 years ago
Moxie Marlinspike ccd1691b22 Make 'push' status a type bit on both incoming and outgoing msgs. 11 years ago
Moxie Marlinspike 3ca25de034 Fix for MMS decoding when no SIM is available. 11 years ago
Moxie Marlinspike ff238a1ce9 Indicate a message was delivered via push in its delivery status. 11 years ago
Moxie Marlinspike 9614dc9055 Refactor group database model and flow.
1) Use existing DB types instead of adding new columns.

2) Store group attributes in message body, like everything else.
11 years ago
Moxie Marlinspike b9f4fba98a Handle identity key mismatch on outgoing group messages.
Additionally, make the group creation process asynchronous.
11 years ago
Moxie Marlinspike 4e703d5a00 Correct retry logic for SMS JB+ and for push groups. 11 years ago
Moxie Marlinspike 067799be06 Display group actions and correctly handle group delivery. 11 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.
11 years ago
Moxie Marlinspike 49daa45dca wip 11 years ago
Moxie Marlinspike dde2d2564a Fix rebase errors 11 years ago
Moxie Marlinspike 4380b46a35 Correctly update MMS security status. 11 years ago
Moxie Marlinspike fde8d32848 Subtle rebase conflicts... 11 years ago
Moxie Marlinspike 5e6d39beea Move classes into library 11 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.
11 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.
11 years ago
Moxie Marlinspike 9287d413ac Support for incoming attachments.
1) Refactored MMS layer to use abstracted types.

2) Added support for retrieving attachment IDs.
11 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.
11 years ago
Moxie Marlinspike a200d29514 Move most of Util into library 11 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