Commit Graph

119 Commits (cec8df422e795eb1f4f4662718ab0eb8ffe77486)

Author SHA1 Message Date
Matthew Chen 7d727b7ac9 Modify proto wrapper builders to require required fields. 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 df61316495 minimize diff senderTimestamp -> timestamp 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 550e7ba63b Create disappearing message update info messages before messages they affect
Since we're no longer sorting by timestamp we have to ensure we save the update
info message before we save any affected message, e.g. in the case of implicit
updates.
7 years ago
Michael Kirk eef1368ad3 Timestamp audit step1: change signature
There is no change in functionality in this commit.

Apart from clarifying what the timestamp means (it's the timestamp of the
*sender*), this intentionally breaks all the call sites, so I could have a sane
way to thoroughly audit wherever we're passing in timestamps, to see where
we're depending on them to affect sort order.

For the sake of a cleaner diff of meaningful changes, instead of "fixing"
everything in this commit, I've just added comments and renamed signatures.
7 years ago
Matthew Chen e1db60c1c0 Rework creation of singletons. 7 years ago
Matthew Chen 4ad7ca79b7 Respond to CR. 7 years ago
Matthew Chen b883209f91 Refine logging. 7 years ago
Michael Kirk 920a82564f Merge tag '2.29.3.3' 7 years ago
Michael Kirk b282d51da0 SyncMessages for blocked groups 7 years ago
Matthew Chen 3a12446be8 Modify environment accessors to use our 'shared' convention. 7 years ago
Matthew Chen bd05cdc031 Rename TextSecureKitEnv to SSKEnvironment. 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 fac7f6932f Rename TSGroupMetaMessage enum values. 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
Matthew Chen 52be2127ff Sync conversation colors. 7 years ago
Matthew Chen e5eda8b45d Add convenience initializers to proto wrappers. 7 years ago
Matthew Chen 21523ac522 Respond to CR. 7 years ago
Matthew Chen a5ffbdebb3 Remove Obj-c proto parser. 7 years ago
Matthew Chen eaf59b122d Migrate to provisioning proto wrappers. 7 years ago
Matthew Chen d709a02493 Clean up formatting. 7 years ago
Matthew Chen 3f47524373 Respond to CR. 7 years ago
Matthew Chen 03a9b21cfd Respond to CR. 7 years ago
Matthew Chen 8d814a5210 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 950cab7eb9 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen ff8565dbd5 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen d3adb80242 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen ab31e5a07f Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen d14f764b50 Streamline SignalRecipient. 7 years ago
Michael Kirk d591fb7f2c Fix some compiler warnings 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 d53f583e45 sync colors with group 7 years ago
Michael Kirk 4d3d5d98e1 Sync colors with contacts 7 years ago
Matthew Chen 08ca4fdb50 Lazy-load contact avatar data and images. Use NSCache for avatar images. 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 74b741e9de Update timer
// FREEBIE
7 years ago
Michael Kirk 7df158120b Fix build warnings: mark initWithCoder as designated.
// FREEBIE
7 years ago
Matthew Chen 3cd6a33aa6 Fix build warnings. 7 years ago
Michael Kirk a10ae1835e respond to code review
// FREEBIE
8 years ago
Matthew Chen 8e84f89239 Respond to CR. 8 years ago
Michael Kirk d67a3b4167 WORKS GREAT
// FREEBIE
8 years ago
Matthew Chen 0316a98eb8 Undo renaming of contactShare property of TSMessage. 8 years ago
Matthew Chen 0d8cfc5403 Rename contact share class to contact. 8 years ago