Commit Graph

71 Commits (9402e088b2f239bb08d1c49c1f208d6e76494878)

Author SHA1 Message Date
Matthew Chen 9402e088b2 Apply design feedback from Myles. 6 years ago
Michael Kirk a1b412c704 Fix "missed calls" not sorting threads
Ensure we touch thread after saving *any* interaction
6 years ago
Matthew Chen 229450bc47 Enable 'note to self' feature flag. 6 years ago
Matthew Chen ef62bcd004 Disable 'Note to Self.' 6 years ago
Matthew Chen 3c0235d57e Enable 'note to self' feature flag. 6 years ago
Matthew Chen a7d848ef7c Add missing nullability annotations. 6 years ago
Matthew Chen 7878c0fac8 Add feature flag for 'note to self'. 6 years ago
Matthew Chen 449633e0dc Respond to CR. 6 years ago
Michael Kirk df79fc9ed0 Move String+OWS into SSK
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
6 years ago
Michael Kirk e0c9b590c0 CR: fix comment typo 6 years ago
Michael Kirk af7ee5e1d1 address compiler breakage after rebase 6 years ago
Michael Kirk 0db3f240dd keep legacy properties around just in case... 6 years ago
Michael Kirk 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
6 years ago
Matthew Chen 19a2bfeaad More conversation viewmodel perf improvements. 6 years ago
Michael Kirk c8c932033b add proper nullability annotation 6 years ago
Michael Kirk c0cb7df10a rename hasEverHadMessage -> shouldThreadBeVisible 6 years ago
Michael Kirk cb9aa6304c find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \; 7 years ago
Michael Kirk 3a6aafc454 Swift Exception wrap NSData+keyVersionByte 7 years ago
Matthew Chen f1d93d4472 Merge remote-tracking branch 'origin/release/2.30.2' 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 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 b3ad6e27dc Rework conversation message bubble colors; add "conversation colors" class. 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
Michael Kirk c7662b5a86 Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
7 years ago
Matthew Chen f473f60111 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen cc5a480baa Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 3a50377902 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 713606271c Rename fail macros in Obj-C. 7 years ago
Michael Kirk c05700fd98 Log in OWSFail
step 1: rename OWSFail->OWSFailNoProdLog
step 2: rename OWSProdLogAndFail->OWSFail
step 3: Convert OWSFailNoProdLog->OWSFail where we want logging
step 4: Rename OWSCFail->OWSCFailNoProdLog
step 5: Rename OWSProdLogAndCFail -> OWSCFail
step 6: Convert OWSCFailNoProdLog -> OWSCFail where we want logging
7 years ago
Matthew Chen 4a4edc68e7 Clean up data. 7 years ago
Matthew Chen 5530b8d701 Respond to CR. 7 years ago
Matthew Chen 7a898f5e99 Fix NPE using mock for unknown database objects. 7 years ago
Matthew Chen 2c973782c4 Fix NPE using mock for unknown database objects. 7 years ago
Matthew Chen 723691400f Fix NPE using mock for unknown database objects. 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
Matthew Chen 03d393553a Tweak home view cells. 7 years ago
Michael Kirk 16df4f589e conversation colors
// FREEBIE
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 9a08afae28 Fix build warnings. 7 years ago
Matthew Chen caad6f796e Clean up ahead of PR. 7 years ago
Michael Kirk a10ae1835e respond to code review
// FREEBIE
7 years ago