Commit Graph

1697 Commits

Author SHA1 Message Date
haffenloher
72064d8827 Exclude the user's own number from notifyNewUsers
Closes #5229
// FREEBIE
2016-02-18 17:56:08 -08:00
haffenloher
156c5c6e09 Use sent time as timestamp for push image records
Use received time for non-push messages only. This makes the displayed
date for images accessed through "All images" consistent with the date
displayed everywhere else.

Related: #3535
Closes #5230
// FREEBIE
2016-02-18 17:53:37 -08:00
haffenloher
25d7931358 Make system database import notification translatable
Also replace "TextSecure" with "Signal" in the notification text.

Closes #5256
// FREEBIE
2016-02-18 17:52:41 -08:00
Andreas Fehn
238471b847 Allow saving all attachments of a thread
Closes #3975
2016-02-18 17:52:01 -08:00
agrajaghh
ca2457db8d swap statusbar color in dark theme
Fixes #5242
Closes #5240
// FREEBIE
2016-02-18 17:52:01 -08:00
RiseT
12957d96e0 Improve identity key scanning strings
Closes #5218
Fixes #1481
// FREEBIE
2016-02-18 17:52:01 -08:00
Moxie Marlinspike
03efe02e65 Add active status to group multi-device sync messages
// FREEBIE
2016-02-18 17:52:01 -08:00
Moxie Marlinspike
77fb2f520f Add nullable annotation to Recipient contact URI
// FREEBIE
2016-02-12 12:47:05 -08:00
Moxie Marlinspike
efdb57e76b Add a recipient listener to the call card
Fixes #5216
// FREEBIE
2016-02-12 12:33:47 -08:00
Moxie Marlinspike
f1cec5a2ca Don't pass null contact uri into glide
Fixes #5216
// FREEBIE
2016-02-12 11:19:11 -08:00
Moxie Marlinspike
3a5a7cac73 Only display sim card info on incoming SMS when multiple SIMs
// FREEBIE
2016-02-10 17:50:23 -08:00
Christian Ascheberg
694e6064bd Add message notification task stack
Closes #4893
// FREEBIE
2016-02-10 16:08:26 -08:00
Moxie Marlinspike
6da86e482d Support for dual-sim SMS/MMS functionality
Allow source selection for sending SMS/MMS, and display the
SIM that received SMS/MMS.

Fixes #555
Closes #5199
// FREEBIE
2016-02-09 16:53:15 -08:00
Brad Erickson
c1106d98dd Add 48 text-only emoji/emoticons/kaomoji
Grouped by western and eastern styles, then sorted roughly by emotion.
Happy->Joking->Flirting->Surprise->Worry->Sadness->Anger->Misc

Fixes #5191
Closes #5200
// FREEBIE
2016-02-09 15:47:15 -08:00
Brad Erickson
4c7d2d2c66 Fix text emoji pane font size and vertical align
Fixes #3426
Closes #5196
2016-02-08 17:45:11 -08:00
Moxie Marlinspike
bc4dd7d002 Add Slovakia to list of 6-digit shortcodes that libphonenumber misses
Fixes #4478
// FREEBIE
2016-02-02 14:15:19 -08:00
Moxie Marlinspike
ce12e381a5 Revert "Update libphonennumber for new shortcode metadata"
This reverts commit 8c58d031bd.

wtf is wrong with google
2016-02-02 14:12:56 -08:00
Moxie Marlinspike
8c58d031bd Update libphonennumber for new shortcode metadata
Fixes #4478
// FREEBIE
2016-02-01 10:54:38 -08:00
Moxie Marlinspike
cba0ff7750 COLLATE LOCALIZED seems to imply COLLATE NOCASE
// FREEBIE
2016-01-30 16:08:18 -08:00
Moxie Marlinspike
31224014cc Skip onNewIntent if activity is finishing
We didn't call through to onCreate(), so everything isn't setup.

Fixes #2971
// FREEBIE
2016-01-30 15:33:47 -08:00
Moxie Marlinspike
4a261bcf68 Check result of bitmap size operation for failure
Fixes #5046
// FREEBIE
2016-01-30 15:22:55 -08:00
Moxie Marlinspike
1b97756b05 Use collate localized to sort contacts
Fixes #5144
// FREEBIE
2016-01-30 14:36:06 -08:00
Moxie Marlinspike
873a0ab249 Only attempt MMS "direct connect" on Sprint MCCMNCs.
Fixes #5134
// FREEBIE
2016-01-30 14:16:50 -08:00
2-4601
9f2f3df2ea Fix passphrase string resource reference
Fixes a stupid mistake in pr #5095 where I changed a string again but
forgot to change the resource reference in code :/

Closes #5140
// FREEBIE
2016-01-29 20:16:22 -08:00
2-4601
058585bf81 Fix five strings
Fixes
- one ambiguous pronoun
- one remaining reference of ambiguous 'lock screen'
- three cases of 'click' -> 'tap'

And gets rid of unnecessary line breaks in two strings.

