Commit graph

3583 commits

Author SHA1 Message Date
Matthew Chen 0b04397e21 Tweak message cells. 2018-06-25 09:26:41 -04:00
Matthew Chen d425809fa3 Tweak message cells. 2018-06-25 09:26:41 -04:00
Matthew Chen 98ac13f9be Tweak message cells. 2018-06-25 09:26:41 -04:00
Matthew Chen ac6f78a5fc Tweak message cells. 2018-06-25 09:26:41 -04:00
Michael Kirk 9d56f100ab Don't show unread badge/bold for search message
// FREEBIE
2018-06-22 14:38:53 -06:00
Michael Kirk 489bbe2fcc FIX: mute icon corrupted in homeview
Don't clobber icon font

// FREEBIE
2018-06-22 14:03:16 -06:00
Michael Kirk 9b43e32332 FIX: input toolbar not immediately visible when search was active
// FREEBIE
2018-06-22 13:49:36 -06:00
Michael Kirk 9f06163b76 Fix contacts reminder view
We had a guard that prevented 'called at least once' from ever getting set when contacts access was disabled.

// FREEBIE
2018-06-22 13:49:05 -06:00
Michael Kirk 66ebb7b787 Simplify show/hide with stack view
// FREEBIE
2018-06-22 13:49:05 -06:00
Michael Kirk 1528f6f705 Fix archive/outage banner.
// FREEBIE
2018-06-22 13:49:05 -06:00
Matthew Chen 2ecbf1bb65 Fix 'contact cell vs. message details layout' issue. 2018-06-21 17:16:50 -06:00
Matthew Chen 1a57fe631c Fix 'contact cell vs. message details layout' issue. 2018-06-21 17:16:50 -06:00
Matthew Chen 27af2fc328 Improve app settings buttons. 2018-06-21 17:29:00 -04:00
Michael Kirk cc1bde34cd Inform iPad users upon registration
// FREEBIE
2018-06-21 15:02:37 -06:00
Matthew Chen f516f30c26 Auto-dismiss search keyboard; "cancel search" button. 2018-06-21 16:12:28 -04:00
Michael Kirk 6933e28e47 update comment 2018-06-21 11:25:00 -06:00
Matthew Chen 63b6276c25 Clear LRUCache in background. 2018-06-20 17:55:15 -04:00
Matthew Chen 87ea1dcae1 Clean up ahead of PR. 2018-06-20 17:55:15 -04:00
Matthew Chen 08ca4fdb50 Lazy-load contact avatar data and images. Use NSCache for avatar images. 2018-06-20 17:55:14 -04:00
Matthew Chen af977ca409 Don't cache CNContact. 2018-06-20 17:55:14 -04:00
Matthew Chen 41a2ea03b0 Don't cache CNContact. 2018-06-20 17:55:14 -04:00
Matthew Chen d3d9d2e64c Don't cache CNContact. 2018-06-20 17:55:14 -04:00
Matthew Chen 83f11ad79b Don't cache CNContact. 2018-06-20 17:55:14 -04:00
Matthew Chen 12295bd8c5 Don't cache CNContact. 2018-06-20 17:55:14 -04:00
Matthew Chen 1eb02bfd92 Outage detection. 2018-06-20 17:50:50 -04:00
Matthew Chen ae50dbe198 Outage detection. 2018-06-20 17:50:50 -04:00
Matthew Chen 793a868e6f Outage detection. 2018-06-20 17:50:50 -04:00
Matthew Chen c96e2bb8b4 Outage detection. 2018-06-20 17:50:50 -04:00
Matthew Chen 1607aa7f57 Image content types. 2018-06-20 17:13:31 -04:00
Matthew Chen 4ac8100973 Respond to CR. 2018-06-20 15:15:33 -04:00
Matthew Chen 010c10cb0c Show re-registration in app settings. 2018-06-20 14:54:16 -04:00
Matthew Chen bc6a4ea8d8 Add re-registration UI. 2018-06-20 14:54:16 -04:00
Matthew Chen 6331fbb22a Show de-registration nag view. 2018-06-20 14:54:16 -04:00
Matthew Chen b0646e8bff Track and persist 'is de-registered' state. 2018-06-20 14:54:16 -04:00
Matthew Chen 0b64ecf675 Respond to CR. 2018-06-20 14:46:24 -04:00
Matthew Chen 32336e38e1 Merge tag '2.26.0.26' 2018-06-15 11:47:23 -04:00
Matthew Chen b5a836bf28 Shared ui db connection v. auto load more. 2018-06-15 11:38:47 -04:00
Matthew Chen 7e1c0102b7 Unify the cell and avatar sizes. 2018-06-15 11:18:34 -04:00
Matthew Chen 647d80d79d Unify the cell and avatar sizes. 2018-06-15 11:15:21 -04:00
Matthew Chen 1acf51ea5c Unify the cell and avatar sizes. 2018-06-15 11:08:01 -04:00
Matthew Chen 261719e53b Unify the cell and avatar sizes. 2018-06-15 10:42:38 -04:00
Michael Kirk a346465db5 tune down logging
// FREEBIE
2018-06-15 10:28:07 -04:00
Matthew Chen c1e1a52695 Auto-size contact cells everywhere. 2018-06-15 10:01:16 -04:00
Matthew Chen dd49c6225f Auto-size contact cells everywhere. 2018-06-15 10:01:16 -04:00
Matthew Chen f8e785ef72 Merge tag '2.26.0.25' 2018-06-15 09:59:45 -04:00
Michael Kirk a91b6b35e2 update UI DB to latest before showing CVC
// FREEBIE
2018-06-14 18:23:13 -04:00
Michael Kirk 0a17246737 Don't use group name in message.
// FREEBIE
2018-06-14 15:21:24 -04:00
Michael Kirk 95b1dced18 add: messages in Book Club will disappear in 1 minute
Show different message when joining group with disappearing messages
2018-06-14 15:20:45 -04:00
Michael Kirk 0cf751d34f Newly added group members should have expire time
Send expire timer with group info updates and in group updates that add a user.
2018-06-14 15:20:45 -04:00
Matthew Chen 95ac17bb7e Merge tag '2.26.0.24' 2018-06-14 15:07:47 -04:00
Michael Kirk 0dec029a69 Don't mark as read when callscreen is active
// FREEBIE
2018-06-13 15:42:01 -04:00
Matthew Chen f0e37ff3f2 Avoid double-scrolling. 2018-06-13 15:31:54 -04:00
Matthew Chen 2db4c96a1c Respond to CR. 2018-06-13 15:26:20 -04:00
Matthew Chen 3c50269dbf Debounce search result updates. 2018-06-13 15:26:20 -04:00
Matthew Chen 91cc902b1d Update search results. 2018-06-13 15:26:20 -04:00
Matthew Chen c8fee4efa7 Add swift logging to SSK. 2018-06-13 13:56:55 -04:00
Matthew Chen 44b23d44fd Respond to CR. 2018-06-13 12:40:34 -04:00
Matthew Chen 99677899b1 Respond to CR. 2018-06-13 12:37:34 -04:00
Matthew Chen f0c1805de9 Strip snippet formatting. 2018-06-13 12:34:24 -04:00
Matthew Chen 31443b5687 Clean up ahead of PR. 2018-06-13 12:34:24 -04:00
Matthew Chen 3f9f2abcd8 Style the search results. 2018-06-13 12:34:24 -04:00
Matthew Chen f4a559156c Style the search results. 2018-06-13 12:34:24 -04:00
Matthew Chen a4aba325d8 Order the search results. 2018-06-13 11:03:52 -04:00
Matthew Chen 4abd3f58cd Order the search results. 2018-06-13 11:03:52 -04:00
Matthew Chen 999e8c8e31 Respond to CR. 2018-06-12 12:44:32 -04:00
Matthew Chen 13e9f11b4e Open message search results. 2018-06-12 12:44:32 -04:00
Matthew Chen 27b6a5e5bb Open message search results. 2018-06-12 12:44:32 -04:00
Michael Kirk 549342c702 Show empty results text
// FREEBIE
2018-06-11 16:42:25 -04:00
Michael Kirk ecdaad06ff Handle no results
In line with other messaging apps, we intentionally don't show a "No Results"
cell. We simply don't display any cells. Though we could easily modify this in
the future.

