Commit Graph

485 Commits (8714a8f37c494f7af8bcfa530c5e63b8a28f7029)

Author SHA1 Message Date
Michael Kirk deff1fa4e7 FIX: verifiying unregistered user prints "no longer registered" error on
every launch

// FREEBIE
8 years ago
Michael Kirk fd625dff50 remove default case for better compiler warnings
// FREEBIE
8 years ago
Michael Kirk 89f86c4fd2 call type for declined call
// FREEBIE
8 years ago
Michael Kirk f59779c118 message manager updates badge count
// FREEBIE
8 years ago
Michael Kirk 85fe68d3c4 Fix typo after rename
// FREEBIE
9 years ago
Michael Kirk 605db6b788 Fix up deleteAttachments method since making attachmentFolder
dispatchOnce

// FREEBIE
9 years ago
Michael Kirk 8f9af85cca prefer hacks in test to hacks in code.
Adding a completion handler would be a bit gnarly since we're snaking
through a pretty long method chain.

// FREEBIE
9 years ago
Michael Kirk 1b9aae2ea6 CR: renaming var to be more general
// FREEBIE
9 years ago
Michael Kirk e652dff4b4 Allow override of singleton enforcement in test app
We frequently build multiple instances of "singletons" for the purpose
of testing.

// FREEBIE
9 years ago
Michael Kirk edf5852e82 set-expiration dispatches *sync* so we can test it.
// FREEBIE
9 years ago
Michael Kirk b2f9abbc7c transmit key version byte
// FREEBIE
9 years ago
Matthew Chen e9219743ff Archive sessions on the 'session store' queue.
// FREEBIE
9 years ago
Michael Kirk 5da7dc1fd3 Archive sessions upon identity change.
Session clearing must be in IdentityKeyStore implementation

Trying to do it in the protocol will not work with multiple devices,
because we'll only archive the session of the first sending device.

// FREEBIE
9 years ago
Matthew Chen e8e7b6bcba Add creation timestamp to attachment streams.
// FREEBIE
9 years ago
Michael Kirk 5a2169fa78 Don't sync verification until NullMessage succeeds. This better mirrors
existing sync message behavior

// FREEBIE
9 years ago
Michael Kirk 4c22f371a9 better comment on strange padding
// FREEBIE
9 years ago
Michael Kirk 6dea4c9fef fix padding calculation
// FREEBIE
9 years ago
Michael Kirk a5660f4db4 cleanup ahead of PR
synchronize/dispatch when dequeuing verification sync messages

// FREEBIE
9 years ago
Michael Kirk d927cba5ce don't sync verified state when we have never recorded the recipients
identity

e.g. every contact you have which is a signal user whom you've never
messaged will not have a recorded RecipientIdentity

// FREEBIE
9 years ago
Michael Kirk badaa54327 sync all verification states with contact sync
// FREEBIE
9 years ago
Michael Kirk 12bfae10ed All sync messages should have 1-512 random padding
// FREEBIE
9 years ago
Michael Kirk 35ee92f38f send null message when syncing verification state
// FREEBIE
9 years ago
Michael Kirk 99cd8fc27d Log when receiving null message
// FREEBIE
9 years ago
Michael Kirk f653bc36a8 sync verification state with contacts
// FREEBIE
9 years ago
Michael Kirk 48b3f498a9 WIP: adapt to verification proto changes
// FREEBIE
9 years ago
Michael Kirk f526a372c9 proto update
// FREEBIE
9 years ago
Michael Kirk 6566ea694c no need to send sync messages when only 1 device
// FREEBIE
9 years ago
Matthew Chen ed369436fb Reduce chattiness of logs; increase log file sizes.
// FREEBIE
9 years ago
Matthew Chen b946badd97 [SSK] Reduce chattiness of logs; increase log file sizes.
// FREEBIE
9 years ago
Matthew Chen 30961cf2a5 Fix OWSCFail() macro.
// FREEBIE
9 years ago
Matthew Chen d8b34f6302 Ensure verification UI is updated to reflect incoming verification state sync messages.
// FREEBIE
9 years ago
Matthew Chen e86e175ceb Respond to CR.
// FREEBIE
9 years ago
Matthew Chen beb4ed71e7 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen cf65cc3be5 Improve perf of attachment stream file path upgrade.
// FREEBIE
9 years ago
Matthew Chen 27e5c836b7 Refine observation of async registration completion.
// FREEBIE
9 years ago
Matthew Chen 07bec72f61 Enable verification state sync.
// FREEBIE
9 years ago
Michael Kirk e746c6b7ec append/remove key type as necessary to fix verification syncing
// FREEBIE
9 years ago
Michael Kirk 742e0d3c97 message sending must be on main thread
include description for verification sync messages

// FREEBIE
9 years ago
Matthew Chen 5d7c012b5c Respond to CR.
// FREEBIE
9 years ago
Matthew Chen d80e42e0a0 Respond to post-holiday code reviews.
// FREEBIE
9 years ago
Matthew Chen 18e6a1b1cb Respond to post-holiday code reviews.
// FREEBIE
9 years ago
Matthew Chen 498c0ef681 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 44e1f4a14a Rework verification state sync per latest proto schema.
// FREEBIE
9 years ago
Matthew Chen 8ef118f5da Cache the attachments folder in TSAttachmentStream.
// FREEBIE
9 years ago
Matthew Chen b9f9b6a0c3 Add isFirstLaunch method to AppVersion.
// FREEBIE
9 years ago
Matthew Chen 32e4eb2a42 Add a “last app completed launch” version.
// FREEBIE
9 years ago
Matthew Chen 470cee0e11 Upgrade attachment streams on a serial queue.
// FREEBIE
9 years ago
Matthew Chen 22109d719b Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 0f96341059 Avoid crashing on startup due to database view creation.
* Substitute unread view for unseen view until unseen view is ready.
* Register as many views as possible async.
* Perform blocking, safe migrations before async registration of views.

// FREEBIE
9 years ago
Matthew Chen bbc7c44c93 Use transactions in the jobs.
// FREEBIE
9 years ago