Closes #5095
// FREEBIE
2016-01-27 12:21:32 -08:00
Christian Ascheberg
4049b997ee fix silent in-thread notification
Fixes #5090
Closes #5091
// FREEBIE
2016-01-27 12:19:46 -08:00
haffenloher
1512f6e172 Release MediaPlayers immediately after stopping ringers
Closes #4987
// FREEBIE
2016-01-27 12:04:12 -08:00
haffenloher
1abf39685a Use larger version of ic_contact_picture in calls
Closes #4971
Fixes #4245
// FREEBIE
2016-01-27 11:59:10 -08:00
Christian Ascheberg
0067d2628d revert #4885 requestAudioFocus change
Closes #5015
// FREEBIE
2016-01-04 13:08:59 -08:00
Moxie Marlinspike
524d06d033 Animate location button in
Fixes #5023
// FREEBIE
2016-01-04 13:07:36 -08:00
Moxie Marlinspike
759f9d8016 Support for location drafts
Fixes #4979
// FREEBIE
2016-01-04 13:02:22 -08:00
agrajaghh
d61e5094de remove newlines in text-only group messages
Closes #4963
//FREEBIE
2015-12-27 12:37:39 -08:00
agrajaghh
759ecbc7b8 completely hide location button on API < 16
Closes #4964
// FREEBIE
2015-12-25 14:39:49 -08:00
agrajaghh
f9c9068ca8 fix crash on gingerbread
Closes #4962
//FREEBIE
2015-12-25 14:39:11 -08:00
David Novák
ee9b89c4d4 Make the 'try again' device management option actually try again.
Fixes #4648
Closes #4882
2015-12-24 08:08:24 -08:00
Christian Ascheberg
0caad7f348 Do not automatically enable bluetooth audio routing
Fixes some call volume problems

Fixes #4773
Fixes #4188
Closes #4885
2015-12-24 08:01:50 -08:00
haffenloher
6ad2c4bb29 Stop inbox snippet from overflowing the thumbnail
Also ensure the thumbnails are placed correctly in the archive view.

Closes #4954
// FREEBIE
2015-12-24 07:48:19 -08:00
Moxie Marlinspike
bcf95e50aa Support for location messages
Start with encoding as a simple image thumbnail for compatibility
with MMS and iOS

// FREEBIE
2015-12-24 07:47:25 -08:00
agrajaghh
4fa6680f83 RTL support
Closes #4916
Fixes #4714
2015-12-24 07:47:25 -08:00
agrajaghh
94452e7784 add more debugging info to direct capture
should help debugging  #4899

closes #4941

//FREEBIE
2015-12-24 07:47:25 -08:00
Christian Ascheberg
fd570310e0 fix more plurals
Closes #4898
// FREEBIE
2015-12-24 07:47:25 -08:00
agrajaghh
ed592950c0 setting to disable notifications for new contacts
also mute these notifications between 23:00 and 09:00

fixes #4572
Closes #4926
2015-12-24 07:47:25 -08:00
McLoo
ec53c6ab04 Fix forwarding text to new coversation
Closes #4870
//FREEBIE
2015-12-24 07:47:25 -08:00
Javier Arteaga
e9b53cc164 Fix crash when adding a contact from a conversation
Closes #4872
// FREEBIE
2015-12-20 08:46:44 -08:00
McLoo
e79ee7803f Enable preview for image drafts
Closes #4863
2015-12-11 23:17:24 -08:00
Colin Snover
50c432aaf0 Strip separators prior to validating non-email SMS recipients
Refs #1516. Refs #3099. Refs #4833.
Closes #4861
2015-12-11 23:11:35 -08:00
Moxie Marlinspike
67e6031d25 Catch ActivityNotFoundException on contact add intent
Fixes #4865
// FREEBIE
2015-12-11 22:57:18 -08:00
Jake McGinty
7625ba919e prevent overwriting external capture URIs
Closes #4719
fixes #4538
// FREEBIE
2015-12-10 18:53:40 -08:00
Moxie Marlinspike
bde838d35a Let's take this SMS number cleaning thing to its logical extreme
Fixes #4833
// FREEBIE
2015-12-10 18:49:58 -08:00
Moxie Marlinspike
e32736359b Move group message to group after accepting new identity key
Fixes #2739
// FREEBIE
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
3efcb5dfa1 Fix libphonenumber shortcode data for Finland
Fixes #4853
// FREEBIE
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
371ef3ce95 Strip whitespace in addition to parentheses for outgoing SMS
Fixes #4833
// FREEBIE
2015-12-10 05:04:03 -08:00
brumsel
09cac1e36b Enable proximity sensor while call is ringing
Fixes #4519

// FREEBIE
2015-12-10 05:04:03 -08:00
Christian Ascheberg
08b61572e9 fix some plurals
Closes #4815
Fixes #4811
// FREEBIE
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
49f60971bd Cache delivery receipts when they arrive before sync message
// FREEBIE
2015-12-10 05:04:03 -08:00
Christian Ascheberg
4696837f2f warn user before build expires
Closes #4322
// FREEBIE
2015-12-10 05:04:03 -08:00
Gil
b40f0ffeb0 Update recipient info after adding a contact
Fixes #4074
Closes #4259
2015-12-10 05:04:03 -08:00
brumsel
57cb68849e Don't notify of failure when viewing message details
If message delivery fails and the currently visible activity is the
MessageDetailsActivity of the failed message, treat the failure
notification as an in-thread notification.

