Commit Graph

1440 Commits (0b4ed1175d507be79f96ca5ca03e44c87bd77c20)

Author SHA1 Message Date
Michael Kirk 558b3bd245 Report contact discovery feedback 7 years ago
Michael Kirk 8c5d6ba9bb Respond to code review. 7 years ago
Michael Kirk b42f528713 Integrate with new contact discovery endpoint
Also:
* use system cookie parsing
* add AESGCM additional authenticated data parameter

// FREEBIE
7 years ago
Michael Kirk a611625691 fixup lookup threading 7 years ago
Michael Kirk dedfea78da callback handlers for remote attestation 7 years ago
Matthew Chen bebb8ecfd1 Cycle the socket after linking a new device. 7 years ago
Matthew Chen 28f021ba55 Pull byte parser out into separate source file. 7 years ago
Matthew Chen 906d0b01a4 Fix build break. 7 years ago
Matthew Chen baed561033 Mark message sent to self as read. 7 years ago
Matthew Chen 304240f263 Fix concurrency in contacts updater. 7 years ago
Matthew Chen 9904443fcf Fix concurrency in contacts updater. 7 years ago
Matthew Chen 88be3a5755 Respond to CR. 7 years ago
Matthew Chen 819c2b1ceb Remove Twisted Oak. 7 years ago
Matthew Chen 797bd9be38 Respond to CR. 7 years ago
Matthew Chen 81a940a27f Clean up ahead of CR. 7 years ago
Matthew Chen 7acf9b15e1 Finish signature verification. 7 years ago
Matthew Chen 7476ef123d Remote attestation. 7 years ago
Matthew Chen f0d797a91f Always touch the thread when updating a message. 7 years ago
Matthew Chen d793c008b5 Always touch the thread when updating a message. 7 years ago
Michael Kirk ab1190222b Fix overzealous failure when user has no Signal contacts
// FREEBIE
7 years ago
Matthew Chen 75c3b385b2 Respond to CR. 7 years ago
Matthew Chen 97eb405a9e Revert temporary changes. 7 years ago
Matthew Chen f2fdb96931 Clean up ahead of PR. 7 years ago
Matthew Chen 460f7344ad Remote attestation. 7 years ago
Matthew Chen 6686ecb125 Remote attestation. 7 years ago
Matthew Chen d7bb2b7505 Remote attestation. 7 years ago
Matthew Chen f3ba6d4c27 Remote attestation. 7 years ago
Michael Kirk eb4c62593b Cancel quickly if dependent operation fails 7 years ago
Michael Kirk 90214ae578 make contact intersection queue serial 7 years ago
Michael Kirk 0db339b849 fixup double failure 7 years ago
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
Michael Kirk 407ec997ab Add comment per CR
// FREEBIE
7 years ago
Michael Kirk 7631315227 Remove unused code
// FREEBIE
7 years ago
Michael Kirk a16040f19f Fix avatar sending in SAE
// FREEBIE
7 years ago
Michael Kirk ed2945126a Remove contact share avatars upon message deletion
// FREEBIE
7 years ago
Michael Kirk c15fea4eca merge avatar with existing
// FREEBIE
7 years ago
Michael Kirk 95b93115f9 Code formatting
// FREEBIE
7 years ago
Michael Kirk bf37f41164 Move CNContact logic into our system contact adapter
// FREEBIE
7 years ago
Michael Kirk b1f3324514 cleanup contact syncing
It's largely a redundant check anyway, but the previous typo was a
no-op.

// FREEBIE
7 years ago
Matthew Chen b4d24f1c72 Refine field actions in contact view. 7 years ago
Matthew Chen 37da52413f Fix contact share protos: display name, organization name. 7 years ago
Matthew Chen 44ceee5849 Add contact share actions to conversation view and improve phone number parsing. 7 years ago
Michael Kirk 98aa054496 Avoid spurious "Disabled Disappearing Messages"
`dictionaryDidChange` was always true for new records.

