Commit Graph

30290 Commits

Author SHA1 Message Date
Max Radermacher
f4c8a6b770 Fix size of “scroll to mention” button 2023-02-13 15:27:46 -08:00
Max Radermacher
9e3b5a06fc
Use LibSignalClient for Device Transfer certs
Co-authored-by: Jordan Rose <jrose@signal.org>
Co-authored-by: Pete Walters <pete@signal.org>
2023-02-13 14:16:18 -08:00
Max Radermacher
272093e5f2
Fix device limit exceeded error handling 2023-02-13 13:45:26 -08:00
Max Radermacher
56154557dd
Add isStructurallyValidE164
This merges & replaces `resemblesE164:` and `isValidE164`.

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2023-02-13 13:45:00 -08:00
Ehren Kret
cde10a000a fix lint warnings 2023-02-13 15:24:52 -06:00
Ehren Kret
3de04afdcd making shadow warnings into errors 2023-02-13 15:24:52 -06:00
Ehren Kret
87b8c36e69 eliminate variable shadowing in some nested transaction write blocks 2023-02-13 15:24:52 -06:00
Ehren Kret
f9a9484874 remove causes of variable shadowing 2023-02-13 15:24:52 -06:00
Ehren Kret
482973fafd do not use same variable for inner for loop as outer 2023-02-13 15:24:52 -06:00
Ehren Kret
8d592857dd rename variables to eliminate shadowing 2023-02-13 15:24:52 -06:00
Ehren Kret
7418f04308 rename variable to eliminate shadowing 2023-02-13 15:24:52 -06:00
Ehren Kret
8a04a8339e clarify variable name to eliminate shadowing 2023-02-13 15:24:52 -06:00
Ehren Kret
ace91b94fc remove unneeded variable that was shadowing another 2023-02-13 15:24:52 -06:00
Ehren Kret
ad0dc54271 rename variable causing shadowing 2023-02-13 15:24:52 -06:00
Max Radermacher
2f0bc4a690
Require a serviceId for storage service contacts 2023-02-13 12:44:45 -08:00
Max Radermacher
90769ea381
Swiftify OWSDeviceProvisioner 2023-02-13 12:12:16 -08:00
Sasha Weiss
332880c57e
Build username selection table contents in viewWillAppear 2023-02-13 11:42:07 -08:00
Max Radermacher
a47425f008
Use AES-GCM & AES-CTR from LibSignalClient 2023-02-13 11:29:41 -08:00
Max Radermacher
db2678e86b
Filter storage service contacts more consistently 2023-02-13 10:48:54 -08:00
Max Radermacher
1a0efe6fbb Don’t mark recipients without a UUID as registered 2023-02-13 10:46:18 -08:00
Max Radermacher
c0850c5a26 Check for corruption in SDSRecord update/insert 2023-02-13 10:45:32 -08:00
Max Radermacher
4482b8d278 Fix “New Message” shortcut on a cold start 2023-02-13 10:45:04 -08:00
Max Radermacher
aa43d78815 Clean up OWSHTTPError.errorUserInfo 2023-02-13 10:44:23 -08:00
automated-signal
acb79de63c "Bump build to 6.13.0.3." (nightly-02-11-2023) 2023-02-11 04:00:34 -08:00
Max Radermacher
5259866822
Delete invalid storage service identifiers 2023-02-10 18:03:08 -08:00
Max Radermacher
c13ebc7482
Consolidate storage service code 2023-02-10 17:58:51 -08:00
Pete Walters
9c8e74bd6b
Update LibSignalClient to v0.22.2 2023-02-10 18:39:59 -06:00
Max Radermacher
9a4bb85c44 Fix text story sharing from the share extension 2023-02-10 15:54:37 -08:00
Max Radermacher
0b10138c5a
Send sync request messages once per version 2023-02-10 10:24:41 -08:00
Max Radermacher
135074b570 Verify IAS certificates using LibSignalClient 2023-02-10 10:23:50 -08:00
Sasha Weiss
18d8a2cccf
Specific error for trying to search for invalid username 2023-02-10 09:44:54 -08:00
Evan Hahn
f8b0d32d13
Fix incorrect function name causing compile failure
I messed this up in b2866931bf which
caused compilation failures.
2023-02-10 08:39:01 -06:00
Evan Hahn
b2866931bf
Add new registration nav controller and permissions screen (dormant) 2023-02-10 08:32:30 -06:00
automated-signal
3fa1bce228 "Bump build to 6.13.0.2." (nightly-02-10-2023) 2023-02-10 04:00:31 -08:00
Max Radermacher
0777d28d0e Update LibSignalClient to v0.22.1 2023-02-09 13:57:20 -08:00
Max Radermacher
3c0c309048
Ignore update/delete requests that are empty
This isn’t required for correctness; it’s a performance optimization.
2023-02-09 13:51:04 -08:00
Max Radermacher
bfe1ec6081 Update CDSv2 MrEnclave 2023-02-09 11:41:28 -08:00
Harry
79fdf07723
Add registration create account, change number, and check kbs credential requests
* Add registration create account, change number, and check kbs credential requests

* some more comments

* pr comments

* Add authentication fields to create account request
2023-02-09 10:11:29 -08:00
Evan Hahn
1b8133cdd3 Rename "Pastelog" to "DebugLogs"
*I recommend reviewing this with whitespace changes disabled.*

This change should have no user impact. I think the name "Pastelog" is
confusing, and we should call it something else.

Neither `git grep --ignore-case pastelog` nor
`git ls-files | grep --ignore-case pastelog` have any results after this
change.
2023-02-09 09:42:48 -08:00
automated-signal
afc4c12c4d "Bump build to 6.13.0.1." (nightly-02-09-2023) 2023-02-09 04:00:38 -08:00
Max Radermacher
412cf1e71f Remove unused storage service test code 2023-02-08 19:19:27 -08:00
Sasha Weiss
e042544244
Fix unformatted format string for username-too-short 2023-02-08 17:11:19 -08:00
Sasha Weiss
ff9d4b61a5
Update copy for recent photos without photos access 2023-02-08 17:08:46 -08:00
Sasha Weiss
4b549f9e92
Ensure icon is recreated when cell is regenerated, to get right color 2023-02-08 16:11:48 -08:00
sashaweiss-signal
e3a9949628 Fix variable names 2023-02-08 16:05:45 -08:00
sashaweiss-signal
942056bcad Update Pods commit 2023-02-08 16:04:36 -08:00
Sasha Weiss
bcfd291f9c
Add support for username hashing 2023-02-08 16:02:02 -08:00
Harry
fc4ec188e8
Implement RegistrationSessionManager
* Add RegistrationSession object

* Add RegistrationSessionManager protocol

* Add skeleton RegistrationSessionManagerImpl - just kvstore persistence implemented

* Issue requests in RegistrationSessionManagerImpl

* let tests access the in memory kv store

* Add TSRequestOWSURLSessionMock. Rename OWSURLSessionMock

* Add DateProvider

* Take a dateProvider in RegistrationSessionManagerImpl

* Add tests for RegistrationSessionManager

* pre-emptively update timeout for tests. will remove once promise Scheduler code is merged

* PR comments

* Use Schedulers
2023-02-08 15:37:12 -08:00
Max Radermacher
d879a3e377 "Bump build to 6.13.0.0." (nightly-02-08-2023) 2023-02-08 14:36:38 -08:00
Max Radermacher
8e1855033e Update translations 2023-02-08 14:36:03 -08:00