Closes #3947
2015-12-10 05:04:03 -08:00
PurplePlatypus
fe5e101463 Change TS Media message timestamp from received time to sent time
Fix #3525
Closes #3535
//FREEBIE
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
81fa209910 Use Ringtone instead of MediaPlayer directly
(Copied from rhodey's PR)

Fixes #3340
Closes #3342

// FREEBIe
2015-12-10 05:04:03 -08:00
McLoo
c7dd956f45 Fix for getting the device number with national prefix
Closes #2312
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
3b80e35547 Display group info in message notifications
Fixes #1033
Fixes #2558
Closes #3020
// FREEBIE
2015-12-10 05:04:03 -08:00
RiseT
307578eb18 Wording ambiguity: Archived conversation -> Conversation archived
Closes #4802
// FREEBIE
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
8a3762b337 Don't issue new user notification if secure session exists
Fixes #4800
// FREEBIE
2015-12-10 05:04:03 -08:00
haffenloher
e5cd3e4fd1 Update inbox status icon on SMS delivery receipt
Closes #4848
// FREEBIE
2015-12-09 11:24:45 -08:00
haffenloher
b41364c709 Add inbox delivery status migration
Fixes #4799
Closes #4809

// FREEBIE
2015-12-07 23:34:28 -08:00
Moxie Marlinspike
73acd1f3a2 Take people into Signal when they attempt to link w/ 3rd party scan
// FREEBIE
2015-12-03 14:39:13 -08:00
Moxie Marlinspike
adda7622f4 Mark messages read when swipe archiving
// FREEBIE
2015-12-03 12:36:47 -08:00
Geonu Kang
43aef3ecb0 Integrate DynamicLanguage with DeviceListFragment
Fixes #4752
Closes #4793
2015-12-03 11:55:37 -08:00
Philippe Laferriere
03faff443c Removed lazy class SmsTransportDetails
Moved constants into SmsCharacterCalculator.

Closes #4788
2015-12-03 11:52:12 -08:00
haffenloher
eebe227a20 Return to archive on back button press in archived convo
When the back/up/home button in the action bar is pressed in an
archived conversation, return to the archive instead of the inbox.

Closes #4770
// FREEBIE
2015-12-03 11:51:22 -08:00
Moxie Marlinspike
8fb73a092d Slight optimization for message status updates
// FREEBIE
2015-12-03 11:47:28 -08:00
haffenloher
7c95adc7e6 Add delivery status icons to the conversation list
Closes #4710
2015-12-03 11:28:04 -08:00
Geonu Kang
8269047c88 Update attachment content type when updating attachment data
Fixes #4687
Closes #4688
2015-12-02 09:45:57 -08:00
Geonu Kang
afb21203b7 Extract "Today" in device list item to string resource
Related to #4752
Closes #4780
// FREEBIE
2015-12-02 09:36:32 -08:00
RiseT
65176c940e Wording consistency: thread -> conversation
Closes #4753
// FREEBIE
2015-12-02 09:31:56 -08:00
Geonu Kang
fa411f5623 Increase swipe-to-archive snackbar duration
Fixes #4745
Closes #4746
// FREEBIE
2015-12-02 09:28:54 -08:00
Moxie Marlinspike
adcb29616a Keep track of attachmentmanager garbage
Fixes #4764
// FREEBIE
2015-11-30 11:16:30 -08:00
Moxie Marlinspike
3bf8052811 Don't add "archive (n)" placeholder to list of batch selected
Fixes #4750
// FREEBIE
2015-11-30 10:37:38 -08:00
Moxie Marlinspike
cdb122d3d1 Reposition thumbnail when in archived view
Fixes #4744
// FREEBIE
2015-11-30 10:36:56 -08:00
Jake McGinty
b07003ae34 fix yakju JWR66Y front-camera misbehavior
fixes #4715
Closes #4738
// FREEBIE
2015-11-27 17:04:12 -08:00
Moxie Marlinspike
0a9f28c228 Fix rogue action button toggleing in contact selection
Fixes #4700
// FREEBIE
2015-11-27 15:46:40 -08:00
Jake McGinty
946c43940b add equals/hashCode to glide models
Closes #4737
// FREEBIE
2015-11-27 15:20:24 -08:00
Geonu Kang
e83827ab75 "image/jpg"->"image/jpeg" on MIME type checks and saving
Fixes #4602
Closes #4643
2015-11-27 13:04:59 -08:00
Geonu Kang
3319748926 Signal-ize last remaining "data channel" and "push" string resources
Fixes #4730
Closes #4731
// FREEBIE
2015-11-27 13:00:21 -08:00
Moxie Marlinspike
2ab0029d49 Support for archive actions
Fixes #1141
Closes #4698
// FREEBIE
2015-11-27 12:45:23 -08:00
char32
796decdb0f Switch from 'Contents Hidden' to 'New message'
Fixes #4004
Closes #4566
2015-11-26 08:07:31 -08:00
brumsel
64ee669728 Reset audio mode on incoming ringer stop
Don't request audio focus in IncomingRinger either.

Fixes #4548
Closes #4567

// FREEBIE
2015-11-26 07:59:38 -08:00
Geonu Kang
a8f4dadaf5 Delete Selected Message button strings "No"/"Yes" -> "Cancel"/"Delete"
Closes #4705
Fixes #4704
// FREEBIE
2015-11-26 07:31:48 -08:00
AsamK
7aac137fb7 Fix group avatar issues in GroupCreateActivity
Images weren't rounded in some cases, and other
times weren't updating in the group properly.

Closes #4692
// FREEBIE
2015-11-26 07:24:57 -08:00
Moxie Marlinspike
073be6696b Mark threads as read when we get an outgoing sync message
// FREEBIE
2015-11-26 07:24:57 -08:00
Moxie Marlinspike
54b30c47f5 Display registered number in advanced preferences
Fixes #4504
// FREEBIE
2015-11-26 07:24:57 -08:00
Jake McGinty
8914c79613 fix "partial scroll" when sending in certain cases
fixes #2856
Closes #4702
// FREEBIE
2015-11-26 07:24:57 -08:00
Moxie Marlinspike
785f737244 Limit 'last active' device timestamp to day level precision
Closes #4614
// FREEBIE
2015-11-26 07:24:57 -08:00
Daniel Bartram
67415a8dcb Improve generated contact photos with emoji names
Improve the logic for generating contact photos with contact names
which start with emoji or non-language characters.

This fixes the infamous "question-mark-in-a-box" character from
appearing in the contact photo for contacts whose names begin with
an emoji or a non-language symbol.

Closes #3684
2015-11-26 07:24:57 -08:00
Jake McGinty
b4e28e219b fix false camera captures
// FREEBIE
2015-11-26 07:24:56 -08:00
Jake McGinty
3a5d4e7ebe reset surface on camera pause
fixes #4657

// FREEBIE
2015-11-26 07:24:56 -08:00
Jake McGinty
a04e737526 fix direct capture file writing race condition
fixes #4612
Closes #4634
// FREEBIE
2015-11-26 07:24:56 -08:00
Jake McGinty
3bfb123b33 fix selfie horizontal flip
Closes #4635
// FREEBIE
2015-11-26 07:24:56 -08:00
Jake McGinty
d5bd7bcf5f use same default group photo in GroupCreateActivity
fixes #3908
Closes #4639
// FREEBIE
2015-11-26 07:24:56 -08:00
Moxie Marlinspike
2ef808f406 Add help menu to conversation list overflow
Fixes #4552
// FREEBIE
2015-11-26 07:24:56 -08:00
Geonu Kang
c4f9bc2b5e Improve date localization for API >= 18 (4.3, JELLY_BEAN_MR2)
Fixes #3102
Closes #4597
2015-11-26 07:24:56 -08:00
Moxie Marlinspike
13328ca0d0 Fix strange conversation draw behavior in GB
// FREEBIE
2015-11-24 11:47:50 -08:00
Moxie Marlinspike
885fc88aad Disable voice messages until iOS gets their act together
// FREEBIE
2015-11-23 11:47:54 -08:00
Jake McGinty
69ee4cbc71 select *all* threads
fixes #4565
// FREEBIE
2015-11-23 11:43:54 -08:00
Moxie Marlinspike
2790128e9c Disable mic/camera on inactive group thread
Fixes #4653
Fixes #3334
// FREEBIE
2015-11-23 11:42:02 -08:00
Moxie Marlinspike
a4f7b78fd0 Make InputPanel fully responsible for emoji toggle
Fixes #4638
// FREEBIE
2015-11-23 11:42:02 -08:00
Moxie Marlinspike
fc5777e904 Manually encode voice messages to AAC with ADTS headers
Should resolve issues with platforms that don't support AMR (!).

Fixes #4640
Fixes #4652
Fixes #4647
// FREEBIE
2015-11-23 11:42:02 -08:00
Jake McGinty
a0beb7f0e0 scroll *all* the way
fixes #4664
closes #4695
// FREEBIE
2015-11-23 11:38:33 -08:00
Jake McGinty
d58f4d1232 don't allow fast scrolling until data is available
fixes #4666
closes #4693
// FREEBIE
2015-11-23 11:36:13 -08:00
Jake McGinty
473e470883 fix header/footer item ID issue
fixes #4667
Closes #4685
// FREEBIE
2015-11-22 17:30:36 -08:00
agrajaghh
4dce79334d fix crash in RecipientPreferenceActivity
fixes #4674
closes #4679

// FREEBIE
2015-11-22 22:14:02 +01:00
Moxie Marlinspike
e914496216 Remove identity menu option from conversation list
// FREEBIE
2015-11-22 09:32:02 -08:00
Moxie Marlinspike
9b3457f0b2 Don't choke so hard on random QR codes
Fixes #4642
// FREEBIE
2015-11-22 09:28:36 -08:00
Jake McGinty
2e8841c1d6 make RecyclerView unique IDs per thread
Closes #4619
// FREEBIE
2015-11-20 10:48:25 -08:00
Moxie Marlinspike
dc1b420fef Voice Note -> Voice Message
Fixes #4628
// FREEBIE
2015-11-20 10:25:08 -08:00
Moxie Marlinspike
e41f34729e Fix for voice message race conditions
Fixes #4625
// FREEBIE
2015-11-20 10:22:36 -08:00
Jake McGinty
4fe6256967 run Camera.startPreview() off main thread
Closes #4620
// FREEBIE
2015-11-20 08:15:24 -08:00
Moxie Marlinspike
bfe4ad6c34 Voice notes
Closes #4610
Closes #3563
// FREEBIE
2015-11-19 17:37:48 -08:00
Jake McGinty
4e8e8978f4 update camera preview strategy
// FREEBIE
2015-11-19 17:34:02 -08:00
Moxie Marlinspike
7817c7697e Fix for audio attachment server NPE
Fixes #4615
// FREEBIE
2015-11-19 15:59:24 -08:00
brumsel
06f2908d78 Don't show images without data under "all images"
This affects images
- that have yet to be downloaded (using media download controls)
- that are currently being downloaded
- that failed to download

closes #4507
2015-11-19 13:21:23 -08:00
Jake McGinty
61386e9ca9 more useful contact select headers
Closes #4608
// FREEBIE
2015-11-19 11:56:40 -08:00
Jake McGinty
4314a4b42b add stable IDs to conversations
fixes #2856
Closes #4607
// FREEBIE
2015-11-19 11:46:56 -08:00
Moxie Marlinspike
945636ac5c Don't show reminder view on quick reply
Fixes #4524
// FREEBIE
2015-11-19 11:43:17 -08:00
Moxie Marlinspike
7c0bf0c871 Device provisioning
Closes #4553
// FREEBIE
2015-11-19 11:30:39 -08:00
Jake McGinty
02c37e815c enable media forwarding
fixes #1362
closes #4589
// FREEBIE
2015-11-19 11:27:13 -08:00
agrajaghh
6a99c6c4ac Fix "Silent" summary for ringtone preference
fixes #3962
Closes #4441

//FREEBIE
2015-11-19 11:13:24 -08:00
agrajaghh
a65ade5366 add action buttons to the call notification
fixes #4160
Closes #4490
2015-11-19 11:12:15 -08:00
Jake McGinty
7aeb4c96ee fix crash on null Android contact name
fixes #4592
Closes #4594
// FREEBIE
2015-11-19 11:07:39 -08:00
Jake McGinty
cd085faecd move instrumentation test to unit tests
Closes #4593
// FREEBIE
2015-11-19 11:06:34 -08:00
Jake McGinty
bcd08956bd clear drafts immediately upon sending or new intent
fixes #3843
closes #3850
Closes #4571

// FREEBIE
2015-11-19 10:59:10 -08:00
Jake McGinty
25da3525fa use material labels for passphrase text
closes #3374
Closes #4570
// FREEBIE
2015-11-19 10:57:49 -08:00
McLoo
245c0adeea add dark theme to PassphraseChangeActivity
also adding DynamicLanguage to fix ActionBar language changes
2015-11-19 10:57:46 -08:00
Jake McGinty
0d06e78d25 fix quick attachment open animation
Closes #4569
// FREEBIE
2015-11-19 10:57:02 -08:00
Jake McGinty
2ce2a0d5c3 add refresh in overflow to NewConversationActivity
fixes #4470
closes #4564
// FREEBIE
2015-11-19 10:47:42 -08:00
heyimgay
ce1c6e2372 signalize attachment filename
Closes #4541
2015-11-19 10:42:49 -08:00
Christian Ascheberg
1d8aef1669 Plural group join message
Closes #4535
Fixes #4521
// FREEBIE
2015-11-19 10:40:57 -08:00
Geonu Kang
cca38ddf3f Improve Delete Thread, Reset Secure Session confirmation dialogs
Fixes #4512
Closes #4513
// FREEBIE
2015-11-19 10:35:45 -08:00
agrajaghh
ce617fb7cb hide irrelevant preferences in RecipientPreferenceActivity
fixes #4505
Closes #4509
//FREEBIE
2015-11-19 10:31:11 -08:00
Sam Lanning
8efe6e7286 Make long pressing the attach button open the transport popup
// FREEBIE
2015-11-19 10:30:26 -08:00
Moxie Marlinspike
745faa12a7 Fix for outgoing group update display
Fixes #4444
// FREEBIE
2015-11-19 10:30:26 -08:00
Dustin Lim
0cd4cc67af save fragment state when changing theme/langugage
closes #2782
// FREEBIE
2015-11-19 10:30:26 -08:00
agrajaghh
9201d50f05 let the quick camera remember front/back mode
fixes #4438
closes #4440

//FREEBIE
2015-11-19 10:30:26 -08:00
Jake McGinty
f82a7fee49 re-commit refactored CameraView
closes #4529
Confirmed fixed front-camera bug in Galaxy Nexus.

// FREEBIE
2015-11-19 10:30:26 -08:00
agrajaghh
c4339813e6 migrate to AppCompatDialog
closes #3222
2015-11-19 10:30:26 -08:00
Carlin
927aac2c4a Add button to toggle passphrase visibility
closes #3776
// FREEBIE
2015-11-19 10:30:26 -08:00
Heartsucker
5a29c61dac Correctly sets subtitle on conversation batch select mode during first selection
fixes #3565
closes #3628
2015-11-19 10:30:26 -08:00
Calvin Hu
149ac9f417 when camera preview is open, the preview toggle button will close the preview
closes #3574
2015-11-19 10:30:26 -08:00
McLoo
6c20a4c08b Change 'Title' to 'Group name' in group update message
closes #3424
//FREEBIE
2015-11-19 10:30:26 -08:00
Moxie Marlinspike
8fc690d8e0 Update to libtextsecure 1.8.3
Fixes #4549

// FREEBIE
2015-11-19 10:30:26 -08:00
Jake McGinty
dd0a952c83 avoid older android 9patch transparency bugs
// FREEBIE
2015-11-19 10:30:26 -08:00
Moxie Marlinspike
ff123943cb Fully differentiate Signal vs non-Signal contacts
// FREEBIE
2015-11-19 10:30:25 -08:00
Moxie Marlinspike
058bcf1f4a More shortcode fixes for Germany
// FREEBIE
2015-11-16 11:35:11 -08:00
Jake McGinty
ae379cd3dd fix external gif sharing
fixes #4539
Closes #4556
// FREEBIE
2015-11-16 11:28:03 -08:00
Moxie Marlinspike
69f5aacd25 Consider everything <= len(4) a short code, except short countries
// FREEBIE
2015-11-14 15:17:05 -08:00
Moxie Marlinspike
2a753c7795 Uhh, switch from valid to possible short codes?
Fixes #4478
// FREEBIE
2015-11-13 17:07:43 -08:00
Moxie Marlinspike
21f04605c6 Don't E164 shortcodes
Fixes #4478
// FREEBIE
2015-11-13 11:23:37 -08:00
Jake McGinty
0c75e652eb bring back the ripple when clicking on preview
Closes #4506
// FREEBIE
2015-11-12 15:20:17 -08:00
Jake McGinty
76b0183e0f move db query off main thread, fix group self-add
fixes #4168
Closes #4502
// FREEBIE
2015-11-12 15:20:17 -08:00
Jake McGinty
e51e5cdfd4 fail faster in FileNotFoundException case
Fixes #3053
Closes #4499
// FREEBIE
2015-11-12 15:20:17 -08:00
Jake McGinty
5b1e5b18f9 reset contact selection after batch invite
fixes #4452
Closes #4498
// FREEBIE
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
fb9ba8cb8d Tint audio controls to be visible in dark theme
Fixes #4353
Closes #4466
// FREEBIE
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
b136fed6f7 Update contact DB on incoming messages
When we receive a Signal message from a previously unregistered
user, reflect that in the contact DB.

Fixes #3949
Closes #4492
// FREEBIE
2015-11-12 15:20:16 -08:00
Jake McGinty
fb8d6cb538 contact selection reeemix
1) RecyclerView-based, with better long scroller
   and more material-inspired look.
