Commit graph

4227 commits

Author SHA1 Message Date
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 cc4f82cbfe "Bump build to 2.26.0.5." 2018-05-29 13:42:55 -04:00
Matthew Chen 5b0d806a6d Add temporary verbose logging around message creation. 2018-05-29 13:42:49 -04:00
Matthew Chen e8bb55a514 "Bump build to 2.26.0.4." 2018-05-29 11:49:51 -04:00
Matthew Chen f26ad5cd34 Add temporary verbose logging around message creation. 2018-05-29 11:49:42 -04:00
Matthew Chen 0d3ba5ac2f "Bump build to 2.26.0.3." 2018-05-29 11:15:18 -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 382c7333e7 "Bump build to 2.25.2.4." 2018-05-25 17:11:19 -04:00
Matthew Chen 5361cd3f25 Fix dismissal issue in invite flow. 2018-05-25 17:11:08 -04:00
Matthew Chen 9d5ce84748 "Bump build to 2.25.2.3." 2018-05-25 14:41:42 -04:00
Matthew Chen 3631935bbb Update l10n strings. 2018-05-25 14:41:37 -04:00
Matthew Chen 2b94de5d2d "Bump build to 2.25.2.2." 2018-05-25 14:37:40 -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 d754228fd6 "Bump build to 2.25.2.1." 2018-05-25 12:32:28 -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
Matthew Chen 8cb444088d "Bump build to 2.25.2.0." 2018-05-25 09:22:15 -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 a5fd119c1e "Bump build to 2.26.0.2." 2018-05-24 12:20:17 -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
Matthew Chen 1343e4bc19 Preserve legacy outgoing message state; special case contact thread messages. 2018-05-23 10:23:46 -04:00
Matthew Chen 8abc3a8c49 "Bump build to 2.25.1.0." 2018-05-23 10:23:20 -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 9155a82b65 "Bump build to 2.26.0.0." 2018-05-22 09:40:29 -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 ff4c58cd64 "Bump build to 2.25.0.28." 2018-05-18 16:17:32 -04:00
Matthew Chen 1ce304d054 "Bump build to 2.25.0.27." 2018-05-18 16:17:12 -04:00
Matthew Chen e2d9c1187a Fix "group avatar doesn't update after local change." 2018-05-18 15:37:38 -04:00
Matthew Chen 0b6b80fead "Bump build to 2.25.0.26." 2018-05-18 10:23:10 -04:00
Matthew Chen 4d20757943 "Bump build to 2.25.0.25." 2018-05-18 10:22:49 -04:00
Matthew Chen cc1ccb7f9a Update l10n strings. 2018-05-18 10:22:39 -04:00
Matthew Chen 692d0a7579 Don't mark messages as read if conversation view isn't 100% visible. 2018-05-17 16:07:23 -04:00
Matthew Chen 78de7a10f7 Don't mark messages as read if conversation view isn't 100% visible. 2018-05-17 16:07:23 -04:00
Michael Kirk c72d45dc91 Fall back to phone number for picker cell display name
// FREEBIE
2018-05-17 11:08:56 -04:00
Michael Kirk 2098ec570b Contact picker uses profile pic, when available.
// FREEBIE
2018-05-17 11:08:21 -04:00
Matthew Chen db1c8fd9f3 Respond to CR. 2018-05-16 17:24:10 -04:00
Matthew Chen c800ae381b Make contact share "bubble/card" reflect share contents. 2018-05-16 17:19:05 -04:00
Matthew Chen f436fc19c2 Make contact share "bubble/card" reflect share contents. 2018-05-16 17:19:05 -04:00
Matthew Chen 2edabdbba4 Sort group members. 2018-05-16 17:13:42 -04:00
Matthew Chen 762a03dace "Bump build to 2.25.0.24." 2018-05-16 16:37:25 -04:00
Matthew Chen 7b7435c3aa "Bump build to 2.25.0.23." 2018-05-16 16:37:03 -04:00
Matthew Chen 73ea9d2454 Update l10n strings. 2018-05-16 16:36:52 -04:00
Matthew Chen f6106512db Only mark messages read in conversation view if visible. 2018-05-16 16:30:01 -04:00
Matthew Chen 157f7617ca Respond to CR. 2018-05-16 16:28:48 -04:00
Matthew Chen 3d5cbb73fb Rework cleanup of peer connection client delegates. 2018-05-16 16:28:48 -04:00
Matthew Chen 3f5d8aa9ba "Bump build to 2.25.0.22." 2018-05-15 17:06:57 -04:00
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
2018-05-15 17:03:38 -04:00
Matthew Chen 3988654469 "Bump build to 2.25.0.21." 2018-05-15 17:01:14 -04:00
Matthew Chen 68d70da194 "Bump build to 2.25.0.20." 2018-05-15 14:13:33 -04:00
Matthew Chen c14a021ae3 Update l10n strings. 2018-05-15 14:13:24 -04:00
Michael Kirk 30cef1f084 start readtimer whenever we become active
// FREEBIE
2018-05-15 12:56:47 -04:00
Michael Kirk 117d7319d2 Add contact modally and restore navbar style when dismssing contacts
// FREEBIE
2018-05-14 18:40:56 -04:00
Matthew Chen a376de01ef "Bump build to 2.25.0.19." 2018-05-14 16:58:16 -04:00
Matthew Chen e6dceffdbd Respond to CR. 2018-05-14 16:56:49 -04:00
Matthew Chen 5c7b98e5c4 Improve handling of unregistered users. 2018-05-14 16:45:06 -04:00
Matthew Chen d81e400693 Update l10n strings. 2018-05-14 16:33:59 -04:00
Matthew Chen 51da7ebdf7 "Bump build to 2.25.0.18." 2018-05-14 15:33:01 -04:00
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
2018-05-14 14:03:25 -04:00
Matthew Chen a26cba3de1 Don't show screen block until app is ready. 2018-05-14 12:05:14 -04:00
Matthew Chen aa4345f9c1 Fix edge cases in home view. 2018-05-14 12:03:52 -04:00
Matthew Chen ad6908174b "Bump build to 2.25.0.17." 2018-05-11 20:20:30 -04:00
Matthew Chen 6b643a0c1b Avoid spurious badge animations. 2018-05-11 20:20:16 -04:00
Matthew Chen 2c80866f8d "Bump build to 2.25.0.16." 2018-05-11 15:52:31 -04:00
Matthew Chen 867b3484dd Update l10n strings. 2018-05-11 15:52:28 -04:00
Matthew Chen 81a40909f4 Respond to CR. 2018-05-11 15:45:38 -04:00
Matthew Chen 9936003637 Respond to CR. 2018-05-11 15:37:13 -04:00
Matthew Chen 9a4889c4fb Simplify debug notifications. 2018-05-11 15:34:57 -04:00
Matthew Chen 1a170ba484 Simplify debug notifications. 2018-05-11 15:34:57 -04:00
Matthew Chen 56b91ddebb Clean up ahead of PR. 2018-05-11 11:28:05 -04:00
Matthew Chen 744a3b8be1 "Bump build to 2.25.0.15." 2018-05-10 17:26:29 -04:00
Matthew Chen 3579621db6 Improve logging around home view selection. 2018-05-10 17:25:48 -04:00
Matthew Chen 4a4882ebe5 Add debug notification. 2018-05-10 17:11:42 -04:00
Matthew Chen a3c853066a Respond to CR. 2018-05-10 16:36:37 -04:00
Matthew Chen f95151ac8d Don't present multiple converastion views ever. 2018-05-10 16:35:46 -04:00
Matthew Chen 940161e62f Don't process multiple local notifications. 2018-05-10 16:35:46 -04:00
Matthew Chen b751a32536 "Bump build to 2.25.0.14." 2018-05-10 14:43:19 -04:00
Matthew Chen faf15e3c8e Update l10n strings. 2018-05-10 14:43:04 -04:00
Michael Kirk 2cc3eabdb8 quote reply to contact share (no avatar)
// FREEBIE
2018-05-10 14:34:19 -04:00
Matthew Chen c05c1ac879 Always show 'add to contacts' button. 2018-05-10 13:35:41 -04:00
Matthew Chen acdc51ba3d Respond to CR. 2018-05-10 13:17:34 -04:00
Matthew Chen 37b8b368a6 Show "share contact" flow in single presented navigation controller. 2018-05-10 13:17:01 -04:00
Matthew Chen cb7f28ed34 Use dark status bar in contact view. 2018-05-10 12:17:25 -04:00
Matthew Chen 6460493669 Surface organization name in contact view. 2018-05-10 12:05:07 -04:00
Matthew Chen aa7cc4633a Rework contact names. 2018-05-10 12:05:07 -04:00
Michael Kirk c15fea4eca merge avatar with existing
// FREEBIE
2018-05-10 11:31:22 -04:00
Michael Kirk 95b93115f9 Code formatting
// FREEBIE
2018-05-10 11:31:22 -04:00
Michael Kirk bf37f41164 Move CNContact logic into our system contact adapter
// FREEBIE
2018-05-10 11:31:22 -04:00
Michael Kirk 0c469764f1 re-use contact picker for "add to existing"
Required refactor of contact picker to be presented non-modally.