// FREEBIE
7 years ago
Michael Kirk d3cda951ef Fix/Simplify outgoing attachment proto building
// FREEBIE
7 years ago
Matthew Chen bd116f8938 Share contacts from share extension. 7 years ago
Michael Kirk a10ae1835e respond to code review
// FREEBIE
7 years ago
Michael Kirk 77fc5571fb Implement avatar sending
// FREEBIE
7 years ago
Michael Kirk eb97e82d19 fixup debug UI 7 years ago
Michael Kirk 5ba5e98260 Show downloaded contact avatar in thread
// FREEBIE
7 years ago
Michael Kirk 48b4791b13 Download avatar attachment stream
// FREEBIE
7 years ago
Michael Kirk 3fdf703a60 PhoneNumberUtil is no longer a singleton
// FREEBIE
7 years ago
Michael Kirk 9e1a3a0da4 Consider off/on in addition to duration when becoming consistent
// FREEBIE
7 years ago
Matthew Chen 4b6239f491 Fix build breakage. 7 years ago
Matthew Chen e7eaa7945d Handle completely skipped message sends. 7 years ago
Matthew Chen 043218fb91 Ensure thread safety in phone parsing logic. 7 years ago
Matthew Chen 7c3991ebd8 Respond to CR. 7 years ago
Matthew Chen 7a9acce504 Add contact share approval view. 7 years ago
Matthew Chen 0c745dd989 Add contact share approval view. 7 years ago
Matthew Chen 1fc401d200 Respond to CR. 7 years ago
Matthew Chen b37588fc4c Provide default labels for custom contact fields. 7 years ago
Matthew Chen 1a1a043b27 Format phone numbers of contacts. 7 years ago
Matthew Chen dcf7a05986 Use default avatars for contact shares in contact view. 7 years ago
Michael Kirk a01164e8b1 Add canary assert
// FREEBIE
7 years ago
Michael Kirk ecf767ea53 canary assert 7 years ago
Michael Kirk 1dd8c41770 Only touch messages which have been read.
// FREEBIE
7 years ago
Michael Kirk 24f3362df1 ensure expirations started
// FREEBIE
7 years ago
Michael Kirk ed3db50978 clarify naming
// FREEBIE
7 years ago
Michael Kirk 242cc1138f A few lingering places were ordered with their envelope timestamp
// FREEBIE
7 years ago
Matthew Chen 8e84f89239 Respond to CR. 7 years ago
Matthew Chen 8dc3333467 Send fake contact shares. 7 years ago
Matthew Chen 390c0bc201 Send fake contact shares. 7 years ago
Matthew Chen f4ee688401 Add feature flag for contact sharing. 7 years ago
Matthew Chen ff6b45abee Respond to CR. 7 years ago
Matthew Chen fa5577eece Create contact view. 7 years ago
Matthew Chen 00eadd629f Text previews for contact shares. 7 years ago
Matthew Chen 411d5a3b4f Respond to CR. 7 years ago
Matthew Chen 708b44e3c5 Improve handling of contact display names. 7 years ago
Michael Kirk d67a3b4167 WORKS GREAT
// FREEBIE
7 years ago
Matthew Chen d1f6118e6e Rework contact normalization and validation. 7 years ago
Matthew Chen 1520422b29 Respond to CR. 7 years ago
Matthew Chen 0316a98eb8 Undo renaming of contactShare property of TSMessage. 7 years ago
Matthew Chen 147368913c Gather all contact conversion logic in OWSContacts. 7 years ago
Matthew Chen ee9a13cdf0 Update cocoapods. 7 years ago
Matthew Chen bd7c8e4a4b Add conversion methods between vcard, system contacts and ows contacts. 7 years ago
Matthew Chen 0d8cfc5403 Rename contact share class to contact. 7 years ago
Matthew Chen 796958d87f Elaborate contact conversion. 7 years ago
Matthew Chen e22e9a7842 Populate contact share protos. 7 years ago
Matthew Chen 757234d309 Populate contact share protos. 7 years ago
Matthew Chen 2a63423c3d Elaborate fake contact shares. 7 years ago
Matthew Chen 521013a674 Fix contact share property synthesis. 7 years ago
Matthew Chen 7490a55f61 Sketch out "contact share" model. 7 years ago
Matthew Chen 4b8a2fa8a3 Sketch out "contact share" model. 7 years ago
Matthew Chen 6005747856 Update protos to reflect 'share contact'. 7 years ago
Matthew Chen bb96454070 More outgoing message fixes. 7 years ago
Matthew Chen 752bca313c Fix glitches in outgoing messages. 7 years ago
Matthew Chen 8dbe4387b7 Update protos to reflect 'share contact'. 7 years ago
Matthew Chen f16e9a2920 Fix issues in outgoing messages status changes. 7 years ago
Matthew Chen 5c6f9ec088 Fix issues in outgoing messages status changes. 7 years ago
Michael Kirk 7a1d24a9ab Avatar updates when contact/profile/group photo changes
// FREEBIE
7 years ago
Matthew Chen 8f19622a89 Fix sync transcripts. 7 years ago
Matthew Chen 5773b45345 Respond to CR. 7 years ago
Matthew Chen c75c3d5f9e Respond to CR. 7 years ago
Matthew Chen 204d379603 Respond to CR. 7 years ago
Matthew Chen 4de4a4b229 Respond to CR. 7 years ago
Matthew Chen 40ac0daa9a Respond to CR. 7 years ago
Matthew Chen 6486b99415 Clean up ahead of PR. 7 years ago
Matthew Chen 9e6062f21c Rework outgoing message state. 7 years ago
Matthew Chen 9275c67818 Rework outgoing message state. 7 years ago
Matthew Chen aa35594ad5 Respond to CR. 7 years ago
Matthew Chen 67f2d6608f Detect and handle corrupt database views. 7 years ago
Matthew Chen 1a4c01ae29 Detect and handle corrupt database views. 7 years ago
Matthew Chen 212891c50d Detect and handle corrupt database views. 7 years ago
Matthew Chen f70a45ef1b Clean up ahead of PR. 7 years ago
Matthew Chen 50a59c907d Detect and handle corrupt database views. 7 years ago
Matthew Chen d3b484482c Detect and handle corrupt database views. 7 years ago
Matthew Chen d3fb5d321d Fix build break. 7 years ago
Matthew Chen c5981b164b Notify users of corrupt messages. 7 years ago
Matthew Chen fa9a4c808a Simplify usage of contacts framework. 7 years ago
Matthew Chen 7f23dfa258 Respond to CR. 7 years ago
Matthew Chen 2265ae08aa Don't start app version migrations until storage is ready. 7 years ago
Michael Kirk d1230abdc5 Fix type declaration
// FREEBIE
7 years ago
Michael Kirk 1f63ce02a0 Increase cache, remove dead code, add debug logging
// FREEBIE
7 years ago
Michael Kirk b3cd6a112b Add OWSJanksUI assertion
// FREEBIE
7 years ago
Michael Kirk 9c81eb44a1 Replace remaining UI usage of `interaction.description`
// FREEBIE
7 years ago
Michael Kirk 897d4a925b HomeView caches thread models
// FREEBIE
7 years ago
Michael Kirk 5f2b38c50b Introduce Thread view model
// FREEBIE
7 years ago
Michael Kirk 1fb1b5bbe2 WIP unjank home screen
verify `description` isn't used elsewhere (notifications? conversation
view?)

