Commit Graph

27414 Commits

Author SHA1 Message Date
Michelle Linington
0fccce9c13 Bug fixes and queue management:
- Move NSE notification waiter to be the very last thing we wait on.
  This ensures that notifications enqueued while the message manager
  handles messages make it to UserNotifications
- Current call can now be accessed off the main thread
- All group call message handling occurs off the main thread
2022-03-04 14:16:29 -08:00
Michelle Linington
62449b4685 CallService is now a subclass of LightweightCallService 2022-03-04 14:16:29 -08:00
Michelle Linington
05ea13c8c9 LightweightCallManager will now post NSE group call alerts 2022-03-04 14:16:29 -08:00
Michelle Linington
62e804da5f Plumbing 2022-03-04 14:16:29 -08:00
Michelle Linington
e7a3ae7578 Update to support new CallManagerLite 2022-03-04 14:16:29 -08:00
Evan Hahn
e0e6bf9b62 Merge branch 'update-readme-license-year-for-2022' 2022-03-04 16:03:21 -06:00
Evan Hahn
accf94a565 Update license year in README 2022-03-04 16:03:15 -06:00
Jordan Rose
c7197c8517 Clear old extension logs when rotating the main app logs
Otherwise, logs from infrequently launched extensions (like the share
extension) can stick around much longer than we intend.
2022-03-04 13:57:29 -08:00
George Nachman
ce6067cc4b Merge branch 'george/PR/refinery' into master 2022-03-04 10:44:24 -08:00
George Nachman
36119e4367 Introduce Refinery to help batch DB queries.
This PR is the first in a series that will
optimize looking up full names of group members.

The biggest source of slowness when opening a
group chat is looking up the full names of group
members in the search for duplicates. It is slow
because it requires multiple db queries for each
member.

The characterstic feature of this algorithm is the
iterative process of assigning names to signal
addresses. For example, some contacts' names may
be cached. For others, their profiles must be
fetched. For those without profiles, their phone
numbers must be formatted (which requires fetching
SignalAccounts). For those without phone numbers,
their user names must be formatted.

This PR creates a class called Refinery. Its job
is to make it easy to assign values to keys
through multiple passes, where each pass may
succeed only for a subset of keys.