TODO: merge emails, address, display names

// FREEBIE
2018-05-10 11:31:22 -04:00
Michael Kirk 609746abec clarify naming
// FREEBIE
2018-05-10 11:31:22 -04:00
Matthew Chen d0d9d5456c "Bump build to 2.25.0.13." 2018-05-09 17:57:53 -04:00
Matthew Chen 65a516685d Fix l10n strings. 2018-05-09 17:53:40 -04:00
Matthew Chen b4d24f1c72 Refine field actions in contact view. 2018-05-09 17:52:36 -04:00
Matthew Chen 3bb9e922d7 Surface contact share errors to user. 2018-05-09 17:52:00 -04:00
Matthew Chen 4079cdb600 Apply more contact share assets. 2018-05-09 17:51:27 -04:00
Matthew Chen ff3524fb00 Improve contact share message bubble layout with large dynamic type sizes. 2018-05-09 17:46:05 -04:00
Matthew Chen b4ef8afbf0 "Bump build to 2.25.0.12." 2018-05-09 16:18:07 -04:00
Michael Kirk ad4e4b0c4c return navbar after tapping message/call buttons
// FREEBIE
2018-05-09 16:01:12 -04:00
Matthew Chen f6c5141cbd "Bump build to 2.25.0.11." 2018-05-09 15:53:03 -04:00
Michael Kirk 42109593af Remove fromViewController state from ContactShareViewHelper
// FREEBIE
2018-05-09 10:21:00 -04:00
Michael Kirk 77bbbad70c Remove contactShare state from ContactShareViewHelper
// FREEBIE
2018-05-09 10:21:00 -04:00
Matthew Chen 0265787dd6 "Bump build to 2.25.0.10." 2018-05-08 18:35:21 -04:00
Matthew Chen 0b90c094aa "Bump build to 2.25.0.9." 2018-05-08 17:37:14 -04:00
Matthew Chen 946cc114ed Update l10n strings. 2018-05-08 17:37:08 -04:00
Matthew Chen c2adf624ea Respond to CR. 2018-05-08 17:22:34 -04:00
Matthew Chen 44ceee5849 Add contact share actions to conversation view and improve phone number parsing. 2018-05-08 17:22:34 -04:00
Michael Kirk 7e22d9e900 Prevent input toolbar from appearing over camera view, contact view or actionsheet
// FREEBIE
2018-05-08 17:07:15 -04:00
Michael Kirk 353abfc13e Views presented from ConversationVC must become first responder.
// FREEBIE
2018-05-08 17:07:15 -04:00
Michael Kirk 41aa7eafe3 makeKeyAndVisible restores first responder, so no need to track it
ourselves.