2) Add badge for Signal users to contact selection
   list.

// FREEBIE
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
7bec5efe1a Add 'Signal Call' option to contact card
Fixes #4392
Closes #4465
// FREEBIE
2015-11-12 15:20:16 -08:00
agrajaghh
5c59c3f423 make invite strings plural
fixes #4388
Closes #4389

// FREEBIE
2015-11-12 15:20:16 -08:00
Sebastian Morr
181c7dfd85 Add the option to mute notifications for one year.
Fixes #4448.
Closes #4454
2015-11-12 15:20:16 -08:00
Jake McGinty
d05097a6fd Refactor group logic (no visual changes)
Closes #4480
// FREEBIE
2015-11-12 15:20:16 -08:00
brumsel
5333647794 Always play "sonar" on call initialization
If "sonar" was the last sound played on the last call, it wasn't
 being played on the next calling attempt.

Closes #4473
2015-11-12 15:20:16 -08:00
RiseT
e1f9519235 Replace 'my' with 'your'
See
https://www.google.com/design/spec/style/writing.html#writing-language

// FREEBIE
2015-11-12 15:20:16 -08:00
RiseT
7f0b0803bc Change 'SD card' to 'storage' & cosmetic corrections
Fixes #3920
2015-11-12 15:20:16 -08:00
Jake McGinty
b0137c08cb go back to old CameraView
Fixes #4415
Closes #4484
// FREEBIE
2015-11-10 15:48:50 -08:00
Jake McGinty
5fd5b1e1ed Fix "twitchy fingers" bug in CameraView
better diagnostic information, too.

