Nora Trapp
7bb6e42be3
Merge branch 'release/3.7.0'
2020-03-25 22:31:11 -07:00
Nora Trapp
6683c09f81
Disable link preview randomly failing tests
2020-03-25 22:30:22 -07:00
Nora Trapp
f7f21ddb79
Use test board for pinterest tests
2020-03-24 17:11:02 -07:00
Nora Trapp
2e6612525a
Fix broken tests
2020-03-24 17:11:02 -07:00
Matthew Chen
9276ca7670
Make flaky pinterest link test more permissive.
2020-03-21 22:59:18 -03:00
Nora Trapp
5c976b0acd
PR Feedback
2020-03-16 16:30:58 -07:00
Nora Trapp
72842e094d
Disable some tests temporarily
2020-03-14 15:40:02 -07:00
Nora Trapp
78c5c19def
fix some tests
2020-03-14 10:43:56 -07:00
Matthew Chen
20aeb8df44
Merge remote-tracking branch 'private/release/3.6.0'
2020-03-02 13:39:20 -03:00
Matthew Chen
529dbf09cd
Fix unit tests.
2020-02-28 16:30:54 -03:00
Matthew Chen
81638f8b88
Fix unit tests.
2020-02-28 16:30:54 -03:00
Matthew Chen
e216b5a615
Integrate group updates and disappearing message configuration updates.
2020-02-21 13:05:20 -03:00
Michael Kirk
f198d9037d
Merge tag '3.5.0.5'
2020-02-19 19:26:05 -07:00
Michael Kirk
f406de7797
plumb through messageRequest circumstance when marking as read
2020-02-16 13:13:12 -07:00
Nora Trapp
79d4b8e33a
Storage Service Encryption Finalization
2020-02-11 13:29:02 -08:00
Michael Kirk
d024ed99c0
Use appropriate sender certificate depending on capabilities
2020-01-31 20:33:57 -07: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
5eb2e99ded
Respond to CR.
2020-01-24 17:00:50 -03:00
Matthew Chen
a40b9864a6
Improve thread safety of job queues.
2020-01-24 17:00:50 -03:00
Matthew Chen
891c0cb039
Improve thread safety of job queues.
2020-01-24 17:00:50 -03:00
Nora Trapp
7c682e1858
Additional KBS vectors and normalization fix
2020-01-23 08:56:05 -08:00
Matthew Chen
3b17c39f2e
Fix tests.
2020-01-23 12:09:31 -03:00
Nora Trapp
d64d06d73b
Fix test vectors for new Argon2 parameters
2020-01-22 10:06:58 -08:00
Nora Trapp
4f3993e5e2
finalize Argon2 parameters
2020-01-22 09:05:01 -08:00
Nora Trapp
51c7720b1b
Allow user's to select an alphanumeric PIN
2020-01-20 18:33:48 -08:00
Nora Trapp
b7411bcb40
Implement final KBS master key encryption
2020-01-20 16:16:57 -08:00
Matthew Chen
892ce5c135
Rework message processing to handle groups v2.
2020-01-17 17:34:37 -03:00
Matthew Chen
1ae6012ecb
Create and fetch groups v2; group update roundtrip.
2020-01-17 17:29:00 -03:00
Michael Kirk
9be32858d0
permissively parse legacy and modern mexican phone number formats
2020-01-16 11:41:48 -07:00
Matthew Chen
72f912dce3
Versioned profile changes, etc.
2020-01-08 13:54:54 -03:00
Nora Trapp
4d55468bd3
Merge branch 'release/3.2.0'
2020-01-02 16:50:14 -08:00
Orta Therox
469e169962
Convert to just using CocoaPods for dependencies
2020-01-02 12:03:57 -08:00
Michael Kirk
884f09ea5a
Windowed conversation loading
2019-12-31 14:29:32 -08:00
Matthew Chen
f3286b755b
Fix broken tests.
2019-12-11 20:41:57 -08:00
Matthew Chen
29150102cb
Revert group and profile changes.
2019-12-11 20:41:54 -08:00
Matthew Chen
0f8b2ccc74
Fix broken tests.
2019-12-05 12:37:22 -03:00
Matthew Chen
05c8e674ee
Rework new group new creation & group updates.
2019-12-05 12:37:22 -03:00
Matthew Chen
3d88f68cfb
Rework new group new creation & group updates.
2019-12-04 15:40:54 -03:00
Matthew Chen
e46eefe50e
Remove readReturningResult().
2019-11-14 10:39:33 -03:00
Matthew Chen
9bdb85b897
Fix test broken by group manager.
2019-11-13 10:29:07 -03:00
Matthew Chen
b38a64cce8
Revert "Revert "Merge branch 'charlesmchen/groupManager2'""
...
This reverts commit 7530dee591 .
2019-11-12 09:02:52 -03:00
Matthew Chen
7530dee591
Revert "Merge branch 'charlesmchen/groupManager2'"
...
This reverts commit 26fd0d0812 , reversing
changes made to c17865b750 .
2019-11-11 20:01:45 -03:00
Matthew Chen
fa9e49136d
Apply group manager in tests.
2019-11-11 17:31:21 -03:00
Matthew Chen
0ecee32271
Apply group manager in tests.
2019-11-11 17:31:21 -03:00
Matthew Chen
b5f777d985
Fix more broken tests.
2019-11-07 17:37:48 -03:00
Matthew Chen
70d4b3a2a0
Fix broken tests.
2019-11-07 17:22:08 -03:00
Michael Kirk
61fb6e575e
remove block from overwriting update, undeprecate upsert
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
6b8708433c
Delete old and unused one-time prekeys.
...
Thanks Mikunj Varsani for the bug report.
2019-11-02 08:16:41 -03:00
Michael Kirk
329fffb8e2
Fixing up phonenumber parsing tests
2019-10-25 18:33:56 -07:00
Michael Kirk
8c73d7aef4
fixup test typo
2019-10-17 10:43:13 -06:00
Michael Kirk
6fea78a6b3
Linking flow
2019-10-17 10:19:32 -06:00
Michael Kirk
6d73d01e01
remove some unused columns
2019-10-14 18:23:35 -06:00
Matthew Chen
e679d366d2
Fix DM expiration/tests; refine DM state asserts.
2019-10-08 13:06:40 -03:00
Matthew Chen
63c2cbf71b
Fix broken tests.
2019-10-04 19:34:08 -03:00
Matthew Chen
8b53f669ee
Merge remote-tracking branch 'private/release/2.44.0'
2019-10-04 16:33:27 -03:00
Matthew Chen
031eafe8fe
Fix broken tests.
2019-10-04 16:31:50 -03:00
Matthew Chen
879946ed74
Respond to CR.
2019-10-01 13:42:36 -03:00
Matthew Chen
d813419afa
Fix TSMessageStorageTests.
2019-10-01 13:37:04 -03:00
Matthew Chen
dcf9502d01
Fix TSOutgoingMessageTest.
2019-10-01 13:35:54 -03:00
Matthew Chen
7ee8cdfa84
Fix PhoneNumberUtilTest.
2019-10-01 13:35:54 -03:00
Matthew Chen
8fa5ec40e0
Respond to CR.
2019-10-01 13:34:58 -03:00
Matthew Chen
510f1fc9cd
Fix all broken tests, part 1.
2019-10-01 13:24:28 -03:00
Matthew Chen
539caea903
Fix all broken tests, part 1.
2019-10-01 13:24:28 -03:00
Matthew Chen
28fbf98fea
Respond to CR.
2019-10-01 13:08:59 -03:00
Matthew Chen
e2340da4ff
Rework DM expiration finding.
2019-10-01 13:08:59 -03:00
Matthew Chen
f10227e45b
Rework DM expiration finding.
2019-10-01 13:08:59 -03:00
Matthew Chen
20683678b5
Store group avatars as data.
2019-09-27 16:25:53 -03:00
Matthew Chen
eb0d934a2c
Add Debug UI action to insert one of each kind of model.
2019-09-23 13:49:29 -03:00
Matthew Chen
4371877e29
Respond to CR.
2019-09-18 09:07:29 -03:00
Matthew Chen
37f23ce69a
Respond to CR.
2019-09-18 09:07:28 -03:00
Matthew Chen
11dfd413e3
Fix numeric/date edge cases in GRDB serialization.
2019-09-18 09:07:28 -03:00
Matthew Chen
a41e204de5
Add TestModel.
2019-09-18 09:04:19 -03:00
Matthew Chen
5fdf1b662a
Add TestModel.
2019-09-18 09:04:19 -03:00
Matthew Chen
04b2863311
Add TestModel.
2019-09-18 09:04:19 -03: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
Matthew Chen
4944d3b96c
YDB-to-GRDB migration stress testing.
2019-09-16 13:34:55 -03:00
Michael Kirk
1a9c0fae1d
GRDB: Fix disappearing messages vs. long text or media details
...
The generic observer delete was broken for GRDB, because we can't fetch the
uniqueId's of rowIds if the corresponding row was deleted. So instead, we
split the logic: Yap uses uniqueIds, GRDB uses row ids.
2019-09-16 07:53:00 -07:00
Michael Kirk
b0f9b55561
Fix test that previously had static text
2019-09-16 07:51:36 -07:00
Matthew Chen
3ff3f9bb0d
Fix tests.
2019-09-16 10:00:26 -03:00
Matthew Chen
f5d2915689
Respond to CR.
2019-09-13 20:46:08 -03:00
Matthew Chen
6a529e792d
Rework message configuration. Simplify change detection, ensure continuity for deleted threads.
2019-09-13 20:40:06 -03:00
Michael Kirk
6347d434af
Merge tag '2.43.0.2'
2019-09-05 16:37:16 -06:00
Michael Kirk
53b2fc1929
touches take effect even in a no-op deferred transaction.
...
UIDatabaseObserver orchestrates notifying views when a transaction commits.
We back UIDatabaseObserver with a DatabaseRegionObserver
DatabaseRegionObservers are not notified if the transaction contains no changes:
https://github.com/groue/GRDB.swift/blob/af0ac15/GRDB/Core/DatabaseRegionObservation.swift#L119
However the more general TransactionObservers *are* notified even if the
transaction contains no changes. Nicely, GRDB does some work to ensure this is
true even in the event of a deferred transaction. See this comment on `databaseDidCommitEmptyDeferredTransaction`
da459386a0/GRDB/Core/TransactionObserver.swift (L444)
2019-09-04 21:47:57 -06:00
Michael Kirk
6eb1595e87
update GRDB
2019-09-04 18:23:01 -06:00
Michael Kirk
377632f7eb
Sending perf test - baseline
2019-09-04 18:21:40 -06:00
Matthew Chen
bcd58bd538
Simplify disappearing messages configuration.
2019-09-04 09:43:59 -03:00
Michael Kirk
967780b5e7
Run perf tests with real-world optimizations
2019-08-29 09:47:52 -06:00
Matthew Chen
813079c6be
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
Matthew Chen
238029594e
Fix build warnings; add comment.
2019-08-27 17:39:09 -03:00
Matthew Chen
d6c7922f32
Fix tests broken by "group name" changes.
2019-08-27 17:30:08 -03:00
Matthew Chen
14435d91b4
Fix rebase breakage.
2019-08-26 13:18:49 -03:00
Matthew Chen
c2ae2037d4
Fix rebase breakage.
2019-08-26 13:18:49 -03:00
Matthew Chen
79b1d31f20
Don't load YDB unless necessary.
...
Don't load YDB unless necessary.
Don't load YDB unless necessary.
Don't load YDB unless necessary.
2019-08-26 13:18:30 -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
36f1c1bb02
Re-enable disabled sections of db perf tests.
2019-08-23 09:59:24 -03:00
Matthew Chen
549d448724
Rework OWSDisappearingMessagesFinder to support GRDB.
2019-08-22 17:30:11 -03:00
Matthew Chen
db2dacf45f
Fix more tests.
2019-08-21 15:01:13 -03:00
Matthew Chen
0f2a0d01b4
Merge remote-tracking branch 'private/release/2.42.0'
2019-08-21 10:58:41 -03:00
Matthew Chen
3a388d9bb3
Respond to CR.
2019-08-21 10:20:07 -03:00
Matthew Chen
aa149f6544
Fix broken tests.
2019-08-21 10:20:07 -03:00
Matthew Chen
386e443ce1
Fix more tests.
2019-08-21 10:20:07 -03:00
Michael Kirk
22ac7154dc
fixup tests
2019-08-20 09:59:28 -06:00
Michael Kirk
c7afa5f1db
storage comparative perf tests
2019-08-16 12:38:23 -06:00
Matthew Chen
85756b0fe9
Merge remote-tracking branch 'private/release/2.42.0'
2019-08-16 13:21:38 -03:00
Matthew Chen
d4e544003c
Fix OWSDeviceProvisionerTest.
2019-08-16 11:06:01 -03:00
Matthew Chen
d308c566af
Address deadlocks in profile manager.
2019-08-15 16:10:14 -03:00
Matthew Chen
013ce2474f
Fix test breakage.
2019-08-13 17:33:22 -03:00
Matthew Chen
58eccfe357
Fix test breakage.
2019-08-13 17:03:09 -03:00
Matthew Chen
8ca337e2c3
Rework generic change observation.
2019-08-13 09:58:27 -03:00
Matthew Chen
94ad1e35ff
Improvements and fixes for "any FTS".
2019-08-07 17:48:54 -03:00
Matthew Chen
a48ccccdd1
Remove more usage of primary storage.
2019-08-07 17:41:11 -03:00
Matthew Chen
eccfad0f46
Merge remote-tracking branch 'private/release/2.41.0'
2019-08-06 12:12:39 -03:00
Matthew Chen
4f03f969fc
Rework "view once" messages.
2019-08-01 16:13:37 -03:00
Matthew Chen
1e363d2c65
Make uniqueId non-nil.
2019-07-31 10:50:59 -03:00
Matthew Chen
35e7b38b05
Remove usage of primary storage.
2019-07-29 17:25:58 -03:00
Matthew Chen
e77e03afb2
Remove usage of primary storage.
2019-07-29 15:30:10 -03:00
Matthew Chen
6a1ed430e1
Fix tests broken by any/grdb-related changes.
2019-07-29 14:59:55 -03:00
Matthew Chen
201642b914
Fix tests broken by any/grdb-related changes.
2019-07-29 14:59:55 -03:00
Matthew Chen
ef55d3e283
Fix build breakage around nil Randomness.
2019-07-29 14:52:56 -03:00
Michael Kirk
17d960a26e
Swift errors vs. isRetryable
2019-07-25 10:56:30 -06:00
Matthew Chen
833f13f414
Remove YDB connections.
2019-07-25 10:35:19 -03:00
Matthew Chen
4a7e3532e7
Remove YDB connections.
2019-07-25 10:25:45 -03:00
Matthew Chen
9505c38b3b
Fix edge cases around key-value store.
2019-07-25 10:07:28 -03:00
Matthew Chen
a3f3b164d4
Remove YDB connections.
2019-07-24 16:12:13 -03:00
Matthew Chen
77b9500154
Convert interactions to BaseModel.
2019-07-19 15:25:28 -03:00
Matthew Chen
33eb9648f5
Respond to CR.
2019-07-19 14:39:47 -03:00
Matthew Chen
098d1097ce
Convert interactions to BaseModel; persist outgoing message state.
2019-07-19 14:39:47 -03:00
Michael Kirk
644e3059c9
SMK vs. UUID
2019-07-17 09:23:29 -06:00
Michael Kirk
61949dda9d
Merge branch 'release/2.41.0-with-uuid-address-unreverted' into mkirk/ri-2.41.0
2019-07-16 18:00:24 -06:00
Michael Kirk
1f31103cba
Revert "Revert "Merge branch 'mkirk/stub-uuid-receive'""
...
This reverts commit f143c693b3 .
2019-07-16 17:45:35 -06:00
Michael Kirk
9f046c5a82
adapt to lossless certs
2019-07-16 15:57:54 -06:00
Nora Trapp
1fab5c7560
Fix tests
2019-07-16 13:02:27 -07:00
Matthew Chen
e0b63bfd87
Respond to CR.
2019-07-16 13:50:22 -03:00
Nora Trapp
ef4a612fcf
No more transitional_signalServiceAddress
2019-07-11 10:53:33 -07:00
Nora Trapp
a323ff4ddf
No more transitional_phoneNumber
2019-07-11 10:52:13 -07:00
Michael Kirk
a89baa670e
DeliveryStateMap vs. Address
2019-07-10 19:43:10 -06:00
Nora Trapp
3c33f276f7
Maintain a SignalServiceAddress cache to allow for isEqual implementation
2019-07-10 13:27:36 -07:00
Nora Trapp
b9bb444276
Add UUID support to groups
2019-07-10 13:27:36 -07:00
Nora Trapp
761ce29428
Fix tests
2019-07-10 12:45:30 -07:00
Nora Trapp
c186755c66
Migrate IdentityManager and associated models to support UUIDs
2019-07-08 11:44:40 -07:00
Michael Kirk
aa46885839
fixup account manager tests
2019-07-03 15:31:34 -05:00
Nora Trapp
d469f9c540
Fix some typos
2019-07-02 11:19:50 -07:00
Nora Trapp
7b914c757f
Fix tests
2019-07-02 11:19:50 -07:00
Michael Kirk
efafd6fb38
Create UUID message in DebugUI, rendering in homeview
...
ContactAvatarBuilder works with SignalServiceAddress
Currently this only functions with the GRDB adapter. There are other asserts
triggered in yap extensions.
2019-07-01 10:16:23 -06:00
Matthew Chen
f143c693b3
Revert "Merge branch 'mkirk/stub-uuid-receive'"
...
This reverts commit 4ba65bc7ea , reversing
changes made to 70d97e11c5 .
2019-06-28 09:52:18 -04:00
Michael Kirk
0c944fe9f4
Incoming message has authorAddress
2019-06-27 14:22:13 -06:00
Nora Trapp
7d94af3287
Migrate TSContactThread to support UUIDs
2019-06-27 13:12:52 -07:00