Commit graph

2450 commits

Author SHA1 Message Date
Matthew Chen
b5f5599774 Fix edge cases in the unseen indicator.
// FREEBIE
2017-06-02 09:39:31 -04:00
Matthew Chen
226a975859 Clean up ahead of PR.
// FREEBIE
2017-06-02 09:39:31 -04:00
Matthew Chen
22fc69bbb4 Decompose MessagesViewController, add “scroll to bottom button”, improve scrolling behavior.
// FREEBIE
2017-06-02 09:39:31 -04:00
Michael Kirk
6db853103d Merge branch 'mkirk/reject-unseen-id-calls' 2017-06-01 13:22:39 -07:00
Michael Kirk
eea0d7be7f [SSK] update to merged
// FREEBIE
2017-06-01 13:21:56 -07:00
Michael Kirk
1059cc062c replace FOUNDATION_EXPORT with extern per code review
// FREEBIE
2017-06-01 12:59:34 -07:00
Michael Kirk
295ba5c854 update copy "safety number" is not uppercased
...unless it's a button, which is always title cased.

// FREEBIE
2017-06-01 12:59:34 -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
d1212deab5 Merge branch 'charlesmchen/incomingAndOutgoingDatabaseViews' 2017-05-31 10:07:09 -04:00
Matthew Chen
d752a9b030 [SSK] Add incoming and outgoing message database views.
// FREEBIE
2017-05-31 10:05:25 -04:00
Matthew Chen
b31ef7231a Respond to CR.
// FREEBIE
2017-05-31 10:01:56 -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
7b9eb2c2d1 Merge branch 'charlesmchen/messagesViewInitialLayout' 2017-05-31 09:47:38 -04:00
Matthew Chen
78982f2377 Fix issues around initial layout of messages view.
// FREEBIE
2017-05-31 09:47:33 -04:00
Matthew Chen
5485f5d55a Merge branch 'charlesmchen/unreadIndicatorVsBackground' 2017-05-31 09:45:42 -04:00
Matthew Chen
76df8431a8 Reset the unread indicator state if possible while app is in the background.
* Clean up timer usage.

// FREEBIE
2017-05-31 09:45:17 -04:00
Matthew Chen
95c17afe7e Merge branch 'charlesmchen/permissiveSendMessageButton' 2017-05-31 09:37:19 -04:00
Matthew Chen
0bccd58213 Make “send message” button easier to tap.
// FREEBIE
2017-05-31 09:37:11 -04:00
Michael Kirk
ffd16d29a6 Merge branch 'mkirk/interstitial-call-action' 2017-05-30 13:10:50 -07:00
Michael Kirk
9a2f218bf3 show SN confirmation before adding to group
* Extract SN confirmation dialog

// FREEBIE
2017-05-30 13:10:45 -07:00
Michael Kirk
2d7f03a1c8 interstitial SN confirmation for attachments/voicenotes
// FREEBIE
2017-05-30 13:10:45 -07:00
Michael Kirk
47783a9df0 request confirmation when calling changed SN
...rather than failing with "SN Changed" error

// FREEBIE
2017-05-30 13:10:45 -07:00
Michael Kirk
ced9125303 Merge branch 'mkirk/bordered-avatar' 2017-05-30 13:07:39 -07:00
Michael Kirk
76fafbce54 not using ibdesignable and it sometimes crashes interface builder. =/
// FREEBIE
2017-05-30 13:07:34 -07:00
Michael Kirk
ea08faa550 remove default avatar image, we should always specify
// FREEBIE
2017-05-30 13:07:34 -07:00
Michael Kirk
c55f7044a6 Use avatar view in group views
// FREEBIE
2017-05-30 13:07:34 -07:00
Michael Kirk
52aa8a3744 require explicit avatar diameter
This will help us get crisper text in our generated avatars.

// FREEBIE
2017-05-30 13:07:34 -07:00
Michael Kirk
19d74d91e0 Build higher res avatar for call screen
Initials avatar looks blurry on call screen

// FREEBIE
2017-05-30 13:07:34 -07:00
Michael Kirk
b11f8affa7 Use AvatarImageView
Conistently apply avatar style

* contact picker
* conversation settings
* home view

// FREEBIE
2017-05-30 13:07:34 -07:00
Matthew Chen
68d500b8f4 Merge branch 'charlesmchen/refineUnseenIndicator' 2017-05-30 10:12:26 -04:00
Matthew Chen
85d54798fe [SSK] Changes for unseen indicator.
// FREEBIE
2017-05-30 10:12:19 -04:00
Matthew Chen
746d131a89 Respond to CR.
// FREEBIE
2017-05-30 10:05:53 -04:00
Matthew Chen
8a6ca8c012 Fix glitch around downloading attachments.
// FREEBIE
2017-05-30 10:05:53 -04:00
Matthew Chen
02df277d19 Respond to CR.
* Add [TSInteraction compareForSorting].
* Add a separate database view for safety number changes.

// FREEBIE
2017-05-30 10:05:53 -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
19390abc41 Refine the unseen indicators.
* Fix sizing of the unread indicator cells.
* Fix conflicts between paging and “load window” of conversation view and unseen indicator.
* Modify unseen indicator to indicate whether there are more unseen messages and safety number changes.
* Fix conflicts between modifying the “load window” size and updating the dynamic interactions.
* Clear the “bubble size calculator” cache whenever the view changes size.
* Improve the scrolling behavior around “load more messages”.
* Improve management of “load window” size.
* Fix issues around caching of bubble sizes.

// FREEBIE
2017-05-30 10:05:22 -04:00
Matthew Chen
b2fa93e2ad Skip redundant layout pass in messages view.
// FREEBIE
2017-05-30 10:05:21 -04:00
Matthew Chen
bd7b7f3d11 Cache the displayable text for messages.
// FREEBIE
2017-05-30 10:05:21 -04:00
Matthew Chen
ada4880dc3 Add a database view for dynamic interactions.
// FREEBIE
2017-05-30 10:05:21 -04:00
Matthew Chen
e3527b4084 Merge branch 'charlesmchen/cacheAccountNames' 2017-05-30 10:02:08 -04:00
Matthew Chen
63f014fab4 [SSK] Cache display names for accounts.
// FREEBIE
2017-05-30 09:59:14 -04:00
Matthew Chen
c871e2de3e Respond to CR.
// FREEBIE
2017-05-30 09:50:17 -04:00
Matthew Chen
616041c0fb Respond to CR.
// FREEBIE
2017-05-30 09:41:28 -04:00
Matthew Chen
86fb083079 Rationalize the attributed and unattributed display name formatting and caching.
// FREEBIE
2017-05-30 09:41:28 -04:00