Commit Graph

644 Commits (503d1ef452b794bd21d3f2fecd1dcde81e411453)

Author SHA1 Message Date
Moxie Marlinspike 5a3daf4846 Curve25519 keys to 1 mod 8 for ephemerals. 11 years ago
Moxie Marlinspike fd1a18d2d0 Don't display duplicate push messages. 11 years ago
Moxie Marlinspike ad5d6d5bb7 Add refresh path for PreKey queue. 11 years ago
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.
11 years ago
thoughtbox 0d7363e36e Changed MMS Proxy setting for 24201 (Telenor)
Going forward, Telenor will be using FQDN.
11 years ago
Jake McGinty ca6d8a8a0d refactor and improve contact selection
* unify single and multi contact selection activities
* follow android listview design recommendations more closely
* add contact photos to selection
* change indicator for push to be more obvious
* cache circle-cropped bitmaps
* dedupe numbers when contact has multiple of same phone number

// FREEBIE
11 years ago
Moxie Marlinspike c414334059 Merge pull request #1228 from backspace/support-commas-in-contact-names
Remove commas in names in recipient list string
11 years ago
Moxie Marlinspike 24a38985cf Merge pull request #1249 from mcginty/convo-scroll
scroll to the new message in conversation
11 years ago
Brian Conway 60f2d4d6b6 Add APN for Aio wireless (USA).
Source: http://www.aiowireless.com/support/Apps-and-Services/Bring-Your-Own-Device-BYOD/customer/Bring-Your-Own-Android.html
11 years ago
Jake McGinty 06659fd98f hide screen security when unsupported
// FREEBIE
11 years ago
Dorian Scholz a183f8d387 Fix #641 by using standard intent to select group avatar.
The ACTION_GET_CONTENT used with cropping is not supported on all devices.
To make this work more reliably I removed the cropping and MediaStore.EXTRA_OUTPUT.
The image is now read via getContentResolver().openInputStream() which should work on all device including KitKat/CM11.
11 years ago
Jake McGinty 216446c55b scroll to the new message in conversation
// FREEBIE
11 years ago
Buck Doyle bc143059f6 Remove separators from names in recipient list
Fixes #1225 and #1174
11 years ago
Jake McGinty 33000582ed one more try at that one..
// FREEBIE
11 years ago
Jake McGinty e651f352bb fix NPE in isPushDestination
// FREEBIE
11 years ago
Buck Doyle cab4a06974 Remove commas in names in recipient list string
Fixes #1225
11 years ago
Moxie Marlinspike b860aeff85 Minor ConversationList scrolling optimization. 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
3xo 64711771f0 Fix locale when using country codes. 11 years ago
Moxie Marlinspike ad54d2a05f Modify string tag.
//FREEBIE
11 years ago
Moxie Marlinspike 0b4fe84a41 Format-neutral compare numbers in MMS group with local device.
Closes #1018
11 years ago
Moxie Marlinspike b855a1805f Mark message details on pending messages as such.
Closes #1034
11 years ago
3xo 339193af12 Give user the opportunity to chose no LED-notification. 11 years ago
Manuel b6a9eb5bf2 Closes #913: Message ID is -1 when called in aggregate 11 years ago
Joel Stanley 667d22bace ConversationFragment: enable back button to dismiss
The ConversationFragment has a AlertDialog for showing the message
details, which sets the cancelable property to be false. This stops the
user from being able to use the back button to dismiss the dialog.
11 years ago
Moxie Marlinspike 003095b08c Merge pull request #1020 from lxgr/fix-screensec
Use the "screen security" preference for the conversation list
11 years ago
Jake McGinty d121d9531e Merge pull request #992 from veeti/overdraw
Fix overdraw issues in the conversation view
11 years ago
Veeti Paananen 42aeca26f1 Fix overdraw issues in the conversation view
Remove the redundant window background and row backgrounds to improve
drawing performance.
11 years ago
Jake McGinty 054fcdca8d Merge pull request #1007 from SamWhited/issue998
s/Verify Recipient/Verify Identity/
11 years ago
Lukas Ribisch 278220cf18 Use the "screen security" preference for the conversation list
It was previously only used for ConversationListActivity. This should be all
the locations (according to a grep for FLAG_SECURE).

