Commit Graph

117 Commits (ccc1bd3331c22018f4af0ab9f296bc10afe4c0ec)

Author SHA1 Message Date
Matthew Chen 4feb0011d7 Reduce logging. 6 years ago
Matthew Chen 2dcc79fbca Fix issues around link previews. 6 years ago
Matthew Chen 31ea64bdaf Build link previews. 6 years ago
Matthew Chen a477e01a4a Apply LinkPreview model. 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 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
6 years ago
Matthew Chen a98c82645c Start work on typing indicators.
* Update proto schema to reflect typing indicators.
* Sketch out OWSTypingIndicatorMessage.
* Add "online" to the service message params.
* Sketch out logic to send typing indicator messages.
* Sketch out OWSTypingIndicators class.
7 years ago
Michael Kirk 3560f3be5c Durable send operation
TODO
-[x] respect order of queue
-[x] replacements
  -[x] those w/o completion handler
  -[x] basic send+log operation persists
  -[x] send+ui completion
  -[x] share extension
  -[x] update state jobs
-[x] App Lifecyle
  -[x] settable
  -[x] Mark as ready on startup
  -[x] Fail appropriate jobs on startup

NICE TO HAVE
-[x] concurrent per senders
-[ ] longer retry (e.g. 24hrs)
-[ ] App Lifecyle
  -[x] retry failed jobs on startup?
  -[ ] reachability

DONE
-[x] basic passing test
-[x] datamodel
-[x] queue/classes
7 years ago
Matthew Chen 86e22edcb1 Send "sent message transcript" sync messages at the _end_ of a send, not after the first recipient is sent. 7 years ago
Matthew Chen f1646b6cbc Move db connections to environments. 7 years ago
Matthew Chen c5f52cc0b9 Respond to CR. 7 years ago
Matthew Chen 7e7fcc1698 Apply UD status from transcripts. 7 years ago
Matthew Chen bda6fdf44f Respond to CR. 7 years ago
Matthew Chen a6eed30127 Add 'is ud' property to outgoing messages. 7 years ago
Matthew Chen 7d727b7ac9 Modify proto wrapper builders to require required fields. 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 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 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 9477606732 Apply OWS log functions in Objective-C. 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 03829779cc 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 d3a4447f81 Convert overzealous assert. 7 years ago
Matthew Chen 3f47524373 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 ab31e5a07f Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen c15ddf85f8 Respond to CR. 7 years ago
Matthew Chen 8f55f53329 Tidy files. 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 7df158120b Fix build warnings: mark initWithCoder as designated.
// FREEBIE
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
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 b74f545a64 Fix profile key protos. 7 years ago
Michael Kirk d3cda951ef Fix/Simplify outgoing attachment proto building
// FREEBIE
7 years ago
Michael Kirk a10ae1835e respond to code review
// FREEBIE
7 years ago
Michael Kirk 48b4791b13 Download avatar attachment stream
// FREEBIE
7 years ago
Michael Kirk ed3db50978 clarify naming
// FREEBIE
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 0d8cfc5403 Rename contact share class to contact. 7 years ago