Fixes #4422
Closes #4427
// FREEBIE
2015-11-06 15:00:29 -08:00
Moxie Marlinspike
56a3c99289 Resolve service deadlock issue
Fixes #4409
// FREEBIE
2015-11-06 11:57:22 -08:00
Moxie Marlinspike
b5b564cfe1 Make sure the number we add canonicalizes to the number we know.
Fixes #4406
// FREEBIE
2015-11-06 10:50:47 -08:00
Moxie Marlinspike
5b08be8d01 We don't need jitter stats logging in production anyway
// FREEBIE
2015-11-05 12:52:31 -08:00
Moxie Marlinspike
8d4f3803df Switch SMS listener to using dotall
// FREEBIE
2015-11-05 11:44:03 -08:00
Jake McGinty
796940bda5 fix ContactSelectionListItem NPE
Fixes #4394
Closes #4399
// FREEBIE
2015-11-05 11:12:22 -08:00
Jake McGinty
00a18f58a7 catch MMS NPE for time being
Fixes #4379
Closes #4401
// FREEBIE
2015-11-05 11:11:28 -08:00
agrajaghh
0ef56fb86d add custom color to MessageDetailsActivity
Fixes #3560
Closes #3580

// FREEBIE
2015-11-05 11:10:20 -08:00
Jake McGinty
381c8820b1 remove unused CircleIndicator
Fixes #4393
closes #4397
// FREEBIE
2015-11-05 11:02:56 -08:00
Jodson Leandro
a930ec5404 Flag secure in all activities that extends BaseActionBarActivity
Closes #4152
Fixes #3327
2015-11-05 11:00:31 -08:00
Stefan Seide
e808ae0ddc remove brackets from recipient numbers as not allowed for dialing
Closes #3450
2015-11-05 10:07:52 -08:00
rafael81
750e25388f Update regular expression pattern for sms verification
Closes #4375
2015-11-05 09:52:03 -08:00
Moxie Marlinspike
09c57f3f44 Add close button to attachment type selector
// FREEBIE
2015-11-04 17:56:21 -08:00
Moxie Marlinspike
be0ca330f5 Nicer looking attachment type selector
Closes #4367
// FREEBIE
2015-11-04 17:56:21 -08:00
Jake McGinty
d6a061d50f extra logging for activity lifecycle
to help debug #2971
Closes #4342
// FREEBIE
2015-11-04 17:56:21 -08:00
Jake McGinty
59f2446a2b unjankify incoming media sharing
Closes #4374
Fixes #3989
// FREEBIE
2015-11-04 17:56:21 -08:00
Moxie Marlinspike
60ab71099f Don't show group avatar icons in thread preview
Fixes #4383
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
3f6cdd4133 Add audio focus into the audio dance.
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
72b9c37ec8 Mark muted messages as read when in thread
Fixes #3562
Closes #3643
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
5704fad7cc Fix for broken build
// FREEBIE
2015-11-04 17:56:20 -08:00
Gil
849c346a21 Updates visibleThreadId after sending a message in a new thread
Fixes #3536
Closes #4146
2015-11-04 17:56:20 -08:00
Manuel Geier
328a3ff20e show total number of messages or threads to be deleted
in delete-confirm-dialogs

