Commit Graph

3366 Commits (00c2d47a9a7710ec921eef12a8f2ff1299c4f555)

Author SHA1 Message Date
Óscar Morales Vivó eedaea7b2e Fixed leading/trailing margins for empty home view label. 8 years ago
Matthew Chen 0498ceb82f Respond to CR. 8 years ago
Matthew Chen 1a2d10d2cc Fix ordering of contacts picker. 8 years ago
Matthew Chen b80d9ddbf7 Add warning before sending group message invites. 8 years ago
Matthew Chen 9ee572fb24 Respond to CR. 8 years ago
Matthew Chen fefc9843b1 Modify views to observe changes when active, not just foreground. 8 years ago
Matthew Chen 812210a63c Modify views to observe changes when active, not just foreground. 8 years ago
Matthew Chen d62725d3b7 Add reported application state. 8 years ago
Michael Kirk aa0a31c25e Reduce viewWillAppear by ~5% by optimizing loadForTextDisplay
// FREEBIE
8 years ago
Michael Kirk 97324eaae1 Load less messages initially
// FREEBIE
8 years ago
Matthew Chen ad8a713566 Merge tag '2.25.2.4' 8 years ago
Matthew Chen 4f520646cc Avoid double layout in conversation view; but carefully. 8 years ago
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
8 years ago
Matthew Chen f7abcc9064 Respond to CR. 8 years ago
Matthew Chen f63d25a172 Migrate to Swift 4. 8 years ago
Matthew Chen 4d8c764789 Migrate to Swift 4. 8 years ago
Matthew Chen b2b62880c0 Migrate to Swift 4. 8 years ago
Matthew Chen 77b72b6b06 Migrate to Swift 4. 8 years ago
Matthew Chen da5ae63bbc Migrate to Swift 4. 8 years ago
Matthew Chen 28e26e1f75 Migrate to Swift 4. 8 years ago
Matthew Chen 916d55c55d Migrate to Swift 4. 8 years ago
Matthew Chen 28f7142a59 Auto-migration to Swift 4. 8 years ago
Matthew Chen 6b39f73e65 Fix tests. 8 years ago
Matthew Chen 40ef287952 Avoid spurious animation in call view buttons. 8 years ago
Matthew Chen 5f593bd736 Revert "Add temporary verbose logging around message creation."
This reverts commit f26ad5cd34.
8 years ago
Matthew Chen 0aa8306036 Revert "Add temporary verbose logging around message creation."
This reverts commit 5b0d806a6d.
8 years ago
Matthew Chen 5b0d806a6d Add temporary verbose logging around message creation. 8 years ago
Matthew Chen f26ad5cd34 Add temporary verbose logging around message creation. 8 years ago
Matthew Chen 2a4ecd42c4 Fix crashes while deallocating PeerConnectionClient. 8 years ago
Matthew Chen 86e038436b Fix crashes while deallocating PeerConnectionClient. 8 years ago
Matthew Chen 8d9c811566 Fix crashes while deallocating PeerConnectionClient. 8 years ago
Matthew Chen fff9f74a05 Fix crashes while deallocating PeerConnectionClient. 8 years ago
Matthew Chen 08affb4400 Merge branch 'hotfix/2.25.2' 8 years ago
Matthew Chen 5361cd3f25 Fix dismissal issue in invite flow. 8 years ago
Matthew Chen eecc823d85 Fix invite flow. 8 years ago
Matthew Chen 63b545b34d Fix invite flow. 8 years ago
Matthew Chen fbd03a3fdc Apply design for call view back button. 8 years ago
Michael Kirk 9a34c6804c policy links
// FREEBIE
8 years ago
Michael Kirk caa9e3ca67 Show missed call when call times out
// FREEBIE
8 years ago
Michael Kirk b8707b6fa4 WIP: call view changes 8 years ago
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
8 years ago
Michael Kirk 2709a91b5e Fixup attachment approval vis-a-vis call banner
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk 4c9808d1a1 Fix iPhoneX layout show status bar above call banner
// FREEBIE
8 years ago
Michael Kirk 778e11c2c3 cleanup ahead of PR
// FREEBIE
8 years ago
Michael Kirk 1b60716759 Stop worrying about notification order by using delegate pattern
// FREEBIE
8 years ago
Michael Kirk d9d0227ce5 Align search bar to safe area insets
// FREEBIE
8 years ago
Michael Kirk 319a6ff765 fixup behavior on iOS10 8 years ago
Michael Kirk 29d08545e2 Use OWSNavigationController instead of UINavigationController
- [ ] document picker
- [ ] camera picker
- [ ] image picker
- [ ] restore "confirm to go back" behavior (interactive pop gesture?)

// FREEBIE
8 years ago
Michael Kirk 33eb4c38cd Centralize translucency configuration
// FREEBIE
8 years ago
Michael Kirk 12c98f4340 cleanup and move to OWSNavigationController
// FREEBIE
8 years ago
Michael Kirk a2b1793262 initial render is wrong, but settles somewhere nice
-[x] fix initial placement
-[x] add additional top safe area?