FREEBIE
11 years ago
Sam Whited fa423e4432 s/Verify Recipient/Verify Identity/ 11 years ago
Moxie Marlinspike dc77c43435 Merge pull request #796 from mcginty/pending_messages
pending messages more accurately conveyed to user
11 years ago
Lukas Barth 48f5b932f7 Reload contact list after directory refresh // FREEBIE
I forgot that in my PR, it seems.
11 years ago
Jake McGinty 90169e9468 pending messages more accurately conveyed to user 11 years ago
Moxie Marlinspike b5fe378bc9 Workaround for Android bug when swiped from recent tasks list.
Closes #168

https://code.google.com/p/android/issues/detail?id=53313
11 years ago
Moxie Marlinspike 0f53c9d170 Merge pull request #966 from backspace/add-video-sharing
Support videos from other apps. Fixes #949
11 years ago
Moxie Marlinspike 3474950830 Merge pull request #956 from tinloaf/refreshfromlist
Add possiblity to refresh the push directory directly from contact list
11 years ago
Lukas Barth 39ee363150 Add possiblity to refresh the push directory directly from the contact picking list. Fixes #835. Fixes #859.
Thanks benalbrecht for the icons.
11 years ago
Buck Doyle 411e3ceff6 Support videos from other apps. Fixes #949 11 years ago
Benjamin Albrecht 716fdefa4c Use icon from #905 for push message disable confirmation box
//FREEBIE
11 years ago
Moxie Marlinspike 2dc893730a Auto-update every 12 hours instead.
// FREEBIE
11 years ago
Moxie Marlinspike 977765c80f Merge pull request #941 from Wikinaut/add-new-string-ViewIdentityActivity_my_identity_fingerprint
add new string ViewIdentityActivity_my_identity_fingerprint
11 years ago
Thomas Gries 4b2d07ab35 add new string ViewIdentityActivity_my_identity_fingerprint 11 years ago
Benjamin Albrecht 2f7c005c23 Show confirmation box before disabling push messages 11 years ago
Moxie Marlinspike 367b481d07 Merge pull request #905 from benalbrecht/dialog_icons
Use modern icons in info and alert dialogs for ICS+
11 years ago
Moxie Marlinspike 5cd8c922d2 Merge pull request #648 from veeti/tweaks-and-polish
Assorted tweaks and polish
11 years ago
Moxie Marlinspike a2fe8a9d5c Make default group avatar icon actually work. 11 years ago
Benedict Pregler e0394b4481 a little typo mistake 11 years ago
Veeti Paananen a020a57be6 End conversation selection action mode if all deselected
This seems to be common convention in most apps.
11 years ago
Veeti Paananen 757cb1c846 Add touch highlight to contact photos 11 years ago
Benjamin Albrecht 0f6c7660cb Use modern icons in info and alert dialogs for ICS+ 11 years ago
Moxie Marlinspike 8ea4db03db Better support for local storage with passphrase disabled.
1) Never get into a state where messages aren't displayed
   unencrypted.

2) Fix bug where locked DB required launching twice.
11 years ago
Moxie Marlinspike 81ee9e31c5 Update behavior for incoming SMS path.
1) On KitKat, unencrypted SMS messages are never stored in
   TextSecure unless it is set as the system-wide default.

2) On KitKat, if TextSecure is set as the system-wide default,
   provide an option to change the default to a different app.

