Commit Graph

6082 Commits

Author SHA1 Message Date
Matthew Chen
d78daae895 Improve handling of missing group change protos. 2021-02-04 09:54:30 -03:00
Matthew Chen
3f3574f3fe Respond to CR. 2021-02-03 09:47:34 -03:00
Matthew Chen
e85e0993aa Disable OWSURLSession caches by default. 2021-02-03 09:42:59 -03:00
Matthew Chen
b636d29ead Add logging around 413 errors. 2021-02-03 09:42:59 -03:00
Matthew Chen
4d9e78c423 Fetch profiles for dropped profiles when opening a thread. 2021-02-03 09:39:58 -03:00
Jordan Rose
f8b1985930 Bump the database schema version 2021-02-02 10:25:56 -08:00
Jordan Rose
dd35454f2c SSK: In Swift code, always use Logger rather than OWSLogger
Logger includes the file/line information; OWSLogger does not.
2021-02-02 10:25:56 -08:00
Jordan Rose
6b334ff7e4 SSK: Begin storing sessions in serialized protobuf form 2021-02-02 10:25:56 -08:00
Jordan Rose
fefe43d91b SSK: Adopt SignalClient.SessionRecord.hasCurrentState 2021-02-02 10:25:56 -08:00
Jordan Rose
27f9d4f62f Don't fail trying to send a null message to an untrusted identity
In this case we have bigger problems than just a broken session, and
the user needs to manually trust the identity again (even if that's
just by sending a message themself)
2021-02-02 10:25:56 -08:00
Matthew Chen
86c70f6025 Feature flags for .qa. 2021-01-29 17:28:43 -03:00
Matthew Chen
8f85241753 Feature flags for .beta. 2021-01-29 17:28:36 -03:00
Matthew Chen
9c961b98b2 Fix accessibility in chat history items. 2021-01-29 16:43:02 -03:00
Matthew Chen
6c578e816f Improve internal logging around manual migrations. 2021-01-29 11:18:13 -03:00
Jordan Rose
7fc6b2ef7f SSK: propagate untrusted identity errors when ensuring sessions
Regression introduced in "Use SignalClient for message encryption"
2021-01-28 12:03:50 -08:00
Jordan Rose
e595090046 Rename SSKSessionStore.containsSession() to containsActiveSession() 2021-01-28 12:03:50 -08:00
Jordan Rose
c7b6ba7010 Make OWSAccountIdFinder's methods into class methods
OWSAccountIdFinder is no longer used for dependency injection in
SignalMetadataKit, so there's no need to allocate empty NSObjects just
to call the methods.

No functionality change.
2021-01-28 12:03:50 -08:00
Jordan Rose
4a86e60b82 SSKSessionStore: fix containsSession to check for an /active/ session
This is how it's being used: not just that you've /ever/ had a session
with a contact/device, but that you /currently/ have a session with
them.
2021-01-28 12:03:50 -08:00
Jordan Rose
f88e8e0838 SSKSessionStore: Only use AxolotlKit types when talking to the db
This puts up the facade for the future we'll eventually want: the
database contains serialized protobuf data, not AxolotlKit
SessionRecord objects. This also allows us to transparently handle
fetches when the database can contain *either* SessionRecords or
serialized data---we only need to check which we have.
2021-01-28 12:03:50 -08:00
Jordan Rose
05725078f1 SSK: Migrate SSKSessionStore to Swift
This is a no-change migration /except/ that I've dropped entry points
that are unused in the app or tests.
2021-01-28 12:03:50 -08:00
Jordan Rose
77da9dcf16 SSK: Remove -maxSessionSenderChainKeyIndexForAccountId:transaction:
This was the last part of SignalServiceKit that poked inside
AxolotlKit's SessionRecord, and SignalClient doesn't currently expose
the same information. However, it was only being used as a heuristic
for merging phone number and UUID contacts when you already had a
session with each, and this just won't happen anymore except in rare
circumstances. (Specifically, all messages will have UUIDs, so a UUID
contact is always more up to date.)
2021-01-28 12:03:50 -08:00
Jordan Rose
e435532474 SSK: Use SignalClient for session archive operations
For now, this means some extra translation between AxolotlKit and
SignalClient types, but it helps pave the way for lazily migrating the
database to store protobuf-serialized records instead of
NSCoding-archived ones.
2021-01-28 12:03:50 -08:00
Jordan Rose
d75ac75546 SSK: Account for reset sessions in SignalClient/AxolotlKit migration 2021-01-28 12:03:50 -08:00
Jordan Rose
2a8206b7dd SSK: Fix session migration for absent pre-key IDs
Doing this correctly means going "back" to proto2 for SessionRecords,
because we need to distinguish between "0" and "absent" in the
serialized protobuf data. (Note that we can do this independently of
SignalClient properly making this distinction because the proto3
implementation we're using, prost, will omit scalar proto3 fields
whose values match their defaults.)
2021-01-28 12:03:50 -08:00
Jordan Rose
45e888826a SSK: Clean up uses of SignalClient now that EC*Key uses SignalClient 2021-01-28 12:03:50 -08:00
Jordan Rose
2b9aeb300e Transition OWSMessageDecrypter to SignalClient
This is the last bit of code that uses AxolotlKit.SessionCipher!
2021-01-28 12:03:50 -08:00
Jordan Rose
645cefcd47 Accomodate differences in UUID formatting checking cert validity 2021-01-28 12:03:50 -08:00
Jordan Rose
ebaf8c2238 Update for SignalClient.StoreContext 2021-01-28 12:03:50 -08:00
Jordan Rose
1ea62f2f50 SSK: Update for 'throws' removal in SignalClient 2021-01-28 12:03:50 -08:00
Jordan Rose
faccd52d93 SSK: Remove workaround from before Curve25519Kit adopted SignalClient 2021-01-28 12:03:50 -08:00
Jordan Rose
aeb78527ea SSK: Update for removal of SMK{Sender,Server}Certificate 2021-01-28 12:03:50 -08:00
Jordan Rose
4219c597b9 Fix inverted check (== instead of !=) 2021-01-28 12:03:50 -08:00
Jordan Rose
f8c2b764a2 Update for the removal of SMKEnvironment 2021-01-28 12:03:50 -08:00
Jordan Rose
833bff8889 Use SignalClient for message encryption
And update for SMKSecretSessionCipher's adoption of SignalClient as
well.
2021-01-28 12:03:50 -08:00
Jordan Rose
07c20a5f6f Rename the SignalClient test protocol to avoid conflicts 2021-01-28 12:03:50 -08:00
Jordan Rose
77257beacc Implement AxolotlKit<->SignalClient SessionRecord migration
This is accomplished by serializing into and out of the protobuf
format used by SignalClient.
2021-01-28 12:03:50 -08:00
Jordan Rose
1c77cc381c SSK: Use a named constant for provisioning cipher info data 2021-01-28 12:03:49 -08:00
Jordan Rose
afcfff317f SSK: Convert OWSProvisioningCipher to Swift for SignalClient HKDF 2021-01-28 12:03:49 -08:00
Jordan Rose
f7198339ab SSK: Move RemoteAttestation HKDF use to Swift/SignalClient 2021-01-28 12:03:49 -08:00
Jordan Rose
c620707091 SSK: Switch from HKDFKit to SignalClient.hkdf(...) in Swift sources 2021-01-28 12:03:49 -08:00
Jordan Rose
1705f36669 SSK: Add a test for sticker decryption 2021-01-28 12:03:49 -08:00
Matthew Chen
f1b6c93903 Improve "group update info message" copy when joining group via group link. 2021-01-28 11:34:17 -03:00
Matthew Chen
671272d56f Merge branch 'release/5.3.2' 2021-01-27 16:56:19 -03:00
Matthew Chen
6c5167606e Feature flags for .qa. 2021-01-27 16:42:43 -03:00
Matthew Chen
caf7ff266c Feature flags for .production. 2021-01-27 16:42:34 -03:00
Matthew Chen
a727ed9db3 Feature flags for .beta. 2021-01-27 16:42:14 -03:00
Matthew Chen
99034619be Fix rare crash around downloading quoted thumbnails. 2021-01-27 14:19:21 -03:00
Matthew Chen
90df86ba7a Protect oversize text messages from auto-download settings. 2021-01-27 11:35:10 -03:00
Matthew Chen
d2e6058ef6 Fix "empty snippet" issue in conversation list view. 2021-01-27 10:08:49 -03:00
Matthew Chen
57b7461848 Fix "empty snippet" issue in conversation list view. 2021-01-27 09:59:04 -03:00
Matthew Chen
5a1d4488ec Respond to CR. 2021-01-27 09:58:17 -03:00
Matthew Chen
7327002125 Create a new GRDB storage adapter after grdb schema migrations. 2021-01-27 09:45:12 -03:00
Matthew Chen
1be46d20bd Create a new GRDB storage adapter after grdb schema migrations. 2021-01-27 09:45:12 -03:00
Matthew Chen
d82b6f8250 Create a new GRDB storage adapter after grdb schema migrations. 2021-01-27 09:45:12 -03:00
Matthew Chen
584a638993 Create a new GRDB storage adapter after grdb schema migrations. 2021-01-27 09:45:12 -03:00
Jordan Rose
65cbcca821 Ignore message transcripts for null messages
This can happen when your primary device has used a null message to
reset a session and your secondary device gets it via sync.
2021-01-25 17:05:49 -08:00
Nora Trapp
f1f788c05c Feature flags for .qa. 2021-01-25 16:34:45 -08:00
Nora Trapp
aacaa09faa Feature flags for .production. 2021-01-25 16:34:32 -08:00
Matthew Chen
9a17bff403 Use nickname in group short names, part 2. 2021-01-25 15:14:43 -08:00
Matthew Chen
4df4700f63 Use nickname in group short names, part 2. 2021-01-25 15:14:43 -08:00
Matthew Chen
77b2ad834f Use nickname in group short names, part 1. 2021-01-25 15:14:43 -08:00
Matthew Chen
279b5778af Fix crash in OWSURLSession. 2021-01-25 15:12:23 -08:00
Matthew Chen
1902e7656c Fix broken test. 2021-01-25 19:39:40 -03:00
Nora Trapp
05efbd07e5 Feature flags for .qa. 2021-01-23 22:13:58 -08:00
Nora Trapp
5ddfb0468f Feature flags for .beta. 2021-01-23 22:13:51 -08:00
Nora Trapp
4f2978cb32 Feature flags for .production. 2021-01-23 22:13:43 -08:00
Matthew Chen
34b6da7b2f Fix build warnings; fix crash around url session errors. 2021-01-23 23:10:54 -03:00
Matthew Chen
b890fdeed8 Fix build warnings. 2021-01-23 22:45:33 -03:00
Nora Trapp
cb8d0afb66 Feature flags for .qa. 2021-01-23 16:00:50 -08:00
Nora Trapp
0682f957d5 Feature flags for .beta. 2021-01-23 15:59:25 -08:00
Nora Trapp
9dbe47b1aa PR Feedback 2021-01-23 11:13:15 -08:00
Nora Trapp
8dd274cf8e Consolidate blurring logic 2021-01-23 11:13:15 -08:00
Nora Trapp
40a605b97d Normalize images before getting pixel size 2021-01-23 11:13:15 -08:00
Michelle Linington
8d884c8ff5 Rename strong reference property to satisfy swift lint
Calling it "strongDelegate" tricks swift lint into correcting the
property to be weak. Renamed it "strongReference" to work around this.
2021-01-23 10:38:41 -08:00
Michelle Linington
1ddef2bc3a Fixes a leak in OWSURLSession
NSURLSession maintains a strong reference to its delegate and requires
explicit invalidation to clean up its state, otherwise it leaks memory.

