Commit Graph

216 Commits (1c8f8666ba19decd4eec46c03cb6873dcb1352f1)

Author SHA1 Message Date
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
Steve R 45f4faaf4c Fix for timeout interval bug
Regardless of which theme is used, the text color for the timeout
  interval was being set to black. This made it difficult to
  read when using the Dark Theme.
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
Moxie Marlinspike 8281ef18d4 Fix for ShortBufferException problem introduced in Android 4.3
Not really sure how it's possible for the system to give us an
extra block of data, but it does if both the input and output
buffers are sized the same during the first decrypt.  This
fixes things, but I wish I better understood why it was broken.
12 years ago
Moxie Marlinspike 7bd520cb41 Fix for batch selection bug 12 years ago
Moxie Marlinspike 7d07d56fc3 Fix for 'bad encrypted message' errors.
1) There was a regression in the outgoing multipart transport
   logic, such that the same 'identifier' byte would be used
   for all messages (0).  This now works correctly.

2) Added some additional heuristics on the receiving side.
   Now mutlipart containers are only valid for 1hr, and are
   considered invalid if the container size is different from
   the multipart message size.
12 years ago
Moxie Marlinspike 4281df7a28 display emoji correctly on devices of all densities 12 years ago
Moxie Marlinspike c827f0a2a7 Merge pull request #249 from joeykrim/patch-1
Small clarification in the comments on the types of SMS to ignore
12 years ago
joeykrim 8464bc775a Removed extra comparisons by converting original phrase to uppercase, then comparing
Removed previous multiple comparisons that were variations of capitalizing the same phrase by converting the original phrase to all uppercase and then comparing
12 years ago
joeykrim c89cac8785 Changed new Thread() to use new AsyncTask()
Changed new Thread() to use new AsyncTask() - same as was done in src/org/thoughtcrime/securesms/service/KeyCachingService.java - d97252d8d6
12 years ago
Moxie Marlinspike dfa710a6fc Don't use ConnectivityManager checkRouteToHost for IPv6
T-Mobile LTE now uses IPv6 addresses for their MMSC, which are
incompatible with ConnectivityManager's checkRouteToHost.
12 years ago
joeykrim 87e8214bae Small clarification in the comments on the types of SMS to ignore 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 4977092f7a Add support for soft keyboard 'enter' key. 12 years ago
Moxie Marlinspike 93c222fe9c Added "recent emoji" panel as an LRU cache. 12 years ago
Moxie Marlinspike 71e161c792 Switched to new emoji lookup pattern, added rendering support. 12 years ago
Moxie Marlinspike 2e31cfed11 Basic support for composing emoji 12 years ago
Moxie Marlinspike 288b416988 Fix NPEs 12 years ago
Moxie Marlinspike e00914c977 Fix QR Code Regression. 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 8524cc5598 Resolved a few MMS issues.
1) Fixed the "Unsupported Encoding!" problem.

2) Workaround for the Sprint issue, where the MMSC is adding a single
   extra byte to the end of each encrypted message.

3) Fixed the "large blob of base64 text" on encrypted MMS problem.
12 years ago
Moxie Marlinspike d2a78ea84c Fix for contrived NPE on invalid recipient during conversation compose. 12 years ago
Moxie Marlinspike ad1d927437 Fix for NPE when group selection fragment is no longer attached to activity. 12 years ago
Moxie Marlinspike 0534f9d95a Fix for NPE on null FROM in MMS header. 12 years ago
Moxie Marlinspike dda5bc8838 Add a 'mark as read' button to expanded notifications. 12 years ago
Moxie Marlinspike 8c1ca6c9e0 Clean up identity key view activity 12 years ago
Moxie Marlinspike 95eb62190a Remove checkboxes from the multi-select UI 12 years ago
Moxie Marlinspike 3743c57edd Clean up list of identity keys. 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 e080449383 Fix for NPE on import 12 years ago
Moxie Marlinspike a0a6c3f211 Handle failed bitmap decoding 12 years ago
Moxie Marlinspike 3df67a1643 Properly return unknown recipient from SMS db on empty. 12 years ago
Moxie Marlinspike b99cca8bfa Fix for NPE on failed icon click. 12 years ago
Moxie Marlinspike c86e414c5f Include (somehow missed) support for send/receive encrypted MMS. 12 years ago
Moxie Marlinspike e5f634ba45 Fix for NPE 12 years ago
Moxie Marlinspike be34f30719 Lower maximum size of cursor window on DB upgrade.
On some systems, the DB upgrade was failing because there were
too many rows for the cursor window.  This moves some looping
operations into single update statements by using the substr()
command, and chunks the rest using a series of LIMITs.
12 years ago
Moxie Marlinspike ad6760b62c Correctly handle deferred processing of key exchange message when locked. 12 years ago
Moxie Marlinspike 3d49e90779 Add Virgin Mobile US to ApnDefaults. 12 years ago
Moxie Marlinspike ef554ed265 Remove leaky logging. 12 years ago
Moxie Marlinspike 5c8fa148ca Limit UniversalTransport to SMS for now. 12 years ago
Moxie Marlinspike 5d910a2997 Store last seen application version number at install time. 12 years ago
Moxie Marlinspike e07c1a8e92 Handle failed MMS connectivity state appropriately. 12 years ago
Moxie Marlinspike 43214a854c Fix for IllegalArgumentException with null URL host. 12 years ago
Moxie Marlinspike ff41c6763d Fix for detached illegalstateexception 12 years ago