// FREEBIE
8 years ago
Michael Kirk 3a9391f4fb notes on what didn't work 8 years ago
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
8 years ago
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
8 years ago
Michael Kirk ffe17a3fcc add guard to avoid redundant show, fix logic in existing guard when
hiding.

// FREEBIE
8 years ago
Michael Kirk 2258e18d34 rename for clarity
// FREEBIE
8 years ago
Michael Kirk 91cd1af3f9 Extract ReturnToCallViewController
// FREEBIE
8 years ago
Michael Kirk a7252544b0 WIP: custom navbar
TODO:

Use custom navcontroller everywhere - no more UINavigationController

listen to notification for when call starts/ends and sizeToFit.
8 years ago
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
8 years ago
Michael Kirk e62fe87b01 show status bar *above* call window 8 years ago
Michael Kirk 94323baba8 tmp - mute hides callscreen 8 years ago
Matthew Chen a722bcde72 Fix call termination reference. 8 years ago
Matthew Chen 1343e4bc19 Preserve legacy outgoing message state; special case contact thread messages. 8 years ago
Matthew Chen bfb87582fe Respond to CR. 8 years ago
Matthew Chen 735b4e07b1 Respond to CR. 8 years ago
Matthew Chen 918abb02a1 Remove capture of self. 8 years ago
Matthew Chen 9c0c87a8c3 Remove capture of self. 8 years ago
Matthew Chen 7eab0569b6 PeerConnectionClient thread safety. 8 years ago
Matthew Chen 078da69ee0 PeerConnectionClient thread safety. 8 years ago
Matthew Chen 9075a12ac6 PeerConnectionClient thread safety. 8 years ago
Matthew Chen c2f1a12d9f PeerConnectionClient thread safety. 8 years ago
Matthew Chen 88c2ff26e7 PeerConnectionClient thread safety. 8 years ago
Matthew Chen e63a7f8fb0 PeerConnectionClient thread safety. 8 years ago
Matthew Chen c3e8fde24c PeerConnectionClient thread safety. 8 years ago
Matthew Chen 1a0347b782 PeerConnectionClient thread safety. 8 years ago
Matthew Chen 729769afa7 PeerConnectionClient thread safety. 8 years ago
Matthew Chen a4a5e99534 PeerConnectionClient thread safety. 8 years ago
Matthew Chen 1d8c642346 Respond to CR. 8 years ago
Matthew Chen a5c42ecca8 Clean up ahead of CR. 8 years ago
Matthew Chen f68f3cc53d Call lifecycle edge cases. 8 years ago
Matthew Chen 3967a5ab05 Call lifecycle edge cases. 8 years ago
Matthew Chen e2d9c1187a Fix "group avatar doesn't update after local change." 8 years ago
Matthew Chen 692d0a7579 Don't mark messages as read if conversation view isn't 100% visible. 8 years ago
Matthew Chen 78de7a10f7 Don't mark messages as read if conversation view isn't 100% visible. 8 years ago
Michael Kirk c72d45dc91 Fall back to phone number for picker cell display name
// FREEBIE
8 years ago
Michael Kirk 2098ec570b Contact picker uses profile pic, when available.
// FREEBIE
8 years ago
Matthew Chen db1c8fd9f3 Respond to CR. 8 years ago
Matthew Chen c800ae381b Make contact share "bubble/card" reflect share contents. 8 years ago
Matthew Chen f436fc19c2 Make contact share "bubble/card" reflect share contents. 8 years ago
Matthew Chen 2edabdbba4 Sort group members. 8 years ago
Matthew Chen f6106512db Only mark messages read in conversation view if visible. 8 years ago
Matthew Chen 157f7617ca Respond to CR. 8 years ago
Matthew Chen 3d5cbb73fb Rework cleanup of peer connection client delegates. 8 years ago
Michael Kirk c3274f4e7b Fix navbar after using message button in contact card
I removed this earlier - but turns out we still need this strong
reference, even though we're now using willDissapear instead of
didDissappear.

// FREEBIE
8 years ago
Michael Kirk 30cef1f084 start readtimer whenever we become active
// FREEBIE
8 years ago
Michael Kirk 117d7319d2 Add contact modally and restore navbar style when dismssing contacts
// FREEBIE
8 years ago
Matthew Chen 5c7b98e5c4 Improve handling of unregistered users. 8 years ago
Michael Kirk 704a6f55a0 Fix crash after canceling "Add New Contact"
Text of the exception is:
  "Impossible to set up layout with view hierarchy unprepared for constraint"

Since their container view is pinned to the top layout guide, this
should not change the layout.

// FREEBIE
8 years ago
Matthew Chen a26cba3de1 Don't show screen block until app is ready. 8 years ago