Probably want to remove overzealous asserts for now, but would be good
to work towards leaving them enabled.

// FREEBIE
7 years ago
Matthew Chen 7912598ccb Merge branch 'release/2.24.0' 7 years ago
Matthew Chen 08d36aa862 Add screen lock UI to SAE. 7 years ago
Michael Kirk eec7678979 Group's meta message defaults to "Delivery"
// FREEBIE
7 years ago
Matthew Chen 2c43d20ee8 Merge tag '2.24.0.9' 7 years ago
Matthew Chen 35ee8c1a0d Rework flush of registration connection(s). 7 years ago
Matthew Chen a264268253 Rework flush of registration connection(s). 7 years ago
Matthew Chen e1138df771 Rework flush of registration connection(s). 7 years ago
Matthew Chen 5bbce14020 Rework flush of registration connection(s). 7 years ago
Matthew Chen 5d627ee89f Rework flush of registration connection(s). 7 years ago
Matthew Chen 4f1f1a107f Rework flush of registration connection(s). 7 years ago
Michael Kirk c88ce07f66 CR: Clean up comments, use property setter instead of ivar
// FREEBIE
7 years ago
Michael Kirk eb140a6839 Timer info messages *before* the message which changed the timer
// FREEBIE
7 years ago
Michael Kirk a9e7c5e879 Cleanup: simplify migration, remove unused code
// FREEBIE
7 years ago
Michael Kirk 754549adf1 Start timer for expiring message based on when read receipt was sent
// FREEBIE
7 years ago
Michael Kirk dfb2a034af Use explicit transactions.
- Start expiration within scope of existing transaction when we're
  already in a transaction

// FREEBIE
7 years ago
Michael Kirk b7625689cb Simplify reasoning around disappearing messages
1. Max duration between runs is now a separate timer we set up once and
   don't touch, so we can separate any potential bugs in scheduling logic.
