539 Commits

Author SHA1 Message Date
Moxie Marlinspike
25a2ad7289 Add directory refreshing at 24hr intervals. 2014-01-06 14:35:54 -08:00
Moxie Marlinspike
1ac32346c1 Graduate to a rebased and gradle world. 2014-01-06 14:35:54 -08:00
Moxie Marlinspike
52e5274a2f Add registration notification support. 2014-01-06 14:21:51 -08:00
Moxie Marlinspike
3634ba0b55 Registration with voice verification. 2014-01-06 14:18:30 -08:00
Moxie Marlinspike
ce4f935fa6 Bump version to 1.0.6 2013-12-07 11:47:14 -08:00
Moxie Marlinspike
b2bd19d787 Bumping version to 1.0.5 2013-12-03 08:30:15 -08:00
Moxie Marlinspike
d89ef70060 Bump version number to 1.0.4 2013-12-02 21:44:28 -08:00
Moxie Marlinspike
8f7f1ea49c Bump version to 1.0.3 2013-12-02 17:34:07 -08:00
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.
2013-12-02 12:31:59 -08:00
Gabe Conradi
e81756f443 Proper SMS support for KitKat. 2013-12-02 08:32:34 -08:00
Moxie Marlinspike
f9c7687ce2 Bump version to 1.0.2 2013-10-21 10:30:09 -07:00
Moxie Marlinspike
b0e0011060 Add URI permissions to fix crash on 4.x environments. 2013-10-21 10:21:48 -07:00
Moxie Marlinspike
9c0db4c259 Bump version to 1.0.1 2013-10-20 19:15:36 -07:00
Moxie Marlinspike
73bf21602a Move ReceiveKeyActivity back to themed dialog activity. 2013-10-20 19:12:53 -07:00
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.
2013-10-20 16:56:34 -07:00
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.
2013-10-10 13:52:24 -07:00
Moxie Marlinspike
f58f79a459 Bumping version to 1.0 2013-08-16 10:16:13 -07:00
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
2013-08-15 11:27:14 -07:00
Moxie Marlinspike
8ecf972534 Bumping version to 0.9.9.9 2013-08-10 20:29:31 -07:00
Moxie Marlinspike
4722b7f005 bumping version to 0.9.9.8 2013-07-22 16:15:22 -07:00
Moxie Marlinspike
bccf4895f6 Bumping version to 0.9.9.7 2013-07-02 18:59:17 -07:00
Moxie Marlinspike
d97252d8d6 Add ability to disable local encryption passphrase. 2013-07-01 10:15:36 -07:00
Moxie Marlinspike
2db274080c Bumping version to 0.9.9.6 2013-06-26 09:25:32 -07:00
Moxie Marlinspike
4d723a21f6 Bumping version to 0.9.9.5 2013-06-26 08:56:36 -07:00
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.
2013-06-24 21:02:30 -07:00
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.
2013-06-21 12:14:40 -07:00
Moxie Marlinspike
2ffc70a95b Bumping version to 0.9.9.4 2013-06-18 17:07:36 -07:00
Moxie Marlinspike
dda5bc8838 Add a 'mark as read' button to expanded notifications. 2013-05-30 12:39:56 -07:00
Moxie Marlinspike
8c1ca6c9e0 Clean up identity key view activity 2013-05-23 18:54:16 -07:00
Moxie Marlinspike
ef7977128b Bumping version to 0.9.9.3 2013-05-21 18:11:18 -07:00
Moxie Marlinspike
018f5eccf3 Bumping version to 0.9.9.2 2013-05-17 12:57:14 -07:00
Moxie Marlinspike
d8e3e4c683 Bumping version to 0.9.9.1 2013-05-16 14:13:10 -07:00
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.
2013-05-06 08:40:55 -07:00
Moxie Marlinspike
303d1acd45 Initial client support for GCM message send/receive 2013-05-06 08:40:55 -07:00
Moxie Marlinspike
2f39283da3 Initial GCM registration 2013-05-06 08:40:55 -07:00
Moxie Marlinspike
c3e21f3f75 Bumping version to 0.9.8 2013-03-19 18:12:54 -07:00
Moxie Marlinspike
2d92b99fb3 Bumping version to 0.9.7 2013-03-15 09:27:07 -07:00
Moxie Marlinspike
0a769da9de Bumped version to 0.9.6 2013-03-14 10:10:40 -07:00
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.
2013-03-04 17:43:04 -08:00
Moxie Marlinspike
fa8208de33 Bumped version to 0.9.5 2013-03-03 22:56:53 -08:00
Moxie Marlinspike
27e039c4a6 Bumped version to 0.9.4 2013-03-03 18:44:04 -08:00
Moxie Marlinspike
c7e6a2afeb Bump version to 0.9.3 2013-02-24 13:54:51 -08:00
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.
2013-02-17 15:09:01 -08:00
Moxie Marlinspike
9e3da08d45 Bump version to 0.9.2 2013-02-14 20:50:29 -08:00
Moxie Marlinspike
0a7181670c Radio updates happen frequently on some phones, switch to dynamic. 2013-02-14 20:42:29 -08:00
Moxie Marlinspike
c38bcc72c8 Bumped version to 0.9.1 2013-02-12 21:45:36 -08:00
Moxie Marlinspike
3fac2ae97e Bumped version to 0.9 2013-02-12 14:07:10 -08:00
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.
2013-02-09 15:17:55 -08:00
Moxie Marlinspike
c426ed728a Bumped version to 0.8.6 2013-02-06 16:57:42 -08:00
Moxie Marlinspike
288e2b5572 Suppport receiving 'share' actions from other apps. 2013-02-02 20:37:40 -08:00
Moxie Marlinspike
6bdb0e2d66 Bump version to 0.8.5 2013-01-14 13:13:59 -08:00
Moxie Marlinspike
5f16da8fca Bumping version to 0.8.4 2013-01-02 13:47:42 -08:00
Moxie Marlinspike
61b6d11911 Remove permission to fix bug on 2.3.X devices. 2013-01-02 13:42:56 -08:00
Moxie Marlinspike
8e720e0ede Bumping version to 0.8.3 2013-01-01 15:42:02 -08:00
Moxie Marlinspike
e8c6acdec9 Bumped version to 0.8.2 2013-01-01 13:04:17 -08:00
Charles Munger
28326d1c10 Now requires permission for SMS broadcast reciever.
This should prevent other applications from sending spoofed SMS messages
via a broadcast intent.
2012-12-06 14:59:35 -08:00
Moxie Marlinspike
1496688ba0 Bump version to 0.8.1 2012-11-20 21:26:02 -08:00
Moxie Marlinspike
80a6c65790 We need READ_CALL_LOG if targetSDK is > 15. What a drag. 2012-11-20 19:09:46 -08:00
Moxie Marlinspike
d8cd09d46b Bumped version to 0.8 2012-11-03 14:36:49 -07:00
Moxie Marlinspike
0b3e939ac8 Improve support for "me" contact.
1) Add >= ICS profile support (the system-supported "me" contact).

