Sam Lanning
69f180a5ec
Fix some potential integer overflows for expiration time
...
In a number of locations in the code, there were conversions of message
expiration times from seconds to milliseconds, and then assigned to `long`
contexts. However these conversions were being done as integer multiplication
rather than long multiplication, meaning that there was a potential for
overflows.
Specifically, the maximum value that could be represented before overflowing
was (2^31 / 1000 / 60 / 60 / 24) days = 24.8 days (< 1 month). Luckily the
current allowed timeouts are all less than that value, but this fix would
remove the artificial restriction, effectively allowing values of 1000x greater
(68 years), at least for android.
Related #5775
Closes #7338
2018-03-07 09:55:24 -08:00
Andrew Gaul
10c1ee70e8
Make some inner classes static
...
Closes #7370
2018-03-07 09:51:05 -08:00
Win Ribeka
c5e495bfe5
Adding task affinity to the share activity. Fixes #7312 .
...
Closes #7371
2018-03-07 09:44:11 -08:00
FeuRenard
0efda2df91
Make toast after saving attachment translatable
...
Closes #7374
2018-03-07 09:41:33 -08:00
art1fa
4bdb2acd29
Batch selection mode improvements
...
Simplified and now the same for conversation and conversation list.
Added also some styling.
Closes #7410
2018-03-07 09:38:51 -08:00
Moxie Marlinspike
56c95d1d1b
Extract string resource
2018-03-07 09:36:15 -08:00
Moxie Marlinspike
d44bfc3ce3
s/password/passphrase
2018-03-07 09:34:41 -08:00
FeuRenard
527e39eee8
Don't save white space drafts
...
Fixes #7308
Closes #7383
2018-03-07 09:33:57 -08:00
Moxie Marlinspike
2beb1dd8d9
Layout adjustments
2018-03-07 09:08:13 -08:00
Marek Sebera
694a5de2c3
Send m-notifyresp-ind (NotifyRespInd) for retrieved MMS on Lollipop API
2018-03-06 17:34:31 -08:00
art1fa
feee09cd28
Fix color in toolbars
2018-03-06 10:14:23 -08:00
art1fa
6dd8300c73
Add standard elevation to Toolbars
2018-03-06 10:14:23 -08:00
art1fa
4281097828
Decrease back button padding / margin
2018-03-06 10:00:44 -08:00
art1fa
1e62934220
Reduce avatar size in ConversationView
2018-03-06 10:00:44 -08:00
junitas
4b5d7bbfa4
Ignore swipe events for ConversationListItemInboxZero
...
Fixes #7423
2018-03-06 09:35:13 -08:00
Moxie Marlinspike
f5f1305af8
Update libpastelog to 1.1.2
2018-03-05 20:17:55 -08:00
Moxie Marlinspike
110d33ddf8
Support for Registration Lock PINs
2018-03-05 16:13:56 -08:00
Moxie Marlinspike
d28dc670ea
Migrate to Android fingerprints and auth for Signal screen lock
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
3970a30e14
Add chunk IV to chunk MAC
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
24e573e537
Support for full backup/restore to sdcard
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
9f6b761d98
Migrate sessions into database
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
9f3c04dfb5
Migrate prekeys into database
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
6239508b39
Clean file names for belt and suspenders
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
71c7ef5b5e
Support for custom call ringtone selection and per-chat ringtones
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
35a6ec707f
Update libpastelog to 1.1.1
2018-03-01 18:19:34 -08:00
Moxie Marlinspike
8eb8f9e724
Bump version to 4.16.9
v4.16.9
2018-02-28 10:47:49 -08:00
Moxie Marlinspike
bebdbe2aaa
Remove master secret requirement from SMS received job
...
Fixes #7444
2018-02-28 10:45:50 -08:00
Moxie Marlinspike
eaf11744c7
Bump version to 4.16.8
2018-02-26 14:03:49 -08:00
Moxie Marlinspike
18aa202695
Really really delay SMS processing until sqlcipher migration completes
...
Blocking the SMS job on the screen lock isn't enough, since then
the job races against the migration.
Fixes #7390
2018-02-26 14:02:12 -08:00
Moxie Marlinspike
a0a9e412b4
Correctly lock screen when locked from conversation list
...
Fixes #7441
2018-02-26 10:47:41 -08:00
Moxie Marlinspike
9ebd8682b5
Bump version to 4.16.7
v4.16.7
2018-02-24 11:12:11 -08:00
Moxie Marlinspike
028c6edd8a
Manually calculate attachment offsets
...
The CipherInputStream skip() method is pretty non-functional
Fixes #7438
2018-02-24 11:09:26 -08:00
Moxie Marlinspike
4324f0b7ec
Update libpastelog
2018-02-24 11:09:05 -08:00
Moxie Marlinspike
c940e984f0
Bump version to 4.16.6
v4.16.6
2018-02-22 13:14:56 -08:00
Moxie Marlinspike
43bb1d2290
Updated language translations
2018-02-22 13:13:36 -08:00
Moxie Marlinspike
7318236286
Delay processing SMS messages until after sqlcipher migration
...
When screen lock passphrase is enabled
Fixes #7390
2018-02-21 18:49:52 -08:00
Moxie Marlinspike
a40d7158de
Bump version to 4.16.5
2018-02-05 17:38:05 -08:00
Moxie Marlinspike
0bbe83f8f2
Don't copy column to sqlcipher db if it doesn't exist there
...
Fixes #7386
2018-02-05 17:32:24 -08:00
Moxie Marlinspike
2b651ee323
Prevent NPE in #7375
2018-02-05 12:08:40 -08:00
Moxie Marlinspike
3be45f093c
Bump version to 4.16.4
v4.16.4
2018-02-04 11:26:54 -08:00
Moxie Marlinspike
9d5d43cf3a
Wait to process messages until after migration when screenlocked
...
Fixes #7390
2018-02-04 11:26:02 -08:00
Moxie Marlinspike
751cc0e86a
Bump version to 4.16.3
v4.16.3
2018-02-02 16:32:05 -08:00
Moxie Marlinspike
01c3244f75
Specify supported ABIs
2018-02-02 16:31:49 -08:00
Moxie Marlinspike
f17c144a60
Bump version to 4.16.2
2018-02-01 19:36:29 -08:00
Moxie Marlinspike
93ca2ad8cf
Fix new conversation activity crash
2018-02-01 19:36:09 -08:00
Moxie Marlinspike
a4aac62bcb
Bump version to 4.16.1
2018-02-01 19:23:29 -08:00
Moxie Marlinspike
3633d805c8
More MasterSecret cleanup
2018-02-01 19:22:48 -08:00
Moxie Marlinspike
59092e2ec0
No need for an encrypted serializer any longer
2018-02-01 18:33:12 -08:00
Moxie Marlinspike
e6a069af6d
Remove unnecessary body model
2018-02-01 18:29:09 -08:00
Moxie Marlinspike
23aee53c7d
Add determinte progress and foreground service for sqlcipher migration
2018-02-01 16:01:24 -08:00