Commit Graph

105 Commits (d72e7da7cafd2f1e0e266e4fe19afc89bfeee660)

Author SHA1 Message Date
Niels Andriesse bc112a7c90 Propagate request timeout interval through to request serializer 6 years ago
Niels Andriesse 30aac6a94d Fix crash 6 years ago
Niels Andriesse a11074ba5a Fix crash 6 years ago
Niels Andriesse 1c73cf5114 Re-order files 6 years ago
Niels Andriesse 64f92d261b Refactor 6 years ago
Mikunj fb1e27d633 Fix empty message generation.
Before since we were setting the groupMetaMessage, it was setting the `shouldSave` property to true and thus the message sender was looking for the message in the db.
We now don't set this property so the message should be able to be sent without saving.
6 years ago
Niels Andriesse 7faa9d333c Add missing save 6 years ago
Niels Andriesse be7724b41b Implement feedback 6 years ago
Niels Andriesse 3161680432 Redo friend request handling 6 years ago
Niels Andriesse cb1e876b7a Make friend request status updates more reliable 6 years ago
Niels Andriesse b83766ef74 Clean & fix conversation settings crash 6 years ago
Mikunj a4b042f282 Added convenience function to make empty outgoing messages. 6 years ago
Niels Andriesse 4da8d33932 Clean 6 years ago
Mikunj 09157673fe Added friend request states in TSThread.
Automatically send a OWSFriendRequest if we are not friend with the person.
6 years ago
Michael Kirk 870caaa84a simplify completion checking - make nonnull 6 years ago
Michael Kirk 13154fb828 allow long text with non-durable sends (SAE) 6 years ago
Matthew Chen 56e5feca46 Introduce ConversationSnapshot. 6 years ago
Michael Kirk f1623b6037 missing nullability text 6 years ago
Michael Kirk 7e5256856c render media+longText message 6 years ago
Michael Kirk b7989e9384 feature flag approval sending 6 years ago
Michael Kirk bc4260b444 Send long-text with other attachments 6 years ago
Michael Kirk a218d6c465 Send first chars of longtext in protobuf 6 years ago
Matthew Chen 3d757b492a Add link previews to conversation message bubbles. 6 years ago
Matthew Chen 2dcc79fbca Fix issues around link previews. 6 years ago
Matthew Chen 8e44bf554c Respond to CR. 6 years ago
Matthew Chen d775a70a89 Build 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 af7ee5e1d1 address compiler breakage after rebase 6 years ago
Michael Kirk 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
6 years ago
Matthew Chen bd40aacd53 Purge dynamic interactions from database. 6 years ago
Michael Kirk 6232b1ef67 CR: add debug asserts 6 years ago
Michael Kirk 81bc357bbb more robust handling of unsaved outgoing messages 6 years ago
Michael Kirk 668cc22af3 Perf: Insert outgoing message into conversation before save completes.
This was a huge savings - e.g. 50-70% of the time between tapping send and
rendering the message takes place in the save/postWriteTransaction blocks
6 years ago
Matthew Chen 19a2bfeaad More conversation viewmodel perf improvements. 6 years ago
Matthew Chen fea40d571c Move contact offers to Conversation view model. 6 years ago
Michael Kirk c0cb7df10a rename hasEverHadMessage -> shouldThreadBeVisible 6 years ago
Michael Kirk 1a5c47df2f Fix SAE, limit max attachments 6 years ago
Matthew Chen aeadea67e2 Send multiple attachments from the share extension. 7 years ago
Matthew Chen 7f89c90f16 Fix bug when sending non-body attachments (e.g. group avatars). 7 years ago
Michael Kirk 27cb91e9c8 Plumb through messageAlbumId so an Attachment knows what album (if any) it
belongs to.
7 years ago
Matthew Chen 60c5a84dd2 Fix issues in media gallery cells; Improve debug galleries. 7 years ago
Matthew Chen c7d427029b Respond to CR. 7 years ago
Matthew Chen f6591fac25 Add debug UI for multi-image sends. 7 years ago
Matthew Chen d04f1e6e36 Add debug UI for multi-image sends. 7 years ago
Matthew Chen 40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 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 3a6aafc454 Swift Exception wrap NSData+keyVersionByte 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 0125535d4d Pull out SignalCoreKit. 7 years ago