Commit Graph

11848 Commits

Author SHA1 Message Date
Max Radermacher
4e54aaa91f Update story integration tests to match reality 2025-04-17 17:10:06 -05:00
Max Radermacher
aade0b7af1 Fix crash when importing non-empty “My Story”s 2025-04-17 17:10:06 -05:00
Harry
3c04ce744f
TSAttachment migration logging/error handling improvements 2025-04-16 14:16:42 -07:00
Max Radermacher
da89ad2157
Improve performance enumerating message batches 2025-04-16 15:10:41 -05:00
Max Radermacher
a20103010b
Clean up OrderedSet 2025-04-16 11:41:16 -05:00
Harry
da09995c1b
Do not treat 1x1 images as stickers 2025-04-15 16:13:55 -05:00
Harry
e80785c72a
Fix link preview showing failed icon when downloading image 2025-04-14 14:32:38 -07:00
Max Radermacher
27aa632970
Don’t show “60m” for messages that are an hour old 2025-04-14 15:46:40 -05:00
Max Radermacher
17b7097c22
Clean up DebouncedEvents 2025-04-14 13:34:31 -05:00
Max Radermacher
97e9d9bda7
Remove TSContactThread’s use of legacyAddress 2025-04-14 13:11:35 -05:00
Max Radermacher
93e9cb5ebf
Remove a few calls to legacyAddress 2025-04-14 13:11:19 -05:00
Max Radermacher
1209f54471
Remove redundant cache check in sticker download 2025-04-14 13:10:59 -05:00
Pete Walters
c66555cb99
Remove unused method 2025-04-14 09:46:48 -07:00
Max Radermacher
0c12848d28
Allow profile reuploads to modify the profile 2025-04-11 16:08:38 -05:00
Max Radermacher
5414493ee8
Remove unused uninstallSticker parameter 2025-04-11 13:29:10 -05:00
Max Radermacher
a819bb4dac
Convert TSRequest to a struct 2025-04-10 12:49:35 -05:00
Max Radermacher
660103274e
Re-warm caches each time the NSE is triggered 2025-04-10 11:42:06 -05:00
Max Radermacher
90e9d905e4
Use the most recent preview when joining via link 2025-04-10 11:14:39 -05:00
Max Radermacher
bab77a5101
Retry joins via invite links when conflicts occur 2025-04-10 11:12:10 -05:00
Max Radermacher
dad286b4e3
Batch sender key “sent” updates 2025-04-10 10:38:53 -05:00
Max Radermacher
26035a05bd
Asyncify setShouldAllowUnrestrictedAccessLocal 2025-04-10 02:15:49 -05:00
Max Radermacher
409b1c2e53
Sort remote configs 2025-04-10 02:15:18 -05:00
Sasha Weiss
a266fce7c4
Move TSGroupThread.fetch(groupId:transaction:) to Swift 2025-04-09 13:38:30 -07:00
Sasha Weiss
420f23dd12
Add and use BackupSettingsStore 2025-04-09 13:38:18 -07:00
Jordan Rose
abe5f8709e OWSChatConnection: Don't race connection setup with sending requests
The connection isn't ready to use until start(listener:) is called,
but that was happening *after* the connecting Task completed. Now the
Task waits to sync with the serial queue before letting any sends
through.
2025-04-09 13:30:27 -07:00
Max Radermacher
91633bd970
Upgrade SwiftProtobuf to v1.29.0 2025-04-09 11:59:02 -05:00
Max Radermacher
2d0f5de707
Don’t wait for group messages before NSE fetches 2025-04-09 11:23:50 -05:00
Elaine
cd96dad262
Block avatar downloads from message requests 2025-04-08 17:55:50 -06:00
Jordan Rose
3e8b4b935c Enable libsignal-for-chat for everybody
Can be controlled by adding remote config "ios.useLibsignalForChat".
2025-04-08 16:08:43 -07:00
Max Radermacher
ec25806bb0
Move DeviceSleepManager to the main app 2025-04-08 16:10:23 -05:00
Max Radermacher
f15537472d
Use clampedNanoseconds where it’s useful 2025-04-08 15:30:36 -05:00
Max Radermacher
c742b2c745
Guard against too many group changes 2025-04-08 13:03:43 -05:00
Pete Walters
ac9d3e9afe
Fix tests for xcode 16.3 2025-04-08 12:50:42 -05:00
Jordan Rose
cd5881a2bf OWSChatConnection: Avoid repeatedly cycling the libsignal socket
Previously, if three requests timed out at once, the libsignal socket
would be cycled three times. Now that'll only happen once.
2025-04-08 09:42:56 -07:00
Jordan Rose
a03b77a98b OWSChatConnection: De-promisify libsignal requests
There *is* a functionality change here: handling of responses and
request errors no longer jumps to the OWSChatConnection serial queue.
None of the processing done in either the success or failure case
cares what queue it's on, and because of the use of async there were
already no guarantees about the order of enqueues.

Groundwork for the next commit.
2025-04-08 09:42:56 -07:00
Max Radermacher
eae33c823d
Use Retry.performWithBackoff for pre key rotations 2025-04-07 23:05:30 -05:00
Max Radermacher
6b57c58989
Don’t throw assertions when the app is expired 2025-04-07 22:59:55 -05:00
sashaweiss-signal
0ddbf31a86 Remove two unused-beyond-test inits for Subscription.ChargeFailure 2025-04-07 13:55:15 -07:00
Sasha Weiss
ea7488ebff
Deprotocolize BackupSubscriptionManager 2025-04-07 12:53:23 -07:00
Sasha Weiss
969b0db854
Add SubscriptionFetcher, decoupled from donations 2025-04-07 12:52:44 -07:00
Max Radermacher
dc2400a834
Don’t fan out on GSE fetch network errors 2025-04-04 22:10:21 -05:00
Max Radermacher
da4eb85490
Asyncify PendingTasks 2025-04-04 22:09:43 -05:00
Max Radermacher
f8b3e6a895
Fix sleep blocking during backups/restores 2025-04-04 21:58:24 -05:00
Max Radermacher
9d2927724a
Use relativeString instead of relativePath 2025-04-04 18:36:20 -07:00
Max Radermacher
9b1d532741
Fixed nested retries in GV2 code 2025-04-04 17:45:10 -05:00
Max Radermacher
9dea8d0893
Use Retry.performWithBackoff for GV2 requests 2025-04-04 17:44:22 -05:00
Jordan Rose
9d6bd793eb When writing a debug log, repeat logs about the local app state
Both the app version logs and the local ACI+device ID are logged as
part of app startup, this just repeats them in a more convenient place
(the very end of the log file).
2025-04-04 14:58:41 -07:00
Sasha Weiss
26ed870ab3
Add BackupSettingsViewController, largely unimplemented 2025-04-04 11:45:43 -07:00
Chris Eager
e3bd4f1a53
improve regional networking options 2025-04-04 13:01:07 -05:00
Sasha Weiss
ec45bb395b
Deprotocolize MessageBackup archivers and related impl-only types 2025-04-04 09:26:08 -07:00