Commit Graph

1160 Commits (c81e0a58bee926b15c57224da639c6f1d678612c)

Author SHA1 Message Date
Michael Kirk 9293eb96f7 code re-org 7 years ago
Michael Kirk 75248b5dc7 Stub out feedback operation
// FREEBIE
7 years ago
Michael Kirk b7288b2565 Move contact intersection into batched operation
// FREEBIE
7 years ago
Michael Kirk f277ae877c Clarify OWSOperation behavior (no behavioral changes) 7 years ago
Nancy Mast c2f7c15f72 removed jsq strings, modified MULTIDEVICE_PAIRING_MAX_RECOVERY text and comment 7 years ago
Matthew Chen 39c7fd9f15 Respond to CR. 7 years ago
Matthew Chen 3aa28aee36 Respond to CR. 7 years ago
Matthew Chen 03e5d2973b Delta contact intersections. 7 years ago
Matthew Chen 899e96f70f Respond to CR. 7 years ago
Matthew Chen 094cf3691d Respond to CR. 7 years ago
Matthew Chen cc91cb3dbf Respond to CR. 7 years ago
Matthew Chen ace07ac62a Respond to CR. 7 years ago
Matthew Chen c830f880aa Streamline SignalRecipient. 7 years ago
Matthew Chen 77884913d8 Streamline SignalRecipient. 7 years ago
Matthew Chen b6489c6948 Streamline SignalRecipient. 7 years ago
Matthew Chen 05a4222b2d Streamline SignalRecipient. 7 years ago
Matthew Chen ef3933bfaa Streamline SignalRecipient. 7 years ago
Matthew Chen 10b21d10e4 Streamline SignalRecipient. 7 years ago
Matthew Chen 9618fc16c5 Streamline SignalRecipient. 7 years ago
Matthew Chen ebe87348a2 Streamline SignalRecipient. 7 years ago
Matthew Chen d14f764b50 Streamline SignalRecipient. 7 years ago
Michael Kirk ef9a0880ae Fix analyzer warnings 7 years ago
Michael Kirk 77997639f5 Use CurrentAppContext instead of compiler flag to affect test behavior 7 years ago
Michael Kirk 12ef25420a Fixup SSK tests 7 years ago
Michael Kirk d591fb7f2c Fix some compiler warnings 7 years ago
Matthew Chen 23848844fe Add feature flag for contact discovery service. 7 years ago
Michael Kirk 872c89fbff Update recipient devices on successful decrypt to avoid wasting a valid session
created by sender.

Make device set immutable.
7 years ago
Matthew Chen 20d1d11259 Refine home view. 7 years ago
Matthew Chen 4d3707a16e Apply "disappearing messages disabled" icon. 7 years ago
Matthew Chen ecafe546b6 Rework unread indicators. 7 years ago
Matthew Chen 8d72bb032e Rework unread indicators. 7 years ago
Matthew Chen e48a1e0816 Respond to CR. 7 years ago
Matthew Chen 158aa3abc4 Tweak system messages; incomplete vs. missed calls. 7 years ago
Matthew Chen 8b3bdb88f3 Revert "Merge branch 'charlesmchen/tweakCalls'"
This reverts commit 3e0233ea60, reversing
changes made to 74ce3012cf.
7 years ago
Michael Kirk f0175c0b6f feature gate color syncing
// FREEBIE
7 years ago
Michael Kirk a66c88e3cf Fix getter for contact threads, remove sneaky read transaction for DM config. 7 years ago
Michael Kirk 92705490a0 No write transaction needed for syncing colors
// FREEBIE
7 years ago
Michael Kirk d53f583e45 sync colors with group 7 years ago
Michael Kirk 4d3d5d98e1 Sync colors with contacts 7 years ago
Michael Kirk 553a94286f update protobufs to sync group color 7 years ago
Michael Kirk 28abf426f1 White status bar for call screen
Transition to VC controlled status bar style.
7 years ago
Matthew Chen 03d393553a Tweak home view cells. 7 years ago
Matthew Chen 1a9a5016fe Tweak calls. 7 years ago
Michael Kirk 015c0bf5ca Merge tag '2.27.1.2' 7 years ago
Matthew Chen 3f4cd15f5b Use sending queue in websocket send failover to REST. 7 years ago
Michael Kirk 0f34f76611 Merge tag '2.27.1.1' 7 years ago
Michael Kirk 2c1693c941 Revert "Revert "Revert "Disable contact sharing."""
This reverts commit 57e3d0d5f9.
7 years ago
Matthew Chen 92332c2b69 Rework contact share buttons. 7 years ago
Michael Kirk 1e8c7d63b8 clarify sync logging 7 years ago
Michael Kirk 8576de0618 Fix: No contacts/groups after initial device link
The server caches your device list on the websocket, so sending on the
websocket to a just-linked device will always fail. We could close/open the
websocket, but that might be disruptive in it's own way. Instead we'll closely
mirror the Android approach, where WebSocket sends are attempted only one time,
and failure is handled by falling back to the original REST approach.