3) Don't store the TextSecure challenge on KitKat+ devices.
11 years ago
Moxie Marlinspike a3e900ecbe Merge pull request #794 from SamWhited/issue788
Add option to disable screen security
11 years ago
Sam Whited 384fb3b2b5 Add option to disable screen security
See WhisperSystems/TextSecure#788
11 years ago
Moxie Marlinspike d795aa30b3 Merge pull request #795 from benalbrecht/nocount
Don't show letter count when SMS mode is disabled
11 years ago
Benjamin Albrecht bf60f90019 Don't show letter count inside a push group or when SMS mode is disabled 11 years ago
Matt Enright 852ca2ac05 Don't display sender in outgoing message details
Because we don't know it. Fixes WhisperSystems#711.
11 years ago
Moxie Marlinspike 3b25b87aa8 Fix for NPE 11 years ago
Moxie Marlinspike 5a62856e46 Make SMS delivery reports optional. 11 years ago
Moxie Marlinspike 37a52df4e6 Fix bug that broke notifications for group messages. 11 years ago
Jake McGinty 0015711759 migrate logcat submit to preferences
// FREEBIE
11 years ago
Jake McGinty ce68429a9b activity to submit logcat to pastebin 11 years ago
Moxie Marlinspike 7987362c25 Fix for bug where messages are stuck in pending state after upgrade. 11 years ago
Moxie Marlinspike dec7fd4c8a Fix for NPE with audio attachments. 11 years ago
Moxie Marlinspike 82df23dd41 Temporarily bring back end session. 11 years ago
Moxie Marlinspike ce710b378f Fix for stalled retries. 11 years ago
Moxie Marlinspike 20fd881613 Display error code from server when already registered elsewhere. 11 years ago
Jake McGinty 5fa429b0d5 Merge pull request #676 from mcginty/emoji_density
Fix emoji density scaling issues
11 years ago
Jake McGinty 630dce04fc handle emoji density scaling more correctly 11 years ago
Moxie Marlinspike 0da1d8818e Merge pull request #729 from funk78/feature/use_getDeviceE164Number
FREEBIE reuse code
11 years ago
droidastic c84285c639 FREEBIE reuse code 11 years ago
Moxie Marlinspike 5a525a2e58 Switch KCS priority to MIN on JB+. Eliminates icon in status bar! 11 years ago
Tim Bücher bd167cbb17 Fix missing localozation strings for custom LED blink pattern. 11 years ago
Jake McGinty a0aaa7d724 Explain why SMS fallback is disabled when it is 11 years ago
Moxie Marlinspike 52ff4ecfd2 Fix to make emoji work in push groups. 11 years ago
Moxie Marlinspike 43c1576aab Fix for bad database migration. 11 years ago
Jake McGinty 829a92d371 contact selection reactive to dark theme
// FREEBIE
11 years ago
Moxie Marlinspike 377a332789 Tone down logging a bit. 11 years ago
Moxie Marlinspike 2ab8c77748 Correctly update group title. 11 years ago
Moxie Marlinspike d5f0415907 Merge branch 'master' of github.com:WhisperSystems/TextSecure
Conflicts:
	src/org/thoughtcrime/securesms/GroupCreateActivity.java
	src/org/thoughtcrime/securesms/database/GroupDatabase.java