// FREEBIE
2018-06-11 16:42:25 -04:00
Matthew Chen ade8dcd6ac Merge tag '2.26.0.22' 2018-06-11 15:20:03 -04:00
Matthew Chen bb266d03e4 Preserve default scroll state until conversation view is presented. 2018-06-11 15:09:05 -04:00
Michael Kirk fff8474150 adapt to rebase conflicts 2018-06-11 13:52:59 -04:00
Michael Kirk f415827da6 Contact search results
// FREEBIE
2018-06-11 13:51:29 -04:00
Matthew Chen d1a46e5964 Respond to CR. 2018-06-11 12:52:46 -04:00
Matthew Chen 897f5b86a7 Open search results. 2018-06-11 12:18:43 -04:00
Matthew Chen 6b49bb5e19 Open search results. 2018-06-11 12:15:46 -04:00
Michael Kirk 6924045d6b CR: rename Chat -> Conversation for consistency
// FREEBIE
2018-06-11 11:09:53 -04:00
Michael Kirk b3705196b3 remove unused code/comments 2018-06-11 10:14:48 -04:00
Michael Kirk 0f7dcccd59 Use search results controller
// FREEBIE
2018-06-11 10:07:41 -04:00
Michael Kirk 21788f5f93 Avatar, label fonts, resignFirstResponder on scroll
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[x] group thread est: actual:
      -[x] group name actual: e.25
      -[x] group member name: e.25
      -[x] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[x] messages e1
      -[x] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[x] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] No Results page