So note: we don't do any special handling of failures on the websocket
(409/410). We simply retry it with REST which will handle the 409/410/etc.

Consequently, we don't want to decrement our retry count for websocket sends.
7 years ago
Michael Kirk 9cb25024c3 bump limit to allow more legit strings through 7 years ago
Matthew Chen 1412998b4a Rework isRTL. 7 years ago
Michael Kirk 16df4f589e conversation colors
// FREEBIE
7 years ago
Michael Kirk 266469163e Merge tag '2.27.0.7' 7 years ago
Michael Kirk 57e3d0d5f9 Revert "Revert "Disable contact sharing.""
This reverts commit 91af7d3855.
7 years ago
Matthew Chen 16a1dcfb77 Respond to CR. 7 years ago
Michael Kirk 3bee54dbef Merge tag '2.27.0.6' 7 years ago
Matthew Chen a6dbb7704a Remove overzealous assert in search finder. 7 years ago
Matthew Chen fc299b8700 Use UI database connection throughout the conversation cells. 7 years ago
Matthew Chen ac6f78a5fc Tweak message cells. 7 years ago
Michael Kirk e88dc15255 Fix failing assert: only set state on main thread
MessageSender completion queue is not the main queue.

// FREEBIE
7 years ago
Matthew Chen 700e9fa491 Improve logging around deserialization exceptions. 7 years ago
Michael Kirk 0bc88666c8 Show legal terms link
// FREEBIE
7 years ago
Michael Kirk 737598c731 Return unknown object from deserializer
// FREEBIE
7 years ago
Matthew Chen ebcc435c9f Clean up ahead of PR. 7 years ago
Matthew Chen 87ea1dcae1 Clean up ahead of PR. 7 years ago
Matthew Chen 08ca4fdb50 Lazy-load contact avatar data and images. Use NSCache for avatar images. 7 years ago
Matthew Chen 83f11ad79b Don't cache CNContact. 7 years ago
Matthew Chen 12295bd8c5 Don't cache CNContact. 7 years ago
Matthew Chen a7d712d1b2 Respond to CR. 7 years ago
Matthew Chen e507256e52 Outage detection. 7 years ago
Matthew Chen c96e2bb8b4 Outage detection. 7 years ago
Matthew Chen 20b1a2606e Outage detection. 7 years ago
Matthew Chen 776b5abed1 Handle edge cases around unread indicator & contact offers. 7 years ago
Matthew Chen 463a323585 Image content types. 7 years ago
Matthew Chen 1607aa7f57 Image content types. 7 years ago
Matthew Chen 4abaed0e6d Tidy up type checking in database views. 7 years ago
Matthew Chen b88254244a Respond to CR. 7 years ago
Matthew Chen 2e6b4899a7 Remove TSRecipient. 7 years ago
Matthew Chen 21a9ce3b20 Ensure TSRecipient can be deserialized. 7 years ago
Matthew Chen f1708c0b30 Improve logging around deserialization failures. 7 years ago
Matthew Chen 7f346326f6 Add re-registration UI. 7 years ago
Matthew Chen bc6a4ea8d8 Add re-registration UI. 7 years ago
Matthew Chen fc4763673f Improve de-registration checks in socket manager. 7 years ago
Matthew Chen b0646e8bff Track and persist 'is de-registered' state. 7 years ago
Matthew Chen 985f735f1a Track and persist "is de-registered" state. 7 years ago
Matthew Chen 28047abb6a Tweak database reset. 7 years ago
Matthew Chen 18a8efe1a9 Respond to CR. 7 years ago
Michael Kirk c48f2404a3 Fix overzealous assert
// FREEBIE
7 years ago
Michael Kirk a346465db5 tune down logging
// FREEBIE
7 years ago
Matthew Chen 40e5bcc23f Respond to CR. 7 years ago
Matthew Chen e8d0d9ecc0 Index oversize text for search. 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
Matthew Chen c8f2201a37 Respond to CR. 7 years ago
Matthew Chen 527e2715d4 Elaborate the search tests. 7 years ago
Matthew Chen 5c42e4c59e Improve search query construction. 7 years ago
Matthew Chen 755d30254e Improve search query construction. 7 years ago
Matthew Chen 153f3fc0a5 Improve search query construction. 7 years ago
Matthew Chen a51e9b78b0 Improve search query construction. 7 years ago
Matthew Chen f5a5d84edc Filter search index text. 7 years ago
Matthew Chen b5e0265758 Filter search index text. 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
Michael Kirk 74b741e9de Update timer
// FREEBIE
7 years ago
Matthew Chen f9f931fc2d Fix assert around failing sync message sends. 7 years ago
Matthew Chen c8fee4efa7 Add swift logging to SSK. 7 years ago
Matthew Chen d5c738af2f Clean up websocket logging. 7 years ago
Matthew Chen 44b23d44fd Respond to CR. 7 years ago
Matthew Chen 37d3dfdfb6 Merge tag '2.26.0.23' 7 years ago
Michael Kirk dff8d7bf97 Moving code around
// FREEBIE
7 years ago
Michael Kirk f57a5dbc77 Match searches for national number format
// FREEBIE
7 years ago
Michael Kirk 8c88382f37 less call logging
// FREEBIE
7 years ago
Óscar Morales Vivó 51a9841144 https://github.com/signalapp/Signal-iOS/issues/3455: Treat AMR files as generic attachments (AVFoundation doesn't support playback) 7 years ago
Matthew Chen 91af7d3855 Revert "Disable contact sharing."
This reverts commit cb603d0bad.
7 years ago
Michael Kirk fff8474150 adapt to rebase conflicts 7 years ago
Michael Kirk f415827da6 Contact search results
// FREEBIE
7 years ago
Michael Kirk 729befa5cb CR: Cap max search results
// FREEBIE
7 years ago
Michael Kirk b3705196b3 remove unused code/comments 7 years ago
Michael Kirk 13c43c2520 search groups by member name, cleanup tests
// FREEBIE
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 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 1db1d76d98 Merge branch 'mkirk/fix-build-warnings' 7 years ago
Michael Kirk 7df158120b Fix build warnings: mark initWithCoder as designated.
// FREEBIE
7 years ago
Matthew Chen afc2cabe90 Merge remote-tracking branch 'origin/hotfix/2.25.3' 7 years ago
Matthew Chen 16cee92ca1 Suppress legal links. 7 years ago
Matthew Chen 7cc46a06fa Rebuild finder index. 7 years ago
Matthew Chen 0dcde9516e Suppress legal links. 7 years ago
Michael Kirk 626573a8a9 Revert "Revert "Disable contact sharing.""
This reverts commit 6e0d92e039.
7 years ago
Matthew Chen b59140cb3f Revert some of the socket sending logging. 7 years ago
Matthew Chen 3fe63726e0 Improve logging around socket messages. 7 years ago
Matthew Chen e7ca98fcfe Improve logging around socket messages. 7 years ago
Matthew Chen 6bc145ce3a Fix more build warnings. 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
Matthew Chen 9a08afae28 Fix build warnings. 7 years ago
Matthew Chen 3cd6a33aa6 Fix build warnings. 7 years ago
Matthew Chen fefc9843b1 Modify views to observe changes when active, not just foreground. 7 years ago
Matthew Chen d62725d3b7 Add reported application state. 7 years ago
Matthew Chen ad8a713566 Merge tag '2.25.2.4' 7 years ago
Matthew Chen 61ec865b6d Respond to CR. 7 years ago
Matthew Chen 4342b04bd3 Include response data in 'request over websocket' failures. 7 years ago
Matthew Chen f7abcc9064 Respond to CR. 7 years ago
Matthew Chen caad6f796e Clean up ahead of PR. 7 years ago
Matthew Chen 4d498563e7 Unify the socket manager's 'can send requests' logic. 7 years ago
Matthew Chen 1466852329 Revert "Add temporary verbose logging around message creation."
This reverts commit 7200a8dc4d.
7 years ago
Matthew Chen 7200a8dc4d Add temporary verbose logging around message creation. 7 years ago
Matthew Chen 21b54bee4f Fix breakage from recents changes in share extension. 7 years ago
Matthew Chen 08affb4400 Merge branch 'hotfix/2.25.2' 7 years ago
Matthew Chen 90f0681198 Update legal URL. 7 years ago
Michael Kirk 9a34c6804c policy links
// FREEBIE
7 years ago
Michael Kirk 4c9808d1a1 Fix iPhoneX layout show status bar above call banner
// FREEBIE
7 years ago
Michael Kirk 966b1ac84b Treat `id` as reserved word, use consistent setter style
// FREEBIE
7 years ago
Michael Kirk 84776f2757 Start timers for migrated messages
// FREEBIE
7 years ago
Matthew Chen 1343e4bc19 Preserve legacy outgoing message state; special case contact thread messages. 7 years ago
Matthew Chen d4fe671261 Respond to CR. 7 years ago
Matthew Chen 0a41684374 Respond to CR. 7 years ago
Matthew Chen dc36ae134d Respond to CR. 7 years ago
Matthew Chen 1a441cc40c Respond to CR. 7 years ago
Matthew Chen 6a1bb3f04c Add web sockets protos to proto make file. 7 years ago
Matthew Chen b50561a5b6 Use websocket for sends. 7 years ago
Matthew Chen 5ff984ab16 Use websocket for sends. 7 years ago
Matthew Chen fa36f2fb10 Use websocket for sends. 7 years ago
Matthew Chen 8a76e778b5 Use websocket for sends. 7 years ago
Matthew Chen 5f1682deab Use websocket for sends. 7 years ago
Matthew Chen a5c42ecca8 Clean up ahead of CR. 7 years ago
Matthew Chen 3967a5ab05 Call lifecycle edge cases. 7 years ago
Matthew Chen 6e0d92e039 Revert "Disable contact sharing."
This reverts commit cb603d0bad.
7 years ago
Matthew Chen efb0769c6f Disable contact sharing. 7 years ago
Matthew Chen e2d9c1187a Fix "group avatar doesn't update after local change." 7 years ago
Matthew Chen 2f8b5b8ea2 Move app state check to main thread. 7 years ago
Matthew Chen 7254d92601 Revert "Disable contact sharing."
This reverts commit cb603d0bad.
7 years ago
Matthew Chen cb603d0bad Disable contact sharing. 7 years ago
Michael Kirk c0ddcc7919 Only clean up messages while active
// FREEBIE
7 years ago
Michael Kirk af8ddf7bf0 Use raw text when localization fails
// FREEBIE
7 years ago
Matthew Chen cbc27f1c30 Revert "Disable contact sharing."
This reverts commit 2b6b8c2f69.
7 years ago
Matthew Chen 2b6b8c2f69 Disable contact sharing. 7 years ago
Matthew Chen 1a3737d5c6 Respond to CR. 7 years ago
Matthew Chen 530983c161 Build & enqueue network requests async. 7 years ago
Michael Kirk f652ecef99 localize _Main_ and other CN label types
// FREEBIE
7 years ago
Matthew Chen a62e86c7ab Revert "Disable contact sharing."
This reverts commit e27af7a66d.
7 years ago
Matthew Chen e27af7a66d Disable contact sharing. 7 years ago
Matthew Chen 986e3e0925 Revert "Disable contact sharing."
This reverts commit e138c73bdc.
7 years ago
Matthew Chen e138c73bdc Disable contact sharing. 7 years ago
Matthew Chen b74f545a64 Fix profile key protos. 7 years ago
Michael Kirk 54f7373037 Clean up logging, start messages timer regardless of current
configuration

// FREEBIE
7 years ago
Matthew Chen 4949ade274 Revert "Disable contact sharing."
This reverts commit e8b41789d7.
7 years ago
Matthew Chen e6dceffdbd Respond to CR. 7 years ago
Matthew Chen 5c7b98e5c4 Improve handling of unregistered users. 7 years ago
Matthew Chen e8b41789d7 Disable contact sharing. 7 years ago
Matthew Chen 8489c55fde Mark send-to-self as sent. 7 years ago
Matthew Chen 9c2f619132 Don't echo messages sent to self 1:1. 7 years ago
Matthew Chen 81a40909f4 Respond to CR. 7 years ago
Michael Kirk 742492dd32 remove redundant protocol definition
`debugDescription` is defined on all NSObjects (but as a property)

// FREEBIE
7 years ago
Matthew Chen 8cdb75d52a Respond to CR. 7 years ago
Matthew Chen 8337c3bd68 Refine contact merging. 7 years ago
Matthew Chen 6460493669 Surface organization name in contact view. 7 years ago
Matthew Chen aa7cc4633a Rework contact names. 7 years ago