Commit Graph

7169 Commits

Author SHA1 Message Date
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
89c15815c1 Merge branch 'charlesmchen/callViewBackButtonChanges' 2018-05-25 10:00:41 -04:00
Matthew Chen
fbd03a3fdc Apply design for call view back button. 2018-05-25 09:53:37 -04:00
Matthew Chen
bb44a8bb5e Merge branch 'mkirk/policy-links' into hotfix/2.25.2 2018-05-25 09:24:11 -04:00
Michael Kirk
9a34c6804c policy links
// FREEBIE
2018-05-25 09:22:53 -04:00
Matthew Chen
8cb444088d "Bump build to 2.25.2.0." 2018-05-25 09:22:15 -04:00
Matthew Chen
e0db39b30a Merge branch 'mkirk/time-out-call' 2018-05-25 09:19:53 -04:00
Michael Kirk
caa9e3ca67 Show missed call when call times out
// FREEBIE
2018-05-25 09:19:45 -04:00
Matthew Chen
c9f4b34d64 Merge branch 'mkirk/resize-call-navbar' 2018-05-24 12:29:53 -04:00
Michael Kirk
fc34a0643c CR: annotate device constants
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk
36ee6af621 respond to CR 2018-05-24 12:28:20 -04:00
Michael Kirk
b8707b6fa4 WIP: call view changes 2018-05-24 12:28:20 -04:00
Michael Kirk
20424d9a7e remove debug code, reorder for clarity
// FREEBIE
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
3383c5e80c Fixup for iPhoneX
// 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
7ad5f15448 Restore cancleable back gesture for those VC's that use it
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk
49c652ad14 Comment cleanup
// 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
6c7af671bc call banner above status bar for now 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
b5c290afd1 Merge branch 'michaelkirk/requestIdProtos' 2018-05-24 12:25:25 -04:00
Michael Kirk
966b1ac84b Treat id as reserved word, use consistent setter style
// FREEBIE
2018-05-24 12:25:16 -04:00
Matthew Chen
a5fd119c1e "Bump build to 2.26.0.2." 2018-05-24 12:20:17 -04:00
Matthew Chen
fedb5d9385 Merge branch 'charlesmchen/callTerminationBug' 2018-05-24 12:19:51 -04:00
Matthew Chen
a722bcde72 Fix call termination reference. 2018-05-24 12:18:39 -04:00
Matthew Chen
9eb17c3fd3 "Bump build to 2.26.0.1." 2018-05-24 12:14:54 -04:00
Michael Kirk
4e0ce3dbe4 "Bump build to 2.25.1.1." 2018-05-23 14:13:53 -04:00
Michael Kirk
54cc2142ae Merge branch 'mkirk/start-migrated-disappearing-timers' into hotfix/2.25.1 2018-05-23 14:12:57 -04:00
Michael Kirk
84776f2757 Start timers for migrated messages
// FREEBIE
2018-05-23 14:02:50 -04:00