Commit Graph

872 Commits

Author SHA1 Message Date
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
Matthew Chen
d23134fc91 Reduce cost of enumerating special messages. 2019-12-05 16:55:54 -03:00
Michael Kirk
a5c65f5656 capture screen: remove bottom gap for iPad pro 2019-12-05 10:50:47 -07:00
Michael Kirk
de8664c54e note to self avatar 2019-12-05 10:48:55 -07:00
Matthew Chen
80feb14435 Reduce cost of enumerating special messages. 2019-12-05 09:49:50 -03:00
Michael Kirk
97dcad7015 Fix sleep manager v. main thread 2019-11-22 18:18:56 -07:00
Nora Trapp
dbe3230a7e New long press message actions 2019-11-21 11:03:57 -08:00
Nora Trapp
87ecf90bee Merge branch 'release/3.0.0' 2019-11-20 16:46:39 -08:00
Nora Trapp
35cd3a4d64 Allow conforming to sync manager stuff in Swift 2019-11-19 18:07:51 -08:00
Michael Kirk
52b38f8769 redundantly clean up gallery items when clearing all content 2019-11-19 11:01:31 -07:00
Michael Kirk
ed3ad645fe debug ui sends valid galleries in fake message sends 2019-11-19 11:01:31 -07:00
Matthew Chen
748f3ec3b0 Merge remote-tracking branch 'private/release/3.0.0' 2019-11-18 21:12:54 -03:00
Nora Trapp
9486ab06b6 Fix cursor visiblity on CNContactViewController 2019-11-18 15:15:37 -08:00
Nora Trapp
1f78ae5bb0 Reaction cleanup 2019-11-14 13:24:55 -08:00
Matthew Chen
e46eefe50e Remove readReturningResult(). 2019-11-14 10:39:33 -03:00
Michael Kirk
698d0b062e Fix capture orientation
- only access interfaceOrientation on main thread
- capture initial image in lanscape when appropriate
2019-11-13 10:40:42 -03:00
Michael Kirk
3b1bcb5368 recreate sort order for synced conversations 2019-11-06 21:24:53 -07:00
Michael Kirk
a108c854a2 save sync job record attachments from orphan data cleaner 2019-11-04 14:06:54 -08:00
Michael Kirk
0fca274e62 Sync Groups and Contacts 2019-11-04 14:06:54 -08:00
Matthew Chen
a92a2f1c78 Cache frequently-used prefs. 2019-11-04 14:26:31 -03:00
Nora Trapp
65d54e7282 UIAlertController -> ActionSheetController 2019-10-28 14:43:59 -07:00
Nora Trapp
3987e7bafb Merge branch 'release/2.45.0' 2019-10-28 13:05:55 -07:00
Nora Trapp
2e3cd11499 Cleanup sneaky transaction during contact sort in FTS 2019-10-28 11:57:55 -07:00
Matthew Chen
233dab908e Merge remote-tracking branch 'private/release/2.45.0' 2019-10-25 14:34:36 -03:00
Matthew Chen
0924ef7359 Cache hasDimissedFirstConversationCue value. 2019-10-25 13:33:22 -03:00
Nora Trapp
0f98a2e10b Configuration and block list sync when linked. 2019-10-24 12:51:44 -07:00
Matthew Chen
b2dd31eb9c Merge remote-tracking branch 'private/release/2.45.0' 2019-10-24 15:42:39 -03:00
Matthew Chen
4d1d99454d Respond to CR. 2019-10-24 12:04:25 -03:00
Matthew Chen
cfd705c64e Message forwarding. 2019-10-24 12:04:25 -03:00
Matthew Chen
26435359ba Message forwarding. 2019-10-24 12:04:25 -03:00
Matthew Chen
412ae3bfc8 Message forwarding. 2019-10-24 12:04:25 -03:00
Matthew Chen
ae769ad5bd Respond to CR. 2019-10-21 16:55:06 -03:00
Matthew Chen
0a59581580 Respond to CR. 2019-10-21 16:50:00 -03:00
Matthew Chen
e7479567a4 Improve GRDB perf for FTS searches with many results. 2019-10-21 16:50:00 -03:00
Nora Trapp
473b88b497 Don't require ConversationViewController to maintain first responder status. 2019-10-17 11:41:58 -07:00
Matthew Chen
2abaf3b198 Refine storage modes. 2019-10-16 19:50:47 -03:00
Matthew Chen
9a3cbc573b Refine storage modes. 2019-10-16 16:28:28 -03:00
Michael Kirk
6ac93a6825 show matching contact before group 2019-10-08 16:16:46 -07:00
Michael Kirk
743e01e43c include note-to-self if missing from homeview search 2019-10-08 16:16:46 -07:00
Michael Kirk
4ce7f1d804 plumb through transactions 2019-10-08 16:16:46 -07:00
Matthew Chen
2fc954e54a Merge tag '2.44.0.15' 2019-10-08 18:10:45 -03:00
Matthew Chen
0b66346efa Retain last 2 digits of UUIDs. 2019-10-08 16:12:47 -03:00
Matthew Chen
c6a5e137f2 Scrub UUIDs from logs. 2019-10-08 15:49:33 -03:00
Nora Trapp
36cbf4cc61 Support iPad multi tasking 2019-10-05 16:57:44 -07:00
Matthew Chen
8b53f669ee Merge remote-tracking branch 'private/release/2.44.0' 2019-10-04 16:33:27 -03:00
Matthew Chen
a9e36810b4 Eagerly add system contacts to profile whitelist. 2019-10-04 15:12:04 -03:00
Michael Kirk
04e582fea2 update group avatar icon 2019-10-03 15:38:24 -04:00
Nora Trapp
baf8950efb Support all orientations on iPad 2019-10-03 11:55:03 -07:00
Matthew Chen
d8f99ab026 Merge remote-tracking branch 'private/release/2.44.0' 2019-09-27 17:10:34 -03:00
Matthew Chen
20683678b5 Store group avatars as data. 2019-09-27 16:25:53 -03:00
Michael Kirk
e6beb0e650 tweak sender avatar per design 2019-09-26 12:20:43 -07:00
Michael Kirk
95f2d511e1 font updates 2019-09-26 12:20:42 -07:00
Michael Kirk
515d673b6f new secondary colors for message bubbles 2019-09-26 12:20:42 -07:00
Matthew Chen
ebfd203f7d Merge remote-tracking branch 'private/release/2.44.0' 2019-09-25 10:05:16 -03:00
Michael Kirk
54812451f4 Update and apply palette. Consolidate dupes. 2019-09-24 15:12:51 -07:00
Michael Kirk
f63a64243a convert colors to Swift 2019-09-24 15:12:50 -07:00
Matthew Chen
6743b73c79 Protect audio waveform files from orphan data cleaner. 2019-09-24 17:18:23 -03:00
Nora Trapp
ab2ff4db32 Rewrite audio progress view in swift, add play/pause animation 2019-09-23 17:03:03 -07:00
Matthew Chen
6714932fca Add suppressBackgroundActivity feature flag. 2019-09-23 13:49:59 -03:00
Matthew Chen
b09da45672 Rework isStorageReady. 2019-09-23 13:04:39 -03:00
Matthew Chen
19f2be0e12 Fix build break. 2019-09-23 12:37:13 -03:00
Matthew Chen
d80a8b73d2 Improve logging around database file protection. 2019-09-23 12:25:24 -03:00
Matthew Chen
da6ade366f Protect databases from orphan clean up. 2019-09-23 12:24:13 -03:00
Matthew Chen
8e4cd299be Merge tag '2.43.0.17' 2019-09-23 12:19:18 -03:00
Matthew Chen
f3d252e5d5 Improve logging around missing or corrupt images. 2019-09-20 21:17:20 -03:00
Matthew Chen
e2a5e93116 Merge tag '2.43.0.10' 2019-09-19 12:40:59 -03:00
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
f56aae7ac9 Merge remote-tracking branch 'private/release/2.43.0'
# Conflicts:
#	SignalServiceKit/src/Util/FeatureFlags.swift
#	SignalServiceKit/tests/Storage/SDSDatabaseStorageObservationTest.swift
2019-09-16 14:41:22 -03:00
Nora Trapp
618dea7e9f Ensure ui styling is correct regardless of system theme 2019-09-16 10:26:00 -07:00
Matthew Chen
0389cdb730 Respond to CR. 2019-09-16 13:01:37 -03:00
Matthew Chen
9dea6069e4 Batched and unbatched enumerations. 2019-09-16 13:01:36 -03: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
Matthew Chen
c067858d1b Fix bug in orphan data cleaner. 2019-09-13 16:13:28 -07:00
Michael Kirk
c1f859f746 audible error logging is configurable, disabled by default 2019-09-13 10:31:17 -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
2bae90d157 Merge tag '2.42.4.0' 2019-09-12 18:44:00 -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