Commit Graph

341 Commits (cf87f7261c4ddeb1607579fdf8a3833e3aea9e55)

Author SHA1 Message Date
Niels Andriesse 3728638832 Reduce code duplication & fix cell sizing bug 7 years ago
Niels Andriesse 3161680432 Redo friend request handling 7 years ago
Niels Andriesse 49c6611d9d WIP 7 years ago
Niels Andriesse cb1e876b7a Make friend request status updates more reliable 7 years ago
Niels Andriesse 9d3a9f9b78 Fix crash due to nested transaction 7 years ago
Niels Andriesse fffb55540b Mostly hook up friend request status logic 7 years ago
Niels Andriesse 4da8d33932 Clean 7 years ago
Mikunj 09157673fe Added friend request states in TSThread.
Automatically send a OWSFriendRequest if we are not friend with the person.
7 years ago
Niels Andriesse dc80c17261 Skip onboarding permissions step 7 years ago
Niels Andriesse 9d64b76af6 Clean & fix bad merge 7 years ago
Niels Andriesse c429bebaba Fix phone number parsing crash 7 years ago
Michael Kirk 048f19c6b8 specify yyyy date format 7 years ago
Michael Kirk 0d822597a1 specify locale when timestamp parsing 7 years ago
Matthew Chen 9b34e4ac61 Respond to CR. 7 years ago
Matthew Chen c5a87c4d20 Add asserts around CDS feedback errors. 7 years ago
Michael Kirk b36a0061e1 contact picker perf for contact with many phone numbers
Only consider first n phone numbers for a contact.

Some users have a "Spam" contact created by external apps which have thousands
of known telemarkers/scammers phone numbers, this pathological case causes a
slowdown in the presentation of the compose picker.
7 years ago
Carola Nitz 117411009b Add public keyword to fix compilation for framework integration 7 years ago
Matthew Chen 9402e088b2 Apply design feedback from Myles. 7 years ago
Michael Kirk d26c095fe7 Merge remote-tracking branch 'origin/release/2.36.0' 7 years ago
Matthew Chen 2a4b9426c3 Sketch out the 'onboarding phone number' view. 7 years ago
Michael Kirk a1b412c704 Fix "missed calls" not sorting threads
Ensure we touch thread after saving *any* interaction
7 years ago
Michael Kirk 0d5d5c6932 limit reason length 7 years ago
Michael Kirk 1de0ede52d Specific CDS feedback 7 years ago
Matthew Chen 501e883cc4 Merge tag '2.35.0.10' 7 years ago
Michael Kirk 5f59623254 fix CDS for iOS9 7 years ago
Matthew Chen 229450bc47 Enable 'note to self' feature flag. 7 years ago
Matthew Chen ef62bcd004 Disable 'Note to Self.' 7 years ago
Matthew Chen 3c0235d57e Enable 'note to self' feature flag. 7 years ago
Matthew Chen a7d848ef7c Add missing nullability annotations. 7 years ago
Matthew Chen 7878c0fac8 Add feature flag for 'note to self'. 7 years ago
Michael Kirk 60f816c747 Area code inference for US and Brazil 7 years ago
Michael Kirk 5d9e03ba40 convert to guard statements for readability 7 years ago
Michael Kirk ea76ea9492 fix phone number parsing test 7 years ago
Matthew Chen 449633e0dc Respond to CR. 7 years ago
Michael Kirk df79fc9ed0 Move String+OWS into SSK
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
7 years ago
Michael Kirk 0cb702b37f [PERF] save 2% on large migrations 7 years ago
Michael Kirk e0c9b590c0 CR: fix comment typo 7 years ago
Michael Kirk af7ee5e1d1 address compiler breakage after rebase 7 years ago
Michael Kirk 0db3f240dd keep legacy properties around just in case... 7 years ago
Michael Kirk 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
7 years ago
Matthew Chen 19a2bfeaad More conversation viewmodel perf improvements. 7 years ago
Michael Kirk 425bdd7a4f guard against edge case
Though, I don't think this method should ever be called when localNumber is
nil.
7 years ago
Michael Kirk c8c932033b add proper nullability annotation 7 years ago
Michael Kirk beb02afce9 Soft delete group threads 7 years ago
Michael Kirk c0cb7df10a rename hasEverHadMessage -> shouldThreadBeVisible 7 years ago
Michael Kirk 0d0359ee12 Fix crash due to empty authorId on old messages 7 years ago
Michael Kirk b25a704039 Fix: Compose thread picker doesn't show self 7 years ago
Michael Kirk 7eaaab7be4 restrict self device id in message building, not in recipient data model 7 years ago
Michael Kirk d492816664 Fixup certificate parsing tests
Skip failure when running tests when we're explicitly testing failure cases.

Be more specific about failure conditions via NSError param
7 years ago
Michael Kirk c710b7f8f2 Fixup certificate parsing tests
Skip failure when running tests when we're explicitly testing failure cases.