2018-06-11 09:58:36 -04:00
Michael Kirk e6b913b139 Fix layout on iOS10 2018-06-11 09:58:36 -04:00
Michael Kirk 3a03c4f74c WIP: message indexing 2018-06-11 09:58:36 -04:00
Michael Kirk b00e5a4fd9 Fuzzier search matching
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
2018-06-11 09:58:36 -04:00
Michael Kirk f360bcfd35 Less confusing class names
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
2018-06-11 09:58:36 -04:00
Michael Kirk a9e2834d9f WIP: FTS - rudimentary show results
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
2018-06-11 09:58:36 -04:00
Michael Kirk ffea3a020f WIP: FTS - wired up Search VC
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
2018-06-11 09:58:36 -04:00
Michael Kirk 429af7854a WIP: Full Text Search
-[ ] indexes
  -[x] results: Contacts / Conversations / Messages
  -[ ] group thread
    -[x] group name
    -[ ] group member name
    -[ ] group member number
  -[ ] contact thread
    -[ ] name
    -[ ] number
  -[ ] messages
    -[ ] content
- [ ] show search results: Contact / Conversation / Messages
- [ ] tapping thread search result takes you to conversation
- [ ] tapping message search result takes you to message
- [ ] show snippet text for matched message
- [ ] highlight matched text in thread
- [ ] go to next search result in thread
2018-06-11 09:58:36 -04:00
Matthew Chen 0dcde9516e Suppress legal links. 2018-06-08 10:34:56 -04:00
Michael Kirk e2eb772ff6 Fix layout for iOS9,10
// FREEBIE
2018-06-05 07:58:33 -06:00
Michael Kirk cd298c72c3 notify when receiving voip before first unlock
// FREEBIE
2018-06-04 12:00:45 -06:00
Matthew Chen 19c9e226fb Respond to CR. 2018-06-01 17:51:18 -04:00
Matthew Chen 3964b78ff7 Reduce usage of JSQ. 2018-06-01 17:44:18 -04:00
Matthew Chen 833f6ad51d Skip missing and invalid interactions in conversation view. 2018-06-01 17:42:12 -04:00
Matthew Chen 2c0ba1cbd9 Skip missing and invalid interactions in conversation view. 2018-06-01 17:42:12 -04:00
Matthew Chen dc13e32e4e Don't use dynamic type in registration view... yet. 2018-06-01 17:37:51 -04:00
Matthew Chen 6bc145ce3a Fix more build warnings. 2018-06-01 17:37:06 -04:00
Michael Kirk 9aafd89979 Remove unused synthesized ivars
// FREEBIE
2018-06-01 13:19:45 -04:00
Michael Kirk ae1d82be84 Fix: input toolbar disappears when tapping media while edit menu is
present

