Commit Graph

14 Commits

Author SHA1 Message Date
Sasha Weiss
d267ec8305
Run swiftformat . 2025-12-30 11:34:05 -08:00
Sasha Weiss
30b6604d73
Modernize HTTPResponse 2025-10-23 16:02:01 -07:00
Sasha Weiss
4956a47587
Significantly slim OWSHTTPError 2025-08-08 11:32:58 -07:00
Max Radermacher
5f05327000 Remove promiseForTSRequest method 2025-07-22 08:47:50 -05:00
Max Radermacher
39724bb08c
Remove TestScheduler & Schedulers 2025-07-17 18:11:27 -05:00
Max Radermacher
a819bb4dac
Convert TSRequest to a struct 2025-04-10 12:49:35 -05:00
Max Radermacher
8029e258f7
Rename OWSHttpHeaders → HttpHeaders 2025-03-21 13:52:25 -05:00
Pete Walters
f4ad46f176
Clean up Upload error handling 2025-01-27 11:04:58 -06:00
Max Radermacher
7bfe049f30
Improve URLSession error handling 2024-12-02 15:17:19 -06:00
Max Radermacher
f05a76bcaa
Add cancellation support to http requests 2024-11-04 14:16:44 -06:00
Pete Walters
3e3e0e5acf
Add manager to periodically validate usernames 2023-03-14 09:56:08 -05:00
Harry
cd63f67b3e
Retry most network failures in RegistrationCoordinator
* Retry most network failures in RegistrationCoordinator

* Update the way we identify network errors to be more flexible

* Retry remaining requests

* Automatically retry registration requests if time intervals are short

* fix error types not compiling on kbs

* Add test for reg recovery password reg with retries

* fix extra t
2023-02-17 14:50:54 -08:00
Harry
a23d469aac
Finish registration in RegistrationCoordinator
* Finish registration in RegistrationCoordinator

* Get tests to compile again (but not pass)

* Tests passing again

* Test session happy path all the way through to completion

* Test KBS auth credential happy path all the way through to completion

* Test KBS reg recovery password happy path all the way through to completion

* PR comments
2023-02-16 17:21:21 -08:00
Harry
3d6225060d
Add RegistrationCoordinator
* Add ability to compute registration recovery password

* Add RegistrationCoordinator

* remove repeat nav controller that evan added

* Scaffolding for RegistrationCoodinator test

* Add first round of RegistrationCoordinator tests, some stuff I needed to get them working, and some fixes to RegistrationCoordinator itself I discovered thanks to the tests

* switch to owsFailBeta

* Add auth credential candidate flow tests, related fixes and additions to coordinator and friends

* Add tests for session based registration path and associated fixes

* PR comment nits
2023-02-14 08:50:24 -08:00