Closes #4284

// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
aade4c7af3 Correctly set audio mode
Fixes #4244
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
58406d6b37 Consider unregister successfull on 401 from RP server.
Fixes #4362
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
004a87eba9 Lower SMS retry count to 15
Closes #4296
// FREEBIE
2015-11-04 17:56:20 -08:00
Jake McGinty
3fa11d9931 show transfer progress when re-sending failed media
Closes #4341
fixes #4104
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
cad8ff766a Don't set media volume to zero.
Not sure what SOA was thinking with this one.

Fixes #4201
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
5b6f49c993 Switch RedPhone view<->service interaction to use event bus
Fixes #4234
// FREEBIE
2015-11-04 17:56:20 -08:00
Jake McGinty
3e798a9863 batch invitation
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
4371708fc4 Fix onNewIntent transport selection assertion
Fixes #4301
// FREEBIE
2015-11-04 17:56:20 -08:00
Jake McGinty
d4887e11be fix failed incoming MMS regression
Fixes #4308
Closes #4334
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
d0e852f19f Retry on network failures during media message sends.
Fixes #4332
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
8d82033855 Notify when contacts join Signal
Closes #4314
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
434ce4f9c9 Canonicalize entries in canonical address database.
Make all our queries E164, so eventually everything in there
will be E164.  Stops thrashing between formats.

