agrajaghh
0f9a6e6296
add custom phone number type
2014-06-16 15:27:33 -07:00
phenx-de
d8cb893681
Fixes "subtitle is not updated when select all is pressed"
...
// FREEBIE
2014-06-16 09:33:35 -07:00
Michael Kaiser
1ad54e7b88
Fix more leaked service connections
...
PassphraseRequiredMixin might check for a bound service at a time where
the bind has been requested but the service connection has not been
established yet, and therefore fail to call unbindService, leading to a
leaked service connection. This fixes #1518 .
2014-06-15 19:28:09 -07:00
Moxie Marlinspike
0d35e2bfa9
Fix the "Tap for X fallback" labels.
2014-06-13 17:48:56 -07:00
Moxie Marlinspike
983bf672cf
Fix UI side of broken MMS fallback.
...
1) Actually tell the SendReceiveService to send the MMS if it is
one.
2) Display the correct string (SMS vs MMS) in the fallback dialog.
2014-06-13 17:39:29 -07:00
Moxie Marlinspike
1c2e1a07f5
Fixes for outgoing SMS/MMS direct and fallback behavior.
...
1) Correct MMS fallback settings.
2) Prevent SMS/MMS messages from leaking out under certain
circumstances when they shouldn't.
2014-06-13 17:15:46 -07:00
Moxie Marlinspike
2d739a324e
Validate MMS delivery destination.
...
We can't depend on validated Recipients anymore, so this adds
parity to the validation the SMS transport does now.
Fixes #1592
2014-06-13 16:15:33 -07:00
Moxie Marlinspike
ba1055df8e
Correct contextual send language.
...
1) Use "secure" and "insecure" vs "encrypted" and "unencrypted.
2) Use MMS instead of SMS where appropriate.
Fixes #1602
2014-06-13 15:24:38 -07:00
phenx-de
a54d20f3ef
Add "%s selected" subtitle to Conversation List batch mode.
2014-06-13 09:35:36 -07:00
phenx-de
ea0fa58265
Add preview of encryption channel in compose text hint.
2014-06-12 16:32:31 -07:00
Moxie Marlinspike
359fe280e8
Fix for broken build (*ahem* @phenx-de *ahem*) =)
...
// FREEBIE
2014-06-12 16:27:51 -07:00
Jake McGinty
34e147838a
use apply for preferences instead of commit
...
// FREEBIE
2014-06-12 14:45:51 -07:00
phenx-de
d8e6a93584
Use contextual action bar menu for conversation items.
2014-06-12 14:27:34 -07:00
Moxie Marlinspike
0e6773b4b7
Remove directory refresh preference.
...
This is present on the contact screen now, so there's no longer
any need for it here.
2014-06-12 11:58:24 -07:00
McLoo
fb13d33e2e
Show drafts emojified when Android version is below KitKat
2014-06-12 11:30:50 -07:00
Pascal Hartig
92fd8ededd
Sort contacts case-insentively
...
This fixes the case sensitive ordering of contacts in the view
for creating new conversations.
Fix #1502
2014-06-12 10:56:46 -07:00
agrajaghh
8713a85beb
Add notification for key change event.
...
Fixes #1460
2014-06-12 10:40:46 -07:00
Marek Wehmer
9b82411c3d
Better share intent handling.
...
1) Guess mime type from share intent EXTRA_STREAM uri.
2) Always include EXTRA_TEXT (if present)
2014-06-12 10:23:56 -07:00
Veeti Paananen
bd889d8fa9
Reword the very confusing screen security setting
2014-06-12 09:22:39 -07:00
Moxie Marlinspike
d51adab76b
Use "date sent" as timestamp for push, "date received" for SMS.
...
The "sent time" is not reliable on SMS messages. This switches
to using "sent time" by default for push messages, but "received
time" for SMS messages.
2014-06-12 08:59:54 -07:00
Chris V
b990202468
Allow passphrase unlock from "unlock" keyboard action.
2014-06-11 21:45:03 -07:00
Pascal Hartig
7208018097
Clear search when opening the drawer
...
Before this change opening the drawer while a filter was active
would hide the search bar but keep the conversation list filtered,
so there was no indication of an active filter.
2014-06-11 18:12:07 -07:00
Moxie Marlinspike
c719a48a2c
Move media attachment long-click event to context menu.
...
Long-click on a media attachment will now bring up the normal
context menu for a ConversationItem long-click, but with the
addition of a "save attachment" option.
This allows users to long-click on messages with media in them
and still see the other contextual menu options.
// FREEBIE
2014-06-11 18:04:14 -07:00
Moxie Marlinspike
68747142d6
Add correct contextual menu options on 'Send' button.
...
[Send TextSecure message | Send unencrypted SMS | Send encrypted SMS]
// FREEBIE
2014-06-11 15:34:01 -07:00
Lukas Barth
7c9282f306
Cache circle cropped photos on Recipient.
2014-06-11 12:33:57 -07:00
Lukas Barth
fa3cb871d0
Use ACTION_OPEN_DOCUMENT for Android >= KitKat.
...
Fixes #926 .
We have to do this, since with the new Storage Access Framework,
otherwise we can open the Uri only *once*. This would work well
unless someone saves a draft and goes back to the conversation -
then the Uri is opened again without the required permissions.
See:
https://developer.android.com/guide/topics/providers/document-provider.html#client
...for details.
2014-06-11 11:58:55 -07:00
Jabro
12e92b9cdf
Added APN Settings for T-Mobile UK
...
Fixes #1558
2014-06-09 12:43:19 +02:00
Moxie Marlinspike
df1c96a662
Do country code detection if we can't get the full number off SIM.
2014-06-03 19:16:27 -07:00
Michael Bennett
468eb3382c
Add sorting by default phone number
...
Currently the order of numbers is times contacted -> displayName ->
phone type (mobile vs. home, etc.). This adds whether the number has
been saved as the default number for a contact to sort numbers belonging
to the same contact.
Fixes #580
2014-06-03 18:18:41 -07:00
Moxie Marlinspike
12d217991c
Use dynamic PBE iteration count.
...
Fixes #184
Fixes #247
2014-06-03 17:59:11 -07:00
Ruben Pollan
5785860631
Support for multiple APN settings on the same provider
2014-06-03 16:24:20 -07:00
Moxie Marlinspike
addea8d340
Validate recipients at send time rather than when constructed.
...
Fixes #665
2014-06-03 14:58:19 -07:00
Jake McGinty
829097d891
send email addresses as mms
...
// FREEBIE
2014-06-03 12:35:56 -07:00
Michael Kaiser
1cb4d479f1
Finish activity before restarting it
...
The current activity needs to be finished before calling startActivity.
Otherwise, activities with launchMode singleTask (ConversationListActivity)
will receive a new Intent instead of getting restarted. And in response
to the new Intent, they will run onResume once again and trigger a second restart.
Fixes #1292
2014-05-20 10:16:48 -07:00
McLoo
023d776e96
Reactivate a group if a contact gets readded
...
Fixes #723 //FREEBIE
Removes the own number from group on leaving, to receive a proper
re-added message
2014-05-19 13:18:28 -07:00
Jake McGinty
ce7b8ab75a
new passphrase prompt activity
...
// FREEBIE
2014-05-19 12:16:42 -07:00
agrajaghh
82bb0c07e8
Fix AlertDialog Background on Android 2.3
2014-05-16 17:18:57 -07:00
Jake McGinty
542e1984c1
sanely handle duplicate contacts in db
...
// FREEBIE
2014-05-16 09:16:20 -07:00
Jake McGinty
dff6997a65
don't call replace() on null formattedNumber
...
Fixes #1397
// FREEBIE
2014-05-16 09:13:50 -07:00
Sebastian
03ecd79fe0
fix receiving utf-8 characters in multimedia push messages
...
Throw AssertionError instead of logging and trying to recover
2014-05-01 15:06:44 -07:00
Moxie Marlinspike
7a3d509ef4
Merge pull request #1437 from mcginty/mms-npe
...
prevent NPE in MMS logic
2014-05-01 13:05:01 -07:00
Jake McGinty
7a54f33f68
Merge pull request #1354 from agrajaghh/fix_empty_contact_filter
...
Fix empty contact filter not working properly
2014-05-01 14:18:25 -05:00
Jake McGinty
d4b4667d5a
prevent NPE in MMS logic
...
Fixes #1434
// FREEBIE
2014-04-28 14:05:05 -07:00
Jocelyn Thode
521fbc77c6
Add time to messages when they are within the week
...
//FREEBIE
2014-04-17 16:10:27 +02:00
Moxie Marlinspike
0574ec170a
Display legacy message error when V1 message is received.
2014-04-16 11:47:51 -07:00
Moxie Marlinspike
cebad39422
Collapse some v2 interfaces now that there's no v1.
2014-04-16 11:47:51 -07:00
Moxie Marlinspike
1d07ca3e6f
Remove V1 code.
2014-04-16 11:47:51 -07:00
Jake McGinty
df9afc4e7f
revert RoutingActivity flags
...
// FREEBIE
2014-04-14 14:49:15 -07:00
agrajaghh
e9a50ce6c3
fix empty contact filter
2014-04-13 15:00:04 +02:00
Jake McGinty
ccb0cc6baf
fix old code breaking build
...
// FREEBIE
2014-04-11 10:00:30 -07:00
Jake McGinty
454673cd0c
Update ActionBar title on language change
...
Fixes #1329
// FREEBIE
2014-04-10 17:55:03 -07:00
Jake McGinty
0dc6ec294b
use normal means to set actionbar icon
...
// FREEBIE
2014-04-10 17:52:58 -07:00
Santoso Wijaya
12dac6ccc3
ShareActivity, destruction of RecipientsPanel
...
// FREEBIE
2014-04-10 13:16:14 -07:00
Jake McGinty
e2f7c1529a
group and contact list fixes
...
1) Updating a group without changing the avatar will keep that
avatar
2) Prohibit adding non-push users to an existing push group
3) Add Android contacts to the same database. Takes a small amount
more time and memory, but allows queries to not be a hack, and
enables us to dedupe numbers in JB and higher devices.
// FREEBIE
2014-04-10 11:14:06 -07:00
Jake McGinty
b715debefc
mark auto-fallback to sms as forcedSms
...
// FREEBIE
2014-04-10 10:50:35 -07:00
Jake McGinty
7b3f2c169a
Fix issue with weird exiting animation from conversation
...
Fixes #1312
// FREEBIE
2014-04-08 10:57:17 -07:00
Matt Enright
7ceaf59bcc
Display send date for incoming messages
...
Fixes #597 .
2014-04-05 14:39:58 -07:00
Moxie Marlinspike
4caff2e511
Merge pull request #1297 from McLoo/master
...
Stop recycled bitmap crashes
2014-04-05 13:38:45 -07:00
McLoo
5e8e13ed5a
Stop recycled bitmap crashes
...
Fixes #792
2014-04-04 23:49:12 +02:00
Moxie Marlinspike
33ecc4d690
Add null check. // FREEBIE
2014-04-03 14:01:15 -07:00
Jake McGinty
7d5e66eb6e
fix send icon merge botch, encryption icons logic
...
// FREEBIE
2014-04-03 12:12:59 -07:00
Moxie Marlinspike
d4ac0c077d
Merge pull request #1248 from mcginty/wrong-group-secure
...
outgoing group MMS should not be encrypted and considered push
2014-04-03 11:22:00 -07:00
Jake McGinty
cbe87aa05c
outgoing group MMS should never be encrypted
...
// FREEBIE
2014-04-03 11:21:13 -07:00
Jake McGinty
d4d684b670
simplified layouts
2014-04-03 09:59:32 -07:00
Jake McGinty
54a882a11d
new send icons, fix logic for disabling/enabling
...
// FREEBIE
2014-04-03 09:49:50 -07:00
Moxie Marlinspike
73e2f6ce59
Merge pull request #1272 from mcginty/flag-secure
...
hide screen security when unsupported
2014-04-02 22:14:08 -07:00
Moxie Marlinspike
54d2184c72
Merge pull request #1205 from mcginty/contact-select
...
refactor and improve contact selection
2014-04-02 22:11:44 -07:00
Jake McGinty
832763f695
UX for unencrypted fallback case
2014-04-02 22:10:51 -07:00
Moxie Marlinspike
40629a3bcf
Fix decryption corner case when passphrase is disabled.
2014-04-02 22:10:51 -07:00
Moxie Marlinspike
5a3daf4846
Curve25519 keys to 1 mod 8 for ephemerals.
2014-04-02 22:10:51 -07:00
Moxie Marlinspike
fd1a18d2d0
Don't display duplicate push messages.
2014-04-02 22:10:50 -07:00
Moxie Marlinspike
ad5d6d5bb7
Add refresh path for PreKey queue.
2014-04-02 22:10:50 -07:00
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
thoughtbox
0d7363e36e
Changed MMS Proxy setting for 24201 (Telenor)
...
Going forward, Telenor will be using FQDN.
2014-04-02 12:47:05 +02:00
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
2014-04-01 14:56:45 -07:00
Moxie Marlinspike
c414334059
Merge pull request #1228 from backspace/support-commas-in-contact-names
...
Remove commas in names in recipient list string
2014-03-31 08:39:15 -07:00
Moxie Marlinspike
24a38985cf
Merge pull request #1249 from mcginty/convo-scroll
...
scroll to the new message in conversation
2014-03-31 08:14:26 -07:00
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
2014-03-31 08:09:10 -07:00
Jake McGinty
06659fd98f
hide screen security when unsupported
...
// FREEBIE
2014-03-30 02:28:38 -07:00
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.
2014-03-27 12:44:56 +01:00
Jake McGinty
216446c55b
scroll to the new message in conversation
...
// FREEBIE
2014-03-26 15:12:01 -07:00
Buck Doyle
bc143059f6
Remove separators from names in recipient list
...
Fixes #1225 and #1174
2014-03-25 11:11:20 -07:00
Jake McGinty
33000582ed
one more try at that one..
...
// FREEBIE
2014-03-25 03:31:44 -07:00
Jake McGinty
e651f352bb
fix NPE in isPushDestination
...
// FREEBIE
2014-03-24 17:02:39 -07:00
Buck Doyle
cab4a06974
Remove commas in names in recipient list string
...
Fixes #1225
2014-03-23 15:02:21 -07:00
Moxie Marlinspike
b860aeff85
Minor ConversationList scrolling optimization.
2014-03-16 14:36:21 -07:00
Jake McGinty
d827ab1b36
more precise sms controls
...
// FREEBIE
2014-03-13 20:59:20 -07:00
Pat McLaughlin
d229a4274c
Also check cc for duplicates
2014-03-12 20:49:55 -04:00
3xo
64711771f0
Fix locale when using country codes.
2014-03-12 16:56:24 -07:00
Moxie Marlinspike
ad54d2a05f
Modify string tag.
...
//FREEBIE
2014-03-12 09:57:32 -07:00
Moxie Marlinspike
0b4fe84a41
Format-neutral compare numbers in MMS group with local device.
...
Closes #1018
2014-03-07 13:05:35 -08:00
Moxie Marlinspike
b855a1805f
Mark message details on pending messages as such.
...
Closes #1034
2014-03-07 12:39:16 -08:00
3xo
339193af12
Give user the opportunity to chose no LED-notification.
2014-03-07 12:04:19 -08:00
Manuel
b6a9eb5bf2
Closes #913 : Message ID is -1 when called in aggregate
2014-03-07 11:59:53 -08:00
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.
2014-03-06 15:32:51 +10:30
Moxie Marlinspike
003095b08c
Merge pull request #1020 from lxgr/fix-screensec
...
Use the "screen security" preference for the conversation list
2014-03-05 09:12:33 -08:00
Jake McGinty
d121d9531e
Merge pull request #992 from veeti/overdraw
...
Fix overdraw issues in the conversation view
2014-03-05 00:10:06 -08:00
Veeti Paananen
42aeca26f1
Fix overdraw issues in the conversation view
...
Remove the redundant window background and row backgrounds to improve
drawing performance.
2014-03-05 08:03:55 +02:00
Jake McGinty
054fcdca8d
Merge pull request #1007 from SamWhited/issue998
...
s/Verify Recipient/Verify Identity/
2014-03-04 13:49:49 -08:00
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
2014-03-04 21:04:04 +01:00
Sam Whited
fa423e4432
s/Verify Recipient/Verify Identity/
2014-03-04 09:55:45 -05:00
Moxie Marlinspike
dc77c43435
Merge pull request #796 from mcginty/pending_messages
...
pending messages more accurately conveyed to user
2014-03-03 18:49:48 -08:00
Lukas Barth
48f5b932f7
Reload contact list after directory refresh // FREEBIE
...
I forgot that in my PR, it seems.
2014-03-03 21:18:38 +01:00
Jake McGinty
90169e9468
pending messages more accurately conveyed to user
2014-03-03 11:56:54 -08:00
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
2014-03-03 11:45:05 -08:00
Moxie Marlinspike
0f53c9d170
Merge pull request #966 from backspace/add-video-sharing
...
Support videos from other apps. Fixes #949
2014-03-03 11:01:02 -08:00
Moxie Marlinspike
3474950830
Merge pull request #956 from tinloaf/refreshfromlist
...
Add possiblity to refresh the push directory directly from contact list
2014-03-03 10:09:32 -08:00
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.
2014-03-03 18:23:14 +01:00
Buck Doyle
411e3ceff6
Support videos from other apps. Fixes #949
2014-03-03 11:55:34 -05:00
Benjamin Albrecht
716fdefa4c
Use icon from #905 for push message disable confirmation box
...
//FREEBIE
2014-03-03 11:44:14 +01:00
Moxie Marlinspike
2dc893730a
Auto-update every 12 hours instead.
...
// FREEBIE
2014-03-02 16:19:05 -08:00
Moxie Marlinspike
977765c80f
Merge pull request #941 from Wikinaut/add-new-string-ViewIdentityActivity_my_identity_fingerprint
...
add new string ViewIdentityActivity_my_identity_fingerprint
2014-03-02 15:50:18 -08:00
Thomas Gries
4b2d07ab35
add new string ViewIdentityActivity_my_identity_fingerprint
2014-03-03 00:45:42 +01:00
Benjamin Albrecht
2f7c005c23
Show confirmation box before disabling push messages
2014-03-02 14:09:54 -08:00
Moxie Marlinspike
367b481d07
Merge pull request #905 from benalbrecht/dialog_icons
...
Use modern icons in info and alert dialogs for ICS+
2014-03-02 14:01:52 -08:00
Moxie Marlinspike
5cd8c922d2
Merge pull request #648 from veeti/tweaks-and-polish
...
Assorted tweaks and polish
2014-03-02 14:01:20 -08:00
Moxie Marlinspike
a2fe8a9d5c
Make default group avatar icon actually work.
2014-03-02 13:22:02 -08:00
Benedict Pregler
e0394b4481
a little typo mistake
2014-03-02 13:22:02 -08:00
Veeti Paananen
a020a57be6
End conversation selection action mode if all deselected
...
This seems to be common convention in most apps.
2014-03-02 09:40:35 +02:00
Veeti Paananen
757cb1c846
Add touch highlight to contact photos
2014-03-02 09:40:35 +02:00
Benjamin Albrecht
0f6c7660cb
Use modern icons in info and alert dialogs for ICS+
2014-03-01 14:42:12 +01:00
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.
2014-02-28 15:58:30 -08:00
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.
2014-02-28 13:40:35 -08:00
Moxie Marlinspike
a3e900ecbe
Merge pull request #794 from SamWhited/issue788
...
Add option to disable screen security
2014-02-27 18:02:05 -08:00
Sam Whited
384fb3b2b5
Add option to disable screen security
...
See WhisperSystems/TextSecure#788
2014-02-27 19:00:39 -05:00
Moxie Marlinspike
d795aa30b3
Merge pull request #795 from benalbrecht/nocount
...
Don't show letter count when SMS mode is disabled
2014-02-27 14:12:27 -08:00
Benjamin Albrecht
bf60f90019
Don't show letter count inside a push group or when SMS mode is disabled
2014-02-27 09:32:19 +01:00
Matt Enright
852ca2ac05
Don't display sender in outgoing message details
...
Because we don't know it. Fixes WhisperSystems#711.
2014-02-26 21:57:17 -05:00
Moxie Marlinspike
3b25b87aa8
Fix for NPE
2014-02-26 12:42:16 -08:00
Moxie Marlinspike
5a62856e46
Make SMS delivery reports optional.
2014-02-26 12:38:50 -08:00
Moxie Marlinspike
37a52df4e6
Fix bug that broke notifications for group messages.
2014-02-26 12:31:56 -08:00
Jake McGinty
0015711759
migrate logcat submit to preferences
...
// FREEBIE
2014-02-25 23:11:00 -08:00
Jake McGinty
ce68429a9b
activity to submit logcat to pastebin
2014-02-25 22:14:21 -08:00
Moxie Marlinspike
7987362c25
Fix for bug where messages are stuck in pending state after upgrade.
2014-02-25 20:57:18 -08:00
Moxie Marlinspike
dec7fd4c8a
Fix for NPE with audio attachments.
2014-02-25 17:54:49 -08:00
Moxie Marlinspike
82df23dd41
Temporarily bring back end session.
2014-02-25 17:38:55 -08:00
Moxie Marlinspike
ce710b378f
Fix for stalled retries.
2014-02-25 17:15:30 -08:00
Moxie Marlinspike
20fd881613
Display error code from server when already registered elsewhere.
2014-02-25 17:00:31 -08:00
Jake McGinty
5fa429b0d5
Merge pull request #676 from mcginty/emoji_density
...
Fix emoji density scaling issues
2014-02-25 16:28:43 -08:00
Jake McGinty
630dce04fc
handle emoji density scaling more correctly
2014-02-25 16:24:33 -08:00
Moxie Marlinspike
0da1d8818e
Merge pull request #729 from funk78/feature/use_getDeviceE164Number
...
FREEBIE reuse code
2014-02-25 15:15:26 -08:00
droidastic
c84285c639
FREEBIE reuse code
2014-02-25 23:56:18 +01:00
Moxie Marlinspike
5a525a2e58
Switch KCS priority to MIN on JB+. Eliminates icon in status bar!
2014-02-25 10:33:11 -08:00
Tim Bücher
bd167cbb17
Fix missing localozation strings for custom LED blink pattern.
2014-02-25 11:38:31 +01:00
Jake McGinty
a0aaa7d724
Explain why SMS fallback is disabled when it is
2014-02-25 01:23:22 -08:00
Moxie Marlinspike
52ff4ecfd2
Fix to make emoji work in push groups.
2014-02-24 17:01:28 -08:00
Moxie Marlinspike
43c1576aab
Fix for bad database migration.
2014-02-24 17:00:52 -08:00
Jake McGinty
829a92d371
contact selection reactive to dark theme
...
// FREEBIE
2014-02-24 14:43:38 -08:00
Moxie Marlinspike
377a332789
Tone down logging a bit.
2014-02-24 02:12:41 -08:00
Moxie Marlinspike
2ab8c77748
Correctly update group title.
2014-02-24 00:37:11 -08:00
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
2014-02-24 00:23:40 -08:00
Moxie Marlinspike
5000957b99
Listen for group updates, fix group updates, and Recipient marshing
2014-02-24 00:19:54 -08:00
Jake McGinty
fc12f2cf8e
disable subtitle for push groups
...
// FREEBIE
2014-02-23 23:59:13 -08:00
Jake McGinty
e3aed66ded
avatar was getting nulled with any update, no more "unsetting"
...
// FREEBIE
2014-02-23 23:35:46 -08:00
Jake McGinty
f30304423d
lose SD card dependency, fix NPEs
...
// FREEBIE
2014-02-23 23:35:41 -08:00
Jake McGinty
86b3de2a93
group updates do things
...
// FREEBIE
2014-02-23 21:18:08 -08:00
Moxie Marlinspike
da344a0218
Fix bug with recycled ListItems.
2014-02-23 17:11:10 -08:00
Jake McGinty
aab34e491e
fix bug where sdk < kitkat is unjustly punished
2014-02-23 16:04:09 -08:00
Moxie Marlinspike
e80de7de2b
Fix bug where adding attachment duplicates recipient count.
2014-02-23 15:58:24 -08:00
Jake McGinty
3dd27ed59a
push conversation messages are now blue
...
// FREEBIE
2014-02-23 15:29:07 -08:00
Moxie Marlinspike
ca2eecaedf
Add advanced preference for refreshing push directory.
2014-02-23 15:12:40 -08:00
Moxie Marlinspike
e188f62d70
Shunt BCC messages directly to MMS transport.
2014-02-23 14:39:07 -08:00
Moxie Marlinspike
8093b14922
Be sure we don't let MMS out if the transport is disabled.
2014-02-23 14:38:41 -08:00
Moxie Marlinspike
636c50b3b8
Fix for creating non-push groups.
2014-02-23 14:38:03 -08:00
Moxie Marlinspike
9298dded15
Only disable inactive *push* group conversations.
2014-02-23 14:37:41 -08:00
Jake McGinty
8794661433
fix "end session" inflation
...
// FREEBIE
2014-02-22 22:22:39 -08:00
Moxie Marlinspike
125a60290f
Correctly handle key conflict resolution for incoming push.
2014-02-22 14:22:12 -08:00
Moxie Marlinspike
315cf2d8e4
Eliminate concept of group 'owner'.
2014-02-22 11:29:28 -08:00
Moxie Marlinspike
da57a689c1
Fill in some strings.
...
// FREEBIE
2014-02-22 11:10:30 -08:00
Moxie Marlinspike
9c9866e7ee
Add 'leave group' functionality. Includes other bug fixes.
2014-02-22 10:54:43 -08:00
Moxie Marlinspike
a6e1d56cde
Refactor group messaging protocol.
...
// FREEBIE
2014-02-21 17:51:52 -08:00
Jake McGinty
b855f8a163
fix single contact selection for contacts with multiple phones
...
// FREEBIE
2014-02-21 17:12:08 -08:00
Jake McGinty
7beab36c6a
updates to conversation menu, and updating of group info
...
// FREEBIE
2014-02-21 11:33:31 -08:00
Moxie Marlinspike
ccd1691b22
Make 'push' status a type bit on both incoming and outgoing msgs.
2014-02-20 23:00:38 -08:00
Moxie Marlinspike
2026330f8a
Remove dead code.
2014-02-20 18:27:43 -08:00
Moxie Marlinspike
3ca25de034
Fix for MMS decoding when no SIM is available.
2014-02-20 17:32:01 -08:00
Moxie Marlinspike
ff238a1ce9
Indicate a message was delivered via push in its delivery status.
2014-02-20 16:14:58 -08:00
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.
2014-02-20 14:49:31 -08:00
Moxie Marlinspike
c5821f770a
Don't prompt for auto-initiate if push registered (or active V2).
2014-02-20 12:55:02 -08:00
Moxie Marlinspike
5b22a7bdcb
Create Curve25519 identities in the next release.
2014-02-20 12:46:51 -08:00
Moxie Marlinspike
2a74dc8d82
Update the conversation UI after aborting a V1 session.
2014-02-20 12:06:11 -08:00
Moxie Marlinspike
145e4335fc
Only send round-trip key exchanges over SMS.
2014-02-20 12:06:11 -08:00
Moxie Marlinspike
1d4d9663db
Fix for NPE
2014-02-20 12:06:11 -08:00
Jake McGinty
a0cbbd2d21
confirm session abort handler in ConversationItem
...
// FREEBIE
2014-02-20 11:42:15 -08:00
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.
2014-02-19 21:07:47 -08:00
Jake McGinty
0cdc6fd87d
embrace the darkness, don't open quickcontact for groups
...
// FREEBIE
2014-02-19 15:01:10 -08:00
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."
2014-02-19 13:50:32 -08:00
Jake McGinty
0688dd0c2c
repurpose ImageDivet for avatar, minor lint, fix bitmap decoding
...
// FREEBIE
2014-02-19 00:01:37 -08:00
Jake McGinty
9d9a0ec218
collection of fixes based on comments/small aesthetic stuff // FREEBIE
2014-02-18 16:42:44 -08:00
Jake McGinty
e05bacd8c3
fixing avatar selection when some gallery apps won't return any extras
...
but still succeed // FREEBIE
2014-02-18 16:42:33 -08:00
Moxie Marlinspike
760c96171d
Merge branch 'master' into groups
2014-02-18 13:53:35 -08:00
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.
2014-02-18 12:51:23 -08:00
Jake McGinty
abce678cb4
received group messages aren't processed as "meta" group stuff, oops.
2014-02-17 22:20:43 -08:00
Jake McGinty
fb75d90edc
fix bug where it opened wrong thread for TS group creates
2014-02-17 22:04:08 -08:00
Jake McGinty
25324a45b3
Show something for unnamed groups, allow us to have different default photos for groups vs. individuals
2014-02-17 21:42:30 -08:00
Jake McGinty
877ed8f59c
Show TS group titles properly, hide MMS options
2014-02-17 20:25:40 -08:00
Jake McGinty
54b087c458
MMS should open conversation also
2014-02-17 20:19:54 -08:00
Jake McGinty
ca51ddac7f
re-privatize getRecipientForNumber
2014-02-17 20:19:35 -08:00
Jake McGinty
e15ff6193f
unbreak group insertion for new installs
2014-02-17 20:10:37 -08:00
Jake McGinty
93329df530
avatar selection on gb fixed, disable push groups if not push registered
2014-02-17 17:33:20 -08:00
Jake McGinty
948f888670
group ui task refactor, small bug fixes
2014-02-17 16:36:31 -08:00
Jake McGinty
c19ac8ec1e
less hacky way of converting ContactData to Recipients
2014-02-17 16:23:29 -08:00
Jake McGinty
04327e9ed7
refresh conversation fragment to new thread when created
2014-02-17 15:48:09 -08:00
Jake McGinty
e81526e581
error messaging for group creation issues
2014-02-17 15:48:09 -08:00
Jake McGinty
4f87c1e52e
better intent sequence for single contact selection
2014-02-17 15:48:08 -08:00
Moxie Marlinspike
9bb327db42
Handle SMS fallback preferences correctly, and fix directory sync.
2014-02-17 15:31:42 -08:00
Moxie Marlinspike
94b54a6d63
Fix build.
2014-02-17 13:22:37 -08:00
Moxie Marlinspike
fe03a22926
Make group creation exceptions more accurate.
2014-02-17 13:19:49 -08:00
Moxie Marlinspike
d8e1df9233
Check prekey identity on mismatched devices too.
2014-02-17 12:41:06 -08:00
Moxie Marlinspike
6b5753337c
Putting this functionality in the hands of the user was a bad idea.
2014-02-17 12:37:34 -08:00
Moxie Marlinspike
18f3314cd2
Fix for no paradigm.
2014-02-17 11:54:39 -08:00
Moxie Marlinspike
b9f4fba98a
Handle identity key mismatch on outgoing group messages.
...
Additionally, make the group creation process asynchronous.
2014-02-17 11:43:37 -08:00
Jake McGinty
5810062b25
group action conversation items, tweaks to single contact selection
2014-02-16 21:09:15 -08:00
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.
2014-02-16 15:23:49 -08:00
Moxie Marlinspike
e2989373cd
All push groups are 'secure' ConversationActivities.
2014-02-15 18:40:08 -08:00
Moxie Marlinspike
4e703d5a00
Correct retry logic for SMS JB+ and for push groups.
2014-02-15 18:31:25 -08:00
Moxie Marlinspike
b79bc4c234
Fix for non-group threading issue.
2014-02-15 11:44:47 -08:00
Moxie Marlinspike
a305bb80e6
Correctly display group members
2014-02-15 11:30:20 -08:00
Jake McGinty
8e3aa94a05
group member name tags, group convo iconography, tweaks
2014-02-15 04:21:56 -08:00
Moxie Marlinspike
7d3a2acb29
Fix build
2014-02-14 16:41:06 -08:00
Jake McGinty
9b41675f8f
single contact selection
2014-02-14 16:21:48 -08:00
Moxie Marlinspike
9438973eac
Switch to protobuf enums for push signal type.
2014-02-14 16:20:47 -08:00
Moxie Marlinspike
2f98622948
Fix group migration.
2014-02-14 16:18:18 -08:00
Moxie Marlinspike
067799be06
Display group actions and correctly handle group delivery.
2014-02-14 15:59:57 -08:00
Moxie Marlinspike
7c46f3cbf8
Fill in group creation actions
2014-02-13 17:10:20 -08:00
Jake McGinty
41aa53dd66
masterSecret
2014-02-13 12:36:31 -08:00
Jake McGinty
b47076cf1b
kill wrong finish() for mms creation
2014-02-13 12:18:17 -08:00
Jake McGinty
bb4a4d33c9
handlePush and handleMms prototypes
2014-02-13 12:15:26 -08:00
Jake McGinty
c5d010c86f
Quick progressbar sample for network operations during group create
2014-02-13 11:44:07 -08:00
Jake McGinty
01a438de09
basic messaging when non-push users are added
2014-02-12 17:17:33 -08:00
Jake McGinty
b4a4e629f1
alignment and string work
2014-02-12 12:05:18 -08:00
Jake McGinty
9cd5a67ec5
directory changes to use number instead of token, group ui progress
2014-02-12 11:35:04 -08:00
Moxie Marlinspike
0af473d880
Merge branch 'groups' of github.com:WhisperSystems/TextSecure into groups
2014-02-03 11:52:27 -08:00
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.
2014-02-02 19:38:06 -08:00
Jake McGinty
ed3151bdb5
backward compatible navigation drawer toggle // FREEBIE
2014-02-01 19:40:46 -08:00
Jake McGinty
9fd2c4753e
ui wip
2014-01-25 23:39:56 -08:00
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
.
2014-01-18 18:25:51 -08:00
Moxie Marlinspike
49daa45dca
wip
2014-01-14 00:26:43 -08:00
Moxie Marlinspike
4851a555e7
Merge pull request #540 from WhisperSystems/lint
...
Fixes more lint errors
2014-01-11 10:52:32 -08:00
Ruben Pollan
6cdd2aff0d
Suppress lint errors
2014-01-11 01:34:11 -10:00
Ruben Pollan
c134709009
Add apn settings for some providers
2014-01-10 21:03:45 -10:00
Moxie Marlinspike
9b6d4e3696
Merge pull request #532 from mcginty/visual_refresh
...
WBoC Visual Refresh
2014-01-09 21:08:15 -08:00
Jake McGinty
28c1c5006b
icon, contact list and conversation redesign
2014-01-09 19:06:41 -10:00
bozsco
e9a8c7474c
Automatically show keyboard when new SMS is composed
2014-01-09 16:52:11 -05:00
Ben Reser
149671095b
Fix issue #469 : Hide "Clear Passphrase" if passphrase is disabled.
2014-01-07 21:47:28 -08:00
Moxie Marlinspike
c488947248
Merge pull request #453 from irv/master
...
Merge Fix issue #433
2014-01-07 20:08:53 -08:00
Moxie Marlinspike
04b2c3772a
Support skipping password creation at setup
2014-01-07 16:27:00 -08:00
Moxie Marlinspike
5c97b1e864
Twiddle the auto initiate
2014-01-06 20:03:16 -08:00
Moxie Marlinspike
dde2d2564a
Fix rebase errors
2014-01-06 19:49:35 -08:00
Moxie Marlinspike
71664926e9
Better handling for unregistered users on outgoing message.
2014-01-06 14:38:41 -08:00