This change introduces an proxy delegate for the underlying
NSURLSession. OWSURLSession retains the NSURLSession, NSURLSession
retains the proxy delegate.

The proxy delegate will retain the OWSURLSession and create a retain
cycle only while there are outstanding URLSessionTasks. Once all tasks
have been resolved, the cycle is broken and everything will be dealloced
(assuming no external references to the OWSURLSession still exist).
2021-01-23 10:38:41 -08:00
Nora Trapp
3cc4f6d67b Feature flags for .qa. 2021-01-22 19:19:33 -08:00
Nora Trapp
76bd3553b9 Feature flags for .beta. 2021-01-22 19:19:24 -08:00
Matthew Chen
4aca268be1 Profile bio refinements. 2021-01-22 23:28:35 -03:00
Michelle Linington
593cb20482 Remove sticker tooltip 2021-01-22 13:51:50 -08:00
Nora Trapp
cc8a84d7c8 Feature flags for .qa. 2021-01-22 13:21:46 -08:00
Nora Trapp
e5ab34a4ae Feature flags for .beta. 2021-01-22 13:21:37 -08:00
Nora Trapp
f3ed06f20d Feature flags for .qa. 2021-01-22 10:26:04 -08:00
Nora Trapp
53decba6d6 Feature flags for .beta. 2021-01-22 10:25:57 -08:00
Matthew Chen
81c5d61f92 Improve upload progress. 2021-01-22 10:24:36 -08:00
Matthew Chen
f10cfc8533 Fix over-zealous assert around de-deduplicating group membership. 2021-01-22 10:24:36 -08:00
Matthew Chen
8c6efe8a1d Only show sticker tooltip if sticker pack installed on linked device. 2021-01-22 10:24:35 -08:00
Nora Trapp
750a1ef98d Feature flags for .qa. 2021-01-21 20:30:09 -08:00
Nora Trapp
cbe3c519ee Feature flags for .beta. 2021-01-21 20:29:21 -08:00
Nora Trapp
980fedc6dd Show sharing suggestions megaphone on linked devices 2021-01-21 20:00:52 -08:00
Nora Trapp
35db1c05a5 Add privacy setting to disable sharing suggestions 2021-01-21 20:00:52 -08:00
Nora Trapp
7230dabbc8 Add support for sharing suggestions 2021-01-21 20:00:29 -08:00
Nora Trapp
2c0f7d668c Feature flags for .qa. 2021-01-21 18:42:38 -08:00
Nora Trapp
5d848752af Feature flags for .beta. 2021-01-21 18:42:31 -08:00
Matthew Chen
143ab9d268 Refine sending of null message after session reset. 2021-01-21 18:31:47 -08:00
Matthew Chen
d2ffe52943 Refine sending of null message after session reset. 2021-01-21 18:31:47 -08:00
Matthew Chen
1546fbe72a Use dynamic type in contact cell subtitles. 2021-01-21 22:32:42 -03:00
Matthew Chen
2fd7da2265 Fix GRDB schema migration. 2021-01-21 22:31:09 -03:00
Matthew Chen
fe85746aaf Small fixes. 2021-01-21 22:31:08 -03:00
Matthew Chen
d0985f43fe Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
Matthew Chen
d3eb77d6d3 Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
Matthew Chen
23857a6a0c Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
Matthew Chen
01039fbc5c Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
Matthew Chen
1cdaa74eae Add builder for error messages. 2021-01-21 22:31:08 -03:00
Nora Trapp
e1ce224928 PR Feedback 2021-01-21 17:00:18 -08:00
Nora Trapp
ba8c43cb9b wallpaper settings 2021-01-21 17:00:17 -08:00
Michelle Linington
52ffb5492a Fix tests 2021-01-21 16:21:59 -08:00
Michelle Linington
e06d9d1f6e PR Feedback 2021-01-21 16:20:40 -08:00
Michelle Linington
8fa45c7df9 Reduce unnecessary table loads in ManageStickersViewController 2021-01-21 16:20:35 -08:00
Michelle Linington
bfe76a3d34 Reduce profile avatar size cap
The server was rejecting 4 MB data blobs. Reduced down to something the
server handles. This is such an extreme size for a png that we'll
likely never hit it.
2021-01-21 16:17:25 -08:00
Michelle Linington
40e785cd6a Lint 2021-01-21 16:17:24 -08:00
Michelle Linington
f996a732d8 Show tapped avatar in conversation settings full screen 2021-01-21 16:17:24 -08:00
Matthew Chen
ecf85462ae Respond to CR. 2021-01-21 21:07:59 -03:00
Matthew Chen
8aaea5ea2d Refine file size formatting. 2021-01-21 21:05:41 -03:00
Matthew Chen
7b5785fce8 Reuse media views. 2021-01-21 21:00:36 -03:00
Matthew Chen
ce7f557158 Skip media downloads during calls. 2021-01-21 20:56:10 -03:00
Matthew Chen
0e6b32f4ed Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
a25d29aa6f Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
5b3ee89f7c Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
41cfab7585 Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
3e71eb4cd5 Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
22156a93fe Update attachment progress UI appearance. Overhaul OWSURLSession completion handling. 2021-01-21 20:41:06 -03:00
Matthew Chen
29837b4bae Allow cancellation of attachment downloads. 2021-01-21 20:40:24 -03:00
Matthew Chen
0611ddf549 Allow cancellation of attachment downloads. 2021-01-21 20:40:24 -03:00
Matthew Chen
edf37e47a8 Allow cancellation of attachment downloads. 2021-01-21 20:40:24 -03:00
Matthew Chen
38261e1707 Port attachment downloads logic to Swift. 2021-01-21 20:40:24 -03:00
Matthew Chen
b858e495fb Port attachment downloads logic to Swift. 2021-01-21 20:40:24 -03:00
Matthew Chen
4530341036 Port attachment downloads logic to Swift. 2021-01-21 20:40:24 -03:00
Matthew Chen
025fc61cd7 Port attachment downloads logic to Swift. 2021-01-21 20:40:24 -03:00
Matthew Chen
aeb94d48c1 Improve attachment progress indicators. 2021-01-21 20:40:23 -03:00
Matthew Chen
e77861ddbb Fix race in model read cache. 2021-01-21 20:36:47 -03:00
Matthew Chen
933693e78a Add animated sticker pack. 2021-01-21 20:17:02 -03:00
Matthew Chen
6f97a31dae Remove feature flag for profile changes. 2021-01-21 17:58:21 -03:00
Matthew Chen
e1e93b5b31 Hide profile name length and about/bio behind feature flag. 2021-01-20 17:07:34 -03:00
Matthew Chen
2ba0f06ac5 Hide profile name length and about/bio behind feature flag. 2021-01-20 17:07:33 -03:00
Jordan Rose
7748420b82 SSK: (re-)unify the decision of whether to notify for an interaction 2021-01-19 11:24:14 -08:00
Jordan Rose
f5a3b53e54 SSK: Don't notify / mark unread for people leaving the group 2021-01-19 11:18:10 -08:00
Nora Trapp
aaf512687f Feature flags for .qa. 2021-01-16 13:25:34 -08:00
Nora Trapp
4e0a2bbecf Merge branch 'release/5.2.1' into release/5.3.0 2021-01-16 13:15:06 -08:00
Nora Trapp
c0b1d93735 Feature flags for .beta. 2021-01-16 13:05:09 -08:00
Nora Trapp
39043a66a2 Feature flags for .production. 2021-01-16 13:04:44 -08:00
Matthew Chen
f930339a6d Fix quoted reply of animated stickers. 2021-01-16 13:02:53 -08:00
Nora Trapp
604041e822 Increase sticker size limits to match Android. 2021-01-16 12:38:41 -08:00
Jordan Rose
e269097ed6 SSK: Flush DispatchQueue.main after every test
There are a lot of events that get dispatched onto the main queue
(often /from/ the main queue), and processing them during the setup
for the subsequent test can cause problems. In particular, the
notification for setting up a local number in -[OWSMessageManagerTest
test_GroupUpdate] was occasionally being processed in the subsequent
-test_GroupUpdateWithAvatar, depending on how long GRDB took to set up
in the second test.
2021-01-16 12:38:14 -08:00
Nora Trapp
449b596e95 Add kill switch for automatic session reset 2021-01-16 11:57:23 -08:00
Michelle Linington
3b4c656cca Precommit script 2021-01-14 23:37:18 -08:00
Michelle Linington
df824254a0 Add low bandwidth mode setting for calls
- New setting in data settings to enable low bandwidth mode for different
network interfaces
- Call service now informs RingRTC of preferred bandwidth mode on call
connect and reachability changes
2021-01-14 23:37:18 -08:00
Nora Trapp
1939802225 Increase sticker size limits to match Android. 2021-01-14 23:18:10 -08:00
Matthew Chen
d66a9fb4ac Respond to CR. 2021-01-14 22:32:13 -03:00
Matthew Chen
7c5d769f8b Design tweaks. 2021-01-14 22:27:01 -03:00
Matthew Chen
cb86af7700 Fix typo from spec. 2021-01-14 22:25:47 -03:00
Matthew Chen
470af11295 Respond to CR. 2021-01-14 22:25:46 -03:00
Matthew Chen
237bf31d3d Display profile bio. 2021-01-14 22:25:45 -03:00
Matthew Chen
3bb5f0777b Add profile bio fields to database schema. 2021-01-14 22:25:45 -03:00
Matthew Chen
156e504446 Add profile bio view. 2021-01-14 22:25:44 -03:00
Matthew Chen
1d9a4dac27 Update profile fetches to support bio + bioEmoji. 2021-01-14 22:25:44 -03:00
Matthew Chen
fc43edbb6b Update profile updates to support bio + bioEmoji. 2021-01-14 22:25:44 -03:00
Jordan Rose
7b1b8772d1 SSK: Treat two more errors as "network failure"
This avoids a spurious owsFailDebug.
2021-01-14 16:38:37 -08:00
Jordan Rose
75f179f572 SSK: Flush DispatchQueue.main after every test
There are a lot of events that get dispatched onto the main queue
(often /from/ the main queue), and processing them during the setup
for the subsequent test can cause problems. In particular, the
notification for setting up a local number in -[OWSMessageManagerTest
test_GroupUpdate] was occasionally being processed in the subsequent
-test_GroupUpdateWithAvatar, depending on how long GRDB took to set up
in the second test.
2021-01-14 16:37:53 -08:00
Matthew Chen
c6f7255d76 Improve logging around dropped incoming messages. 2021-01-14 18:59:56 -03:00
Nora Trapp
ed6b8c1f42 Feature flags for .qa. 2021-01-12 21:46:47 -08:00
Nora Trapp
dbdafeea3e Feature flags for .beta. 2021-01-12 21:46:40 -08:00
Nora Trapp
1f05c908c2 Feature flags for .production. 2021-01-12 21:46:32 -08:00
Nora Trapp
444090f4b0 Don't show mutual groups for deleted threads 2021-01-12 20:35:10 -08:00
Nora Trapp
71b9f51e12 Ignore mutual groups where the local user is not a member or the remote user is not a full member. 2021-01-12 18:10:49 -08:00
Nora Trapp
1dff600b1a Feature flags for .beta. 2021-01-12 17:33:30 -08:00
Matthew Chen
7fd6dfbca0 Fix build break. 2021-01-12 21:53:16 -03:00
Nora Trapp
806dbd7257 Replace decryption errors with single 'session refresh' message 2021-01-12 16:45:35 -08:00
Nora Trapp
4c9163c740 Remotely control full intersection interval 2021-01-12 16:39:33 -08:00
Michelle Linington
69e1963588 Precommit script 2021-01-12 16:29:30 -08:00
Michelle Linington
7e9639f737 Actually post the notification 2021-01-12 16:29:29 -08:00
Michelle Linington
7694423c4d Add a preference for contact/profile avatars 2021-01-12 16:29:29 -08:00
Matthew Chen
3780aaaadf Refine auto-download defaults. 2021-01-12 21:05:05 -03:00
Matthew Chen
d5b902908a Refine the attachment download indicators. 2021-01-12 20:52:23 -03:00
Michelle Linington
e850e38401 Update the link preview user agent
There have been reports of some websites not vending link preview
content because of an invalid user agent. Including a version seems to
fix this.
2021-01-12 15:08:34 -08:00
Matthew Chen
4926427572 Respond to CR. 2021-01-12 19:28:17 -03:00
Matthew Chen
621685185e Add auto-download settings for media. 2021-01-12 19:28:16 -03:00
Matthew Chen
ccc3903b6d Add auto-download settings for media. 2021-01-12 19:28:16 -03:00
Matthew Chen
875491a7cd Add auto-download settings for media. 2021-01-12 19:28:16 -03:00
Matthew Chen
5abf846809 Add auto-download settings for media. 2021-01-12 19:28:16 -03:00
Matthew Chen
75f6d8b60c Add auto-download settings for media. 2021-01-12 19:28:15 -03:00
Matthew Chen
5326d876a6 Add auto-download settings for media. 2021-01-12 19:28:15 -03:00
Matthew Chen
e85efa8a5e Add auto-download settings for media. 2021-01-12 19:28:15 -03:00
Matthew Chen
6f3c92dedd Add auto-download settings for media. 2021-01-12 19:28:15 -03:00
Matthew Chen
d4e59dd96c Add auto-download settings for media. 2021-01-12 19:28:14 -03:00
Matthew Chen
252e8425ab Add auto-download settings for media. 2021-01-12 19:28:14 -03:00
Matthew Chen
48cdf3b4e4 Add auto-download settings for media. 2021-01-12 19:28:14 -03:00
Matthew Chen
380a6895eb Tweak max group name length. 2021-01-12 19:20:49 -03:00
Matthew Chen
68b68fdf04 Group link promotion. 2021-01-12 15:51:38 -03:00
Matthew Chen
03c21253e4 Group link promotion. 2021-01-12 15:51:05 -03:00
Matthew Chen
a53d15be65 Refine log levels. 2021-01-11 23:02:28 -03:00
Matthew Chen
c7d0899a0a Elaborate logging around image validation. 2021-01-11 23:01:24 -03:00
Matthew Chen
c0c6683c61 Merge branch 'release/5.1.0' 2021-01-07 16:44:04 -03:00
Matthew Chen
4e1ebc1dde Feature flags for .qa. 2021-01-07 16:36:25 -03:00
Matthew Chen
7c353c01d0 Feature flags for .production. 2021-01-07 16:36:14 -03:00
Matthew Chen
65edf777f9 Feature flags for .beta. 2021-01-07 16:35:57 -03:00
Matthew Chen
40447928a1 Respond to CR. 2021-01-07 14:22:59 -03:00
Matthew Chen
41fc17acf3 Add logging around remote attestation verification. 2021-01-07 14:18:50 -03:00
Matthew Chen
b64503cce2 Clean up. 2021-01-07 14:18:50 -03:00
Matthew Chen
9e5c6e3732 Add logging around remote attestation verification. 2021-01-07 14:18:50 -03:00
Matthew Chen
83ee5636b4 Surface group updates exception group migrations in the inbox snippet. 2021-01-07 14:18:50 -03:00
Matthew Chen
a30fca9aaa Fix spurious assert around comparing group models with dropped members. 2021-01-07 14:18:50 -03:00
Nora Trapp
ae0736a8e8 Wait to reset again until initial message queue has been drained 2021-01-05 17:41:13 -08:00
Nora Trapp
ce8170f6b1 Automatic session reset 2021-01-05 17:41:13 -08:00
Matthew Chen
59c1e4743a Feature flags for .qa. 2021-01-05 17:58:26 -03:00
Matthew Chen
61c5bdcc9f Feature flags for .beta. 2021-01-05 17:58:02 -03:00
Matthew Chen
0111224576 Merge branch 'release/5.1.0' 2021-01-05 17:54:30 -03:00
Matthew Chen
12a61511ab Merge remote-tracking branch 'private/release/5.1.0' 2021-01-04 22:54:46 -03:00
Matthew Chen
96ba7060d7 Enable manual group migrations for internal users. 2021-01-04 16:04:47 -03:00
Matthew Chen
ddb07f1acc Feature flags for .qa. 2020-12-30 16:04:57 -03:00
Matthew Chen
67f66d997c Feature flags for .beta. 2020-12-30 16:04:26 -03:00
Matthew Chen
f7ec15b808 Refine query filtering. 2020-12-23 18:14:32 -03:00
Nora Trapp
381492d11d Enable linked phones for internal builds 2020-12-23 12:01:03 -08:00
Matthew Chen
d7ffe46168 Merge branch 'release/5.1.0' 2020-12-23 14:33:36 -03:00
Matthew Chen
bb8267eeab Feature flags for .qa. 2020-12-23 14:22:44 -03:00
Matthew Chen
1083d4d08b Feature flags for .beta. 2020-12-23 14:22:17 -03:00
Matthew Chen
3e9c81d394 Fix "last admin leaves group." 2020-12-23 14:19:43 -03:00
Michelle Linington
81b06025aa IOS-999: Issues sending/receiving still webp images on iOS
Metadata stripping relies on CoreGraphics, but CoreGraphics doesn't
support WebP. When attempting to send a static WebP, we fail to send
because we fail to strip metadata.

