Commit Graph

339 Commits

Author SHA1 Message Date
Matthew Chen 3c7d47f565 [SSK] Remove legacy message sending.
// FREEBIE
2017-06-12 09:26:17 -04:00
Matthew Chen df21e616d1 [SSK] Don’t update home view sort order in response to dynamic interactions or verification state changes. We only want to create change messages in response to user activity, on any of their devices.
// FREEBIE
2017-06-10 14:26:17 -04:00
Matthew Chen cc5e810211 [SSK] Add a default description for verification state messages.
// FREEBIE
2017-06-09 11:43:13 -04:00
Michael Kirk 0a55b965b6 [SSK][SPK] Archive sessions when fetching profile
// FREEBIE
2017-06-08 17:56:44 -04:00
Michael Kirk 6715e76c99 Prefer archiving, to deleting old sessions for better handling of out of
order decryption.

// FREEBIE
2017-06-08 16:19:31 -04:00
Matthew Chen bc63a72c25 Add verification state change messages.
// FREEBIE
2017-06-08 10:44:23 -04:00
Michael Kirk 64efa2b3c6 [SSK] remove redundant SN changes when sending to new identity
// FREEBIE
2017-06-08 10:34:45 -04:00
Michael Kirk 75bab75dc8 Show no redundant error when failing to send due to changed identity
The old "blocking" style SN alerts are deprecated. We maintain the
functionality to decrypt incoming messages from legacy SN alerts so that
users have time to recover their undecrypted messages.

// FREEBIE
2017-06-08 10:34:45 -04:00
Matthew Chen a1d3e360df [SSK] Sync verification state.
// FREEBIE
2017-06-07 17:51:27 -04:00
Michael Kirk 9ec6ec5e4e [SSK] create missed call notification in threads
// FREEBIE
2017-06-07 15:04:23 -04:00
Michael Kirk 1a3204bf46 create interaction in thread when missing call due to changed identity
// FREEBIE
2017-06-07 15:04:21 -04:00
Michael Kirk 32d05bbe08 [SSK] avoid deadlock on unknown session
// FREEBIE
2017-06-07 14:51:32 -04:00
Michael Kirk 2692977168 [SSK] New identity manager
// FREEBIE
2017-06-07 10:36:19 -04:00
Matthew Chen ceb210748e Sketch out OWSIdentityManager.
// FREEBIE
2017-06-07 10:18:16 -04:00
Matthew Chen e80a00a6b2 [SSK] Format fail messages.
// FREEBIE
2017-06-06 09:58:53 -04:00
Matthew Chen 58f360b620 [SSK] Rework and unify the system messages.
// FREEBIE
2017-06-06 09:50:29 -04:00
Matthew Chen 05fb7dcb3f [SSK] Remove obsolete TSUIDatabaseConnectionDidUpdateNotification notification.
// FREEBIE
2017-06-02 10:33:00 -04:00
Michael Kirk eea0d7be7f [SSK] update to merged
// FREEBIE
2017-06-01 13:21:56 -07:00
Michael Kirk 5b12f4afae Prevent outgoing calls started from various places unless have been seen
e.g. from contacts app

