Commit Graph

3507 Commits (3d5cff1ed0a49d18f9c9e6af815a55ce6291f67d)

Author SHA1 Message Date
Matthew Chen 793a868e6f Outage detection. 7 years ago
Matthew Chen c96e2bb8b4 Outage detection. 7 years ago
Matthew Chen 1607aa7f57 Image content types. 7 years ago
Matthew Chen 4ac8100973 Respond to CR. 7 years ago
Matthew Chen 010c10cb0c Show re-registration in app settings. 7 years ago
Matthew Chen bc6a4ea8d8 Add re-registration UI. 7 years ago
Matthew Chen 6331fbb22a Show de-registration nag view. 7 years ago
Matthew Chen b0646e8bff Track and persist 'is de-registered' state. 7 years ago
Matthew Chen 0b64ecf675 Respond to CR. 7 years ago
Matthew Chen 32336e38e1 Merge tag '2.26.0.26' 7 years ago
Matthew Chen b5a836bf28 Shared ui db connection v. auto load more. 7 years ago
Matthew Chen 7e1c0102b7 Unify the cell and avatar sizes. 7 years ago
Matthew Chen 647d80d79d Unify the cell and avatar sizes. 7 years ago
Matthew Chen 1acf51ea5c Unify the cell and avatar sizes. 7 years ago
Matthew Chen 261719e53b Unify the cell and avatar sizes. 7 years ago
Michael Kirk a346465db5 tune down logging
// FREEBIE
7 years ago
Matthew Chen c1e1a52695 Auto-size contact cells everywhere. 7 years ago
Matthew Chen dd49c6225f Auto-size contact cells everywhere. 7 years ago
Matthew Chen f8e785ef72 Merge tag '2.26.0.25' 7 years ago
Michael Kirk a91b6b35e2 update UI DB to latest before showing CVC
// FREEBIE
7 years ago
Michael Kirk 0a17246737 Don't use group name in message.
// FREEBIE
7 years ago
Michael Kirk 95b1dced18 add: messages in Book Club will disappear in 1 minute
Show different message when joining group with disappearing messages
7 years ago
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.
7 years ago
Matthew Chen 95ac17bb7e Merge tag '2.26.0.24' 7 years ago
Michael Kirk 0dec029a69 Don't mark as read when callscreen is active
// FREEBIE
7 years ago
Matthew Chen f0e37ff3f2 Avoid double-scrolling. 7 years ago
Matthew Chen 2db4c96a1c Respond to CR. 7 years ago
Matthew Chen 3c50269dbf Debounce search result updates. 7 years ago
Matthew Chen 91cc902b1d Update search results. 7 years ago
Matthew Chen c8fee4efa7 Add swift logging to SSK. 7 years ago
Matthew Chen 44b23d44fd Respond to CR. 7 years ago
Matthew Chen 99677899b1 Respond to CR. 7 years ago
Matthew Chen f0c1805de9 Strip snippet formatting. 7 years ago
Matthew Chen 31443b5687 Clean up ahead of PR. 7 years ago
Matthew Chen 3f9f2abcd8 Style the search results. 7 years ago
Matthew Chen f4a559156c Style the search results. 7 years ago
Matthew Chen a4aba325d8 Order the search results. 7 years ago
Matthew Chen 4abd3f58cd Order the search results. 7 years ago
Matthew Chen 999e8c8e31 Respond to CR. 7 years ago
Matthew Chen 13e9f11b4e Open message search results. 7 years ago
Matthew Chen 27b6a5e5bb Open message search results. 7 years ago
Michael Kirk 549342c702 Show empty results text
// FREEBIE
7 years ago
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
7 years ago
Matthew Chen ade8dcd6ac Merge tag '2.26.0.22' 7 years ago
Matthew Chen bb266d03e4 Preserve default scroll state until conversation view is presented. 7 years ago
Michael Kirk fff8474150 adapt to rebase conflicts 7 years ago
Michael Kirk f415827da6 Contact search results
// FREEBIE
7 years ago
Matthew Chen d1a46e5964 Respond to CR. 7 years ago
Matthew Chen 897f5b86a7 Open search results. 7 years ago
Matthew Chen 6b49bb5e19 Open search results. 7 years ago
Michael Kirk 6924045d6b CR: rename Chat -> Conversation for consistency
// FREEBIE
7 years ago
Michael Kirk b3705196b3 remove unused code/comments 7 years ago
Michael Kirk 0f7dcccd59 Use search results controller
// FREEBIE
7 years ago
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
7 years ago
Michael Kirk e6b913b139 Fix layout on iOS10 7 years ago
Michael Kirk 3a03c4f74c WIP: message indexing 7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Matthew Chen 0dcde9516e Suppress legal links. 7 years ago
Michael Kirk e2eb772ff6 Fix layout for iOS9,10
// FREEBIE
7 years ago
Michael Kirk cd298c72c3 notify when receiving voip before first unlock
// FREEBIE
7 years ago
Matthew Chen 19c9e226fb Respond to CR. 7 years ago
Matthew Chen 3964b78ff7 Reduce usage of JSQ. 7 years ago
Matthew Chen 833f6ad51d Skip missing and invalid interactions in conversation view. 7 years ago
Matthew Chen 2c0ba1cbd9 Skip missing and invalid interactions in conversation view. 7 years ago
Matthew Chen dc13e32e4e Don't use dynamic type in registration view... yet. 7 years ago
Matthew Chen 6bc145ce3a Fix more build warnings. 7 years ago
Michael Kirk 9aafd89979 Remove unused synthesized ivars
// FREEBIE
7 years ago
Michael Kirk ae1d82be84 Fix: input toolbar disappears when tapping media while edit menu is
present

