session-android/src/org/thoughtcrime/securesms
Moxie Marlinspike 926d3c929f Handle simultaneous initiate protocol case.
1) Modify SessionRecord to store a list of "previous" sessions
   in addition to the current active session.  Previous sessions
   can be used for receiving messages, but not for sending
   messages.

2) When a possible "simultaneous initiate" is detected, push the
   current session onto the "previous session" stack instead of
   clearing it and starting over.

3) Additionally, mark the new session created on a received
   possible "simultaneous initiate" as stale for sending.  The
   next outgoing message would trigger a full prekey refresh.

4) Work to do: outgoing messages on the SMS transport should
   probably not use the existing session if it's marked stale
   for sending.  These messages need to fail and notify the user,
   similar to how we'll handle SMS fallback to push users before
   a prekey session is created.
2014-04-02 22:10:50 -07:00
..
components Remove separators from names in recipient list 2014-03-25 11:11:20 -07:00
contacts Make default group avatar icon actually work. 2014-03-02 13:22:02 -08:00
crypto Handle simultaneous initiate protocol case. 2014-04-02 22:10:50 -07:00
database Minor ConversationList scrolling optimization. 2014-03-16 14:36:21 -07:00
gcm Tone down logging a bit. 2014-02-24 02:12:41 -08:00
mms Changed MMS Proxy setting for 24201 (Telenor) 2014-04-02 12:47:05 +02:00
notifications Give user the opportunity to chose no LED-notification. 2014-03-07 12:04:19 -08:00
preferences Use modern icons in info and alert dialogs for ICS+ 2014-03-01 14:42:12 +01:00
protocol Support for an 'end session' protocol message. 2014-02-19 13:50:32 -08:00
providers Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
push Display group actions and correctly handle group delivery. 2014-02-14 15:59:57 -08:00
recipients Make default group avatar icon actually work. 2014-03-02 13:22:02 -08:00
service more precise sms controls 2014-03-13 20:59:20 -07:00
sms Add 'leave group' functionality. Includes other bug fixes. 2014-02-22 10:54:43 -08:00
transport Handle simultaneous initiate protocol case. 2014-04-02 22:10:50 -07:00
util Fix #641 by using standard intent to select group avatar. 2014-03-27 12:44:56 +01:00
ApplicationListener.java Fix for Android PRNG bug. 2013-08-15 11:27:14 -07:00
ApplicationPreferencesActivity.java more precise sms controls 2014-03-13 20:59:20 -07:00
AutoInitiateActivity.java Don't prompt for auto-initiate if push registered (or active V2). 2014-02-20 12:55:02 -08:00
ContactSelectionActivity.java Support for multi-device. 2014-02-02 19:38:06 -08:00
ContactSelectionGroupsFragment.java Support for multi-device. 2014-02-02 19:38:06 -08:00
ContactSelectionListFragment.java Support for multi-device. 2014-02-02 19:38:06 -08:00
ContactSelectionRecentFragment.java Support for multi-device. 2014-02-02 19:38:06 -08:00
ConversationActivity.java scroll to the new message in conversation 2014-03-26 15:12:01 -07:00
ConversationAdapter.java pending messages more accurately conveyed to user 2014-03-03 11:56:54 -08:00
ConversationFragment.java scroll to the new message in conversation 2014-03-26 15:12:01 -07:00
ConversationItem.java more precise sms controls 2014-03-13 20:59:20 -07:00
ConversationListActivity.java Use the "screen security" preference for the conversation list 2014-03-04 21:04:04 +01:00
ConversationListAdapter.java Minor ConversationList scrolling optimization. 2014-03-16 14:36:21 -07:00
ConversationListFragment.java Merge pull request #905 from benalbrecht/dialog_icons 2014-03-02 14:01:52 -08:00
ConversationListItem.java embrace the darkness, don't open quickcontact for groups 2014-02-19 15:01:10 -08:00
CountrySelectionActivity.java Theme Support 2013-06-21 12:14:40 -07:00
CountrySelectionFragment.java Initial GCM registration 2013-05-06 08:40:55 -07:00
DatabaseMigrationActivity.java Enhanced import/export support. 2013-06-24 21:02:30 -07:00
DatabaseUpgradeActivity.java Fix for bug where messages are stuck in pending state after upgrade. 2014-02-25 20:57:18 -08:00
DummyActivity.java Workaround for Android bug when swiped from recent tasks list. 2014-03-03 11:45:05 -08:00
ExportFragment.java Use modern icons in info and alert dialogs for ICS+ 2014-03-01 14:42:12 +01:00
GroupCreateActivity.java Fix #641 by using standard intent to select group avatar. 2014-03-27 12:44:56 +01:00
GroupMembersDialog.java Listen for group updates, fix group updates, and Recipient marshing 2014-02-24 00:19:54 -08:00
IdentityKeyView.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
ImportExportActivity.java icon, contact list and conversation redesign 2014-01-09 19:06:41 -10:00
ImportFragment.java Use modern icons in info and alert dialogs for ICS+ 2014-03-01 14:42:12 +01:00
KeyScanningActivity.java Use modern icons in info and alert dialogs for ICS+ 2014-03-01 14:42:12 +01:00
LogSubmitActivity.java activity to submit logcat to pastebin 2014-02-25 22:14:21 -08:00
MmsPreferencesActivity.java icon, contact list and conversation redesign 2014-01-09 19:06:41 -10:00
PassphraseActivity.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
PassphraseChangeActivity.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
PassphraseCreateActivity.java Support skipping password creation at setup 2014-01-07 16:27:00 -08:00
PassphrasePromptActivity.java activity to submit logcat to pastebin 2014-02-25 22:14:21 -08:00
PassphraseRequiredActivity.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
PassphraseRequiredMixin.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
PassphraseRequiredSherlockActivity.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
PassphraseRequiredSherlockFragmentActivity.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
PassphraseRequiredSherlockListActivity.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
PassphraseRequiredSherlockPreferenceActivity.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
PromptMmsActivity.java Enhanced MMS configuration prompts and processing. 2013-10-20 16:56:34 -07:00
PushContactSelectionActivity.java directory changes to use number instead of token, group ui progress 2014-02-12 11:35:04 -08:00
PushContactSelectionListFragment.java more precise sms controls 2014-03-13 20:59:20 -07:00
ReceiveKeyActivity.java Correctly handle key conflict resolution for incoming push. 2014-02-22 14:22:12 -08:00
RegistrationActivity.java Use modern icons in info and alert dialogs for ICS+ 2014-03-01 14:42:12 +01:00
RegistrationProblemsActivity.java Registration with voice verification. 2014-01-06 14:18:30 -08:00
RegistrationProgressActivity.java Use modern icons in info and alert dialogs for ICS+ 2014-03-01 14:42:12 +01:00
Release.java New attachment API 2014-01-06 14:38:14 -08:00
ReviewIdentitiesActivity.java icon, contact list and conversation redesign 2014-01-09 19:06:41 -10:00
ReviewIdentitiesFragment.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
RoutingActivity.java Merge pull request #966 from backspace/add-video-sharing 2014-03-03 11:01:02 -08:00
SingleContactSelectionActivity.java Reload contact list after directory refresh // FREEBIE 2014-03-03 21:18:38 +01:00
SingleContactSelectionListFragment.java Reload contact list after directory refresh // FREEBIE 2014-03-03 21:18:38 +01:00
VerifyIdentityActivity.java icon, contact list and conversation redesign 2014-01-09 19:06:41 -10:00
ViewIdentityActivity.java Move common crypto classes into TextSecureLibrary. 2014-01-06 14:35:51 -08:00
ViewLocalIdentityActivity.java Merge pull request #941 from Wikinaut/add-new-string-ViewIdentityActivity_my_identity_fingerprint 2014-03-02 15:50:18 -08:00