Commit Graph

872 Commits

Author SHA1 Message Date
Matthew Chen
bafd4f7423 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
5b85a5d045 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
1aae1b26af DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
22aac34f99 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
c206533b97 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
3a871e7012 DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
66510bc18f DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
239fbbc8ba DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
8c50ffcc30 Rename singleton accessors. 2020-09-17 21:13:12 -03:00
Matthew Chen
819321e4ef Rename singleton accessors. 2020-09-17 21:11:09 -03:00
Matthew Chen
c017e76aab Rename singleton accessors. 2020-09-17 21:11:09 -03:00
Matthew Chen
ad6bda8a44 Rename singleton accessors. 2020-09-17 21:11:07 -03:00
Nora Trapp
f67bffd637 Add link preview support to share extension and forwarding 2020-09-08 19:58:29 -07:00
Matthew Chen
b6ace5a3f6 Fix bug in link preview view measurement. 2020-09-08 17:54:43 -03:00
Matthew Chen
95c52e21b6 Add support for animated stickers. 2020-09-02 13:44:14 -03:00
Matthew Chen
f80059f8e9 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
Matthew Chen
aa88bb712c Model changes for group links. 2020-09-01 17:11:07 -03:00
Nora Trapp
e1c1d4d04a Design feedback 2020-08-24 15:12:24 -07:00
Nora Trapp
a9910422fd Fix call time localization 2020-08-23 13:03:10 -07:00
Nora Trapp
abcafc19e7 Fix localization of conversation dates 2020-08-20 17:20:15 -07:00
Nora Trapp
9c93fe0836 Fix pip animation 2020-08-18 13:26:05 -07:00
Nora Trapp
abac6ab601 Allow expanding truncated messages inline 2020-08-18 00:59:42 -07:00
Nora Trapp
03c0f70dbe Default screen security to off 2020-08-18 00:18:12 -07:00
Nora Trapp
648aad7337 Always show empty inbox state when no threads 2020-08-18 00:18:12 -07:00
Nora Trapp
34d9f9eeb0 Updated icoons and design feedback 2020-08-17 22:58:39 -07:00
Nora Trapp
5c6fec5963 Restyle system messages 2020-08-17 17:11:24 -07:00
Nora Trapp
7137cf75b5 Don't use CallKit for video calls received while the app is active 2020-08-17 15:41:10 -07:00
Nora Trapp
dc543ce24f Restyle return to call view 2020-08-17 15:41:10 -07:00
Nora Trapp
e7ee726df8 Remove confusing mention settings 2020-08-13 13:41:31 -07:00
Nora Trapp
7ffcb089e4 Add haptic feedback to mention picker 2020-08-13 10:58:28 -03:00
Nora Trapp
08fbe326a3 Fix 'read more' on deleted messages 2020-08-13 10:58:27 -03:00
Matthew Chen
b4d5f29be1 Handle empty message bodies. 2020-08-10 11:48:23 -03:00
Michelle Linington
ad554877aa IOS-723: Crash when trying to send memoji from the emoji keyboard
Fixes a bug where a nil MessageBody was passed to a Swift initializer
expecting non-nil. To fix, OutgoingMessagePreparer.init will now accept
a nil MessageBody and process it correctly.
2020-08-07 12:21:00 -07:00
Matthew Chen
9608b9dc58 Improve handling of local user and uuid mapping edge cases. 2020-08-06 11:04:15 -03:00
Matthew Chen
bf38bcc44d Improve handling of local user and uuid mapping edge cases. 2020-08-06 11:04:15 -03:00
Matthew Chen
3e1dd2d894 Respond to CR. 2020-08-05 14:28:15 -03:00
Matthew Chen
510200a880 Respond to CR. 2020-08-05 14:28:15 -03:00
Nora Trapp
d6ad7868a3 PR Feedback 2020-08-04 14:18:10 -07:00
Nora Trapp
311488b221 Add search support for mentions 2020-08-04 14:09:06 -07:00
Nora Trapp
6f963c7ba5 Add mention notification settings 2020-08-04 14:09:06 -07:00
Nora Trapp
a3bb9e872e Fix mention theme changes 2020-08-04 14:09:06 -07:00
Nora Trapp
a39750113f Full suppoort for ention send + receive 2020-08-04 14:08:30 -07:00
Nora Trapp
4696a4d993 Mention sending 2020-08-04 14:08:30 -07:00
Nora Trapp
136dcfb6d7 Add mentions to orphan data cleaner 2020-08-04 14:08:29 -07:00
Matthew Chen
28b43544b3 Implement attachment upload v3. 2020-08-01 12:06:57 -03:00
Matthew Chen
b5fe284428 Respond to CR. 2020-07-27 09:41:40 -03:00
Matthew Chen
cb6f2361f9 Respond to CR. 2020-07-27 09:41:40 -03:00
Matthew Chen
584c5599c9 Filter out search results with pending message requests. 2020-07-27 09:41:40 -03:00
Matthew Chen
03a6cbd45b Use block mode when blocking threads. 2020-07-24 17:31:17 -03:00
Matthew Chen
02e812deef Tweak readiness checking. 2020-07-08 15:02:14 -03:00
Nora Trapp
05d6b57616 Render memoji, bitmoji, etc. as stickers 2020-07-06 11:43:35 -07:00
Nora Trapp
34d941700b Reject incoming calls unless the caller is approved 2020-07-06 11:41:28 -07:00
Matthew Chen
e508c66422 Index signal recipients; re-index recipients and accounts when profile changes. 2020-07-06 14:31:30 -03:00
Matthew Chen
aa7dcf2458 Respond to CR. 2020-06-12 13:49:52 -07:00
Matthew Chen
c209f0f579 Fix race when sending non-durable messages. 2020-06-12 13:49:52 -07:00
Matthew Chen
09ea5e8f1b Label the "slow write transactions" logging with the source of the transaction. 2020-06-07 10:37:55 -03:00
Matthew Chen
ba801f05ce Label the "slow write transactions" logging with the source of the transaction. 2020-06-07 10:37:55 -03:00
Nora Trapp
8944e8517e Finalize blur tool UI 2020-06-03 14:15:36 -07:00
Nora Trapp
3d084f958d Mark as unread 2020-05-27 18:29:59 -07:00
Nora Trapp
57a810658a Goodbye iOS 10 2020-05-27 17:34:32 -07:00
Matthew Chen
6b4f192b1b Remove usage of retainUntilComplete. 2020-05-22 09:51:12 -03:00
Nora Trapp
6ce4dfc83b Delete for Everyone UI 2020-05-21 13:59:47 -07:00
Matthew Chen
f9a38115ad Send invalid group updates from the debug UI. 2020-05-15 18:21:16 -03:00
Matthew Chen
ab5c781723 Respond to CR. 2020-05-11 11:46:08 -03:00
Matthew Chen
f8b9b209ff Respond to CR. 2020-05-11 10:19:52 -03:00
Matthew Chen
fad9510dbe Add TSIncomingMessageBuilder. 2020-05-11 09:28:13 -03:00
Matthew Chen
9f8e32e070 Merge remote-tracking branch 'private/release/3.8.3' 2020-05-07 16:55:09 -03:00
Matthew Chen
f64d2d75cc Don't let users quote-reply with a view-once message. 2020-05-07 11:20:40 -03:00
Matthew Chen
c8a638d356 Merge remote-tracking branch 'private/release/3.8.0' 2020-04-23 12:59:57 -03:00
Matthew Chen
8f66b175c6 Tweak avatar sizes again. 2020-04-22 15:21:34 -03:00
Matthew Chen
59df20dfd5 Fix group icon resolution. 2020-04-22 15:21:33 -03:00
Matthew Chen
b2e90bf164 Merge remote-tracking branch 'private/release/3.8.0' 2020-04-20 11:52:54 -03:00
Matthew Chen
a4f41705d3 Remove overzealous assert. 2020-04-20 09:17:26 -03:00
Matthew Chen
ab28e78355 Respond to CR. 2020-04-17 17:41:38 -03:00
Matthew Chen
525ff43be6 Avoid "note to self" icon in group conversation settings. 2020-04-17 17:33:27 -03:00
Matthew Chen
4cebf46de3 Update table cell layouts. 2020-04-16 09:07:04 -03:00
Matthew Chen
d57cb36ace Merge remote-tracking branch 'private/release/3.8.0' 2020-04-15 10:08:56 -03:00
Matthew Chen
7579741ada Group v2 design refinements. 2020-04-14 10:24:43 -03:00
Matthew Chen
3dc800df2f Fix "unknown locale in simulator". 2020-04-10 13:17:08 -03:00
Matthew Chen
7246c613d5 Fix more build warnings. 2020-04-10 13:17:08 -03:00
Matthew Chen
4ea5edf968 Add "replace admin" flow. 2020-04-08 09:26:25 -03:00
Matthew Chen
8859870af1 Add UI for groups v2 invites. 2020-04-06 11:09:06 -03:00
Matthew Chen
d8a6334f5e Overhaul "create new group" and "add group member" views.
* Move "new group" button.
* Overhaul new group view header.
* Add 'new group confirm' view.
* Add the new "add group members" view.
2020-04-06 09:54:49 -03:00
Nora Trapp
f1cb5ef6fa Merge branch 'release/3.7.0' 2020-04-01 13:31:31 -07:00
Nora Trapp
200d59e460 Update quote colors for rebrand 2020-03-30 13:16:02 -07:00
Nora Trapp
7bb6e42be3 Merge branch 'release/3.7.0' 2020-03-25 22:31:11 -07:00
Nora Trapp
0849c45f21 Add support for Account record to storage service 2020-03-24 17:11:01 -07:00
Nora Trapp
0ffe7f09d7 Fix swipe-to-reply + reactions 2020-03-23 16:30:46 -07:00
Nora Trapp
b58e5d3945 Extend selected highlight to halfway between message cells 2020-03-23 12:07:39 -07:00
Matthew Chen
73c724d8c4 Fix "double group quit messages" issue. 2020-03-21 22:30:58 -03:00
Michael Kirk
f927ef1b4b Batch Select / Delete 2020-03-20 19:36:48 -07:00
Matthew Chen
e097239dcd Sketch out revised "new group" view. 2020-03-17 10:31:20 -03:00
Nora Trapp
4ad7479ff9 Use new accent blue color everywhere except launch screen related views 2020-03-04 10:00:55 -08:00
Nora Trapp
aa8a782194 Update launch screen to use new logo and have dark mode variant 2020-03-04 10:00:54 -08:00
Matthew Chen
a5d58e5a0e Improve logging around spurious timeouts. 2020-03-03 17:39:53 -03:00
Matthew Chen
08cf2fe8b2 Respond to CR. 2020-03-03 17:32:02 -03:00
Matthew Chen
a24115d391 Resolve groups v2-related TODOs. 2020-03-03 17:11:04 -03:00
Matthew Chen
f31b29c89d Reconcile message request changes from v3.5 with master. 2020-03-02 15:45:46 -03:00
Matthew Chen
20aeb8df44 Merge remote-tracking branch 'private/release/3.6.0' 2020-03-02 13:39:20 -03:00
Matthew Chen
ec5eb34669 Leverage v2 group model. 2020-02-28 16:26:55 -03:00
Matthew Chen
caa101beab Merge remote-tracking branch 'private/release/3.5.0' into release/3.6.0 2020-02-27 13:52:43 -03:00
Nora Trapp
a360291deb Always quit the group when blocking a thread. 2020-02-25 12:47:03 -07:00
Matthew Chen
e3fd515abe Add local prefix to a few more GroupManager methods. 2020-02-21 12:37:33 -03:00
Matthew Chen
dec0176eb3 Overhaul message request view.
* Fix input toolbar visibility after accepting group v2 invite.
2020-02-21 10:55:40 -03:00
Michael Kirk
f198d9037d Merge tag '3.5.0.5' 2020-02-19 19:26:05 -07:00
Michael Kirk
75b54f06b4 Resume onboarding if user needs profile or PIN. 2020-02-18 15:37:17 -07:00
Michael Kirk
597c07291d DRY up hasPendingMessageRequestWithTransaction 2020-02-16 13:13:12 -07:00
Michael Kirk
eb07cda055 separate indexable query for groups 2020-02-15 11:37:24 -07:00
Nora Trapp
e420b2194c If there's a pending message request and we send a message to a thread, share our profile 2020-02-15 11:37:24 -07:00
Nora Trapp
f763b8624e Handle showing message request for non-incoming message interactions. 2020-02-15 11:37:24 -07:00
Michael Kirk
07ccc40cd6 extract DebugFlags from FeatureFlags 2020-02-12 15:19:55 -07:00
Nora Trapp
70d948843f Remote FF for message requests 2020-02-11 18:27:46 -08:00
Matthew Chen
647fb3a33f Rework "leave group", consolidate group update logic. Add groups v2 indicator. 2020-02-06 11:11:22 -03:00
Matthew Chen
fb2d4b1744 Use Groups v2 to coordinate disappearing message state. 2020-02-06 10:50:45 -03:00
Matthew Chen
740f57cad9 Add additional recipients for v2 group updates. 2020-02-06 10:26:02 -03:00
Nora Trapp
1cf95c620b Merge branch 'release/3.4.0' 2020-02-05 12:27:48 -08:00
Nora Trapp
53495b1007 Fix a bug when receiving a reaction from a user without a thread. 2020-02-04 17:15:13 -08:00
Matthew Chen
ea2e5f9e8d Merge tag '3.3.0.6' 2020-01-30 20:13:47 -08:00
Matthew Chen
7a58c0c35e Address perf hotspot in orphan data cleaner around reactions. 2020-01-30 20:13:25 -08:00
Matthew Chen
61575cbd70 Merge tag '3.3.0.5' 2020-01-30 20:13:17 -08:00
Nora Trapp
697f1545f2 Merge branch 'release/3.2.1' into release/3.3.0 2020-01-30 20:13:15 -08:00
Matthew Chen
3c0fe421bc Avoid String.prefix() crash. 2020-01-30 20:11:29 -08:00
Michael Kirk
83d26fe62e revamp group updates - show source, show changes, show icon 2020-01-30 20:10:55 -08:00
Matthew Chen
963525bd59 Merge tag '3.3.0.6' 2020-01-28 12:45:02 -03:00
Matthew Chen
1ed5141de6 Address perf hotspot in orphan data cleaner around reactions. 2020-01-27 17:21:52 -03:00
Matthew Chen
2734f01dcd Merge tag '3.3.0.5' 2020-01-27 12:00:09 -03:00
Matthew Chen
bc0359268e Rework outgoing messages; embed change protos in outgoing change messages for groups v2. 2020-01-27 11:47:44 -03:00
Matthew Chen
993dca8ec9 Remove redundant NotificationName. 2020-01-27 10:53:23 -03:00
Nora Trapp
c618de14fa Merge branch 'release/3.2.1' into release/3.3.0 2020-01-24 21:41:09 -08:00
Matthew Chen
a392d49cc0 Avoid String.prefix() crash. 2020-01-24 18:47:28 -08:00
Michael Kirk
61ec8612ee revamp group updates - show source, show changes, show icon 2020-01-23 11:55:48 -07:00
Matthew Chen
a85ef8b402 Allow parallel usage of staging and production services. 2020-01-15 10:48:43 -03:00
Matthew Chen
e88df8a8cf Allow parallel usage of staging and production services. 2020-01-15 10:48:42 -03:00
Nora Trapp
65590f03f1 Merge branch 'release/3.2.0' 2020-01-10 17:15:50 -08:00
Nora Trapp
2b08989fa3 View-once setting is not sticky 2020-01-10 13:04:15 -08:00
Nora Trapp
6173ba84fc PR Feedback 2020-01-09 13:17:09 -08:00
Nora Trapp
a68f5277bf Support profile given and family names 2020-01-09 13:17:09 -08:00
Michael Kirk
1b9ab274d1 Save contact message before sending non-durably 2020-01-08 14:58:47 -07:00
Michael Kirk
f5e7eb003b avoid expensive redundant computation of non-truncated text alignment 2020-01-06 13:58:06 -07:00
Nora Trapp
4d55468bd3 Merge branch 'release/3.2.0' 2020-01-02 16:50:14 -08:00
Michael Kirk
884f09ea5a Windowed conversation loading 2019-12-31 14:29:32 -08:00
Nora Trapp
4e0dd580c3 Fix iOS 13 SDK NSData scrubbing 2019-12-27 15:53:47 -08:00
Matthew Chen
1bfdef6bbc Add "view once" tooltip. 2019-12-26 16:35:10 -03:00
Michael Kirk
be31624c70 ordering is expensive, only do it when necessary 2019-12-26 09:40:58 -03:00
Matthew Chen
ea95c81c28 Sort when enumerating unseen interactions. 2019-12-16 14:01:15 -03:00
Michael Kirk
ae9c3f83a6 show call alerts from call window 2019-12-13 22:26:38 -08:00
Michael Kirk
ddbda0f36a refactor - no change in functionality 2019-12-13 22:26:23 -08:00
Matthew Chen
6b73cc08f6 Merge tag '3.0.6.0' 2019-12-07 19:17:20 -03:00
Matthew Chen
e39375c944 Add perf test around enumerating special messages. 2019-12-06 17:06:34 -03:00
Matthew Chen
6fa8816bd7 Improve perf of enumerating safety number changes. 2019-12-06 10:45:54 -03:00