// FREEBIE
2018-06-01 13:16:43 -04:00
Michael Kirk e6c659d0ff remove incorrect comment 2018-06-01 13:16:43 -04:00
Michael Kirk 6e6a7446d0 Use global readWrite connection
// FREEBIE
2018-06-01 13:16:43 -04:00
Michael Kirk 468f7524ef Revert "separate read/write db connections"
This reverts commit 3e61741060e6a7c2a9891b46cf3abd567d33aa3a.
2018-06-01 13:16:43 -04:00
Michael Kirk 00f8ea4ff8 Use a single ui connection to share cache.
Primarly two things:
1. using an extension for the first time per connection is slow
2. fetching the same objects (e.g. if you leave/re-enter the same
conversation)

// FREEBIE
2018-06-01 13:16:43 -04:00
Michael Kirk ddd39fcd3d separate read/write db connections
// FREEBIE
2018-06-01 13:16:42 -04:00
Michael Kirk d9172cccb9 Measure time to display
// FREEBIE
2018-06-01 13:16:42 -04:00
Matthew Chen 879b9d4c72 Respond to CR. 2018-06-01 12:39:13 -04:00
Matthew Chen 9a08afae28 Fix build warnings. 2018-06-01 12:39:13 -04:00
Matthew Chen 3cd6a33aa6 Fix build warnings. 2018-06-01 12:39:13 -04:00
Matthew Chen 5ed22ada7b Respond to CR. 2018-06-01 12:01:20 -04:00
Matthew Chen e4f7995e4d Ensure conversation view is first responder before presenting another view. 2018-06-01 11:59:26 -04:00
Matthew Chen 23e2d971e4 Handle layout of long group name labels. 2018-06-01 11:54:42 -04:00
Matthew Chen b030bfb5b3 Fix constant in group invite by text warning. 2018-06-01 10:43:43 -04:00
Matthew Chen ed19949d60 Respond to CR. 2018-06-01 09:43:19 -04:00
Matthew Chen e949d81568 Fix more call state edge cases. 2018-06-01 09:43:19 -04:00
Matthew Chen b2f884b882 Fix call state edge cases. 2018-06-01 09:43:19 -04:00
Matthew Chen 39e12e1a63 Ensure that home view label wraps by word. 2018-06-01 09:39:41 -04:00
Óscar Morales Vivó 69b5272547 More code review polish. 2018-06-01 09:38:38 -04:00
Óscar Morales Vivó 4b98352a38 Changes suggested by code review. Added iPhone 4 screen size to iPhoneX test so Signal doesn't blow up in iPad's iPhone compatibility mode. 2018-06-01 09:38:38 -04:00
Óscar Morales Vivó eedaea7b2e Fixed leading/trailing margins for empty home view label. 2018-06-01 09:38:38 -04:00
Matthew Chen 0498ceb82f Respond to CR. 2018-06-01 09:26:43 -04:00
Matthew Chen 1a2d10d2cc Fix ordering of contacts picker. 2018-06-01 09:26:43 -04:00
Matthew Chen b80d9ddbf7 Add warning before sending group message invites. 2018-05-31 16:39:33 -04:00
Matthew Chen 9ee572fb24 Respond to CR. 2018-05-31 16:36:16 -04:00
Matthew Chen fefc9843b1 Modify views to observe changes when active, not just foreground. 2018-05-31 16:31:51 -04:00
Matthew Chen 812210a63c Modify views to observe changes when active, not just foreground. 2018-05-31 16:31:51 -04:00
Matthew Chen d62725d3b7 Add reported application state. 2018-05-31 16:31:51 -04:00
Michael Kirk aa0a31c25e Reduce viewWillAppear by ~5% by optimizing loadForTextDisplay
// FREEBIE
2018-05-31 16:20:53 -04:00
Michael Kirk 97324eaae1 Load less messages initially
// FREEBIE
2018-05-31 16:20:15 -04:00
Matthew Chen ad8a713566 Merge tag '2.25.2.4' 2018-05-31 09:35:46 -04:00
Matthew Chen 4f520646cc Avoid double layout in conversation view; but carefully. 2018-05-30 17:46:24 -04:00
Michael Kirk 273063e0aa ConversationView first load avoids redundant layout
We are laying out the collection view, invalidating the layout, and then
laying out the collection view again on first appearance of the
conversation view. This is quite expensive - removing it shaves off
about 30% of load time.

