Commit Graph

702 Commits

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

// FREEBIE
2017-07-05 12:59:53 -05:00
Michael Kirk
1fc5f77286 Merge branch 'mkirk/declined-call-notification' 2017-07-05 12:42:51 -05:00
Michael Kirk
fd625dff50 remove default case for better compiler warnings
// FREEBIE
2017-07-05 12:42:21 -05:00
Michael Kirk
89f86c4fd2 call type for declined call
// FREEBIE
2017-07-03 13:45:17 -05:00
Michael Kirk
04ef06ce95 Merge branch 'mkirk/fix-unread-badge' 2017-06-30 10:21:30 -10:00
Michael Kirk
f59779c118 message manager updates badge count
// FREEBIE
2017-06-30 06:13:26 -10:00
Michael Kirk
85fe68d3c4 Fix typo after rename
// FREEBIE
2017-06-28 19:09:04 -10:00
Michael Kirk
d6c5497f64 Merge branch 'mkirk/fix-tests' 2017-06-28 18:40:37 -10:00
Michael Kirk
0b33ef6161 try fastlane scan, since build is timing out.
// FREEBIE
2017-06-28 18:30:17 -10:00
Michael Kirk
acf31db4b3 bump travis image to 8.3
// FREEBIE
2017-06-28 18:04:25 -10:00
Michael Kirk
a8ea2428c6 gemfile for consistent build on dev/CI
// FREEBIE
2017-06-28 17:42:24 -10:00
Michael Kirk
605db6b788 Fix up deleteAttachments method since making attachmentFolder
dispatchOnce

// FREEBIE
2017-06-28 17:07:11 -10:00
Michael Kirk
1d71ca5e50 Fix some more tests.
Adapt to IdentityManager refactor
Adapt to DisappearingMessages refactor

// FREEBIE
2017-06-28 16:18:13 -10:00
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
2017-06-28 08:09:23 -10:00
Michael Kirk
1b9aae2ea6 CR: renaming var to be more general
// FREEBIE
2017-06-28 07:32:31 -10:00
Michael Kirk
e652dff4b4 Allow override of singleton enforcement in test app
We frequently build multiple instances of "singletons" for the purpose
of testing.

// FREEBIE
2017-06-28 07:30:02 -10:00
Michael Kirk
edf5852e82 set-expiration dispatches *sync* so we can test it.
// FREEBIE
2017-06-28 07:30:02 -10:00
Michael Kirk
1fb9fa79df Fix up some more tests.
// FREEBIE
2017-06-28 07:30:02 -10:00
Michael Kirk
13c5bdb8c5 fix disappearing messages test
// FREEBIE
2017-06-28 07:30:02 -10:00
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
2017-06-28 07:30:02 -10:00
Michael Kirk
c711b4a66d Merge branch 'mkirk/key-version' 2017-06-23 15:16:17 -04:00
Michael Kirk
b2f9abbc7c transmit key version byte
// FREEBIE
2017-06-23 15:12:51 -04:00
Matthew Chen
14c64239a3 Merge branch 'charlesmchen/archiveSessionsOnSSQ' 2017-06-22 18:18:49 -04:00
Matthew Chen
e9219743ff Archive sessions on the 'session store' queue.
// FREEBIE
2017-06-22 18:14:21 -04:00
Michael Kirk
793a7449b0 Merge branch 'mkirk/archive-sessions-on-id-change' 2017-06-22 17:24:05 -04:00
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
2017-06-22 17:23:57 -04:00
Matthew Chen
07e0291377 Merge branch 'charlesmchen/diskUsage' 2017-06-22 17:17:00 -04:00
Matthew Chen
e8e7b6bcba Add creation timestamp to attachment streams.
// FREEBIE
2017-06-22 17:09:36 -04:00
Michael Kirk
8fda18a8e3 Merge branch 'mkirk/verification-sync' 2017-06-22 15:19:59 -04:00
Michael Kirk
5a2169fa78 Don't sync verification until NullMessage succeeds. This better mirrors
existing sync message behavior

// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
4c22f371a9 better comment on strange padding
// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
6dea4c9fef fix padding calculation
// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
a5660f4db4 cleanup ahead of PR
synchronize/dispatch when dequeuing verification sync messages

// FREEBIE
2017-06-22 15:19:46 -04:00
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
2017-06-22 15:19:46 -04:00
Michael Kirk
badaa54327 sync all verification states with contact sync
// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
12bfae10ed All sync messages should have 1-512 random padding
// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
35ee92f38f send null message when syncing verification state
// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
99cd8fc27d Log when receiving null message
// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
f653bc36a8 sync verification state with contacts
// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
48b3f498a9 WIP: adapt to verification proto changes
// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
f526a372c9 proto update
// FREEBIE
2017-06-22 15:19:46 -04:00
Michael Kirk
6566ea694c no need to send sync messages when only 1 device
// FREEBIE
2017-06-22 15:19:46 -04:00
Matthew Chen
8b04e2a880 Merge branch 'charlesmchen/logOverflow' 2017-06-22 14:27:30 -04:00
Matthew Chen
ed369436fb Reduce chattiness of logs; increase log file sizes.
// FREEBIE
2017-06-22 13:24:53 -04:00
Matthew Chen
b946badd97 [SSK] Reduce chattiness of logs; increase log file sizes.
// FREEBIE
2017-06-22 10:10:30 -04:00
Matthew Chen
4609c508ec Merge branch 'charlesmchen/fixCFail' 2017-06-21 17:45:00 -04:00
Matthew Chen
30961cf2a5 Fix OWSCFail() macro.
// FREEBIE
2017-06-21 17:44:51 -04:00
Matthew Chen
4eacfe768f Merge branch 'charlesmchen/verificationSyncVsUI' 2017-06-21 17:43:20 -04:00
Matthew Chen
d8b34f6302 Ensure verification UI is updated to reflect incoming verification state sync messages.
// FREEBIE
2017-06-21 16:29:20 -04:00
Matthew Chen
2315ab79de Merge branch 'charlesmchen/attachmentStreamUpgradePerf' 2017-06-21 10:35:33 -04:00