Commit Graph

51 Commits

Author SHA1 Message Date
Max Radermacher
1d97c10767
Handle responseTooLarge when fetching avatars 2024-08-20 14:47:50 -05:00
Sasha Weiss
853bf45b8a
Split TSInfoMessage+Swift into extension files 2024-08-14 16:51:00 -07:00
Sasha Weiss
0d17a073e2
Enable ComparableBackup check in ExpirationTimerChatUpdate test 2024-08-13 10:53:06 -07:00
Max Radermacher
b36195157f
Asyncify gv2 restore operation 2024-08-12 13:17:13 -05:00
Max Radermacher
acf50c3559
Reformat code related to message requests 2024-08-12 11:46:41 -05:00
Sasha Weiss
6c44bf955e
Fixes for restoring a Group from Backups 2024-08-07 14:57:02 -07:00
Ehren Kret
5c405b4981 convert ContactsManagerProtocol from objc to swift 2024-08-06 09:14:11 -05:00
Ehren Kret
3f04087244 replace Cryptography.computeSHA256Digest with CryptoKit.SHA256.hash(data:) 2024-08-05 12:29:18 -05:00
Ehren Kret
8db47c5f62 inline Cryptography.generateRandomBytes 2024-08-01 15:33:26 -05:00
Ehren Kret
fa1cef674c
migrate Randomness to swift 2024-08-01 13:26:07 -05:00
Max Radermacher
1528a4a969
Remove unused code from generated proto files 2024-08-01 12:17:05 -05:00
Max Radermacher
2344354d2b
Consolidate “download too large” code 2024-07-25 02:37:38 -05:00
Max Radermacher
624786b1c8
Asyncify code to “send” group update messages 2024-07-25 02:28:04 -05:00
Max Radermacher
57016de8ac
Asyncify group update methods 2024-07-25 02:22:11 -05:00
Max Radermacher
f0d0e43060
Asyncify group avatar downloads 2024-07-25 02:17:58 -05:00
Max Radermacher
664b7781fe
Asyncify GroupV2Updates 2024-07-25 02:17:01 -05:00
Max Radermacher
a56b9e9be5
Pass around GroupSecretParams instead of Data 2024-07-25 02:12:07 -05:00
Max Radermacher
f3423d64f8
Move some GroupsV2 methods to better places 2024-07-25 02:02:32 -05:00
Sasha Weiss
e20be373df
Update init args for OWSDisappearingConfigUpdateInfoMsg 2024-07-16 09:34:39 -07:00
Sasha Weiss
8ae61d1e9e
Require a TSContactThread to insert a DM-timer-change info message 2024-07-15 10:02:39 -07:00
Sasha Weiss
bffc980d53
Clean up disappearing message timer methods in GroupManager 2024-07-11 10:10:38 -07:00
Adam Sharp
34a8cf2bda
Rename owsAssert to owsPrecondition 2024-07-09 10:42:56 -04:00
Adam Sharp
3a3f6b850e
Fix integer conversion warnings 2024-07-01 15:20:17 -04:00
Max Radermacher
485810c52a
Clean up some Storage Service GV2 code 2024-06-28 17:45:35 -05:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Sasha Weiss
11e9404d76
Add ThreadSoftDeleteManager 2024-06-04 14:58:58 -07:00
Sasha Weiss
2c5f47e95e
Consolidate similar InteractionFinder methods 2024-06-04 14:55:36 -07:00
Sasha Weiss
0f4289fc73
Replace interaction anyRemove with InteractionDeleteManager 2024-06-04 14:51:52 -07:00
Adam Sharp
c675ec09c7
Resolve designated initializer warnings in SignalServiceKit 2024-05-28 10:47:15 -04:00
Max Radermacher
fa48dd4b5d
Fix LocalProfileChecker avatar mismatch handling 2024-05-07 17:04:54 -05:00
Max Radermacher
6f4fbd37cb
Fetch profiles in the NSE 2024-05-02 15:32:14 -05:00
Pete Walters
c88fbfa731
Use PNI to resolve pending invites when joining by link. 2024-05-01 13:51:53 -05:00
Pete Walters
cb45747191
Update canary to handle PNI users joinging by link requiring approval 2024-05-01 13:51:22 -05:00
Sasha Weiss
b9852224d8
Backup/Restore local group state 2024-04-29 13:49:51 -07:00
Ehren Kret
b63a2d6bf4 migrate NSData+Image to swift 2024-04-26 05:24:55 -05:00
Sasha Weiss
a1eb3d145a
Specify seconds in DM timer construction 2024-04-25 14:08:47 -07:00
Max Radermacher
dd42e10e88
Smoosh together various places that fetch profiles 2024-04-23 15:22:37 -05:00
Max Radermacher
456f2037ee
Stop putting kLocalProfileUniqueId in addresses 2024-04-23 13:58:27 -05:00
Ehren Kret
5068cd3782 finish migrating UIImage+OWS to swift 2024-04-23 07:47:47 -05:00
Sasha Weiss
f1f4e6977d
Do away with ensureGroupIdMapping 2024-04-19 15:46:18 -07:00
Sasha Weiss
d8627324fa
Require a V2 group model for group creation 2024-04-19 15:37:45 -07:00
Pete Walters
ec9ce653a9
Joining by link can result in a group change action with a PNI 2024-04-18 13:30:25 -05:00
Max Radermacher
bc74ec3953
Tweak or remove redundant/noisy info lines 2024-04-16 19:37:25 -05:00
Max Radermacher
972bb6d37a
Tweak some info and warning lines 2024-04-16 18:10:49 -05:00
Ehren Kret
fd94424be0 start migrating MIMETypeUtil to swift 2024-04-11 22:19:16 -05:00
Max Radermacher
22c254eecd
Rename NotificationPresenter-related types 2024-04-11 18:45:25 -05:00
Jordan Rose
b0de59f2e2 Remove required from every init that is not dynamically dispatched
This included:
- Removing unavailable inits wholesale if no longer `required`
- Marking a few classes `final` so they could continue using
  `Self(...)` rather than `OWSWhatever(...)`
2024-04-01 15:27:20 -07:00
Harry
4059335aac
Use PreparedOutgoingMessage for all transient message enqueuing 2024-03-28 10:36:24 -07:00
Jordan Rose
2727a70b90 Make AtomicValue's lock-sharing explicit
Also:
- Remove AtomicUInt's @objc, it's no longer used from ObjC
- Remove Codable conformances, they would implicitly use shared locks
  and weren't used in practice
2024-03-27 10:57:32 -07:00
Max Radermacher
0d8166682d
Run clang-format on SignalServiceKit/ files 2024-03-27 12:27:06 -05:00