Commit Graph

725 Commits (cef203f26103e44ac0364891a73756a906a22c6a)

Author SHA1 Message Date
Moxie Marlinspike d42c4229fd Update to latest zxing QR code scanner.
Closes #2078

// FREEBIE
11 years ago
Moxie Marlinspike e9b383d277 Add jobs for pending push messages during migration.
// FREEBIE
11 years ago
Moxie Marlinspike ea9a5decac Update gradle-witness and actually use spongycastle.
// FREEBIE
11 years ago
Jake McGinty eaf89735b8 encapsulated delivery icon to separate from lock
and as a bonus some tweaked text sizes and colors
// FREEBIE
11 years ago
Moxie Marlinspike 174324e2a0 Potential fix for BroadcastReceiver crash.
// FREEBIE
11 years ago
Moxie Marlinspike 35821d444e Move responsibility for Context injection out of JavaSerializer.
// FREEBIE
11 years ago
Moxie Marlinspike 5b08791086 Fix regression with providers being registered.
// FREEBIE
11 years ago
Jake McGinty 43adc75428 add icon back
// FREEBIE
11 years ago
Moxie Marlinspike 9215322846 Abstract out TrustStore interface.
// FREEBIE
11 years ago
Moxie Marlinspike bea26e83da Correctly process push messages with identity key conflicts. 11 years ago
Moxie Marlinspike a85dbce041 Correctly handle PKWM via SMS. 11 years ago
Moxie Marlinspike baaa3514d4 Fix delivery receipts in group messages.
Fixes #2056
Fixes #2067
Fixes #2087
11 years ago
Moxie Marlinspike 71fdaac1b2 Fix regressions for registration. 11 years ago
Moxie Marlinspike fb31319e52 Put everything under either internal or api. 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 28cb1ed85b Move DirectoryUtil up to parent. 11 years ago
Moxie Marlinspike cd9b20dc9d Move dependency up to parent. 11 years ago
Moxie Marlinspike f09abff407 Refactor out old classes. 11 years ago
Moxie Marlinspike 0d06d50a65 Let's have JobManager only deal with checked exceptions.
Also, switch to Builder for JobManager construction.
11 years ago
Moxie Marlinspike d9d4ec9d9d Fix some bugs with PKWM padding and attachment detection. 11 years ago
Moxie Marlinspike 9a6f65988f Add support for dependency injection, and accompanying tests. 11 years ago
Moxie Marlinspike 601e233d47 Add account management interface to libtextsecure api 11 years ago
Moxie Marlinspike ae178fc4ec Move API around a little, eliminate TransportDetails interface. 11 years ago
Moxie Marlinspike cafe03a70a Transition the outbound pipeline to JobManager jobs. 11 years ago
Moxie Marlinspike 99f42e2ee1 Move API around. 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 4cab657ebe clear pending slides when attachment reselected
Fixes #2012

// FREEBIE
11 years ago
Jake McGinty 7df49811b7 replace ABS with AppCompat
// FREEBIE
11 years ago
Jake McGinty ff2ac8a66e refactor ListenableFutureTask and make saves async
// FREEBIE
11 years ago
Jake McGinty 53da1f849a in-app image media preview
// FREEBIE
11 years ago
Jake McGinty 34aece0b43 revert content-type generics
// FREEBIE
11 years ago
Moxie Marlinspike 9768de2d5e Short circuit self-send.
// FREEBIE
11 years ago
Moxie Marlinspike 4cdc0a3e61 Make signed prekey generation happen through the job queue. 11 years ago
Moxie Marlinspike b568ce70b2 Make delivery receipts work correctly for groups. 11 years ago
Moxie Marlinspike b308996885 Switch to using our own JobManager.
// FREEBIE
11 years ago
Moxie Marlinspike 73d896f378 Index shouldn't be unique. 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 20cf775b1e Fix up routing activity actions. 11 years ago
Moxie Marlinspike 73b75a4a27 Fix build. 11 years ago
Moxie Marlinspike 27b5bf54cc Remove 1 mod 8. 11 years ago
Moxie Marlinspike 819982af7b Rearrange decrypt API.
1) Change SessionBuilder to only establish sessions via
   KeyExchangeMessage and PreKeyBundles.

2) Change SessionCipher to decrypt either WhisperMessage
   or PreKeyWhisperMessage items, automatically building
   a session for the latter.

3) Change SessionCipher to tear down new sessions built
   with PreKeyWhisperMessages if the embedded WhsiperMessage
   fails to decrypt.
11 years ago
Moxie Marlinspike 42cf53e487 Rename "pendingPreKey" to "unacknowledgedPreKeyMessage" 11 years ago
Moxie Marlinspike 3f299936bf Only create signed prekey if push registered. 11 years ago
Moxie Marlinspike 5f5ddd7c26 Generate SignedPreKey records, improve SignedPreKey cleanup. 11 years ago
Moxie Marlinspike 0d532afd8e Rename 'device key' to 'signed prekey'. 11 years ago
Moxie Marlinspike 07fd17ccda Add padding for push messages.
1) Use 'bit padding.'

1) By default, pad at 160 byte increments.
11 years ago
Moxie Marlinspike 811479d168 Add first cut of protocol v3 support.
1) Use the new /v2/keys API for storing/retrieving prekey bundles.

2) For sessions built with PreKeyBundle and PreKeyWhisperMessage,
   use a v3 ratcheting session when available.
