Commit Graph

78 Commits

Author SHA1 Message Date
andrew-signal
80c96254c5
Use libsignal's API for lookupUsernameLink 2026-02-11 18:30:52 -05:00
Sasha Weiss
d267ec8305
Run swiftformat . 2025-12-30 11:34:05 -08:00
Max Radermacher
0977510e1f
Throw OWSHTTPError for unexpected status codes 2025-11-25 09:32:58 -06:00
Max Radermacher
32b7c92a9c
Use Cron for periodic username check 2025-11-20 22:19:39 -06:00
Pete Walters
1716016d28
Remove some shims 2025-11-13 19:54:23 -06:00
Sasha Weiss
cf251690b4
Uniquify usernames case-insensitively 2025-11-06 13:26:49 -08:00
Sasha Weiss
a12b8cbb08
Make UsernameLookupRecord unique by username 2025-10-31 12:57:05 -07:00
Sasha Weiss
7ddd3ca9fa
Avoid Any?-typed responseBodyJson for all but one caller 2025-10-24 12:57:56 -07:00
Sasha Weiss
30b6604d73
Modernize HTTPResponse 2025-10-23 16:02:01 -07:00
Jordan Rose
79adaddd0b Adopt libsignal's "typed API" for username lookup 2025-09-08 18:24:33 -07:00
Max Radermacher
0ee384908e
NO MORE REST 2025-08-27 18:09:16 -05:00
Max Radermacher
28acee4e9b Flag registration requests that will use sockets 2025-07-30 16:44:42 -05:00
Max Radermacher
39724bb08c
Remove TestScheduler & Schedulers 2025-07-17 18:11:27 -05:00
Max Radermacher
8b6a1697d8
Validate identity when receiving a 422 error 2025-07-01 09:11:08 -05:00
Harry
fe4b14e8ea
Use ConcurrentTaskQueue(concurrentLimit: 1) in place of SerialTaskQueue where possible 2025-06-26 15:23:13 -07:00
Max Radermacher
bb2d89e55a
Update to LibSignal v0.75.0 2025-06-17 14:02:29 -05:00
Max Radermacher
3a6d34d73d
Asyncify username methods 2025-05-01 19:41:17 -05:00
Max Radermacher
5acf0c273f
Use Preconditions for waitForFetchingAndProcessing 2025-04-28 18:14:19 -05:00
Max Radermacher
a819bb4dac
Convert TSRequest to a struct 2025-04-10 12:49:35 -05: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
Max Radermacher
95c18efb2d
Consolidate TSRequest auth into a single type 2025-03-13 13:35:35 -05:00
Ehren Kret
3ec357d2a8
convert LocalUsernameManager from promises to async-await 2025-02-14 09:48:50 -06:00
Pete Walters
515b5f1a28
Add support for supplying explicit credentials to storage service request 2025-02-11 10:26:52 -06:00
Ehren Kret
0a5677997e
remove NSDate OWS objc category 2025-02-05 11:06:42 -06:00
Max Radermacher
6f02723dbb
Use the web socket where easily possible 2025-01-21 12:26:39 -06:00
Max Radermacher
b7dedf2c0d
Remove last remnants of OWSUserProfile caching 2025-01-08 21:15:10 -06:00
Sasha Weiss
1b5e457b20
Move WhoAmI request making into a dedicated type 2025-01-03 11:07:16 -08:00
Sasha Weiss
b67656ebfe
One QR code generator to rule them all 2024-12-16 11:02:30 -08:00
Marissa Le Coz
c2d2629316
[Quick Restore] Add new QR code screen for registration 2024-12-09 14:29:49 -05:00
Sasha Weiss
2000b82c0b
One KeyValueStore to rule them all 2024-11-15 18:47:54 -06:00
Max Radermacher
c3cd9f13cc
Clean up some noisy lines 2024-11-01 17:33:38 -05:00
Max Radermacher
7c771b5d05
Remove handling for HTTP 413 errors 2024-10-24 13:42:48 -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
Harry
98e4b143ea
Add database connection access method to db v2 transactions 2024-10-04 16:10:47 -07:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Harry Sanabria
044f277a28 Pass AppReadiness instance to a ton of classes that need to retain it as an instance var 2024-09-27 15:03:52 -07:00
Harry
fd0a34909e
Add non-global AppReadiness protocol + impl 2024-09-27 12:36:15 -07:00
Ehren Kret
12ce531f8e eliminate AnyPromise 2024-09-23 15:01:23 -05:00
Sasha Weiss
22c72f5973
Mark the username link as corrupted if LibSignal fails to decrypt it 2024-07-16 14:53:24 -07:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Max Radermacher
4cdae7175f
Stop using NSKeyedArchiver in SignalAccounts 2024-04-02 13:48:57 -05:00
Max Radermacher
0a24b7b357
Clean up recipient searches 2024-03-07 11:57:45 -06:00
Ehren Kret
e3d993c62d move lonely Usernames extension from SignalMessaging to SignalServiceKit 2024-03-06 12:47:06 -06:00
Sasha Weiss
abbb4e756c
Add specific errors for attempting to mutate usernames and getting a network error 2024-02-16 10:25:32 -08:00
Elaine
66e1f4cebf
New username QR code share images 2024-01-23 11:08:45 -07:00
Sasha Weiss
674430f9a0
Add error log lines to LocalUsernameManager 2024-01-22 19:13:01 -05:00
Pete Walters
a8f70c7d60
Fix tests 2024-01-19 10:42:49 -06:00
Sasha Weiss
0379fb3d74
Consult reachability before making username mutation requests 2024-01-18 15:41:47 -08:00
Sasha Weiss
6b5ce3690f
Add support for changing visible username case 2024-01-18 11:13:18 -08:00