We should account for this by checking the destination formats
CoreGraphics supports. If it doesn't support the type we're trying to
strip, we'll fall back to just converting it to png/jpeg.
2020-12-22 14:22:34 -08:00
Nora Trapp
b6cb720ffe Keep signed prekeys for 30 days 2020-12-22 12:37:59 -08:00
Matthew Chen
ad1590dc8e Merge remote-tracking branch 'private/release/5.1.0' 2020-12-22 13:19:47 -03:00
Matthew Chen
898355731e Feature flags for .qa. 2020-12-19 08:25:22 -03:00
Matthew Chen
84e52a7c07 Feature flags for .beta. 2020-12-19 08:24:52 -03:00
Nora Trapp
a0992b9857 Eliminate usage of unsaved SignalRecipients 2020-12-18 19:15:07 -08:00
Matthew Chen
1b508556d4 Respond to CR. 2020-12-18 11:24:40 -03:00
Matthew Chen
fc003412cd Improve landing of loads. 2020-12-18 11:20:49 -03:00
Matthew Chen
cb3624b612 DRY up handling of network failures. 2020-12-18 11:20:49 -03:00
Matthew Chen
27e3046ab4 Ensure audio waveform view adapts to large widths. 2020-12-18 11:07:36 -03:00
Matthew Chen
8f93df9e85 Respond to CRs. 2020-12-18 10:47:57 -03:00
Nora Trapp
3c7fd4d4fe Feature flags for .qa. 2020-12-15 16:15:12 -08:00
Nora Trapp
d151cd1158 Feature flags for .beta. 2020-12-15 16:15:03 -08:00
Nora Trapp
6bac60474d Enable usernames and phone number privacy for internal builds 2020-12-15 16:14:55 -08:00
Nora Trapp
fda61469ce Feature flags for .qa. 2020-12-15 11:57:50 -08:00
Nora Trapp
01a3a57dea Feature flags for .beta. 2020-12-15 11:54:24 -08:00
Matthew Chen
be1b502367 Feature flags for .qa. 2020-12-15 11:29:31 -03:00
Matthew Chen
a9e04009d8 Feature flags for .beta. 2020-12-15 11:29:23 -03:00
Matthew Chen
4ba64c78af Fix "mark as read" for early read receipts. 2020-12-15 11:15:24 -03:00
Nora Trapp
19a9d1414b Merge branch 'release/5.0.2' 2020-12-11 18:19:30 -08:00
Nora Trapp
5409063ac5 Add megaphone for group calls 2020-12-11 15:24:11 -08:00
Nora Trapp
b5cf5d9cd8 Change group calling to a remote kill switch 2020-12-11 15:09:03 -08:00
Michelle Linington
80c6a4e6be Add support for lightweight generics in ObjC functional utilities
NSArray supports lightweight generics in ObjC. Our extension on NSArray
for map/filter/reduce does not. This change tweaks the interface to
better support generics.