11 years ago
Moxie Marlinspike 5000957b99 Listen for group updates, fix group updates, and Recipient marshing 11 years ago
Jake McGinty fc12f2cf8e disable subtitle for push groups
// FREEBIE
11 years ago
Jake McGinty e3aed66ded avatar was getting nulled with any update, no more "unsetting"
// FREEBIE
11 years ago
Jake McGinty f30304423d lose SD card dependency, fix NPEs
// FREEBIE
11 years ago
Jake McGinty 86b3de2a93 group updates do things
// FREEBIE
11 years ago
Moxie Marlinspike da344a0218 Fix bug with recycled ListItems. 11 years ago
Jake McGinty aab34e491e fix bug where sdk < kitkat is unjustly punished 11 years ago
Moxie Marlinspike e80de7de2b Fix bug where adding attachment duplicates recipient count. 11 years ago
Jake McGinty 3dd27ed59a push conversation messages are now blue
// FREEBIE
11 years ago
Moxie Marlinspike ca2eecaedf Add advanced preference for refreshing push directory. 11 years ago
Moxie Marlinspike e188f62d70 Shunt BCC messages directly to MMS transport. 11 years ago
Moxie Marlinspike 8093b14922 Be sure we don't let MMS out if the transport is disabled. 11 years ago
Moxie Marlinspike 636c50b3b8 Fix for creating non-push groups. 11 years ago
Moxie Marlinspike 9298dded15 Only disable inactive *push* group conversations. 11 years ago
Jake McGinty 8794661433 fix "end session" inflation
// FREEBIE
11 years ago
Moxie Marlinspike 125a60290f Correctly handle key conflict resolution for incoming push. 11 years ago
Moxie Marlinspike 315cf2d8e4 Eliminate concept of group 'owner'. 11 years ago
Moxie Marlinspike da57a689c1 Fill in some strings.
// FREEBIE
11 years ago
Moxie Marlinspike 9c9866e7ee Add 'leave group' functionality. Includes other bug fixes. 11 years ago
Moxie Marlinspike a6e1d56cde Refactor group messaging protocol.
// FREEBIE
11 years ago
Jake McGinty b855f8a163 fix single contact selection for contacts with multiple phones
// FREEBIE
11 years ago
Jake McGinty 7beab36c6a updates to conversation menu, and updating of group info
// FREEBIE
11 years ago
Moxie Marlinspike ccd1691b22 Make 'push' status a type bit on both incoming and outgoing msgs. 11 years ago
Moxie Marlinspike 2026330f8a Remove dead code. 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 918f223149 Add preference to disable the SMS channel all together.
1) If the SMS fallback preference is disabled, no outgoing
   messages will succeed via the SMS transport.

2) If the SMS fallback preference is disabled, "mirroring" the
   SMS db state when not the default system SMS app is disabled.
11 years ago
Moxie Marlinspike c5821f770a Don't prompt for auto-initiate if push registered (or active V2). 11 years ago
Moxie Marlinspike 5b22a7bdcb Create Curve25519 identities in the next release. 11 years ago
Moxie Marlinspike 2a74dc8d82 Update the conversation UI after aborting a V1 session. 11 years ago
Moxie Marlinspike 145e4335fc Only send round-trip key exchanges over SMS. 11 years ago
Moxie Marlinspike 1d4d9663db Fix for NPE 11 years ago
Jake McGinty a0cbbd2d21 confirm session abort handler in ConversationItem
// FREEBIE
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
Jake McGinty 0cdc6fd87d embrace the darkness, don't open quickcontact for groups
// FREEBIE
11 years ago
Moxie Marlinspike 19dddd7adf Support for an 'end session' protocol message.
1) On the push side, this message is a flag in PushMessageContent.
   Any secure message with that flag will terminate the current
   sessin.

2) On the SMS side, there is an "end session" wire type and
   the convention that a message with this wire type must be
   secure and contain the string "TERMINATE."
11 years ago
Jake McGinty 0688dd0c2c repurpose ImageDivet for avatar, minor lint, fix bitmap decoding
// FREEBIE
11 years ago
Jake McGinty 9d9a0ec218 collection of fixes based on comments/small aesthetic stuff // FREEBIE 11 years ago
Jake McGinty e05bacd8c3 fixing avatar selection when some gallery apps won't return any extras
but still succeed // FREEBIE
11 years ago
Moxie Marlinspike 760c96171d Merge branch 'master' into groups 11 years ago
Moxie Marlinspike 3999171377 Introduce registration-time ID for detecting stale sessions.
1) At registration time, a client generates a random ID and
   transmits to the the server.

2) The server provides that registration ID to any client
   that requests a prekey.

3) Clients include that registration ID in any
   PreKeyWhisperMessage.

4) Clients include that registration ID in their sendMessage
   API call to the server.