// FREEBIE
7 years ago
Michael Kirk e6c659d0ff remove incorrect comment 7 years ago
Michael Kirk 6e6a7446d0 Use global readWrite connection
// FREEBIE
7 years ago
Michael Kirk 468f7524ef Revert "separate read/write db connections"
This reverts commit 3e61741060e6a7c2a9891b46cf3abd567d33aa3a.
7 years ago
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
7 years ago
Michael Kirk ddd39fcd3d separate read/write db connections
// FREEBIE
7 years ago
Michael Kirk d9172cccb9 Measure time to display
// FREEBIE
7 years ago
Matthew Chen 879b9d4c72 Respond to CR. 7 years ago
Matthew Chen 9a08afae28 Fix build warnings. 7 years ago
Matthew Chen 3cd6a33aa6 Fix build warnings. 7 years ago
Matthew Chen 5ed22ada7b Respond to CR. 7 years ago
Matthew Chen e4f7995e4d Ensure conversation view is first responder before presenting another view. 7 years ago
Matthew Chen 23e2d971e4 Handle layout of long group name labels. 7 years ago
Matthew Chen b030bfb5b3 Fix constant in group invite by text warning. 7 years ago
Matthew Chen ed19949d60 Respond to CR. 7 years ago
Matthew Chen e949d81568 Fix more call state edge cases. 7 years ago
Matthew Chen b2f884b882 Fix call state edge cases. 7 years ago
Matthew Chen 39e12e1a63 Ensure that home view label wraps by word. 7 years ago
Óscar Morales Vivó 69b5272547 More code review polish. 7 years ago
Ó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. 7 years ago
Óscar Morales Vivó eedaea7b2e Fixed leading/trailing margins for empty home view label. 7 years ago
Matthew Chen 0498ceb82f Respond to CR. 7 years ago
Matthew Chen 1a2d10d2cc Fix ordering of contacts picker. 7 years ago
Matthew Chen b80d9ddbf7 Add warning before sending group message invites. 7 years ago
Matthew Chen 9ee572fb24 Respond to CR. 7 years ago
Matthew Chen fefc9843b1 Modify views to observe changes when active, not just foreground. 7 years ago
Matthew Chen 812210a63c Modify views to observe changes when active, not just foreground. 7 years ago
Matthew Chen d62725d3b7 Add reported application state. 7 years ago
Michael Kirk aa0a31c25e Reduce viewWillAppear by ~5% by optimizing loadForTextDisplay
// FREEBIE
7 years ago
Michael Kirk 97324eaae1 Load less messages initially
// FREEBIE
7 years ago
Matthew Chen ad8a713566 Merge tag '2.25.2.4' 7 years ago
Matthew Chen 4f520646cc Avoid double layout in conversation view; but carefully. 7 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
7 years ago
Matthew Chen f7abcc9064 Respond to CR. 7 years ago
Matthew Chen f63d25a172 Migrate to Swift 4. 7 years ago
Matthew Chen 4d8c764789 Migrate to Swift 4. 7 years ago
Matthew Chen b2b62880c0 Migrate to Swift 4. 7 years ago
Matthew Chen 77b72b6b06 Migrate to Swift 4. 7 years ago
Matthew Chen da5ae63bbc Migrate to Swift 4. 7 years ago
Matthew Chen 28e26e1f75 Migrate to Swift 4. 7 years ago
Matthew Chen 916d55c55d Migrate to Swift 4. 7 years ago
Matthew Chen 28f7142a59 Auto-migration to Swift 4. 7 years ago
Matthew Chen 6b39f73e65 Fix tests. 7 years ago
Matthew Chen 40ef287952 Avoid spurious animation in call view buttons. 7 years ago
Matthew Chen 5f593bd736 Revert "Add temporary verbose logging around message creation."
This reverts commit f26ad5cd34.
7 years ago
Matthew Chen 0aa8306036 Revert "Add temporary verbose logging around message creation."
This reverts commit 5b0d806a6d.
7 years ago
Matthew Chen 5b0d806a6d Add temporary verbose logging around message creation. 7 years ago
Matthew Chen f26ad5cd34 Add temporary verbose logging around message creation. 7 years ago
Matthew Chen 2a4ecd42c4 Fix crashes while deallocating PeerConnectionClient. 7 years ago
Matthew Chen 86e038436b Fix crashes while deallocating PeerConnectionClient. 7 years ago
Matthew Chen 8d9c811566 Fix crashes while deallocating PeerConnectionClient. 7 years ago
Matthew Chen fff9f74a05 Fix crashes while deallocating PeerConnectionClient. 7 years ago
Matthew Chen 08affb4400 Merge branch 'hotfix/2.25.2' 7 years ago
Matthew Chen 5361cd3f25 Fix dismissal issue in invite flow. 7 years ago
Matthew Chen eecc823d85 Fix invite flow. 7 years ago
Matthew Chen 63b545b34d Fix invite flow. 7 years ago
Matthew Chen fbd03a3fdc Apply design for call view back button. 7 years ago
Michael Kirk 9a34c6804c policy links
// FREEBIE
7 years ago
Michael Kirk caa9e3ca67 Show missed call when call times out
// FREEBIE
7 years ago
Michael Kirk b8707b6fa4 WIP: call view changes 7 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
7 years ago
Michael Kirk 2709a91b5e Fixup attachment approval vis-a-vis call banner
// FREEBIE
7 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
7 years ago
Michael Kirk 4c9808d1a1 Fix iPhoneX layout show status bar above call banner
// FREEBIE
7 years ago
Michael Kirk 778e11c2c3 cleanup ahead of PR
// FREEBIE
7 years ago
Michael Kirk 1b60716759 Stop worrying about notification order by using delegate pattern
// FREEBIE
7 years ago
Michael Kirk d9d0227ce5 Align search bar to safe area insets
// FREEBIE
7 years ago
Michael Kirk 319a6ff765 fixup behavior on iOS10 7 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
7 years ago
Michael Kirk 33eb4c38cd Centralize translucency configuration
// FREEBIE
7 years ago
Michael Kirk 12c98f4340 cleanup and move to OWSNavigationController
// FREEBIE
7 years ago
Michael Kirk a2b1793262 initial render is wrong, but settles somewhere nice
-[x] fix initial placement
-[x] add additional top safe area?

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

// FREEBIE
7 years ago
Michael Kirk 2258e18d34 rename for clarity
// FREEBIE
7 years ago
Michael Kirk 91cd1af3f9 Extract ReturnToCallViewController
// FREEBIE
7 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.
7 years ago