Be more specific about failure conditions via NSError param
7 years ago
Michael Kirk 5da525ce2e Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Matthew Chen 2b5a79f123 Cycle websocket after learning of new linked devices via 409/410. 7 years ago
Matthew Chen 1c21c31c2b Fix failed reloads in SignalRecipient. 7 years ago
Matthew Chen b90fee08bd Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Matthew Chen 650469c6a7 Respond to CR. 7 years ago
Matthew Chen 63d88ef5cb Sketch out TypingIndicatorCell. 7 years ago
Matthew Chen 3eab5b82cc Respond to CR. 7 years ago
Matthew Chen 3011175cef Fix "413 on prekey fetch" errors. 7 years ago
Matthew Chen e89d8b40d7 Fix "413 on prekey fetch" errors. 7 years ago
Matthew Chen 97e234f785 Fix "413 on prekey fetch" errors. 7 years ago
Matthew Chen 2541be1619 Apply refinements to UD logic. 7 years ago
Michael Kirk cb9aa6304c find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \; 7 years ago
Michael Kirk 8544c86427 Swift Exception wrap HKDFKit 7 years ago
Michael Kirk c4f8975308 Swift Exception wrap Curve25519 7 years ago
Michael Kirk 9d2731c9b8 exception auditing OWSRaiseException 7 years ago
Michael Kirk 3a6aafc454 Swift Exception wrap NSData+keyVersionByte 7 years ago
Michael Kirk af3102441d ensure device updates are persisted
Previously we'd skip saves when latest was the same instance as self, which was
*at least* occurring during the 404 handler for prekey fetching while message
sending.

In practice this was cached, so it would be one wasted request per recipient
per launch.
7 years ago
Matthew Chen 9c161e913d Respond to CR; handle device changes in SignalRecipient as well. 7 years ago
Matthew Chen 9519e7961a Rework recipient device updates. 7 years ago
Matthew Chen 4d89670f19 Fix UD auth edge cases. 7 years ago
Matthew Chen f1d93d4472 Merge remote-tracking branch 'origin/release/2.30.2' 7 years ago
Michael Kirk 5edf2e426e Only report attestation failure if we *received* the attestion.
per Jeff
7 years ago
Michael Kirk c4550ebc90 don't submit feedback for connectivity errors 7 years ago
Matthew Chen f24ccb3ce6 Hang more singletons on SSKEnv. 7 years ago
Matthew Chen e47b69e0aa Send sync messages to self via UD (only); discard self-sent sync messages. 7 years ago
Michael Kirk 2b805e4eae Constantize ConversationColorName, map previous incorrect values 7 years ago
Michael Kirk d59e21e7f0 Nothing outside of TSThread should know about legacy colors 7 years ago
Michael Kirk 405cc31a38 Apply new colors to new conversation 7 years ago
Matthew Chen 2c4c096d93 Fix typo in swift names. 7 years ago
Matthew Chen 8f5e21c7cf Fix build breakage from SMK. 7 years ago
Matthew Chen 3738155c81 Fix build breakage from SMK. 7 years ago
Matthew Chen 0125535d4d Pull out SignalCoreKit. 7 years ago
Matthew Chen ebae75af00 Revert 'new sort id'. 7 years ago
Michael Kirk 79add78d51 Merge branch 'release/2.30.1' 7 years ago
Matthew Chen bb5c9ff106 Respond to CR. 7 years ago
Matthew Chen c0f4254599 Mark CDS feature flag for removal. 7 years ago
Matthew Chen 370c96af53 Enable CDS in contact intersection. 7 years ago
Matthew Chen 43d0b9b9bf Fix misnamed method. 7 years ago
Matthew Chen b6a14ea014 Fix the CDS version checking. 7 years ago
Matthew Chen bcb882f5aa Update CDS URLs. 7 years ago
Matthew Chen b3ad6e27dc Rework conversation message bubble colors; add "conversation colors" class. 7 years ago
Matthew Chen 8db4595bdc Rework group avatars to reflect conversation colors. 7 years ago
Michael Kirk fe7d69e9c6 Update thread's sorting order based on whatever the currently last message is 7 years ago
Michael Kirk b281b37637 replace thread.lastMessageDate/archivalDate -> thread.lastSortId, thread.archivedAsOfSortId
Update migration accordingly

Date shown on home view cell is message.receivedAt
7 years ago
Michael Kirk ab55e85304 step 1: timestampForSorting audit, change signature
No change in functionality in this commit, I just broke the signature to have a
systematic audit of the callsites. Added TODO's with the plan for each call.
7 years ago
Michael Kirk 00d0d1e002 Remove legacy Error backdating - no changes in functionality
Historically we would backdate the SN change messages, but since adopting
non-blocking SN changes long ago, they're already sorted properly by creation
time, so backdating has been unnecessary for a while.

I also audited that all other error messages are saved directly after creation.

I applied deprecation attributes as appropriate as I audited.
7 years ago
Matthew Chen 72562920ed Fix author conversation colors. 7 years ago
Matthew Chen 87836f506b Move more singletons to SSKEnvironment. 7 years ago
Matthew Chen edcedd2845 Remove selfRecipient method. 7 years ago
Matthew Chen e1db60c1c0 Rework creation of singletons. 7 years ago