This is useful because we will eventually issue a
single DB query for some of these passes.
2022-03-04 10:44:07 -08:00
Nora Trapp
e11e7c2055 "Bump build to 5.32.0.2." (nightly-03-04-2022) 2022-03-04 04:00:10 -08:00
Michelle Linington
064146eae9 Merge branch 'mlin/PR/Emoji14' 2022-03-03 17:11:57 -08:00
Michelle Linington
a348495786 Swap hands 2022-03-03 17:11:23 -08:00
Michelle Linington
614807de65 Update to Emoji 14 2022-03-03 17:11:23 -08:00
Michelle Linington
8a4f7df3c2 Merge branch 'release/5.31.0' 2022-03-03 15:05:33 -08:00
Michelle Linington
3591a35c5f "Bump build to 5.31.0.13." (Internal) 2022-03-03 15:04:31 -08:00
Michelle Linington
c744e18d5f "Feature flags for .qa." 2022-03-03 15:04:28 -08:00
Michelle Linington
57eadee265 "Bump build to 5.31.0.12." (Beta) 2022-03-03 15:04:24 -08:00
Michelle Linington
9430f47778 "Feature flags for .beta." 2022-03-03 15:04:21 -08:00
Michelle Linington
32edeb23d7 Sync translations 2022-03-03 15:04:13 -08:00
Michelle Linington
ef5e31a2eb Merge branch 'release/5.31.0' 2022-03-03 14:42:04 -08:00
Michelle Linington
29ef1bd004 Merge branch 'mlin/PR/AggressiveLongWriteLogging' into release/5.31.0 2022-03-03 14:33:57 -08:00
Michelle Linington
06af94e7a2 Log long write transactions 2022-03-03 14:33:36 -08:00
Michelle Linington
e322921b10 Fix broken tests
If a test inserts a recipient, we need to have a registered local
address to perform some of our FTS index checks
2022-03-03 14:23:51 -08:00
Igor Solomennikov
70e5d7ac6c Merge branch 'igor/camera-zoom' into release/5.31.0 2022-03-03 11:41:11 -08:00
Igor Solomennikov
d2c74b03cc Address PR comments. 2022-03-03 11:31:41 -08:00
Igor Solomennikov
c84cceb9da Fix copy-paste error in unavailable attribution message text.
Refer to proper designated initializer.
2022-03-03 11:31:41 -08:00
Igor Solomennikov
9c16b82e34 Improvements to in-app camera's zooming UI and zooming behavior.
Make it look and behave like iOS Camera app.
2022-03-03 11:31:40 -08:00
Igor Solomennikov
578ea9204f Merge branch 'igor/camera-fixes' into release/5.31.0 2022-03-03 11:15:59 -08:00
Nora Trapp
5005679f4c "Bump build to 5.32.0.1." (nightly-03-03-2022) 2022-03-03 04:00:16 -08:00
Martin Böttcher
fa5dbfa234
improve ContactsManagerCache performance (#4026)
* added details for Signalyzer; improved ContactsManagerCache
* some minor runtime improvements
* systems contacts are written and read in big chunks to improve overall performance
* use of __file__, __function__ and __line__ when monitoring objective C methods
* minor changes
* minor changed based on review comments
2022-03-03 09:30:31 +01:00
Martin Böttcher
ff9f451c40
enhanced logging for better/automated performance analysis (#4039)
* added log output allowing automated performance analysis of app start and basic operations
* adjusted log messages
* changed logged event title
2022-03-03 08:15:40 +01:00
Igor Solomennikov
b2c64af89b Hide status bar when presenting media library picker from in-app camera.
Because media library picker presented from chat screen doesn't show
it either.
2022-03-02 23:14:54 -08:00
Igor Solomennikov
96db5e1d03 Lint fixes. 2022-03-02 22:53:46 -08:00
Igor Solomennikov
2bdf135f87 Fix transparent navigation bar in media library picker. 2022-03-02 22:53:24 -08:00
Igor Solomennikov
b4e7a73808 Use solid gray color for background of the "switch camera" button. 2022-03-02 22:52:47 -08:00
Michelle Linington
0ec247eb28 Merge branch 'release/5.31.0' 2022-03-02 18:40:48 -08:00
Michelle Linington
9d13aa609f "Bump build to 5.31.0.11." (Internal) 2022-03-02 18:39:38 -08:00
Michelle Linington
09e9659bb5 Update Pods 2022-03-02 18:39:16 -08:00
Michelle Linington
d21fb00ae1 Merge branch 'release/5.31.0' 2022-03-02 18:17:38 -08:00
Michelle Linington
b696ff0590 "Bump build to 5.31.0.10." (Internal) 2022-03-02 18:16:13 -08:00
Michelle Linington
68c0a272a1 "Feature flags for .qa." 2022-03-02 18:16:10 -08:00
Michelle Linington
e83dc0fcf8 "Bump build to 5.31.0.9." (Beta) 2022-03-02 18:16:08 -08:00
Michelle Linington
4146e8c5f9 "Feature flags for .beta." 2022-03-02 18:16:03 -08:00
Michelle Linington
e9500240b7 Sync translations 2022-03-02 18:15:45 -08:00
Michelle Linington
3e9f650df3 Update release notes 2022-03-02 18:15:40 -08:00
Igor Solomennikov
82e706ff80 Fix typo regression introduced in 45db3a963e. 2022-03-02 18:12:04 -08:00
Igor Solomennikov
88a5bbbd66 Merge branch 'igor/media-updates' into release/5.31.0 2022-03-02 18:01:26 -08:00
Igor Solomennikov
f16047a202 Fix one more place where optionals didn't need implicit unwrapping. 2022-03-02 17:58:54 -08:00
Igor Solomennikov
d5f12ac455 Check Photo Library auth status before attempting to load latest photo.
Latest photo is used in in-app camera as an image for a button that
opens photo library picker.
2022-03-02 17:58:54 -08:00