Closes #4306

// FREEBIE
2015-11-04 17:56:20 -08:00
Jake McGinty
8fd0ea39aa Simplify excessively convoluted camera logic
1) QuickCamera logic moved into CameraView

2) The strategies for texture vs. surface view were too complex
   with no observed gain. Better to remove and have to re-add
   if necessary than assume it to be necessary.

3) Drop CWAC-Camera dependency - the device profiles weren't being
   used very much and even that is deprecated so we'd be left on
   our own with new hardware. Not worth it.

4) Selfies first.

5) Layout/orientation mathy logic from CWAC moved into CameraUtils,
   with the  hopes that most of it might be further simplified or
   rendered unnecessary in the future.

Closes #4326

// FREEBIE
2015-11-04 17:56:20 -08:00
RiseT
08be47c03e Adjust a couple of strings in order to include calls AND messages.
Closes #4311
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
751fa21f60 Ignore envelopes with unknown type
// FREEBIE
2015-11-04 17:56:19 -08:00
Moxie Marlinspike
339d352d6e Better support for revoked audio permissions.
// FREEBIE
2015-11-04 17:56:19 -08:00
Sam Lanning
79cb6166d5 Consolodate Base64 Classes
both org.thoughtcrime.redphone.util and
org.thoughtcrime.securesms.util have a Base64 util class,
however, other than whitespace changes, and the securesms
one having a couple of extra methods, they are the same.

This commit removes org.thoughtcrime.redphone.util.Base64 and
anything referencing it now uses
org.thoughtcrime.securesms.util.Base64

Closes #4294
2015-11-04 17:56:19 -08:00
Moxie Marlinspike
11a93fabe5 Synchronize with paired devices when a contact changes.
// FREEBIE
2015-11-04 17:56:19 -08:00
Moxie Marlinspike
bd280ec895 Only prompt for importing system SMS db when we're the SMS app
// FREEBIE
2015-10-28 16:50:45 -07:00
Jake McGinty
02c781eb25 update reminders when dismissed
Closes #4325
// FREEBIE
2015-10-28 16:43:48 -07:00
Moxie Marlinspike
a086a2471c Fix crash when creating group with no avatar icon
Fixes #4320
// FREEBIE
2015-10-28 10:36:21 -07:00
Moxie Marlinspike
4271732b10 Be more rigorous about discerning media message thread.
Fixes #4312
// FREEBIE
2015-10-28 10:24:55 -07:00
Jake McGinty
15b131d8c2 don't show invite reminder for non-contacts
Closes #4310
// FREEBIE
2015-10-26 12:41:43 -07:00
Moxie Marlinspike
40108d5276 Catch exception strangely thrown by system query from Sony device.
Fixes #4309
// FREEBIE
2015-10-26 12:34:27 -07:00
Jake McGinty
285bd3de0e tweak reminder jedi mind tricks
// FREEBIE
2015-10-26 12:24:53 -07:00
Jake McGinty
758b306527 really fix crash from incorrect send job
Closes #4246
// FREEBIE
2015-10-26 11:44:45 -07:00
Moxie Marlinspike
f6a5f117b8 Generate thumbnails for outgoing pending messages.
Fixes #4307
// FREEBIE
2015-10-26 11:39:00 -07:00
Moxie Marlinspike
f714f5b572 Really limit the number of rows that can be joined from parts.
Fixes #4299
Fixes #4298
// FREEBIE
2015-10-25 09:58:21 -07:00
Moxie Marlinspike
a64dba8a7e Correctly format numbers in outgoing MMS
// FREEBIE
2015-10-24 18:36:03 -07:00
Moxie Marlinspike
cb3f9a6805 Distinct rows from join
// FREEBIE
2015-10-24 14:38:03 -07:00
Sam Lanning
c342f0d7e4 Change text of dialog box confirming blocking.
Blocking users now also blocks incoming calls, so the block confirmation
message has been updated.

