Commit Graph

550 Commits

Author SHA1 Message Date
Matthew Chen
9f93b6c62e Fix build warnings around unknown enum values. 2019-09-18 17:34:07 -03:00
Michael Kirk
a3b866da17 fix note-to-self-search 2019-09-18 11:52:49 -07:00
Michael Kirk
965c1c91cc include note-to-self in compose search, even if no thread preexists 2019-09-18 11:52:49 -07:00
Matthew Chen
6a529e792d Rework message configuration. Simplify change detection, ensure continuity for deleted threads. 2019-09-13 20:40:06 -03:00
Matthew Chen
5dc6cf5f8b Fix bug in orphan data cleaner. 2019-09-13 16:16:18 -07:00
Michael Kirk
29315febee Merge tag '2.42.4.0' into release/2.43.0 2019-09-12 18:55:41 -07:00
Michael Kirk
4dbb7d0590 remove deleted contact threads from search results 2019-09-12 11:47:31 -07:00
Michael Kirk
bb316f711b Merge tag '2.42.1.1' into release/2.43.0 2019-09-05 14:52:59 -06:00
Nora Trapp
ccaa4e0e90 Fix avatar contact name when is disabled 2019-09-03 12:12:13 -07:00
Matthew Chen
7502dcc571 Avoid deadlock in TSAccountManager. 2019-08-30 14:39:45 -03:00
Matthew Chen
14b9ce025b Avoid deadlock in TSAccountManager. 2019-08-30 14:39:45 -03:00
Nora Trapp
129535f2d7 Merge branch 'release/2.42.0' 2019-08-29 15:21:40 -07:00
Nora Trapp
85beb08bde Put message request view behind a feature flag 2019-08-29 10:15:30 -07:00
Matthew Chen
6da987eb3a Remove YDB header usage. 2019-08-29 10:24:27 -03:00
Matthew Chen
d845ccd61b Respond to PR. 2019-08-29 09:34:03 -03:00
Matthew Chen
a5efaf8d16 Merge remote-tracking branch 'private/release/2.42.0' 2019-08-28 11:33:26 -03:00
Matthew Chen
753b49ea74 Address sticky keyboards on iOS 12. 2019-08-27 14:00:23 -03:00
Matthew Chen
79c13c0cf0 Modify contact avatar builder to handle "no address" case. 2019-08-27 13:53:48 -03:00
Matthew Chen
aab82a6753 Respond to CR; add a unit test around the "special messages" finder method. 2019-08-26 12:29:43 -03:00
Matthew Chen
203dc7272e Remove YDB usage. 2019-08-26 12:27:42 -03:00
Matthew Chen
f8e5c4f697 Remove YDB usage. 2019-08-26 12:27:42 -03:00
Matthew Chen
7e22d332b1 Remove YDB usage. 2019-08-26 12:27:42 -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
dd770f9f2d Use separate keyspec for GRDB. 2019-08-23 15:34:53 -03:00
Matthew Chen
47b000ec09 Remove YDB usage. 2019-08-22 09:32:00 -03:00
Nora Trapp
df63a9b827 Allow audio messages to play in the background. 2019-08-21 20:33:41 -07:00
Michael Kirk
4371c696dc Audible Debug Assertions in dev-qa builds 2019-08-21 09:01:43 -06:00
Michael Kirk
6deaead851 less likely to show review
Potentially showing the review request immediately after the user has sent a
message, may be too soon. Also, it involves some storage machinery.

Instead, we use the dumber "has shown home view controller n times", and have a
high n. This also has the benefit of requiring no persistent storage.
2019-08-21 08:44:49 -06:00
Michael Kirk
926e76270f Merge tag '2.42.0.8' 2019-08-20 09:52:18 -06:00
Michael Kirk
c0c81b5e53 fix errant deletion of non-orphaned profile avatars 2019-08-19 12:52:42 -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
Matthew Chen
85756b0fe9 Merge remote-tracking branch 'private/release/2.42.0' 2019-08-16 13:21:38 -03:00
Matthew Chen
60d07dd4d7 Clean up ahead of PR. 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
c4c054b4ca Fix spurious assert in orphan data cleaner. 2019-08-15 14:26:57 -03:00
Michael Kirk
34ba50bd02 broadcast media operation
Only upload once when sending to multiple via the camera first flow
2019-08-15 09:36:57 -06:00
Michael Kirk
b322d1a119 Merge tag '2.42.0.5' 2019-08-13 19:56:57 -06:00
Michael Kirk
bee54d1aea fixup compiler warnings 2019-08-13 16:58:06 -03:00
Matthew Chen
2a5683b843 Introduce storage coordinator. 2019-08-13 16:52:38 -03:00
Michael Kirk
82c99c4003 CR: rename for clarity 2019-08-12 15:11:40 -06:00
Michael Kirk
f3793f0f2a Consolidate OutgoingMessage preparation 2019-08-12 15:11:40 -06:00
Nora Trapp
6c64e94006 Only auto-share profile with empty threads. 2019-08-09 12:59:15 -07:00
Nora Trapp
36ce5d2940 PR feedback 2019-08-09 12:53:19 -07:00
Nora Trapp
28a4dfe3e6 Some small design tweaks. 2019-08-09 12:53:19 -07:00
Michael Kirk
4dc75aed3d fix warnings 2019-08-09 09:41:59 -06:00
Matthew Chen
a48ccccdd1 Remove more usage of primary storage. 2019-08-07 17:41:11 -03:00
Matthew Chen
eccfad0f46 Merge remote-tracking branch 'private/release/2.41.0' 2019-08-06 12:12:39 -03:00
Matthew Chen
e4b082746d Add GRDB support for full text search. 2019-08-02 15:42:34 -03:00
Michael Kirk
afd9d7781a Camera First flow 2019-08-02 09:26:23 -06:00
Matthew Chen
4f03f969fc Rework "view once" messages. 2019-08-01 16:13:37 -03:00