Greyson Parrelli
ccfcfa71df
Enable the sending of long messages.
2019-03-22 12:28:41 -07:00
Greyson Parrelli
8caaf057e8
Remove unnecessary pre-19 code branches.
...
Now that our minSdk is 19, we can remove a lot of old code paths that
only ran pre-19.
2019-03-21 11:19:06 -07:00
Moxie Marlinspike
a52c295a38
Simplify access to SecureRandom
...
This shouldn't matter at all, but it's more "correct," and shows
my age less.
2019-03-21 11:19:06 -07:00
Moxie Marlinspike
8aa185070b
Update libsignalservice to 2.13.0
...
- Eliminate the explicit spongycastle dependency. All access to
primitives is done through the JCE interfaces now, which allows
us to use a secure native-backed provider like conscrypt.
- Use conscrypt for our default security provider. This gives us
fast TLS 1.2 and 1.3 support on all devices, even before they
had platform support (like 4.4).
- Update minSdk to 18. Unfortunately the JCE interfaces for GCM
primitives are JDK 7+ (!) only, which became supported by Android
at 18.
2019-03-21 11:19:06 -07:00
Greyson Parrelli
aa5e32f0ee
Add back the highlight and sticker tools.
2019-03-21 11:02:07 -07:00
Greyson Parrelli
8e86c7d81a
Fix media button visibility issue on older Android versions.
...
Turns out setVisibility doesn't work unless you call clearAnimation()
first on older Android versions. Isn't that grand?
2019-03-21 00:11:01 -07:00
Greyson Parrelli
148cfd1b53
Fix crash when single-selecting large media.
2019-03-20 23:01:32 -07:00
Greyson Parrelli
6e7fab40ac
Guard against OOB moves in media send flow.
2019-03-19 18:38:06 -07:00
Greyson Parrelli
8a7cac7c03
Switch gallery to permanent dark theme.
2019-03-19 18:38:06 -07:00
Greyson Parrelli
932e7b4af5
Fix button flicker when selecting single media item.
2019-03-19 18:38:02 -07:00
Greyson Parrelli
2f8a7fa296
Bounce the media select button when selecting media.
2019-03-19 15:42:08 -07:00
Greyson Parrelli
5e6f71cd32
Show selection order in multi-select.
2019-03-19 15:42:08 -07:00
Greyson Parrelli
ce0058864f
Make BlobProvider write to disk on a background thread.
...
Otherwise we hit some weird blocking issues with voice note recording.
2019-03-19 15:34:04 -07:00
Greyson Parrelli
c646316a97
Block typing indicators from blocked contacts.
2019-03-19 09:39:19 -07:00
Greyson Parrelli
5b534c8b1a
Update URL homograph rules.
2019-03-18 17:37:19 -07:00
Greyson Parrelli
975a121c55
Show a warning for users on API < 19.
...
We'll be updating minSdk to 19 in 4.37. This lets these users continue
to use the app, but they'll be warned with a persistent banner saying
that they can't receive updates.
2019-03-18 15:09:56 -07:00
Greyson Parrelli
64cf032181
Updated media send UI.
2019-03-18 15:09:56 -07:00
Alan Evans
286b64274c
Replace Avatar Cropper.
2019-03-18 15:09:50 -07:00
Alan Evans
0cb2404735
Lint error fixes.
...
* Old Gingerbread code removed.
* Add missing super call.
2019-03-18 11:14:18 -03:00
Greyson Parrelli
0a8bbf14a6
Merge camera into send flow.
2019-03-14 16:25:35 -07:00
Greyson Parrelli
eb1dd58a0b
Persistent media in multi-send.
2019-03-14 16:20:36 -07:00
Alan Evans
e0c11998c3
Make DisplayRecord take context as argument, so locale is more likely to be correct.
2019-03-13 18:28:16 -03:00
Alan Evans
de72eceecf
Update help URL to avoid redirect.
2019-03-13 18:19:33 -03:00
Alan Evans
2c28fa6a57
Make GIF search layout option sticky.
...
Fixes #7843
2019-03-12 11:41:54 -03:00
Alan Evans
f010a3ec0d
Consistent Recipient to add contact Intent export.
2019-03-12 11:29:59 -03:00
Alan Evans
e390fb4fc5
Fix ShareMessage toolbar back button.
2019-03-12 11:29:59 -03:00
Greyson Parrelli
a4ce77cbcc
Remove unused method.
2019-03-12 11:29:59 -03:00
Greyson Parrelli
18613e3b6f
Remove generic foreground service condition from Job.
...
I don't think it actually helps at all, meaning it just adds
complexity.
Fixes #8677
2019-03-12 11:29:59 -03:00
Greyson Parrelli
a122bb4899
Created new BlobProvider.
...
One unified place to create blobs for different lifespans.
2019-03-10 15:18:39 -07:00
Greyson Parrelli
1efb92b913
Fix issue where SMS were sometimes sent as MMS.
...
Fixes #8664
2019-03-06 08:12:00 -08:00
Greyson Parrelli
77e971cb9b
Fix bug where system emoji setting was ignored in message bubbles.
...
EmojiTextView. It is our gift. It is our curse.
2019-03-02 19:31:28 -08:00
Greyson Parrelli
003fa1b059
Make long text attachments contain the entire message.
...
Instead of just containing the 'overflow', long text attachments now
contain the entire body in full.
2019-03-02 19:31:22 -08:00
Greyson Parrelli
55699e27bc
Added ability to receive long messages.
...
Send support is in here too. We'll enable it in a future release after
enough people have updated.
2019-03-01 14:15:08 -08:00
Greyson Parrelli
bf28e109d3
Update registration UI.
2019-03-01 14:15:01 -08:00
Greyson Parrelli
fd862e575b
Fix situation where search nav could get stuck.
...
If you navigated to the ConversationActivity again via some action (like
a shared contact invite) while searching, we don't get the toolbar close
event, and therefore the search nav would stay open. Now we just reset
it on newIntent() to be safe.
2019-03-01 13:44:32 -08:00
Greyson Parrelli
7fd6f5b3ff
Fix search highlight in multi-whitespace bodies.
...
The way the highlight was done could get screwed up if you had multiple
whitespaces in a row. This particularly came up with messages with
multiple newlines.
2019-03-01 13:44:32 -08:00
Greyson Parrelli
42e94d8f92
Remove leftover half-height camera code.
2019-03-01 13:44:32 -08:00
Greyson Parrelli
b572fce658
Remove some unnecessary intermediate blob creation.
2019-03-01 13:44:32 -08:00
Greyson Parrelli
276e867f9a
Improved address resolution for ContentProxySelector.
...
We can use an unresolved address to avoid all the threading stuff in
that class.
2019-03-01 13:42:10 -08:00
Greyson Parrelli
b2d4608cdb
Improved handling for URLs that are composed of mixed character sets.
2019-02-24 10:00:44 -08:00
Greyson Parrelli
60c7fb0056
Fix possible NPE.
2019-02-20 17:20:12 -08:00
Greyson Parrelli
fa6da1902f
Fix button spinning after failed CAPTCHA.
2019-02-19 13:13:32 -08:00
Greyson Parrelli
33daa21ad9
Guard against devices not supporting mandatory ContentProvider columns.
...
The docs specify that this column is supposed to be present, but a
crash says it wasn't, so alas, here in goes the check.
2019-02-19 09:34:24 -08:00
Greyson Parrelli
5c0e1100ed
Fix possible NPE in conversation menu.
...
Would occur if someone had previously muted a conversation with
themselves.
2019-02-16 11:45:09 -08:00
Greyson Parrelli
b962751c96
Fix possible IllegalArgumentException during a database migration.
2019-02-15 19:33:16 -08:00
Greyson Parrelli
94e8553b73
Fix possible NPE during conversation load.
2019-02-15 19:24:23 -08:00
Greyson Parrelli
a2b6dbda14
Correctly sync Note to Self conversation color.
2019-02-15 14:21:27 -08:00
Greyson Parrelli
a6564f8f84
FCM improvements.
2019-02-15 14:21:23 -08:00
Greyson Parrelli
02b0800b22
Support requesting a CAPTCHA during registration.
2019-02-14 20:19:07 -08:00
Greyson Parrelli
2cfa431cad
Supply a reason for CDS error reporting.
2019-02-14 20:19:07 -08:00