Also, fixes some tests that weren't compiling.
2020-12-11 12:30:44 -08:00
Matthew Chen
b3f93cdc88 Fix broken tests. 2020-12-11 16:33:38 -03:00
Matthew Chen
62856840da Clean up codebase. 2020-12-10 13:17:24 -03:00
Matthew Chen
567b7da669 Feature flags for .qa. 2020-12-10 12:45:20 -03:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Nora Trapp
c05e83fad7 Feature flags for .production. 2020-12-08 23:41:47 -08:00
Nora Trapp
60eae16b6b Enable gv2 migration for production 2020-12-08 23:41:39 -08:00
Nora Trapp
542dc33c8e Feature flags for .beta. 2020-12-08 17:52:56 -08:00
Nora Trapp
a6fd784dbd Feature flags for .production. 2020-12-08 17:47:40 -08:00
Nora Trapp
fb595d0e64 Use remote config for group calling 2020-12-07 15:43:59 -08:00
Michelle Linington
1beb51582a IOS-987: Update copy for calls started by local user
Reported as untranslatable here:
https://community.signalusers.org/t/beta-feedback-for-the-upcoming-ios-3-23-release/18507/37
2020-12-03 17:16:26 -08:00
Nora Trapp
079530a793 Feature flags for .qa. 2020-12-02 15:49:01 -08:00
Nora Trapp
a3219ad7cb Feature flags for .beta. 2020-12-02 15:48:55 -08:00
Nora Trapp
39506bab6b Don't crash when a receipt is received with an unknown type 2020-12-02 15:48:43 -08:00
Nora Trapp
d3028bc0c5 Feature flags for .qa. 2020-12-02 15:33:05 -08:00
Nora Trapp
9d98c40a14 Feature flags for .beta. 2020-12-02 15:33:05 -08:00
Nora Trapp
ccebfedf31 Adjust feature flags for beta 2020-12-02 15:11:51 -08:00
Nora Trapp
959b7ca480 Merge branch 'release/3.23.0' 2020-12-02 15:10:14 -08:00
Nora Trapp
fb5e0d62ae Merge branch 'release/3.22.1' into release/3.23.0 2020-11-30 14:55:11 -08:00
Nora Trapp
1e8b3dae29 Workaround an iOS 11 bug in unicode parsing 2020-11-30 14:44:04 -08:00
Michelle Linington
98814bfdeb PR Feedback
- Fix a bug where user notifications wouldn't be posted for incoming
  messages with eraId.
