Commit Graph

264 Commits

Author SHA1 Message Date
Max Radermacher
c7189698b2
Fix caching for the most recent group fetch date 2025-09-10 14:46:24 -05:00
Harry
dcd8a6fa2d
Fix expected emission count in OWSProgressTest.testTwoLayers 2025-09-04 14:00:48 -07:00
Max Radermacher
4c44be7a6a
Adjust message padding 2025-09-04 10:49:31 -05:00
Max Radermacher
10d51043cf
Start adopting account existence check 2025-08-27 12:13:05 -05:00
Harry
7faaf2c9a2
OWSProgress improvements 2025-08-15 20:08:48 -07:00
Sasha Weiss
7306c76e7a
Consolidate OWSDevice-related types and files 2025-08-07 15:52:10 -07:00
Sasha Weiss
7b55050830
Add already-passing test for ObjectRetainer 2025-08-04 15:06:16 -07:00
Harry
24f5e73633
Consolidate oversize text handling 2025-07-30 13:27:06 -07:00
Max Radermacher
922f2ab686
Adopt /v2/config 2025-07-18 11:41:27 -05:00
Max Radermacher
39724bb08c
Remove TestScheduler & Schedulers 2025-07-17 18:11:27 -05:00
Harry
b71f62e500
Fix OWSProgressTest flakes 2025-06-26 15:47:15 -07:00
Harry
89204698b3
Fix OWSProgressTest flakes 2025-06-16 18:53:05 -05:00
Max Radermacher
b0c183f9f4
De-protocolize/clean up AppExpiry 2025-06-02 15:24:04 -05:00
Max Radermacher
9952d0c64e
Asyncify AppExpiry (née remove TestScheduler use) 2025-05-30 14:33:15 -05:00
Max Radermacher
304ed3dfdb
Adjust upper bound of clampedNanoseconds 2025-05-29 20:10:12 -05:00
Max Radermacher
a5cbfd9684
Add better “recently processed” optimization 2025-04-22 18:24:12 -05:00
Max Radermacher
1a6a7ae223
Wait for profile names when showing notifications 2025-03-28 13:20:46 -05:00
Sasha Weiss
b136ee2ebd
Sync "default avatar colors" across devices 2025-03-20 15:18:11 -07:00
Sasha Weiss
bb048e8b59
One transaction type to rule them all and in the darkness bind them 2025-03-13 21:43:35 -07:00
Sasha Weiss
96a76065df
Performance improvements to import performance for messages 2025-02-19 11:48:25 -08:00
Max Radermacher
6ac078c370
Remove method that’s only used by unit tests 2025-02-14 01:32:29 -06:00
Ehren Kret
0a5677997e
remove NSDate OWS objc category 2025-02-05 11:06:42 -06:00
Pete Walters
f4ad46f176
Clean up Upload error handling 2025-01-27 11:04:58 -06:00
Harry
e7742ff04f
Include source progresses in OWSProgress 2025-01-17 10:37:36 -07:00
Max Radermacher
b32554cdc3
Don’t inherit SSKBaseTest where it’s not necessary 2025-01-16 18:17:18 -06:00
Max Radermacher
e110740ab3
Remove the bulk of OWSOperation 2024-12-18 13:57:04 -06:00
Harry
6073e5e05f
Use UInt64 instead of UInt32 for OWSProgress 2024-12-09 09:44:14 -06:00
Harry
08258d820a
Add OWSProgress utility to periodically update with a task and estimated completion time 2024-12-06 09:19:11 -08:00
Harry
41c47c1235
Add OWSProgress for be used for backup progress tracking 2024-12-06 09:18:30 -08:00
Max Radermacher
7bfe049f30
Improve URLSession error handling 2024-12-02 15:17:19 -06:00
Sasha Weiss
2000b82c0b
One KeyValueStore to rule them all 2024-11-15 18:47:54 -06:00
Adam Sharp
f19110add6 Add TSMutex to replace UnfairLock
Renames UnfairLock to TSMutex and refreshes its interface to remove methods
that are unused except in tests.

TSMutex has a generic parameter State that supports non-sendable and
non-copyable values. UnfairLock is a type alias of TSMutex<Void>.

The withLock() function is also no longer inherited from NSLocking, instead
being implemented to be similar to OSAllocatedUnfairLock's API.

Finally, the class is audited for sendability and compiles without warnings
under strict concurrency checking.
2024-11-15 16:31:03 -05:00
Harry
f149718964
Make backup media list endpoint handling more efficient 2024-10-25 11:09:51 -07:00
Pete Walters
d9e411208a
ChunkedInputStreamTransform performance improvements 2024-10-24 15:04:17 -05:00
Max Radermacher
07f3a0a2f7
Fix SerialTaskQueue 2024-10-18 02:46:11 -05:00
Ehren Kret
de32c7799d remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
Harry
ce5689dcb3
Remove MockDB in favor of InMemoryDB 2024-10-07 19:06:08 -07:00
Harry
ba2f10732e
Parametrize transaction type in DB v2 protocol 2024-10-04 16:12:52 -07:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Ehren Kret
a9792152fb remove FunctionalUtil 2024-09-23 15:01:18 -05:00
Ehren Kret
eefdcadf0b convert OWSError to swift 2024-09-23 15:01:18 -05:00
Ehren Kret
8476d64a01
remove NSData+OWS 2024-09-12 12:01:19 -05:00
Ehren Kret
1298bc414f migrate NSString+OWS to swift 2024-09-10 12:26:09 -05:00
Harry
b6a049a621
Reject link preview urls with unsafe characters in path 2024-08-21 11:59:27 -07:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder 2024-08-06 10:22:07 -07:00
Ehren Kret
8db47c5f62 inline Cryptography.generateRandomBytes 2024-08-01 15:33:26 -05:00
Adam Sharp
18a0d40d62 Fix various compiler errors in tests under Xcode 16 2024-07-03 11:29:37 -04: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
f55ba3682e
Exhaustively enumerate errors in ParamParser 2024-06-13 11:10:11 -07:00
Sasha Weiss
4a7be90003
Send support for DeleteForMe sync messages 2024-06-04 15:18:39 -07:00