2. When we want to "run now" we just run now, rather than going through
   the scheduler.
3. Detect if messages aren't being deleted in a timely way.

// FREEBIE
7 years ago
Michael Kirk 57ae2b173f Clarify existing functionality, but no change in behavior
rename vars
use clearer date comparison method

// FREEBIE
7 years ago
Matthew Chen eb51ea42e3 Merge remote-tracking branch 'origin/hotfix/2.23.4' 7 years ago
Michael Kirk 66f028a3b3 Update nullability
If object is nil, which it can be, Swift freaks out, since we'd promised
it would never be nil.

// FREEBIE
7 years ago
Matthew Chen 85cb78ddfe Add mainWindow property to app context. 7 years ago
Matthew Chen 5ce39337ed Handle malformed protos. 7 years ago
Michael Kirk c926ca10a5 Update nullability
If object is nil, which it can be, Swift freaks out, since we'd promised
it would never be nil.

// FREEBIE
7 years ago
Matthew Chen 9c93099515 Fix incomplete asserts. 7 years ago
Matthew Chen 6caa5b87b6 Add more asserts around thread in SAE. 7 years ago
Michael Kirk e554884ab3 Use profile name in quoted messages, fix "multi account" label
// FREEBIE
7 years ago
Matthew Chen 829cfd0428 Reduce oversize text size. 7 years ago
Matthew Chen 45892e822b Move 'background' check in message processing logic off main thread. 7 years ago
Michael Kirk b2b70258f2 Make our protos backwards compatible with Signal-Android
Android doesn't have a flags field (yet?). We should make sure our
existing fields align with theirs.

// FREEBIE
7 years ago
Michael Kirk bd8e03fe8a Fix spurious "Group Updated" message
Regression introduced in Message factory method refactor (not in the wild).

// FREEBIE
7 years ago
Matthew Chen d95f2bdc66 Respond to CR. 7 years ago
Matthew Chen d561ba4c62 Reduce 0xdead10cc crashes. 7 years ago
Matthew Chen db6f1326bb Fix previews of oversize text messages. 7 years ago
Matthew Chen 83a470d441 Fix previews of oversize text messages. 7 years ago
Matthew Chen abba24988c Rework how dates are formatted in home view. 7 years ago
Michael Kirk d94709e13f Show label when captioning limit has been reached.
// FREEBIE
7 years ago
Michael Kirk 6b6f4f9336 Limit caption length
// FREEBIE
7 years ago
Matthew Chen c269add62f Respond to CR. 7 years ago
Matthew Chen 76995e4594 Enforce quoted reply edge cases. 7 years ago
Matthew Chen 6a07599e00 Respond to CR. 7 years ago
Matthew Chen 65015e686f Tap on quoted replies. 7 years ago
Michael Kirk 81b2b57703 CR: add comments, make atomic
// FREEBIE
7 years ago
Michael Kirk 88d6a83954 Add assertion canary so we know to re-test syncing once desktop
supports sending quoted replies

// FREEBIE
7 years ago
Michael Kirk 02efbd3069 Fix blip where thumbnail is initially missing from outgoing message
// FREEBIE
7 years ago
Michael Kirk 90486aa49c Inline method with one caller, fix formatting
// FREEBIE
7 years ago
Michael Kirk 8e4c6b8af6 Update protos for voice messages
// FREEBIE
7 years ago
Michael Kirk 941b7ec1bc clarify method signature
// FREEBIE
7 years ago
Michael Kirk c56e8acc51 QuotedReplyModel from SSK->SignalMessaging
// FREEBIE
7 years ago
Michael Kirk 1d4c0624be Clarify variable names
// FREEBIE
7 years ago
Michael Kirk a9459757f0 Lingering var renames QuotedReplyDraft -> QuotedReplyModel
// FREEBIE
7 years ago
Michael Kirk f1714bf252 Handle synced quotes
// FREEBIE
7 years ago
Michael Kirk 622f6bdf21 OrphanDataCleaner vs. QuotedAttachment thumbnails
// FREEBIE
7 years ago
Michael Kirk 4399967e99 Comment cleanup, remove unnecessary includes
// FREEBIE
7 years ago
Michael Kirk fa2e1ba89b Fetch thumbnail when not available locally
// FREEBIE
7 years ago
Michael Kirk 42f454b075 Generate thumbnail when quoted attachment is available locally
// FREEBIE
7 years ago
Michael Kirk 351f9ea263 Simplify attachment processor
We've accepted all attachment types for a long while now.