- Adopt OWSFormat for localized numbers
2020-11-24 20:59:37 -08:00
Michelle Linington
a8de171053 Adopt leftover PR feedback from #2696 2020-11-24 20:59:37 -08:00
Michelle Linington
8998b1e767 Add eraId to GroupCallUpdate messages
By including eraId in GroupCallUpdate messages, we're able to identify
separate group calls after the fact. Each unique eraId will result in a
new entry in the database, even if the group call has since ended.
2020-11-24 20:59:37 -08:00
Matthew Chen
62723c9b64 Update service protos. 2020-11-24 13:49:08 -03:00
Matthew Chen
e61dcd659e Feature flags for .qa. 2020-11-23 14:50:54 -03:00
Nora Trapp
e4918a4133 Enable group calling for beta 2020-11-21 22:10:22 -08:00
Nora Trapp
c83a2ef299 Feature flags for .beta. 2020-11-21 22:09:51 -08:00
Matthew Chen
783d8560c9 Fix group migration edge cases. 2020-11-20 15:32:15 -03:00
Matthew Chen
21b616ede1 Fix group migration edge cases. 2020-11-20 15:32:15 -03:00
Matthew Chen
d876125276 Add generic error for obj-c. 2020-11-20 15:32:15 -03:00
Matthew Chen
52d6000e4a Skip group auto-migrations if not registered. 2020-11-20 15:32:15 -03:00
Michelle Linington
f9067bac8a Respect server received timestamp in group call message 2020-11-19 16:04:22 -08:00
Michelle Linington
485e12e6c4 Stable ordering of call participants 2020-11-19 16:04:21 -08:00
Nora Trapp
3a51ca2adb Allow sending media keys to linked devices 2020-11-19 16:03:37 -08:00
Nora Trapp
c7648fe02c Fix small group call message bug 2020-11-19 16:02:22 -08:00
Nora Trapp
d39e82f347 Small design tweaks 2020-11-19 16:02:22 -08:00
Michelle Linington
8bbbd607ae PR Feedback from Nora 2020-11-19 16:02:22 -08:00
Michelle Linington
a32880ff36 Add missing localization for Join Call button 2020-11-19 16:02:22 -08:00
Michelle Linington
24083156ec Run precommit script 2020-11-19 16:02:22 -08:00
Michelle Linington
89c616c3e1 Minor cleanup 2020-11-19 16:02:22 -08:00
Michelle Linington
34f85ec030 Add a JoinCall button in group call info messages
Also, fixes a bug where we were taking out nested transactions
2020-11-19 16:02:22 -08:00
Michelle Linington
f4d60ff89c Notify the user when a group call begins 2020-11-19 16:02:22 -08:00
Michelle Linington
91f1789bf2 Add GroupCallMessage interaction finder. Build GroupCallMessage participant strings 2020-11-19 16:02:22 -08:00
Michelle Linington
c62bcb1ff3 Rebase with RingRTC API. Hook up stateless peek 2020-11-19 16:02:22 -08:00
Michelle Linington
daa28d413d Handle incoming GroupCallUpdate messages
This builds out infrastructure to fetch updated PeekInfo structs from
RingRTC on a GroupCallUpdate. There are still a bunch of TODOs to
resolve once RingRTC adds PeekInfo.
2020-11-19 16:02:22 -08:00
Michelle Linington
f6a252d274 Send a group call update message when joining and leaving a group call 2020-11-19 16:02:22 -08:00
Michelle Linington
2054d49f91 Add GroupCallUpdate proto definition 2020-11-19 16:02:22 -08:00
Nora Trapp
d8ca084b65 Tweak database fields and update RingRTC 2020-11-19 16:02:22 -08:00
Nora Trapp
b32c5bda4a Add scaffolding for Group Call messages 2020-11-19 16:02:22 -08:00
Nora Trapp
ce69b97f10 Update to dev build of RingRTC with lobby peeking, media key state 2020-11-19 16:02:22 -08:00
Nora Trapp
343a5a1163 Add redirect settings to OWSURLSession and allow modifying the request before redirect 2020-11-19 16:02:22 -08:00
Matthew Chen
9fa86023ef Revert "Configure for testing group migrations on staging."
This reverts commit 01357565c8.
2020-11-19 15:40:54 -03:00
Matthew Chen
01357565c8 Configure for testing group migrations on staging. 2020-11-19 15:40:38 -03:00
Jordan Rose
87c6355222 Protobuf: Regenerate wrappers for Swift-only protos
And update clients to match (mostly let -> var, but some dropping of
@objc and Equatable as well)
2020-11-17 12:46:26 -08:00
Matthew Chen
a3440fea46 Revert "Use staging service."
This reverts commit 662e794393.
2020-11-17 07:54:03 -03:00
Matthew Chen
35614c949e Revert "Simulate group migrations phase 3."
This reverts commit 4273626c52.
2020-11-17 07:53:50 -03:00
Matthew Chen
4273626c52 Simulate group migrations phase 3. 2020-11-17 07:53:21 -03:00
Matthew Chen
662e794393 Use staging service. 2020-11-17 07:50:23 -03:00
Nora Trapp
060839f463 Merge branch 'release/3.22.0' 2020-11-16 09:27:26 -08:00
Nora Trapp
52dea36100 Feature flags for .production. 2020-11-16 08:59:51 -08:00
Matthew Chen
01271f60be Handle emoji availability deserialization failures. 2020-11-14 07:58:13 -03:00
Nora Trapp
d300f66673 Fix crash when decoding emoji availability 2020-11-14 01:13:24 -08:00
Nora Trapp
ed69da32aa After a session reset, archive previous sessions instead of deleting them 2020-11-12 17:31:10 -08:00
Nora Trapp
a8e2a3e500 Archive sessions instead of deleting them when linked devices change 2020-11-12 17:31:10 -08:00
Matthew Chen
b91fa303b7 Fix code generation issue around TSAttachment.contentType. 2020-11-12 17:28:46 -03:00
Matthew Chen
015cbad1fb Block message sends in groups with blocking migrations. 2020-11-12 17:26:44 -03:00
Matthew Chen
58fa3c3f3a Block message sends in groups with blocking migrations. 2020-11-12 17:26:44 -03:00
Matthew Chen
7c2180b666 Block message sends during blocking migrations phase. 2020-11-12 17:26:44 -03:00
Matthew Chen
15a06028ce Improve logging around sessions. 2020-11-12 17:24:34 -03:00
Matthew Chen
09c747de85 Improve logging around sessions. 2020-11-12 17:24:34 -03:00
Matthew Chen
502ae86200 Improve logging around sessions. 2020-11-12 17:24:34 -03:00
Matthew Chen
8869a8aa5d Improve logging around sessions. 2020-11-12 17:24:34 -03:00
Nora Trapp
a6b05d5941 Feature flags for .qa. 2020-11-10 17:22:48 -08:00
Matthew Chen
046a497099 Feature flags for .beta. 2020-11-10 14:00:56 -03:00
Matthew Chen
b9648c6fd4 Tweak group migration feature flags. 2020-11-10 13:34:08 -03:00
Nora Trapp
1bc6da36fe PR Feedback 2020-11-05 12:25:49 -08:00
Nora Trapp
723ea9c95f Allow RingRTC to send/receive opaque call messages 2020-11-05 12:25:49 -08:00
Matthew Chen
2cb2aa3ebd Fix broken test. 2020-11-05 14:00:31 -03:00
Nora Trapp
6e2f808bc0 Enable for QA 2020-10-30 12:16:02 -07:00
Nora Trapp
caf3a351b8 Get audio flowing with group calls 2020-10-30 12:15:08 -07:00
Matthew Chen
0a3cd4b502 Only prepare group members for migration just before the migration. 2020-10-30 15:51:24 -03:00
Matthew Chen
8727a0ba08 Merge branch 'release/3.22.0' 2020-10-30 15:50:37 -03:00
Matthew Chen
ef28a8a430 Small fixes. 2020-10-30 15:41:31 -03:00
Matthew Chen
3ef31af1c8 Improve logging around message sends. 2020-10-30 15:28:22 -03:00
Matthew Chen
3d1d6a3e1f Improve logging around messages without renderable content. 2020-10-30 10:45:06 -03:00
Matthew Chen
5cee24cef9 Refine group migrations. 2020-10-30 09:20:51 -03:00
Matthew Chen
c01edb080e Refine group migrations.
* Finalize group migration flags.
* Refine group migration failure copy.
* Improve copy warning about members invited and dropped by a migration.
2020-10-30 09:13:06 -03:00
Matthew Chen
0c578d37de Clean up ahead of PR. 2020-10-30 09:07:38 -03:00
Matthew Chen
89d7f1c26c Improve group id mapping. 2020-10-30 09:07:38 -03:00
Matthew Chen
8d8c66e71a Refine group migrations & related UI. 2020-10-30 09:07:38 -03:00
Matthew Chen
df34b8122c Migrate CVC "bottom view" logic to Swift.
Migrate CVC "bottom view" logic to Swift.
2020-10-30 09:07:37 -03:00
Matthew Chen
bcc7995a7b Migrate groups from v1 to v2, part 3.
* Pull out GroupMigrationActionSheet.
* Add group migration action sheets.
* Make changes to enable testing migrations.
* Rewrite banners in Swift.
* Refine group migration logic; add support for testability.
2020-10-30 09:06:40 -03:00
Matthew Chen
a66f2cfc56 Migrate groups from v1 to v2, part 2.
* Add legacy group upgrade action sheet.
* Add 'group update info messages' around migrations.
* Add new limits around group size.
* Rename migration modes to "manual", "auto-migration."
* Add legacy groups action sheets.
* Try to fill in missing UUIDs before migrating groups.
* Ignore "known unregistered" users during group migrations.
2020-10-30 09:05:13 -03:00
Matthew Chen
ed9ae2ec9f Migrate groups from v1 to v2. 2020-10-30 09:04:12 -03:00
Matthew Chen
505322d895 Merge branch 'release/3.22.0' 2020-10-29 13:27:58 -03:00
Matthew Chen
e9a77bcf44 Remove message requests splash. 2020-10-29 13:25:53 -03:00
Matthew Chen
6101470fd7 Process incoming v2 group messages using separate queues. 2020-10-29 09:22:07 -03:00
Nora Trapp
e9b9bd48da Merge branch 'release/3.21.0' 2020-10-24 16:07:30 -07:00
Nora Trapp
570e29265d Ignore deleted or archived pinned threads. 2020-10-24 15:29:33 -07:00
Matthew Chen
40b0cc8172 Merge branch 'release/3.21.0' 2020-10-23 19:15:18 -03:00
Matthew Chen
5de5df0874 Feature flags for .production. 2020-10-23 19:09:47 -03:00
Matthew Chen
0f99134f7f Feature flags for .beta. 2020-10-23 19:09:35 -03:00
Matthew Chen
e9ca623253 Merge branch 'release/3.20.1' into release/3.21.0 2020-10-23 18:59:59 -03:00
Matthew Chen
1a9712d2a0 Improve logging around missing ephemeral prekeys. 2020-10-23 16:10:37 -03:00
Matthew Chen
c6ca3eee8b Feature flags for .production. 2020-10-23 14:48:58 -03:00
Matthew Chen
1e8c8980fc Rework debug log file handling. 2020-10-23 14:10:00 -03:00
Matthew Chen
1665283ee8 Reduce emoji-related queries on launch. 2020-10-23 14:08:47 -03:00
Matthew Chen
274aa326cb Merge branch 'release/3.20.1' into release/3.21.0 2020-10-23 14:06:47 -03:00
Matthew Chen
f272471db5 Re-upload protected profiled names. 2020-10-23 14:01:44 -03:00
Matthew Chen
cf5a313ed0 Never clear the local profile name. 2020-10-23 12:21:09 -03:00
Matthew Chen
cbc93ae0e6 Re-show message requests splash on launch if profile name is missing. 2020-10-23 10:40:52 -03:00
Matthew Chen
3d96b40767 Merge branch 'release/3.20.1' into release/3.21.0 2020-10-22 17:47:24 -03:00
Matthew Chen
5105dbb6ff Ensure app readiness during app launch. 2020-10-22 16:36:24 -03:00
Matthew Chen
7aceae9cf8 Ensure app readiness during app launch. 2020-10-22 16:25:04 -03:00
Matthew Chen
3780fba670 Ensure app readiness during app launch. 2020-10-22 16:21:45 -03:00
Matthew Chen
25e5b5264e Fix merge. 2020-10-21 15:56:14 -03:00
Matthew Chen
abaabdf566 Feature flags for .beta. 2020-10-20 12:57:29 -03:00
Matthew Chen
f65ab5b375 Merge branch 'release/3.20.0' 2020-10-16 21:50:05 -03:00
Matthew Chen
761ed8308b Feature flags for .production. 2020-10-16 21:35:04 -03:00
Matthew Chen
fc0f8d76d9 Rename the gv2 splash id. 2020-10-16 21:24:16 -03:00
Matthew Chen
227447849e Refine gv2 UI. 2020-10-16 11:42:23 -03:00
Matthew Chen
8eda631a7c Refine gv2 UI. 2020-10-16 11:41:32 -03:00
Matthew Chen
20a0fddb90 Add debug UI around prekeys and sessions. 2020-10-16 10:46:37 -03:00
Matthew Chen
13e7456d22 Fix some of the performance tests. 2020-10-16 10:15:16 -03:00
Nora Trapp
18ab5f3181 Switch Argon2 pod name 2020-10-15 15:55:49 -07:00
Nora Trapp
bf8508c30b Add logic for fetching real group credentials 2020-10-15 14:49:48 -07:00
Nora Trapp
17892d716c Group Calling 2020-10-15 14:49:20 -07:00
Matthew Chen
b1b0e7a582 Merge branch 'release/3.20.0' 2020-10-15 17:44:46 -03:00
Matthew Chen
6542f66324 Convert ModelReadCache assert into logging. 2020-10-15 17:44:12 -03:00
Nora Trapp
3f799418a9 Mandatory profile sharing 2020-10-15 13:20:21 -07:00
Matthew Chen
7883bfce39 Feature flags for .qa. 2020-10-15 14:50:28 -03:00
Matthew Chen
1861d4f496 Merge remote-tracking branch 'private/release/3.20.0' 2020-10-15 14:49:59 -03:00
Matthew Chen
8587cd2d1b Feature flags for .beta. 2020-10-15 14:39:48 -03:00
Matthew Chen
0fccb910a5 Rework how groups are auto-whitelisted. 2020-10-15 14:15:48 -03:00
Matthew Chen
0c85314545 Rework how groups are auto-whitelisted. 2020-10-15 14:15:48 -03:00
Matthew Chen
98f7b2cfbf Rework how groups are auto-whitelisted. 2020-10-15 14:15:47 -03:00
Nora Trapp
563ed0ef8e Fix storage service sync bug with archiving 2020-10-15 14:12:41 -03:00
Matthew Chen
5b31c9f9b4 Perform bulk profile fetches by UUID. 2020-10-15 14:08:14 -03:00
Matthew Chen
ba65c97e7f Update feature flags and remote config for v3.20. 2020-10-15 14:06:56 -03:00
Matthew Chen
de405a2470 Update feature flags and remote config for v3.20. 2020-10-15 14:06:56 -03:00
Matthew Chen
549f903755 Rework updates to recipient devices. 2020-10-15 14:03:55 -03:00
Matthew Chen
e25d3f9392 Rework updates to recipient devices. 2020-10-15 14:03:55 -03:00
Matthew Chen
832ed433c6 Rework updates to recipient devices. 2020-10-15 14:03:55 -03:00
Matthew Chen
49c333aaf0 Improve logging around send failures. 2020-10-15 14:03:55 -03:00
Matthew Chen
05eb881632 Avoid assert around gif stickers. 2020-10-15 13:57:39 -03:00
Matthew Chen
e78800ae17 Add flag around gv2 splash. 2020-10-15 13:37:56 -03:00
Matthew Chen
91786ccfa5 Fix overzealous assert around censorship circumvention. 2020-10-15 11:28:19 -03:00
Matthew Chen
8721513b30 Feature flags for .qa. 2020-10-14 18:24:48 -03:00
Matthew Chen
a17be3e3f0 Merge branch 'release/3.19.1' 2020-10-14 18:24:41 -03:00
Matthew Chen
75934b1c6d Fix issue view once messages in v2 groups. 2020-10-14 18:16:16 -03:00
Matthew Chen
55c8d11092 Merge remote-tracking branch 'private/release/3.19.1' 2020-10-14 17:54:06 -03:00
Matthew Chen
b42709ad41 Feature flags for .production. 2020-10-14 17:07:06 -03:00
Matthew Chen
b69cafc4f6 Update remote config. 2020-10-14 17:05:26 -03:00
Matthew Chen
1dbc80f427 Merge branch 'release/3.19.0' 2020-10-09 14:45:41 -03:00
Matthew Chen
1584f8daee Feature flags for .qa. 2020-10-09 14:44:49 -03:00
Matthew Chen
a12fbbc0f6 Feature flags for .beta. 2020-10-09 14:43:27 -03:00
Nora Trapp
548ce607d1 PR Feedback 2020-10-09 10:37:03 -07:00
Nora Trapp
fef5ff89e5 Show sending state for deleted message 2020-10-09 10:37:03 -07:00
Matthew Chen
043bf5b286 Feature flags for .production. 2020-10-09 12:58:27 -03:00
Matthew Chen
d37e9b6b2b Fix broken tests. 2020-10-08 18:04:54 -03:00
Matthew Chen
2beeb38e23 Merge remote-tracking branch 'private/release/3.19.0' 2020-10-08 17:51:35 -03:00
Matthew Chen
fa0b73c3cf Fix rebase breakage. 2020-10-08 17:45:28 -03:00
Matthew Chen
3ef6267df9 Groups v2 and mentions splash. 2020-10-08 17:39:51 -03:00
Matthew Chen
507b4c20e4 Groups v2 and mentions splash. 2020-10-08 17:39:51 -03:00
Matthew Chen
cae3c147d7 Groups v2 and mentions splash. 2020-10-08 17:39:50 -03:00
Matthew Chen
826ce88195 Groups v2 and mentions splash. 2020-10-08 17:39:50 -03:00
Matthew Chen
b13ff0c879 Respond to CR. 2020-10-08 17:31:29 -03:00
Matthew Chen
d364796d9d Remote obsolete remote config & feature flags around gv2. 2020-10-08 17:24:11 -03:00
Matthew Chen
fe0eaca992 Tweak asserts around disappearing messages configuration. 2020-10-08 17:04:47 -03:00
Matthew Chen
6fbe046001 Block prekey handling until message processing is complete. 2020-10-08 11:48:07 -03:00
Matthew Chen
8e95a8547b Elaborate logging around signed prekey clean up. 2020-10-08 11:16:50 -03:00
Matthew Chen
891a514f1f Merge branch 'release/3.19.0' 2020-10-07 17:58:32 -03:00
Matthew Chen
d491f9893b Force mentions in public beta. 2020-10-07 17:53:51 -03:00
Matthew Chen
7c1b03514a Merge branch 'release/3.19.0' 2020-10-07 17:47:24 -03:00
Matthew Chen
39872e98f0 Add logging gv2 insertion. 2020-10-07 17:37:14 -03:00
Matthew Chen
05c4332f77 Display who added you to a v2 group more often. 2020-10-07 17:28:20 -03:00
Nora Trapp
af6e97c46d Enable delete for everyone for everyone 2020-10-07 12:45:14 -07:00
Nora Trapp
377a15148c Don't use new KBS enclave in production yet 2020-10-06 15:08:30 -07:00
Nora Trapp
9de99d5db2 Make best attempt to delete keys from the previous enclave when migrating 2020-10-06 15:07:11 -07:00
Nora Trapp
3d5cded4d8 Silently migrate master key to new KBS enclave when necessary 2020-10-06 15:07:11 -07:00
Nora Trapp
c8b0dc4ab4 Check previous KBS enclaves during registration 2020-10-06 15:07:11 -07:00
Matthew Chen
c462751daa Feature flags for .qa. 2020-10-06 13:24:57 -03:00
Matthew Chen
06f47da453 Feature flags for .beta. 2020-10-06 13:19:28 -03:00
Nora Trapp
6ca4bfeff9 Add backwards compatible support for new photo library APIs 2020-10-05 14:32:07 -07:00
Matthew Chen
1074b7cbfe Merge branch 'release/3.18.0' 2020-10-03 10:05:30 -03:00
Matthew Chen
9a2b3c3b4b Feature flags for .qa. 2020-10-03 10:04:35 -03:00
Matthew Chen
e674140ea6 Feature flags for .production. 2020-10-03 10:04:00 -03:00
Matthew Chen
fc30b0084b Enforce uniqueness when migrating SignalRecipients from YDB. 2020-10-02 09:47:42 -03:00
Matthew Chen
7b21df6036 Merge branch 'release/3.18.0' 2020-10-01 21:12:18 -03:00
Matthew Chen
0e5ce6c713 Merge branch 'release/3.17.6' into release/3.18.0 2020-10-01 20:25:04 -03:00
Matthew Chen
3070cf5f08 Feature flags for .production. 2020-10-01 20:21:49 -03:00
Nora Trapp
d8e245ac72 Fix missing assertion in KeyBackupService 2020-10-01 20:20:58 -03:00
Jordan Rose
4045f15800 OWSHTTPSecurityPolicy: Assert that loaded certificates are valid
These are loaded from our own bundle, so we should be able to
guarantee validity.
2020-09-30 17:44:54 -03:00
Jordan Rose
428002e439 Fix leaks of various CF types 2020-09-30 17:44:54 -03:00
Jordan Rose
3d8d96f532 Make test_messageIsSent less flaky by flushing the global queue
A synchronous barrier block will not run until all prior submitted
items run, and all of the work setting up this test is synchronously
submitted to the global background queue.
2020-09-30 12:53:32 -07:00
Matthew Chen
1470557610 Merge branch 'release/3.18.0' 2020-09-29 18:33:50 -03:00
Matthew Chen
58af85269a Simplify disappearing message configuration in CVC. Report gv2-3 capability. 2020-09-29 15:14:24 -03:00
Matthew Chen
85ef3d0a66 Rework copy around editing membership access. 2020-09-29 11:49:42 -03:00
Matthew Chen
069dc17b22 Merge branch 'release/3.18.0' 2020-09-25 16:55:06 -03:00
Matthew Chen
9f80c2ee01 Let last member leave group. 2020-09-25 15:18:55 -03:00
Matthew Chen
3480af38e4 Fix build warnings. 2020-09-25 15:16:19 -03:00
Matthew Chen
2f95030eed Let display link come to rest when no pending snapshot update. 2020-09-25 15:13:48 -03:00
Matthew Chen
6bc8cd7cd9 Enable mentions in public beta. 2020-09-24 16:50:50 -03:00
Matthew Chen
004cea7962 Update CDS enclave for staging. 2020-09-24 10:03:47 -03:00
Matthew Chen
7ec0df3f2b Feature flags for .qa. 2020-09-24 08:51:07 -03:00
Nora Trapp
f8cb80926c Don't include deleted threads in the badge count 2020-09-23 14:53:28 -07:00
Nora Trapp
af10d28fc3 PR Feedback 2020-09-23 14:52:33 -07:00
Nora Trapp
9b33de1bde Workaround android not sending content-type for some stickers 2020-09-23 14:45:51 -07:00
Nora Trapp
dd22688730 Fix regression in ImageMetadata 2020-09-23 14:45:05 -07:00
Matthew Chen
7c9d798f8a Feature flags for .beta. 2020-09-22 17:39:48 -03:00
Matthew Chen
0708420c20 Merge branch 'release/3.17.6' 2020-09-22 16:57:49 -03:00
Matthew Chen
2529752cfb Feature flags for .qa. 2020-09-22 16:56:52 -03:00