This isn't *quite* as nice for the case when we want to restore a
textfield that was active before, but it much more simply covers the
more important case that we restore input accessory views after
backgrounding/foregrounding.

// FREEBIE
2018-05-08 17:07:15 -04:00
Matthew Chen 01bfa8dfc4 Apply contact share assets. 2018-05-08 16:56:08 -04:00
Matthew Chen 9e49224028 Add usage description for Face ID. 2018-05-08 15:58:38 -04:00
Michael Kirk fda5d65674 Avoid crash - reply only works from ConversationVC
// FREEBIE
2018-05-08 13:56:28 -04:00
Michael Kirk 98aa054496 Avoid spurious "Disabled Disappearing Messages"
`dictionaryDidChange` was always true for new records.

// FREEBIE
2018-05-08 10:19:33 -04:00
Michael Kirk 7ca07d61d9 "Bump build to 2.25.0.8." 2018-05-07 17:43:57 -04:00
Matthew Chen bd116f8938 Share contacts from share extension. 2018-05-07 17:04:55 -04:00
Matthew Chen c56362cee0 "Bump build to 2.25.0.7." 2018-05-07 16:40:46 -04:00
Matthew Chen 7f1cbd9277 Respond to CR. 2018-05-07 16:19:13 -04:00
Matthew Chen 3092e4e3f6 Update design of 'approve contact share' view. 2018-05-07 16:18:22 -04:00
Matthew Chen 50c49baca8 Update design of 'approve contact share' view. 2018-05-07 16:18:22 -04:00
Matthew Chen b0c4ad7f63 Apply design changes from Myles. 2018-05-07 16:17:16 -04:00
Matthew Chen 4e07895853 Apply design changes from Myles. 2018-05-07 16:17:16 -04:00
Matthew Chen 5f1941f6aa Apply design changes from Myles. 2018-05-07 16:17:16 -04:00
Michael Kirk a10ae1835e respond to code review
// FREEBIE
2018-05-07 12:51:55 -04:00
Michael Kirk 45f91ead44 Use actual avatar in ContactViewController
// FREEBIE
2018-05-07 12:08:41 -04:00
Michael Kirk 77fc5571fb Implement avatar sending
// FREEBIE
2018-05-07 12:08:41 -04:00
Michael Kirk eb97e82d19 fixup debug UI 2018-05-07 12:08:41 -04:00
Michael Kirk 5ba5e98260 Show downloaded contact avatar in thread
// FREEBIE
2018-05-07 12:08:41 -04:00
Michael Kirk 48b4791b13 Download avatar attachment stream
// FREEBIE
2018-05-07 12:08:41 -04:00
Matthew Chen 4b6239f491 Fix build breakage. 2018-05-07 10:06:59 -04:00
Matthew Chen ba74e3857a Clean up ahead of PR. 2018-05-04 18:13:22 -04:00
Matthew Chen 2c6f18fa6e Clean up ahead of PR. 2018-05-04 18:13:22 -04:00
Matthew Chen fd93bf677e Clean up ahead of PR. 2018-05-04 18:13:22 -04:00
Matthew Chen 7a9acce504 Add contact share approval view. 2018-05-04 18:13:22 -04:00
Matthew Chen 6e18d84a10 Add contact share approval view. 2018-05-04 18:13:22 -04:00
Matthew Chen 0c745dd989 Add contact share approval view. 2018-05-04 18:13:22 -04:00
Matthew Chen 4fcbfe0e12 Fix merge breakage. 2018-05-04 16:20:33 -04:00
Matthew Chen 1fc401d200 Respond to CR. 2018-05-04 13:34:11 -04:00
Matthew Chen bff6c84403 Clean up ahead of PR. 2018-05-04 13:21:53 -04:00
Matthew Chen b37588fc4c Provide default labels for custom contact fields. 2018-05-04 13:21:53 -04:00
Matthew Chen 72102cd5fa No navigation bar in Contact view, custom back button, fix scrolling. 2018-05-04 13:21:53 -04:00
Matthew Chen 575573ef6b Let users pick recipient id for actions in contact view. 2018-05-04 13:21:53 -04:00
Matthew Chen 1a1a043b27 Format phone numbers of contacts. 2018-05-04 13:21:53 -04:00
Matthew Chen dcf7a05986 Use default avatars for contact shares in contact view. 2018-05-04 13:21:53 -04:00
Matthew Chen 66989b8db7 Use default avatars for contact shares in conversation view. 2018-05-04 13:21:53 -04:00
Matthew Chen e1a078900f "Bump build to 2.25.0.6." 2018-05-04 10:43:35 -04:00
Matthew Chen 00181479e8 Update l10n strings. 2018-05-04 10:43:26 -04:00
Michael Kirk 24f3362df1 ensure expirations started
// FREEBIE
2018-05-04 10:33:05 -04:00
Matthew Chen 390c0bc201 Send fake contact shares. 2018-05-04 09:37:04 -04:00
Matthew Chen c53b2934a8 Send fake contact shares. 2018-05-04 09:36:34 -04:00
Matthew Chen 612df0a026 Send fake contacts. 2018-05-04 09:36:34 -04:00
Matthew Chen 459101c20e Add feature flag for contact sharing. 2018-05-04 09:35:47 -04:00
Michael Kirk b32a1d5076 Fix media page title view on iOS9/10
We must specify the frame of the titleView

