Commit Graph

771 Commits

Author SHA1 Message Date
Matthew Chen
f738e666a1 Review GRDB TODOs. 2019-08-30 14:45:14 -03:00
Nora Trapp
129535f2d7 Merge branch 'release/2.42.0' 2019-08-29 15:21:40 -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
Matthew Chen
6da987eb3a Remove YDB header usage. 2019-08-29 10:24:27 -03:00
Matthew Chen
a5efaf8d16 Merge remote-tracking branch 'private/release/2.42.0' 2019-08-28 11:33:26 -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
91f60dd064 Merge remote-tracking branch 'private/release/2.42.0' 2019-08-22 16:33:03 -03:00
Matthew Chen
4343efaadb Fix stale transaction in conversation view. 2019-08-22 14:53:04 -03:00
Matthew Chen
189b20e2af Remove YDB usage. 2019-08-22 09:32:00 -03: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
d19e48da5c "Add More" from recents selection 2019-08-16 13:51:19 -07:00
Matthew Chen
85756b0fe9 Merge remote-tracking branch 'private/release/2.42.0' 2019-08-16 13:21:38 -03:00
Matthew Chen
f5fd583e75 Reduce usage of OWSUserProfile header. 2019-08-15 16:10:14 -03:00
Matthew Chen
d308c566af Address deadlocks in profile manager. 2019-08-15 16:10:14 -03:00
Michael Kirk
e490163896 CR: fixup nil/error handling 2019-08-15 11:04:46 -06:00
Michael Kirk
7e3f03d03f Swift interop: throwable method for DRY composable error handling 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
683b056a20 save from camera first 2019-08-13 15:55:12 -06:00
Michael Kirk
bee54d1aea fixup compiler warnings 2019-08-13 16:58:06 -03:00
Michael Kirk
7d4bfb8709 rename portion of DataSource -> Protocol 2019-08-12 15:11:40 -06: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
ebf576a4c0 Fix some attachment keyboard layout issues 2019-08-10 12:40:51 -07:00
Nora Trapp
6c64e94006 Only auto-share profile with empty threads. 2019-08-09 12:59:15 -07:00
Nora Trapp
b560fc0afd Show live camera preview in attachment keyboard 2019-08-09 12:54:34 -07:00
Nora Trapp
36ce5d2940 PR feedback 2019-08-09 12:53:19 -07:00
Nora Trapp
17f961f6ad Allow location sharing 2019-08-09 12:53:19 -07:00
Nora Trapp
329ca05e1a Allow attachment keyboard to send photos 2019-08-07 16:43:25 -07:00
Nora Trapp
f9bfbedfc2 Updated input toolbar styling 2019-08-06 11:00:07 -07:00
Nora Trapp
868e49f1ff Match StickerKeyboard to system keyboard size, set scaffolding for other custom keyboards. 2019-08-06 10:53:31 -07:00
Matthew Chen
eccfad0f46 Merge remote-tracking branch 'private/release/2.41.0' 2019-08-06 12:12:39 -03:00
Michael Kirk
eea9e064ce new send buttons 2019-08-02 09:26:24 -06: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
Nora Trapp
cfb5468b2c Don't force profiles for existing conversations until phone number privacy rolls out 2019-07-31 13:17:37 -07:00
Nora Trapp
b0b18199b6 Add Thread details interaction 2019-07-31 12:02:32 -07:00
Nora Trapp
cad921e934 Show special case UI for threads with existing outbound messages 2019-07-31 12:02:32 -07:00
Nora Trapp
e204a61eb7 Don't mark messages as read until message request is accepted. 2019-07-29 12:50:54 -07:00
Nora Trapp
2a6f643e57 Show the message request dialog on conversations 2019-07-29 12:50:54 -07:00
Nora Trapp
96bf655727 Profile name renders at same level as system contact name 2019-07-29 12:50:54 -07:00
Nora Trapp
2cfa9f68ca Add the thread to the profile whitelist anytime we send a message. 2019-07-29 12:40:09 -07:00
Nora Trapp
aedde9fde8 Remove profile banners 2019-07-29 12:40:09 -07:00
Nora Trapp
81783c253a Remove Contacts Offer 2019-07-29 12:40:09 -07:00
Matthew Chen
26183e160a Remove usage of primary storage. 2019-07-29 15:16:51 -03:00
Matthew Chen
43929dde39 Remove usage of primary storage. 2019-07-29 15:16:51 -03:00
Michael Kirk
5c2c48a75c Smooth Media Gallery Animations 2019-07-24 13:25:37 -06:00
Nora Trapp
3d1dd3dfe4 Remove rtlSafeAppend 2019-07-19 12:33:17 -07:00
Matthew Chen
ad49533e33 Make TSInteraction.thread non-nil. 2019-07-19 15:48:39 -03:00