// FREEBIE
2017-06-01 12:59:34 -07:00
Michael Kirk 130aa132a0 Reject incoming calls from an unseen changed identity
// FREEBIE
2017-06-01 12:59:34 -07:00
Matthew Chen 6b4a5398ef [SPK] Improve logging around updating and using prekeys.
// FREEBIE
2017-06-01 11:59:40 -04:00
Michael Kirk 76a0f88f7c [SSK] dont cache session store
// FREEBIE
2017-05-31 11:47:10 -07:00
Matthew Chen c0753152db [SPK] Improve logging around updating and using prekeys.
// FREEBIE
2017-05-31 10:33:04 -04:00
Matthew Chen d752a9b030 [SSK] Add incoming and outgoing message database views.
// FREEBIE
2017-05-31 10:05:25 -04:00
Matthew Chen f49309bf66 Add incoming and outgoing message database views.
// FREEBIE
2017-05-31 09:58:32 -04:00
Matthew Chen 19a2a1539e [SSK] Clean up timer usage.
// FREEBIE
2017-05-31 09:54:33 -04:00
Matthew Chen cdda0d4f02 [SSK] Fix “mark as read” logic.
// FREEBIE
2017-05-31 09:52:23 -04:00
Matthew Chen 85d54798fe [SSK] Changes for unseen indicator.
// FREEBIE
2017-05-30 10:12:19 -04:00
Matthew Chen 7afcad81c6 Fix data type issue around losing millisecond precision in message expiration times.
// FREEBIE
2017-05-30 10:05:53 -04:00
Matthew Chen 63f014fab4 [SSK] Cache display names for accounts.
// FREEBIE
2017-05-30 09:59:14 -04:00
Matthew Chen dd3394be1b Cache display names for accounts.
// FREEBIE
2017-05-30 09:41:28 -04:00
Michael Kirk 85d0d27505 [SSK] remove some redundant error notifications
// FREEBIE
2017-05-26 15:49:53 -07:00
Michael Kirk 37e0b1a004 Sending to unconfirmed idnetity presents confirmation
Rather than send/fail

// FREEBIE
2017-05-26 15:39:10 -07:00
Michael Kirk 1a03be8ae7 Fetch safety number upon entering thread
* uniform method to get recipients in group/contact thread
  * use it to clean up markAsSeenJob

// FREEBIE
2017-05-26 09:50:09 -07:00
Matthew Chen 1d792d1878 Rename audio duration and image size methods in TSAttachmentStream.
// FREEBIE
2017-05-26 11:19:45 -04:00
Michael Kirk fc37e251de [SSK] log error on failure
// FREEBIE
2017-05-25 08:38:54 -07:00
Michael Kirk 4700294c26 [SSK][SPK] Safety Number Updates
// FREEBIE
2017-05-24 18:08:46 -07:00
Michael Kirk bb25d2beb6 IdentityKeyStore changes
1) Always accept keys from incoming messages

2) Block sending only if it's a recent change, or if always
   block is enabled

// FREEBIE

// FREEBIE
2017-05-24 18:01:24 -07:00
Matthew Chen f30cd7c7fa [SSK] Remove invalid assert in socket manager.
// FREEBIE
2017-05-24 17:45:25 -04:00
Matthew Chen d8ade3288c [SSK] Cache image size and audio duration on attachments.
// FREEBIE
2017-05-24 10:02:24 -04:00
Matthew Chen b1f7cf0d62 Cache image size and audio duration on attachments.
// FREEBIE
2017-05-24 10:02:24 -04:00
Matthew Chen b0005ea932 Respond to CR.
// FREEBIE
2017-05-23 09:33:31 -04:00
Matthew Chen 2e36f41838 Add support for manually activating censorship circumvention.
// FREEBIE
2017-05-22 20:34:25 -04:00
Matthew Chen 7b70fe674a “Add to contacts” offer.
// FREEBIE
2017-05-22 18:27:11 -04:00
Matthew Chen 4223766e60 [SSK] Try the country code for the local phone number when parsing phone numbers.
// FREEBIE
2017-05-22 18:26:11 -04:00
Matthew Chen e7de25ab01 [SSK] Pin YapDatabase to v2.9.3 to avoid v.3.x.
// FREEBIE
2017-05-19 18:05:38 -04:00
Matthew Chen cab9e3d3db [SSK] Persist attachment file paths.
// FREEBIE
2017-05-19 17:35:40 -04:00
Matthew Chen e4f31b5e40 Rename attachment source filename property.
// FREEBIE
2017-05-19 17:21:31 -04:00
Michael Kirk 7e031b7306 [SSK] Show SN changes in groups, and include name
// FREEBIE
2017-05-19 17:04:11 -04:00
Michael Kirk dfd438e5f8 revert Yap update until next release
// FREEBIE
2017-05-18 10:21:41 -04:00