Commit Graph

710 Commits (2216c2d4135bf07622ee04ccab770ef40f26ddb8)
 

Author SHA1 Message Date
Michael Kirk 2216c2d413 Merge pull request #295 from WhisperSystems/mkirk/fix-tests
fix tests
8 years ago
Michael Kirk a23b4871e0 fix tests
// FREEBIE
8 years ago
Michael Kirk 72e893d5f7 Merge commit 'e24f18320d3aefe87d2532c9f0520348c4598cb2' 8 years ago
Matthew Chen e24f18320d Merge branch 'charlesmchen/modelConnection' into hotfix/2.13.3.0 8 years ago
Matthew Chen 58fb86b8e0 Use a dedicated connection for model reads & writes.
// FREEBIE
8 years ago
Matthew Chen 065017cafd Merge branch 'charlesmchen/sharedReadAndWriteConnections' into hotfix/2.13.3.0 8 years ago
Matthew Chen daae31d30e Modify TSStorageManager to use separate shared read and write connections.
// FREEBIE
8 years ago
Michael Kirk 8714a8f37c Merge branch 'mkirk/no-sync-to-unregistered-number' 8 years ago
Michael Kirk deff1fa4e7 FIX: verifiying unregistered user prints "no longer registered" error on
every launch

// FREEBIE
8 years ago
Michael Kirk 1fc5f77286 Merge branch 'mkirk/declined-call-notification' 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 04ef06ce95 Merge branch 'mkirk/fix-unread-badge' 8 years ago
Michael Kirk f59779c118 message manager updates badge count
// FREEBIE
8 years ago
Michael Kirk 85fe68d3c4 Fix typo after rename
// FREEBIE
8 years ago
Michael Kirk d6c5497f64 Merge branch 'mkirk/fix-tests' 8 years ago
Michael Kirk 0b33ef6161 try fastlane scan, since build is timing out.
// FREEBIE
8 years ago
Michael Kirk acf31db4b3 bump travis image to 8.3
// FREEBIE
8 years ago
Michael Kirk a8ea2428c6 gemfile for consistent build on dev/CI
// FREEBIE
8 years ago
Michael Kirk 605db6b788 Fix up deleteAttachments method since making attachmentFolder
dispatchOnce

// FREEBIE
8 years ago
Michael Kirk 1d71ca5e50 Fix some more tests.
Adapt to IdentityManager refactor
Adapt to DisappearingMessages refactor

// FREEBIE
8 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
8 years ago
Michael Kirk 1b9aae2ea6 CR: renaming var to be more general
// FREEBIE
8 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
8 years ago
Michael Kirk edf5852e82 set-expiration dispatches *sync* so we can test it.
// FREEBIE
8 years ago
Michael Kirk 1fb9fa79df Fix up some more tests.
// FREEBIE
8 years ago
Michael Kirk 13c5bdb8c5 fix disappearing messages test
// FREEBIE
8 years ago
Michael Kirk 2addb9e81d Fixed test build. Some tests still failing.
Executed 85 tests, with 22 failures (17 unexpected) in 7.416 (8.531) seconds

// FREEBIE
8 years ago
Michael Kirk c711b4a66d Merge branch 'mkirk/key-version' 8 years ago
Michael Kirk b2f9abbc7c transmit key version byte
// FREEBIE
8 years ago
Matthew Chen 14c64239a3 Merge branch 'charlesmchen/archiveSessionsOnSSQ' 8 years ago
Matthew Chen e9219743ff Archive sessions on the 'session store' queue.
// FREEBIE
8 years ago
Michael Kirk 793a7449b0 Merge branch 'mkirk/archive-sessions-on-id-change' 8 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
8 years ago
Matthew Chen 07e0291377 Merge branch 'charlesmchen/diskUsage' 8 years ago
Matthew Chen e8e7b6bcba Add creation timestamp to attachment streams.
// FREEBIE
8 years ago
Michael Kirk 8fda18a8e3 Merge branch 'mkirk/verification-sync' 8 years ago
Michael Kirk 5a2169fa78 Don't sync verification until NullMessage succeeds. This better mirrors
existing sync message behavior

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

// FREEBIE
8 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
8 years ago
Michael Kirk badaa54327 sync all verification states with contact sync
// FREEBIE
8 years ago
Michael Kirk 12bfae10ed All sync messages should have 1-512 random padding
// FREEBIE
8 years ago
Michael Kirk 35ee92f38f send null message when syncing verification state
// FREEBIE
8 years ago
Michael Kirk 99cd8fc27d Log when receiving null message
// FREEBIE
8 years ago
Michael Kirk f653bc36a8 sync verification state with contacts
// FREEBIE
8 years ago
Michael Kirk 48b3f498a9 WIP: adapt to verification proto changes
// FREEBIE
8 years ago
Michael Kirk f526a372c9 proto update
// FREEBIE
8 years ago
Michael Kirk 6566ea694c no need to send sync messages when only 1 device
// FREEBIE
8 years ago