Commit Graph

2896 Commits

Author SHA1 Message Date
Michael Kirk
75f3339c26 soft delete contact threads 2019-09-12 12:24:13 -06:00
Nora Trapp
9d5e079e1c Fix receipt delivery 2019-09-12 10:32:31 -07:00
Matthew Chen
891c9ee6bc Fix crash related to queued sync messages. 2019-09-12 14:06:54 -03:00
Matthew Chen
18d48ccf5f Fix crash related to queued sync messages. 2019-09-12 14:06:54 -03:00
Matthew Chen
411b8f1073 Address crash when rebuilding FTS index. 2019-09-10 16:41:36 -03:00
Matthew Chen
0d6c2e6bf8 Increase YDB connection pool size. 2019-09-05 12:41:58 -03:00
Matthew Chen
d7289d0e2a Set feature flags for production build. 2019-09-04 14:04:03 -03:00
Nora Trapp
55f53dc246 Fix crash when blocking user's with UUIDs 2019-08-29 18:38:38 -03:00
Nora Trapp
0c69664da9 Fix missing import 2019-08-29 10:30:08 -07:00
Nora Trapp
b45516839f Restore old ~profile display 2019-08-29 10:18:12 -07:00
Nora Trapp
686e439106 Restore contact offer 2019-08-29 10:15:30 -07:00
Nora Trapp
85beb08bde Put message request view behind a feature flag 2019-08-29 10:15:30 -07:00
Matthew Chen
4f950e83f8 Avoid deadlock in TSAccountManager. 2019-08-28 10:33:26 -03:00
Matthew Chen
127c0716a3 Revert "Avoid deadlock in TSAccountManager."
This reverts commit 3441c930804b428d142a51a8b34b2ce6daecee6f.
2019-08-28 10:33:26 -03:00
Matthew Chen
2c03fda4ca Avoid deadlock in TSAccountManager. 2019-08-28 10:33:26 -03:00
Matthew Chen
624de96500 Avoid deadlocks in ts account manager around uuid key. 2019-08-28 10:33:26 -03:00
Matthew Chen
238029594e Fix build warnings; add comment. 2019-08-27 17:39:09 -03:00
Matthew Chen
d6c7922f32 Fix tests broken by "group name" changes. 2019-08-27 17:30:08 -03:00
Matthew Chen
00f610241f Set feature flags for beta. 2019-08-27 16:08:15 -03:00
Matthew Chen
338005464d Expire messages even if they haven't finished downloading. 2019-08-27 15:53:20 -03:00
Matthew Chen
1626a5ca89 Fix 'empty inbox v. local address.' issue. 2019-08-27 15:41:02 -03:00
Matthew Chen
aaba74a8d2 Fix crash from contact share without avatar. 2019-08-27 14:01:13 -03:00
Matthew Chen
12b5defb5e Fix crash in NSLinguisticTagger. 2019-08-27 13:55:38 -03:00
Michael Kirk
45c4066a80 Fix deadlock with thread.name
For contact threads, thread.name opened a sneaky transaction, which would
sometimes cause a deadlock.

This commit moves the name method to the contact manager and offers an explicit
transaction flavor. There is still a sneaky transaction flavor used in some
places where it's deemed dangerous to plumb through a transaction without
further scrutiny.
2019-08-23 18:45:23 -06:00
Matthew Chen
2007d1b5de Fix more broken tests. 2019-08-21 10:38:56 -03:00
Matthew Chen
3a388d9bb3 Respond to CR. 2019-08-21 10:20:07 -03:00
Matthew Chen
aa149f6544 Fix broken tests. 2019-08-21 10:20:07 -03:00
Matthew Chen
386e443ce1 Fix more tests. 2019-08-21 10:20:07 -03:00
Michael Kirk
f2ee6976b8 disable comparison in prod 2019-08-20 17:43:39 -06:00
Michael Kirk
dff1f40af6 Don't show "message request" for de-registered system contacts
Fixes:
Alice installs Signal
Bob sees "Alice is on Signal" notification
(everything is as expected until this point)

Alice uninstalls Signal
Bob sees message request in Alice's conversation
2019-08-19 12:46:14 -06:00
Michael Kirk
550c76769d fix mark as unregistered
because the update block gets called twice, it's not safe to pass in
a mutating reference to the method receiver.
2019-08-16 12:39:52 -06:00
Matthew Chen
895cbe8c96 Fix exception in "remove all" logic. 2019-08-16 11:19:39 -03:00
Nora Trapp
0c1de9c103 Merge remote-tracking branch 'origin/release/2.41.1' into release/2.42.0 2019-08-15 19:23:21 -07:00
Matthew Chen
eb5db2fd79 Respond to CR. 2019-08-15 17:24:15 -03:00
Matthew Chen
b19902d54e Respond to CR. 2019-08-15 16:28:18 -03:00
Matthew Chen
60d07dd4d7 Clean up ahead of PR. 2019-08-15 16:10:14 -03:00
Matthew Chen
aa3eecb329 Address deadlocks in profile manager. 2019-08-15 16:10:14 -03:00
Matthew Chen
d308c566af Address deadlocks in profile manager. 2019-08-15 16:10:14 -03:00
Matthew Chen
57fc2abd4c Simplify 2FA PIN verification. 2019-08-14 20:02:57 -03:00
Matthew Chen
e10ffb2506 Remove asyncUIRead(). 2019-08-14 19:29:35 -03:00
Matthew Chen
65ab5bfbbb Revert "Enable 'nt/ios-13-ssl'."
This reverts commit e68b9dec10.
2019-08-14 18:07:20 -03:00
Matthew Chen
34d8e9f4a6 Revert "Set feature flags for beta build."
This reverts commit 0ad0fbcf60.
2019-08-14 18:07:15 -03:00
Nora Trapp
97b26a44fa Fix an issue where registration lock PINs were truncated to 16 characters. 2019-08-14 18:03:36 -03:00
Matthew Chen
1761f96bb5 Disable 'nt/ios-13-ssl'.
This reverts commit 2a9402d7d7.
2019-08-14 15:35:34 -03:00
Michael Kirk
bee54d1aea fixup compiler warnings 2019-08-13 16:58:06 -03:00
Matthew Chen
31471867e6 Fix bug in 'remove ydb' work. 2019-08-13 16:35:59 -03:00
Matthew Chen
a43715e9dd Disable GRDB in release branch. 2019-08-13 16:33:24 -03:00
Michael Kirk
4618fd0b57 Fix spurious typing indicators
In objc there's no difference between:

foo.threadWithSneakyTransaction vs [foo threadWithSneakyTransaction]

However, when bridged to Swift, foo.threadWithSneakyTransaction() executes the
method, whereas foo.threadWithSneakyTransaction returned only the
implementation. Which, for typing indicators, resulted in never adding the
group (because we conditionally cast the method's implementation (not it's
output) to a TSGrouphThread, which always fails. Note there was a compiler
warning for this.)
2019-08-13 11:29:18 -06:00
Matthew Chen
6d465e14f0 Respond to CR. 2019-08-13 10:33:52 -03:00
Matthew Chen
e11ea90c78 Handle sticker pack manifest download failures. 2019-08-13 10:29:01 -03:00