Previously the titleView was the stackview, but we don't want to
"stretch" the labels to fit the size of the stack view, so we wrap the
stack view in a container view which becomes the new titleView.

// FREEBIE
2018-05-03 17:56:46 -04:00
Matthew Chen ff6b45abee Respond to CR. 2018-05-03 14:31:11 -04:00
Matthew Chen 1d56d56ca2 Clean up ahead of PR. 2018-05-03 14:09:54 -04:00
Matthew Chen 91d54360ba Add contact view. 2018-05-03 14:09:54 -04:00
Matthew Chen fa5577eece Create contact view. 2018-05-03 14:09:54 -04:00
Matthew Chen 2738bcbc58 Create contact view. 2018-05-03 14:09:54 -04:00
Michael Kirk e604437e24 Don't become first responder while presenting
// FREEBIE
2018-05-03 12:45:48 -04:00
Michael Kirk d98341697c format debug stats
// FREEBIE
2018-05-03 09:11:51 -04:00
Michael Kirk f782ea97df Use loading screen whenever launch is slow.
Previously we had to manually account for each version that had a DB
change.

// FREEBIE
2018-05-03 09:11:51 -04:00
Michael Kirk 5c0c01dea2 Contact picking
// FREEBIE
2018-05-02 11:06:09 -04:00
Matthew Chen 411d5a3b4f Respond to CR. 2018-05-02 11:01:23 -04:00
Matthew Chen 783bf5b81c Clean up ahead of PR. 2018-05-02 10:52:29 -04:00
Matthew Chen 708b44e3c5 Improve handling of contact display names. 2018-05-02 10:52:29 -04:00
Matthew Chen 7e35a7e7d7 Sketch out rendering of contact shares in conversation view. 2018-05-02 10:51:59 -04:00
Michael Kirk 0ab8fc2772 Proper flip asset
// FREEBIE
2018-05-01 18:55:06 -04:00
Matthew Chen d7cc7384e9 "Bump build to 2.25.0.5." 2018-05-01 18:01:19 -04:00
Matthew Chen 0316a98eb8 Undo renaming of contactShare property of TSMessage. 2018-05-01 11:26:01 -04:00
Matthew Chen 147368913c Gather all contact conversion logic in OWSContacts. 2018-05-01 11:03:25 -04:00
Matthew Chen 0d8cfc5403 Rename contact share class to contact. 2018-05-01 11:03:25 -04:00
Matthew Chen 757234d309 Populate contact share protos. 2018-05-01 11:03:25 -04:00
Matthew Chen 2a63423c3d Elaborate fake contact shares. 2018-05-01 11:03:25 -04:00
Matthew Chen c854cc3de6 Fix fake contact share message creation. 2018-05-01 11:03:25 -04:00
Matthew Chen 7490a55f61 Sketch out "contact share" model. 2018-05-01 11:03:25 -04:00
Matthew Chen 4b8a2fa8a3 Sketch out "contact share" model. 2018-05-01 11:03:25 -04:00
Matthew Chen 2fe7596e04 Only show archived threads UI if there are archived threads. 2018-05-01 10:55:47 -04:00
Matthew Chen 6ab48cec97 Only show archived threads UI if there are archived threads. 2018-05-01 10:55:47 -04:00
Matthew Chen 2e06ebfe19 Fix system cell layout. 2018-04-30 10:57:12 -04:00
Matthew Chen 7d08bef8a3 "Bump build to 2.25.0.4." 2018-04-27 16:39:34 -04:00
Matthew Chen 371718f72e Fix global reference to 'inbox' home view. 2018-04-26 15:31:36 -04:00
Matthew Chen 91f5460a0f "Bump build to 2.25.0.3." 2018-04-26 14:27:13 -04:00
Matthew Chen 8ae956bba8 Update l10n strings. 2018-04-26 14:27:10 -04:00
Matthew Chen 45be54f7ac Design polish for the "profile pic in conversation view" and "archived conversations in home view." 2018-04-26 11:50:33 -04:00
Michael Kirk b702695793 cleanup 2018-04-26 11:18:18 -04:00
Michael Kirk 55e19b55b3 Fix layout for iOS9/10
code cleanup

