Commit Graph

22799 Commits

Author SHA1 Message Date
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
e889f49e3b Fix “mark as read” logic.
// FREEBIE
2017-05-30 11:01:54 -04: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
6acfab6a50 Merge branch 'charlesmchen/refineUnseenIndicator' 2017-05-30 10:10:54 -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
a5bebaf862 Respond to CR.
// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
0eff3625c9 Respond to CR.
// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
31e216519a Respond to CR.
* Add [TSInteraction compareForSorting].
* Add a separate database view for safety number changes.

// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
7c5a11b221 Changes for unseen indicator.
* Create separate database views for “unseen” and “unread” messages.
* Add “unseen tracking” to info and error messages.
* Rationalize “timestamp” vs. “receipt timestamp”.
* Ensure microsecond precision for interaction sorting.
* Add OWSFail() macros.

// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
32d5e52142 DRY up the creation of database views.
// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
6e94b3cccb Add a database view for dynamic interactions.
// FREEBIE
2017-05-30 10:05:13 -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
c7cc023541 Merge branch 'charlesmchen/cacheAccountNames' 2017-05-30 09:51:16 -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
Matthew Chen
dd3394be1b Cache display names for accounts.
// FREEBIE
2017-05-30 09:41:28 -04:00
Matthew Chen
66927f206d Cache display names for accounts.
// FREEBIE
2017-05-30 09:40:47 -04:00
Matthew Chen
2f79e624c2 Merge branch 'charlesmchen/tweakRegistration' 2017-05-30 09:29:25 -04:00
Matthew Chen
3a83f93099 Tweak appearance of registration views.
// FREEBIE
2017-05-30 09:29:19 -04:00
Matthew Chen
8bf3fb4bcf Merge branch 'charlesmchen/socketStatusVsCensorshipCircumvention' 2017-05-30 09:24:28 -04:00
Matthew Chen
d065c95270 Hide the socket status view when censorship circumvention is active.
// FREEBIE
2017-05-26 20:41:27 -04:00
Michael Kirk
680b2c20d1 Merge branch 'mkirk/fix-reply' 2017-05-26 15:51:01 -07:00
Michael Kirk
fe54f4319f fix reply-from lockscreen on larger devices
// FREEBIE
2017-05-26 15:50:56 -07:00
Michael Kirk
85d0d27505 [SSK] remove some redundant error notifications
// FREEBIE
2017-05-26 15:49:53 -07:00
Michael Kirk
33a2b05dca Merge branch 'mkirk/remove-unnecessary-notifications' 2017-05-26 15:43:47 -07:00
Michael Kirk
42b35bb897 Don't notify for some error messages
Specifically:

- Don't play alert when building block offer

- Don't play/show redundant alert/lockscreen notifications for id changes
  e.g.: if you share 100 groups with Bob, and Bob's SN change, you only
  need *one* notification, even though we display the message in 100
  group threads + 1 contact thread.

// FREEBIE
2017-05-26 15:43:35 -07:00
Michael Kirk
6395f3c882 Merge branch 'mkirk/confirm-send' 2017-05-26 15:42:21 -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
0eef7ccb8f Merge branch 'mkirk/confirm-send' 2017-05-26 15:34:01 -07:00
Michael Kirk
09d7d8c027 Given a recipient id, returns any unconfirmed identity
// FREEBIE
2017-05-26 15:32:09 -07:00
Michael Kirk
643301eae6 Fix tag typo
// FREEBIE
2017-05-26 15:14:47 -07:00
Michael Kirk
30f4fdd5c5 Merge branch 'mkirk/profile-request' 2017-05-26 09:50:20 -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
Michael Kirk
0201fa34ce Merge branch 'mkirk/profile-request' 2017-05-26 09:47:59 -07:00
Michael Kirk
5df67c8e5c move constant per code review
// FREEBIE
2017-05-26 09:47:55 -07:00
Michael Kirk
fe075d2f77 Support for profile fetching so we can display SN changes upon entering
a thread

// FREEBIE
2017-05-26 09:47:55 -07:00
Michael Kirk
22b608c8e8 Merge branch 'mkirk/screen-protection-cleanup' 2017-05-26 09:46:12 -07:00
Michael Kirk
2c7ccbe5db Make sure screen protection is applied before ending bg task
* code cleanup
* Prefer dispatch_async vs. dispatch_sync when possible

// FREEBIE
2017-05-26 09:45:51 -07:00
Matthew Chen
ab9b9833d5 Merge branch 'charlesmchen/messageViewPerf2_' 2017-05-26 11:19:55 -04:00