2) Improve <= Gingerbread support for me contact by auto-detecting
contacts that have the same number as the SIM card.

3) Tie in identity key import/export support to the "me" contact.

4) Don't display a "me" selection option in preference if it can
be auto-detected.

5) Refactor out the ContactAccessorNewApi back into the base class.
2012-10-22 19:17:08 -07:00
Moxie Marlinspike
e29993e48f Bump version to 0.7.4 2012-10-15 19:56:12 -07:00
Moxie Marlinspike
090068ea66 Update version to 0.7.3 for repackaging. 2012-09-28 14:31:15 -07:00
Moxie Marlinspike
1b6c9eb2c1 Bump version to 0.7.2 2012-09-27 21:54:08 -07:00
Moxie Marlinspike
bb0ec65744 Include source origin in string key name.
This should help eliminate string duplicates, as well as provide
visibility into where strings in a resource file are being used.
2012-09-19 19:56:04 -07:00
Moxie Marlinspike
00e2e62c10 Bump version to 0.7.1 2012-09-14 10:45:40 -07:00
Moxie Marlinspike
6e07533bcd Bump version number to 0.7 2012-09-13 20:47:33 -07:00
Moxie Marlinspike
4715512194 Fixed auto-initiate layout on GB. 2012-09-12 19:47:40 -07:00
Moxie Marlinspike
3d3db421d3 Lint warning changes. 2012-09-09 16:10:46 -07:00
Moxie Marlinspike
4c3b7cbe08 Extract TextSecure strings for i18n.
1) Change all instances which use concatenation to build strings
with variables in them to use string formatting instead.

