Commit Graph

21 Commits (8cf2654c5ba1108c7068c44b754893115bbe422d)

Author SHA1 Message Date
Alan Evans 8cf2654c5b Show reply method SMS/Signal and respect sticky.
Fixes #8792
7 years ago
Greyson Parrelli c76081d99c Added support for link previews. 7 years ago
Moxie Marlinspike 5f31762220 Support for sealed sender - Part 1 7 years ago
Greyson Parrelli 9dd3e50ebd Don't set subscriptionId for quick-reply push messages.
This could cause us to think push messages were actually sent with
a SIM. We also now prevent rendering SIM info on push messages in
the conversation view.

Fixes #8176
7 years ago
Greyson Parrelli 54dbffaf30 Added ability to share contacts.
The "contact" option in the attachments tray now brings you through an
optimized contact sharing flow, allowing you to select specific fields
to share. The contact is then presented as a special message type,
allowing you to interact with the card to add the contact to your system
contacts, invite them to signal, initiate a signal message, etc.
8 years ago
Moxie Marlinspike d567534609 replies 8 years ago
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
8 years ago
Moxie Marlinspike 3633d805c8 More MasterSecret cleanup 8 years ago
Moxie Marlinspike f36b296e2e Migrate from SQLite and ciphertext blobs to SQLCipher + KeyStore 8 years ago
Moxie Marlinspike 17dd681dc8 Run all AsyncTasks on thread pool executor
Should Fix #7002
8 years ago
Moxie Marlinspike f17af19d09 Access all RecipientDatabase settings directly from Recipient
// FREEBIE
8 years ago
Moxie Marlinspike d1790dfe17 Rename RecipientPreferences -> RecipientSettings
// FREEBIE
8 years ago
Moxie Marlinspike 8e6ca53023 Rename RecipientPreferencesDatabase -> RecipientDatabase
// FREEBIE
8 years ago
Moxie Marlinspike 6924f0519e No need for a RecipientFactory any longer
// FREEBIE
8 years ago
Moxie Marlinspike 375207f073 Switch MMS groups to use the group database infrastructure
Eliminate the concept of 'Recipients' (plural). There is now just
a 'Recipient', which contains an Address that is either an individual
or a group ID.

MMS groups now exist as part of the group database, just like push
groups.

// FREEBIE
8 years ago
Moxie Marlinspike 737810475e Remove the Canonical Address Database
This was a holdover from Signal's origins as a pure SMS app.
It causes problems, depends on undefined device specific behavior,
and should no longer be necessary now that we have all the
information we need to E164 all numbers.

// FREEBIE
8 years ago
Moxie Marlinspike cb670d6783 Improve UI send latency
// FREEBIE
9 years ago
Max Muth 2c1a5aef1c Fix occasional crash on Android 7 direct reply
Fixes #6185
Closes #6322
//FREEBIE
9 years ago
Moxie Marlinspike 8cd50d1e82 Update last seen state on desktop sync send
// FREEBIE
9 years ago
Moxie Marlinspike d9b42c4369 Support for a "new messages" divider in conversations
// FREEBIE
9 years ago
Moxie Marlinspike 373a0f9527 Support for Android N direct reply notifications
// FREEBIE
9 years ago