// FREEBIE
2018-05-30 17:46:24 -04:00
Matthew Chen f7abcc9064 Respond to CR. 2018-05-30 15:28:03 -04:00
Matthew Chen f63d25a172 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 4d8c764789 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen b2b62880c0 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 77b72b6b06 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen da5ae63bbc Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 28e26e1f75 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 916d55c55d Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 28f7142a59 Auto-migration to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 6b39f73e65 Fix tests. 2018-05-30 15:05:02 -04:00
Matthew Chen 40ef287952 Avoid spurious animation in call view buttons. 2018-05-30 14:00:27 -04:00
Matthew Chen 5f593bd736 Revert "Add temporary verbose logging around message creation."
This reverts commit f26ad5cd34.
2018-05-29 14:01:11 -04:00
Matthew Chen 0aa8306036 Revert "Add temporary verbose logging around message creation."
This reverts commit 5b0d806a6d.
2018-05-29 14:01:04 -04:00
Matthew Chen 5b0d806a6d Add temporary verbose logging around message creation. 2018-05-29 13:42:49 -04:00
Matthew Chen f26ad5cd34 Add temporary verbose logging around message creation. 2018-05-29 11:49:42 -04:00
Matthew Chen 2a4ecd42c4 Fix crashes while deallocating PeerConnectionClient. 2018-05-29 10:02:16 -04:00
Matthew Chen 86e038436b Fix crashes while deallocating PeerConnectionClient. 2018-05-29 10:02:16 -04:00
Matthew Chen 8d9c811566 Fix crashes while deallocating PeerConnectionClient. 2018-05-29 10:02:16 -04:00
Matthew Chen fff9f74a05 Fix crashes while deallocating PeerConnectionClient. 2018-05-29 10:02:16 -04:00
Matthew Chen 08affb4400 Merge branch 'hotfix/2.25.2' 2018-05-29 10:01:33 -04:00
Matthew Chen 5361cd3f25 Fix dismissal issue in invite flow. 2018-05-25 17:11:08 -04:00
Matthew Chen eecc823d85 Fix invite flow. 2018-05-25 14:36:25 -04:00
Matthew Chen 63b545b34d Fix invite flow. 2018-05-25 14:27:23 -04:00
Matthew Chen fbd03a3fdc Apply design for call view back button. 2018-05-25 09:53:37 -04:00
Michael Kirk 9a34c6804c policy links
// FREEBIE
2018-05-25 09:22:53 -04:00
Michael Kirk caa9e3ca67 Show missed call when call times out
// FREEBIE
2018-05-25 09:19:45 -04:00
Michael Kirk b8707b6fa4 WIP: call view changes 2018-05-24 12:28:20 -04:00
Michael Kirk fe62a6ac92 CNContactController needs to be presented in a navcontroller with a
translucent navbar.

In cases where we were presenting modally, we can easily modify the
modal to have a translucent navbar.

In the one place we were pushing onto the SignalsNavigationController,
rather than modifying the SNC.isTranslucent and having to clean it up,
I've opted to convert to a modal presentation.

// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 2709a91b5e Fixup attachment approval vis-a-vis call banner
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 4f80100234 Tapping on status bar returns to call
We want to render the return-to-call banner behind the status bar, so
the user can see the system clock, etc.

But normally, doing so would mean we wouldn't receive touches in the top
20px of the screen.

// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 4c9808d1a1 Fix iPhoneX layout show status bar above call banner
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 778e11c2c3 cleanup ahead of PR
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 1b60716759 Stop worrying about notification order by using delegate pattern
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk d9d0227ce5 Align search bar to safe area insets
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 319a6ff765 fixup behavior on iOS10 2018-05-24 12:28:20 -04:00
Michael Kirk 29d08545e2 Use OWSNavigationController instead of UINavigationController
- [ ] document picker
- [ ] camera picker
- [ ] image picker
- [ ] restore "confirm to go back" behavior (interactive pop gesture?)

// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 33eb4c38cd Centralize translucency configuration
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 12c98f4340 cleanup and move to OWSNavigationController
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk a2b1793262 initial render is wrong, but settles somewhere nice
-[x] fix initial placement
-[x] add additional top safe area?

// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 3a9391f4fb notes on what didn't work 2018-05-24 12:28:20 -04:00
Michael Kirk 4dbd14ac41 WIP navbar resize
-[ ] CallScreen
  -[x] functional button
  -[ ] needs design
  -[x] disable conversation view call buttons while in call
-[ ] iOS11
  -[x] resize nav content
  -[ ] background showing at top of all vc's
  -[] iPhoneX
    -[x] use differently sized banner for now
    -[] mimic X system design
-[ ] iOS10
  -[x] resize nav content
  -[ ] animation glitch while push/pop
-[ ] iOS9

// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 0e87cbe7a5 WIP navbar resize
-[ ] CallScreen
  -[x] functional button
  -[ ] needs design
  -[ ] disable other contact call buttons while in call
-[ ] iOS11
  -[x] resize nav content
  -[ ] background showing at top of all vc's
  -[] iPhoneX
    -[x] use differently sized banner for now
    -[] mimic X system design
-[ ] iOS10
  -[x] resize nav content
  -[ ] animation glitch while push/pop
-[ ] iOS9

// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk ffe17a3fcc add guard to avoid redundant show, fix logic in existing guard when
hiding.

// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 2258e18d34 rename for clarity
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 91cd1af3f9 Extract ReturnToCallViewController
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk a7252544b0 WIP: custom navbar
TODO:

Use custom navcontroller everywhere - no more UINavigationController

listen to notification for when call starts/ends and sizeToFit.
2018-05-24 12:28:20 -04:00
Michael Kirk 772af10e50 Resizing call banner window
problem is the navigation bar is now too tall, since it has room for
status.

We could shirnk the nav bar, but maybe it's easier to just have the call
banner in the navbar?

// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk e62fe87b01 show status bar *above* call window 2018-05-24 12:28:20 -04:00
Michael Kirk 94323baba8 tmp - mute hides callscreen 2018-05-24 12:28:20 -04:00
Matthew Chen a722bcde72 Fix call termination reference. 2018-05-24 12:18:39 -04:00
Matthew Chen 1343e4bc19 Preserve legacy outgoing message state; special case contact thread messages. 2018-05-23 10:23:46 -04:00
Matthew Chen bfb87582fe Respond to CR. 2018-05-22 15:44:08 -04:00
Matthew Chen 735b4e07b1 Respond to CR. 2018-05-22 15:44:08 -04:00
Matthew Chen 918abb02a1 Remove capture of self. 2018-05-22 15:44:08 -04:00
Matthew Chen 9c0c87a8c3 Remove capture of self. 2018-05-22 15:44:08 -04:00
Matthew Chen 7eab0569b6 PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen 078da69ee0 PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen 9075a12ac6 PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen c2f1a12d9f PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen 88c2ff26e7 PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen e63a7f8fb0 PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen c3e8fde24c PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen 1a0347b782 PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen 729769afa7 PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen a4a5e99534 PeerConnectionClient thread safety. 2018-05-22 15:44:08 -04:00
Matthew Chen 1d8c642346 Respond to CR. 2018-05-22 09:39:46 -04:00
Matthew Chen a5c42ecca8 Clean up ahead of CR. 2018-05-22 09:22:40 -04:00
Matthew Chen f68f3cc53d Call lifecycle edge cases. 2018-05-22 09:22:40 -04:00
Matthew Chen 3967a5ab05 Call lifecycle edge cases. 2018-05-22 09:22:40 -04:00
Matthew Chen e2d9c1187a Fix "group avatar doesn't update after local change." 2018-05-18 15:37:38 -04:00