5) The server verifies that the registration ID included in
   an API call is the same as the current registration ID
   for the destination device.  Otherwise, it notifies the
   sender that their session is stale.
11 years ago
Jake McGinty abce678cb4 received group messages aren't processed as "meta" group stuff, oops. 11 years ago
Jake McGinty fb75d90edc fix bug where it opened wrong thread for TS group creates 11 years ago
Jake McGinty 25324a45b3 Show something for unnamed groups, allow us to have different default photos for groups vs. individuals 11 years ago
Jake McGinty 877ed8f59c Show TS group titles properly, hide MMS options 11 years ago
Jake McGinty 54b087c458 MMS should open conversation also 11 years ago
Jake McGinty ca51ddac7f re-privatize getRecipientForNumber 11 years ago
Jake McGinty e15ff6193f unbreak group insertion for new installs 11 years ago
Jake McGinty 93329df530 avatar selection on gb fixed, disable push groups if not push registered 11 years ago
Jake McGinty 948f888670 group ui task refactor, small bug fixes 11 years ago
Jake McGinty c19ac8ec1e less hacky way of converting ContactData to Recipients 11 years ago
Jake McGinty 04327e9ed7 refresh conversation fragment to new thread when created 11 years ago
Jake McGinty e81526e581 error messaging for group creation issues 11 years ago
Jake McGinty 4f87c1e52e better intent sequence for single contact selection 11 years ago
Moxie Marlinspike 9bb327db42 Handle SMS fallback preferences correctly, and fix directory sync. 11 years ago
Moxie Marlinspike 94b54a6d63 Fix build. 11 years ago
Moxie Marlinspike fe03a22926 Make group creation exceptions more accurate. 11 years ago
Moxie Marlinspike d8e1df9233 Check prekey identity on mismatched devices too. 11 years ago
Moxie Marlinspike 6b5753337c Putting this functionality in the hands of the user was a bad idea. 11 years ago
Moxie Marlinspike 18f3314cd2 Fix for no paradigm. 11 years ago
Moxie Marlinspike b9f4fba98a Handle identity key mismatch on outgoing group messages.
Additionally, make the group creation process asynchronous.
11 years ago
Jake McGinty 5810062b25 group action conversation items, tweaks to single contact selection 11 years ago
Moxie Marlinspike e7e5bc0884 Verify identity keys on outgoing messages.
If PreKeyEntity identity key doesn't match local DB, fail
outgoing message and queue "incoming" identity key update
message for manual user approval.
11 years ago
Moxie Marlinspike e2989373cd All push groups are 'secure' ConversationActivities. 11 years ago
Moxie Marlinspike 4e703d5a00 Correct retry logic for SMS JB+ and for push groups. 11 years ago
Moxie Marlinspike b79bc4c234 Fix for non-group threading issue. 11 years ago
Moxie Marlinspike a305bb80e6 Correctly display group members 11 years ago
Jake McGinty 8e3aa94a05 group member name tags, group convo iconography, tweaks 11 years ago
Moxie Marlinspike 7d3a2acb29 Fix build 11 years ago
Jake McGinty 9b41675f8f single contact selection 11 years ago
Moxie Marlinspike 9438973eac Switch to protobuf enums for push signal type. 11 years ago
Moxie Marlinspike 2f98622948 Fix group migration. 11 years ago
Moxie Marlinspike 067799be06 Display group actions and correctly handle group delivery. 11 years ago
Moxie Marlinspike 7c46f3cbf8 Fill in group creation actions 11 years ago
Jake McGinty 41aa53dd66 masterSecret 11 years ago
Jake McGinty b47076cf1b kill wrong finish() for mms creation 11 years ago
Jake McGinty bb4a4d33c9 handlePush and handleMms prototypes 11 years ago
Jake McGinty c5d010c86f Quick progressbar sample for network operations during group create 11 years ago
Jake McGinty 01a438de09 basic messaging when non-push users are added 11 years ago
Jake McGinty b4a4e629f1 alignment and string work 11 years ago
Jake McGinty 9cd5a67ec5 directory changes to use number instead of token, group ui progress 11 years ago
Moxie Marlinspike 0af473d880 Merge branch 'groups' of github.com:WhisperSystems/TextSecure into groups 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
Jake McGinty ed3151bdb5 backward compatible navigation drawer toggle // FREEBIE 11 years ago
Jake McGinty 9fd2c4753e ui wip 11 years ago
Jake McGinty 2f01569e45 Revert "Don't stick thread IDs in the Intent extra data. Always mark all threads read from notification."
This reverts commit 91b52bed18.
11 years ago
Moxie Marlinspike 49daa45dca wip 11 years ago
Moxie Marlinspike 4851a555e7 Merge pull request #540 from WhisperSystems/lint
Fixes more lint errors
11 years ago
Ruben Pollan 6cdd2aff0d Suppress lint errors 11 years ago
Ruben Pollan c134709009 Add apn settings for some providers 11 years ago
Moxie Marlinspike 9b6d4e3696 Merge pull request #532 from mcginty/visual_refresh
WBoC Visual Refresh
11 years ago
Jake McGinty 28c1c5006b icon, contact list and conversation redesign 11 years ago
bozsco e9a8c7474c Automatically show keyboard when new SMS is composed 11 years ago
Ben Reser 149671095b Fix issue #469: Hide "Clear Passphrase" if passphrase is disabled. 11 years ago
Moxie Marlinspike c488947248 Merge pull request #453 from irv/master
Merge Fix issue #433
11 years ago
Moxie Marlinspike 04b2c3772a Support skipping password creation at setup 11 years ago
Moxie Marlinspike 5c97b1e864 Twiddle the auto initiate 11 years ago
Moxie Marlinspike dde2d2564a Fix rebase errors 11 years ago
Moxie Marlinspike 71664926e9 Better handling for unregistered users on outgoing message. 11 years ago
Moxie Marlinspike d4188c4a1c SHA256 attachment MACs. 11 years ago
Moxie Marlinspike f002072f38 New attachment API 11 years ago
Moxie Marlinspike 327ee4ff62 Remove unnecessary classes, up prekey limit to 100 11 years ago
Moxie Marlinspike 1ab4e7e9de Library accepts push connection certificate as argument. 11 years ago
Moxie Marlinspike ce5f3c5157 Validate phone numbers when formatting. 11 years ago
Moxie Marlinspike 44092a3eff Support for Axolotl protocol.
1) Split code into v1 and v2 message paths.