// FREEBIE
7 years ago
Michael Kirk 3252866727 remove unused params
// FREEBIE
7 years ago
Michael Kirk cb5d3d4f85 Use QuotedReplyModel to access attachment data
This view model loads the attachment when it's build.

// FREEBIE
7 years ago
Michael Kirk 3334f2a063 tentative proto changes
// FREEBIE
7 years ago
Michael Kirk 51a4298c14 WIP: Send attachment info in protobuf (no thumbnails yet)
// FREEBIE
7 years ago
Michael Kirk 55c6d99d98 populate draft toolbar
// FREEBIE
7 years ago
Michael Kirk 253435b27f extract QuotedReplyDraft model 7 years ago
Michael Kirk 0b8b3b4f16 WIP: towards avatar attachment streams
// FREEBIE
7 years ago
Michael Kirk 53af41fcc6 Reusable UploadOperation based on extracted OWSOperation
// FREEBIE
7 years ago
Michael Kirk 2975d4d5d2 Sync with android protos
// FREEBIE
7 years ago
Matthew Chen ca4757b8d1 Clean up ahead of PR. 7 years ago
Matthew Chen 2b3b08d7c5 Respond to CR. 7 years ago
Matthew Chen f230717b68 Modify attachment emojis. 7 years ago
Matthew Chen 30403be9ba Respond to CR. 7 years ago
Matthew Chen 5a17c5609f Quote reply to oversize text. 7 years ago
Matthew Chen 9085609087 Fix interaction initializers and tests. 7 years ago
Michael Kirk 52ea54ae64 Add thumbnail when available
MVP

- [x] populate from menu
- [x] send quoted message

TODO

- [x] thumbnail
- [] paperclip icon showing for text message
- [] cancel button asset
- [] fonts
- [] colors
- [] adjust content inset/offset when showing quote edit

NICE TO HAVE

- [] animate presentation
- [] animate dismiss
- [] non-paperclip icon for generic attachments

// FREEBIE
7 years ago
Michael Kirk cfbbeca7ac WIP: QuotedMessagePreviewView
MVP

- [] populate from menu
- [] send quoted message

TODO

- [] thumbnail
- [] paperclip icon showing for text message
- [] cancel button asset
- [] fonts
- [] colors
- [] adjust content inset/offset when showing quote edit

NICE TO HAVE

- [] animate presentation
- [] animate dismiss
- [] non-paperclip icon for generic attachments

// FREEBIE
7 years ago
Matthew Chen 2278cdd589 Modify cells to show quoted messages. 7 years ago
Matthew Chen 7cf169012c Elaborate conversation view items around quoted replies. 7 years ago
Matthew Chen c36297a9ad Elaborate 'quoted reply' variations in the Debug UI. 7 years ago
Matthew Chen c639a2c146 Fix flush of registration connections. 7 years ago
Matthew Chen 4240b517d0 Respond to CR. 7 years ago
Matthew Chen 4915c127cb Rework quoted reply debug UI. 7 years ago
Matthew Chen 8e4f2ca0ed Rework proto schema changes for quoted replies.
Sketch out model changes for quoted replies.

Sketch out quoted reply input preview.

Send quoted messages protos.

Update models to reflect quoted messages.

Rework interaction initializers.

Rework interaction initializers.

Add debug UI methods for generating quoted reply variations.

Add debug UI methods for generating quoted reply variations.
7 years ago
Matthew Chen 9dfc955ee5 Fix flush of registration connections. 7 years ago
Matthew Chen 684614013e Revert "Fix flush of registration connections."
This reverts commit 52b238c499.
7 years ago
Matthew Chen 52b238c499 Fix flush of registration connections. 7 years ago
Matthew Chen 31f062ed11 Bubble collapse. 7 years ago
Matthew Chen 8d74c68f9d Bubble collapse. 7 years ago
Matthew Chen 4a4e9d1ce2 Bubble collapse. 7 years ago
Matthew Chen 75177ef00f Bubble collapse. 7 years ago
Matthew Chen c2e31540d7 Elaborate debug UI for messages. 7 years ago
Matthew Chen 4602ad9014 Respond to CR. 7 years ago
Matthew Chen 8254052bb2 Lazy restore attachments. 7 years ago
Matthew Chen 1dced463cb Lazy restore attachments. 7 years ago
Matthew Chen b2ac8f10e2 Lazy restore attachments. 7 years ago
Matthew Chen 3406d1562e Add local cache of backup fragment metadata. 7 years ago
Matthew Chen 61dc2c0249 Add local cache of backup fragment metadata. 7 years ago
Matthew Chen e88f5643f7 Add local cache of backup fragment metadata. 7 years ago
Matthew Chen d0c691bb7f Lazy attachment restores. 7 years ago
Michael Kirk 875321cecc Reflector configuration supports per-country code
Also update reflector hosts/policy