11 years ago
Moxie Marlinspike 931605a1c4 Move identity key verification into libaxolotol. With tests. 11 years ago
Moxie Marlinspike a601c56af1 Collapse SessionRecord, SessionState, and PreKeyRecord interfaces. 11 years ago
Moxie Marlinspike 5a3c19fe3e Javadocs, and some minor refactoring. 11 years ago
Moxie Marlinspike af45e5d544 SessionBuilder improvements, more extensive SessionBuilder tests. 11 years ago
Moxie Marlinspike 72af8b11c2 Move session construction and KeyExchangeMessage into libaxolotl.
1) Add plain two-way key exchange support libaxolotl by moving
   all the KeyExchangeMessage code there.

2) Move the bulk of KeyExchangeProcessor code to libaxolotl
   for setting up sessions based on retrieved prekeys, received
   prekeybundles, or exchanged key exchange messages.
11 years ago
Moxie Marlinspike a1db221caf Collapse KeyExchangeMessage and KeyExchangeProcessor interfaces. 11 years ago
Moxie Marlinspike 14b8f97de2 Reorganize session store load/store operations. 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
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
Jake McGinty b5941fb3fd actually fallback when mms local params unset
// FREEBIE
11 years ago
Jake McGinty 2075bba86c switch back to BufferedInputStream
// FREEBIE
11 years ago
Jake McGinty 89fb80fcc5 MmsConnection refactor
- Use Apache HttpClient v4.x, only library that seems to like HTTP proxies
- Remove custom redirect logic in favor of library's

Fixes #1904
// FREEBIE
11 years ago
Jake McGinty b8a3e87f3d custom redirect logic
// FREEBIE
11 years ago
Jake McGinty 7316f17674 don't crash if we can't get an mccmnc
Fixes #1916
// FREEBIE
11 years ago
Veeti Paananen 609e69a801 Show date and year for ancient (> 1 year old) messages
The timestamp shown for very old messages only includes the time without
a date at all. Fix it. FREEBIE.
11 years ago
Jake McGinty 1b3bd32805 fallback to rough scaling if low memory
// FREEBIE
11 years ago
Moxie Marlinspike 877f2a25a9 Merge pull request #1887 from mcginty/mms-3xx
allow url client to follow redirects before checking response code
11 years ago
Jake McGinty eb462f0345 force redirects, get inputstream first 11 years ago
Moxie Marlinspike 102b40543d Merge pull request #1886 from mcginty/mms-bad-pdu-logging
enable more verbose PDU parse logging
11 years ago
Jake McGinty 12077c6dad enable more verbose PDU parse logging
// FREEBIE
11 years ago
Jake McGinty 7441c191a7 Format outgoing MMS using SMIL.
// FREEBIE

Closes #1879
11 years ago
Lukas Barth b355991b0b Remove superfluous repetition
//FREEBIE
11 years ago
Jake McGinty a0842f329f disable localized collators in ApnDB
// FREEBIE
11 years ago
Jake McGinty 9b495d8c83 prevent another cursor leak
// FREEBIE
11 years ago
Moxie Marlinspike 5264ebed67 Avoid leaking cursor.
// FREEBIE

Closes #1838
11 years ago
Jake McGinty 7f51f9fd5b apntool and ApnDatabase
// 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
Moxie Marlinspike f4e9c4a710 Minor MMS cleanup.
// FREEBIE

Closes #1827
11 years ago
Jake McGinty 28e14f47cf use URLConnection for MMS because it's better
// FREEBIE
11 years ago
Jake McGinty 213715a0dc braces around loop, proper spacing
// FREEBIE
11 years ago
Moxie Marlinspike 7b0479ff0f requestRouteToHost of URL rather than MMSC on MMS Download
// FREEBIE

Closes #1806
11 years ago
rymdhund feabbb33d2 MMS Fixes
1) Respect proxyIfPossible flag and make sure to try all mms APNs

2) Reorder mmsc connection process
11 years ago
rymdhund d3da409774 Add time to saved media filenames
see #1689
// FREEBIE
11 years ago
Jake McGinty b61e7839f4 prevent MMS notification NPE
// FREEBIE
11 years ago
Jake McGinty 306c127803 fix EmojiLRU concurrency exception
// FREEBIE
11 years ago
Jake McGinty 239a11bfd2 fix unused argument
// FREEBIE
11 years ago
Jake McGinty de63b0dd96 make reminder a custom view, make push reminder
// FREEBIE
11 years ago
Jake McGinty eb4ac40051 don't use old emoji recents, broken
Fixes #1782
// FREEBIE
11 years ago
Moxie Marlinspike 8726dd51be Can't toast on this thread.
// FREEBIE
11 years ago
Moxie Marlinspike 861d27279d Whoops, add GcmRegistrationService to Manifest.
// FREEBIE
11 years ago
Veeti Paananen 9e74b5c892 Remove gray placeholder squares while loading emoji 11 years ago
Veeti Paananen 3597915d17 Add a backspace key to the emoji drawer 11 years ago
Veeti Paananen 40ce0cebe0 Fix emoji backwards compatibility recents crash
The old emoji drawer stored emoji with a .png suffix. Replace it during
list deserialization.
11 years ago
Jake McGinty 7d688846f9 Move default SMS and system import to "reminders"
// FREEBIE
Closes #1730
11 years ago
McLoo acc7c4c1c6 Null check for cipher text to prevent NPE on decryption
Fixes #1703
Closes #1728
// FREEBIE
11 years ago
Jake McGinty 530ad7bc86 new emoji drawer
// FREEBIE
Closes #1746
11 years ago
Jake McGinty bea3c33223 disable passphrase creation on registration
// FREEBIE
Closes #1726
11 years ago
Moxie Marlinspike 9ef14a0f64 Upgrade to new GCM API. 11 years ago
Moxie Marlinspike 40698212bb Create a Curve25519 asymmetric master secret for users without.
Fixes #1701
11 years ago