2) Do the Axolotl protocol for v2.

3) Switch all v2 entities to protobuf.
11 years ago
Moxie Marlinspike dc73bc2a5c Having calling code specify push URL to library. 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 dadabdfaa8 Make UI responsive to UniversalTransport upgrades. 11 years ago
Moxie Marlinspike c38a8aa699 Migrate to Curve25519.
1) Generate a Curve25519 identity key.

2) Use Curve25519 ephemerals and identities for v2 3DHE agreements.

3) Initiate v2 key exchange messages.

4) Accept v1 key exchange messages.

5) TOFU Curve25519 identities.
11 years ago
Moxie Marlinspike dbc070cd65 Refactor the ciphertext message parsing and building. 11 years ago
Moxie Marlinspike 44d59d0fd1 Correctly store destination SMS state. 11 years ago
Moxie Marlinspike 51b9affe90 Add federation support for attachment retrieval. 11 years ago
Moxie Marlinspike 246cd10454 Bundle e164 and relay into PushDestination 11 years ago
Moxie Marlinspike ca3c82f581 Simply PushServiceSocket constructor. 11 years ago
Moxie Marlinspike 5b2caa0074 Make relay arguments consistent. 11 years ago
Moxie Marlinspike fa5ccc3f8a Support for server federation. 11 years ago
Moxie Marlinspike 25a2ad7289 Add directory refreshing at 24hr intervals. 11 years ago