// FREEBIE
7 years ago
Matthew Chen ef34cd5d58 Fix 'invalid auth can hang on launch' issue. 7 years ago
Michael Kirk 394cc6637c Backport comments from translations
// FREEBIE
7 years ago
Matthew Chen bb596dba98 Add screen lock feature. 7 years ago
Matthew Chen 2d6d375e82 Add screen lock feature. 7 years ago
Matthew Chen cf0e6fce09 Add screen lock feature. 7 years ago
Matthew Chen 1612642c26 Add screen lock feature. 7 years ago
Matthew Chen b067d81017 Don't log message send errors. 7 years ago
Matthew Chen 8d689ec090 Properly cleanup content. 7 years ago
Michael Kirk 9c57a1f7e1 Don't generate thumbnail until attachment has been saved
// FREEBIE
7 years ago
Matthew Chen ab720a3100 Move backup protos to their own proto schema. 7 years ago
Matthew Chen 08ba7c85ed Clean up ahead of PR. 7 years ago
Matthew Chen 610bbacd21 Clean up ahead of PR. 7 years ago
Matthew Chen 0c81d5656f Rework database snapshot representation, encryption, etc. 7 years ago
Matthew Chen ca7c75a081 Rework database snapshot representation, encryption, etc. 7 years ago
Matthew Chen 1bbd41f725 Improve perf of database snapshots. 7 years ago
Michael Kirk 267e85915a Avoid overflow
// FREEBIE
7 years ago
Michael Kirk 2465d6df00 CR: ensure image is safe before generating thumbnail
// FREEBIE
7 years ago
Michael Kirk 32bf9d52a1 CR: Delete thumbnail with directory
// FREEBIE
7 years ago
Michael Kirk 8e9eb6d212 CR: Use a less-likely-to-collide thumbnail name for legacy attachments
If you had a legacy file foo.jpg and a file foo-thumbnail.jpg, we'd use
the foo-thumbnail.jpg as the thumbnail for foo.

This isn't a problem with modern attachments as each is in it's own
directory.

// FREEBIE
7 years ago
Michael Kirk d9a2effff6 CR: remove "k" from non constant
// FREEBIE
7 years ago
Michael Kirk a0bd2c2324 OrphanDataCleaner shouldn't delete active thumbnails
// FREEBIE
7 years ago
Michael Kirk 4aeff7ba67 Thumbnail generation
// FREEBIE
7 years ago
Michael Kirk dfd628250d Gallery performance
- [x] share uiDatabaseConnection to share cache
- [x] increase cache size
- [x] load less initially
- [x] lazy loading
  - [x] slider view
  - [x] tile view

// FREEBIE
7 years ago
Michael Kirk 985af76d0b WIP: All Media view
TODO

- [ ] label video/gif
- [ ] reasonable load perf
- [ ] reasonable scroll perf
- [ ] select / delete
- [ ] cancel share action from media details returns signal style

NICE TO HAVE

- [ ] fancy in/out animation from All Media <-> tiles
- [ ] label video thumbnail with duration stamp
- [ ] Other perf?
- [ ] dbModified?
- [ ] select / send
- [ ] darken section header a shade once it's "active"

DONE

- [x] tap to refocus on new media
- [x] generate test data
- [x] section headers
- [x] equal spacing around cells

// FREEBIE

WIP WIP extract datasouce to GalleryViewController

- [x] swipe through is broken
- [x] present animation
- [x] dismiss animation

// FREEBIE
7 years ago
Michael Kirk e5b1c0c9b4 Fake media send
// FREEBIE
7 years ago
Matthew Chen 0ba47808a8 Clean up ahead of PR. 7 years ago
Matthew Chen cf13a780e9 Retry backup failures. 7 years ago
Matthew Chen d2f2dd273a Fix edge cases in migrations. 7 years ago