2) Extract all string literals from layouts and menus into strings.xml

3) Extract all string literals from code into strings.xml
2012-09-07 21:19:37 -07:00
Moxie Marlinspike
f6660dbef5 Bump version to 0.6.2 2012-08-07 20:29:22 -07:00
Moxie Marlinspike
3900808578 Bump version to 0.6.1 2012-08-06 19:45:48 -07:00
Moxie Marlinspike
b4eddc863c Bumped version numbers to 0.6 2012-08-06 10:28:57 -07:00
Moxie Marlinspike
2f6642a234 Add config change event introduced in API 13 to Activities. 2012-08-04 17:16:32 -07:00
Moxie Marlinspike
5c80423945 Keep keyboard active on compose orientation change. 2012-08-04 16:21:01 -07:00
Moxie Marlinspike
cffedb09a1 Do migration in backgrounded service. 2012-08-02 20:23:41 -07:00
Moxie Marlinspike
ef0a86398a Fix for dialogs on GB. 2012-07-31 14:18:14 -07:00
Moxie Marlinspike
1ff278dc81 Update the key exchange icon look. 2012-07-30 17:15:49 -07:00
Moxie Marlinspike
7cab26750b Switch to Contextual Action Bar goodness. 2012-07-26 16:21:45 -07:00
Moxie Marlinspike
a66cc636c6 Fix review identity activity UI. 2012-07-23 21:43:55 -07:00
Moxie Marlinspike
78998d0c93 Clean up key/identity verification Activites.
1) Get ride of the crazy button situation.
2) Actionbar-ify and abstract out the common actions.
3) Switch to full activities from dialog themes.
2012-07-23 13:42:29 -07:00
Moxie Marlinspike
863e1c6508 Fix the look of tabbed multi-contact selector.
1) Updated to ActionBar style.
2) Split out into fragments.
3) Switch to cursor loaders.
2012-07-20 22:23:25 -07:00
Moxie Marlinspike
c7e891eda4 Fix passphrase prompt dialog activity. 2012-07-19 22:54:44 -07:00
Moxie Marlinspike
eeeeac126c Suppress soft keyboard on Conversation load. 2012-07-19 17:02:31 -07:00
Moxie Marlinspike
b377fe84df New design for Conversation Activity.
1) Move to Fragments for the list view.
2) Switch to CursorLoader from my jankey self-managed cursor.
3) Add session security logic to the ActionBar.
4) Fix colors to be less ugly.
2012-07-19 14:22:03 -07:00
Moxie Marlinspike
3d9475676f Move to a Fragment world.
1) Start breaking the UI out into Fragments.
2) Switch to Cursor loaders from managed cursors.
3) Switch to inflated menu resources.
4) Break out some basic functionality into helper classes.
2012-07-18 15:35:13 -07:00
Moxie Marlinspike
b93bb69c28 Restyle conversation list view.
1. New look for quick contact badges.
2. No more unread indicator, replace with bolded text.
3. Style message count with color rather than parens.
4. Remove "New Message" item, add as item in action bar instead.
2012-07-16 21:35:32 -07:00
Moxie Marlinspike
607d14c6d7 Bump up minimum supported Android version, add ActionBarSherlock dep.
The minimum supported Android device is now 2.2 (Froyo).
And we're embracing the ActionBarSherlock madness.
2012-07-16 19:47:57 -07:00
Moxie Marlinspike
6a30867fd4 Bump version to 0.5.7 2011-12-21 01:40:02 -05:00
Moxie Marlinspike
bbea3fe1b1 Initial Project Import 2011-12-20 10:20:44 -08:00