fixes #4217
Closes #4295

// FREEBIE
2015-10-24 11:04:10 -07:00
Moxie Marlinspike
34b80f91ee Propagate clicks on conversation list thumbnails.
Closes #4292
// FREEBIE
2015-10-24 10:33:20 -07:00
Moxie Marlinspike
c258b4c7aa Expand MMS-specific queries, properly parse incoming MMS.
// FREEBIE
2015-10-24 09:40:04 -07:00
Moxie Marlinspike
a5971da2ad Revert "fix crash from incorrect send job"
This reverts commit 8fe5f35b13.
2015-10-23 17:08:17 -07:00
Jake McGinty
8fe5f35b13 fix crash from incorrect send job
related to #4153
Clsoes #4246
// FREEBIE
2015-10-23 17:02:10 -07:00
Moxie Marlinspike
d70f0f1216 Stop audio when leaving conversation.
Fixes #4290
// FREEBIE
2015-10-23 17:00:51 -07:00
Moxie Marlinspike
a1f46b3aae Reset seekbar at end of play if mediaplayer doesn't do it for us.
Fixes #4286
// FREEBIE
2015-10-23 16:55:23 -07:00
Moxie Marlinspike
2ce16297ff Fix start/stop audio race condition.
Fixes #4289
// FREEBIE
2015-10-23 16:54:58 -07:00
Moxie Marlinspike
9dc003a753 Register for audio progress events.
Closes #4288
// FREEBIE
2015-10-23 16:23:32 -07:00
Jake McGinty
2f568c6400 go back to old reminder view look
Closes #4283
// FREEBIE
2015-10-23 12:53:19 -07:00
Moxie Marlinspike
5111fe2e95 Display thumbnail previews for images in conversation list.
Closes #4262
// FREEBIE
2015-10-22 10:45:04 -07:00
Moxie Marlinspike
15c6f18750 Support for an audio view to allow in-app playback of audio.
Closes #4270
// FREEBIE
2015-10-22 10:32:45 -07:00
Moxie Marlinspike
d2f44f6584 Join attachments instead of running an asynchronous query.
No more SlideDeck futures, just SlideDecks.

// FREEBIE
2015-10-22 10:31:22 -07:00
Moxie Marlinspike
25e099a309 Fix two message ordering issues.
1) The group ID for jobs that process received messages was
   previously set to the sender's e164.  This guaranteed
   serialization of messages per-recipient, while allowing
   processing of multiple recipients in parallel.  Unfortunately
   in the case of groups, this results in out of order
   conversations, since the "sender" for each message is
   different.  And we can't determine that it was a group
   message until *after* we process it.  So this change just
   puts all message processing from all senders in one big queue.

2) Synchronization messages were always being displayed before
   received messages, due to the "received time" for those
   being set to the time they were sent.

Fixes #3618
Fixes #2385

// FREEBIE
2015-10-16 10:07:50 -07:00
Moxie Marlinspike
5fd9874ab6 Support for group update messages from paired devices.
Fixes #3566
// FREEBIE
2015-10-15 17:10:54 -07:00
Jake McGinty
4ffb1ea95e in-conversation invite reminder
Closes #4250
// FREEBIE
2015-10-15 13:23:37 -07:00
WhiteHatTux
93b82843a7 Fix minor spelling mistake in RedPhone Constant
Closes #4235
//FREEBIE
2015-10-15 11:26:32 -07:00
Jake McGinty
ae97495c47 only load partial conversation by default
Closes #4252
Fixes #3911
// FREEBIE
2015-10-15 11:16:49 -07:00
Jake McGinty
4a3faf9086 stop listening on old recipient changes
Closes #4251
// FREEBIE
2015-10-15 11:11:56 -07:00
Moxie Marlinspike
09e52834a6 Refactor "parts" to contain MMS/PDU madness to MMS code paths.
Closes #4248
// FREEBIE
2015-10-15 11:11:39 -07:00
Moxie Marlinspike
450128ed63 Fix for sending secure messages to insecure groups.
Fixes #4225
// FREEBIE
2015-10-09 09:37:36 -07:00
Moxie Marlinspike
143f786322 Extern Incoming call string.
Fixes #4196
// FREEBIE
2015-10-04 17:41:23 -07:00
Geonu Kang
a0859a71b2 Make 'reset secure session' consistent
Closes #4200
Fixes #4198
// FREEBIE
2015-10-04 10:24:21 -07:00
Moxie Marlinspike
399dfb1a98 Restrict Google's MultiWaveView animation to JB+
Fixes #4203
// FREEBIE
2015-10-04 10:21:08 -07:00
Moxie Marlinspike
f01cab57c7 Screen security if enabled.
Fixes #4187
// FREEBIE
2015-10-02 13:40:49 -07:00