// FREEBIE
2018-04-26 11:18:18 -04:00
Michael Kirk 7a1d24a9ab Avatar updates when contact/profile/group photo changes
// FREEBIE
2018-04-26 11:18:18 -04:00
Michael Kirk b1bff71145 WIP moving to stackview backed header view in conversation view
- iOS10 with large titles doesn't truncate
2018-04-26 11:18:18 -04:00
Michael Kirk 3d766e4cf8 Replace ConversationHeaderView with stack view in Media Gallery
// FREEBIE
2018-04-26 11:18:18 -04:00
Matthew Chen 28063574d3 Fix call hangup crashes. 2018-04-26 11:08:21 -04:00
Matthew Chen 802379b4bc "Bump build to 2.25.0.2." 2018-04-25 15:16:17 -04:00
Matthew Chen 251ce29a82 Fix dynamic type issues in home view cells. 2018-04-25 15:12:52 -04:00
Matthew Chen 5a42bf0ffb Fix dynamic type issues in home view cells. 2018-04-25 15:12:52 -04:00
Matthew Chen fb0c47aa12 Fix dynamic type issues. 2018-04-25 15:12:52 -04:00
Matthew Chen 3233554683 Show database upgrade warning while launching v2.25 or later. 2018-04-25 15:12:06 -04:00
Matthew Chen cf532b9cba "Bump build to 2.25.0.1." 2018-04-25 11:13:12 -04:00
Matthew Chen 1efbc26e21 Fix build break. 2018-04-25 11:13:08 -04:00
Matthew Chen 789595f6c6 Update l10n strings. 2018-04-25 11:02:14 -04:00
Matthew Chen 79ccc015aa Fix missing l10n strings. 2018-04-25 10:59:41 -04:00
Matthew Chen 015a531ab2 "Bump build to 2.25.0.0." 2018-04-25 10:55:12 -04:00
Matthew Chen 204d379603 Respond to CR. 2018-04-25 10:49:19 -04:00