Ivan Smolin
23c17c9d85
feat: Added flatMap operator for AsyncOperation
...
CodableKeyValueStorage now returns Swift.Result with typed errors.
SingleValueExpirationStorage for time aware entries (expirable api tokens, etc.)
AsyncOperation variants of process methods in NetworkServices.
2023-06-09 10:00:12 +03:00
Ivan Smolin
83a3e5b491
build: fix swiftlint issues
2023-05-26 16:07:40 +03:00
Ivan Smolin
7b9e8b0885
feat: add RecoverableErrorType typealias to DefaultRecoverableNetworkService
2023-05-26 10:49:17 +03:00
Ivan Smolin
43a12e322f
feat: add TIKeychainUtils playground with SingleValueStorage examples
2023-05-24 15:50:59 +03:00
Ivan Smolin
5ca564476a
feat: `SingleValueStorage` implementations + `AppInstallLifetimeSingleValueStorage` for automatically removing keychain items on app reinstall.
...
`DefaultRecoverableJsonNetworkService` supports iOS 12.
2023-05-24 10:57:17 +03:00
Ivan Smolin
6358386303
feat: added HTTP status codes to `EndpointErrorResult.apiError` responses
2023-05-19 16:30:37 +03:00
Ivan Smolin
ba929fd344
fix: code review notes
2022-12-07 11:05:16 +03:00
Ivan Smolin
2a89de15e3
feat: - Added: BaseTextAttributes can now measure text size and provides paragraph style configuration API.
...
- Removed: ViewText. Was fully replaced with BaseTextAttributes
- Fixed: Operation.flattenDependencies used in Operation.add(to:waitUntilFinished:) now works correctly.
- Added: Now it's possible to add dependent operation to start of the queue.
2022-12-03 22:55:08 +03:00
Ivan Smolin
9828284c20
feat: Asynchronous request preprocessing
2022-06-28 11:13:31 +03:00
Ivan Smolin
8fc1ebab77
feat: ApiInteractor, TokenInterceptor, FingerprintsTrustEvaluator and more
2022-06-17 10:43:35 +03:00
Ivan Smolin
784743082d
feat: add request preprocessor for OpenAPI security requirements
2022-06-10 14:53:51 +03:00
Ivan Smolin
9230450bb7
fix: code review notes
2022-06-08 13:58:15 +03:00
Ivan Smolin
3d3d94412a
feat: Add presenter protocols to `TISwiftUICore` and `TIUIKitCore` modules
...
Add `CodeConfirmPresenter` protocol and `DefaultCodeConfirmPresenter` implementation in `TIAuth` module
2022-06-02 15:33:29 +03:00
Timur Kayumov
cfa80a3747
feat: add error forwarding from error handlers
2022-05-20 03:36:48 +02:00
Ivan Smolin
532e54fe9e
feat: Network services in TIMoyaNetworking now passes MoyaError in result of EnpointRequest execution.
...
feat: TINetworkingCache module - caching results of EndpointRequests.
2022-04-15 14:21:28 +03:00
Ivan Smolin
98f55093ac
feat: add [Date] coding methods
2022-04-07 20:25:08 +03:00
Ivan Smolin
10ec9408ad
feat: Change access modifiers in `DefaultJsonNetworkService` from `public` to `open`, added additional Moya plugins processing
...
add `DisplayDecodingErrorPlugin` for showing developer-frendly decoding error messages
add Gemfile for cocoapods versioning
2022-04-06 20:57:55 +03:00
Ivan Smolin
ab4faa2868
fix: add TIFoundationUtils dependency to TIMoyaNetworking module
2022-04-01 15:15:09 +03:00
Ivan Smolin
692f448b46
fix: remove TIFoundationUtils imports from TIMoyaNetworking
2022-04-01 14:44:21 +03:00
Ivan Smolin
db81ff7567
fix: Try parse date in ISO8601 format appending `.withFractionalSeconds` if `.withInternetDateTime` fails
2022-04-01 13:14:55 +03:00
Ivan Smolin
5f551fd799
feat: conform Cancellables to CancellableTask
2022-03-31 21:02:57 +03:00
Ivan Smolin
0ad47b3f34
fix: DefaultRecoverableNetworkService `request` parameter was renamed to prevent ambgious reference
2022-03-29 21:20:15 +03:00
Ivan Smolin
f0f29a4464
fix: recursive call of process(request:errorHandlers:mapMoyaError)
2022-03-29 12:47:41 +03:00
Ivan Smolin
7def493512
feat: EndpointRequest Body can take a nil value as well as Parameter value
2022-03-29 11:43:13 +03:00
Ivan Smolin
b42fcd596f
refactor: use default server from network service, simplify recoverable requests
2022-03-05 19:41:50 +03:00
Ivan Smolin
b52dd87f55
feat: AdditionalHeadersPlugin for Moya
2022-03-04 17:55:20 +03:00
Ivan Smolin
203e2e9091
feat: ISO8601 DateFormattersReusePool
2022-03-04 17:26:04 +03:00
Ivan Smolin
aa2dc3880e
feat: add SuccessResponse generic argument to EndpointRequest
2022-03-04 12:18:15 +03:00
Ivan Smolin
27c2897b60
feat: add recoverable network service with error handling chain
2022-02-25 14:50:04 +03:00
Ivan Smolin
6cf16b74a7
feat: add TIMoyaNetoworking target; async closure typealiases to TISwiftUtils; Date formatting & decoding helpers to TIFoundationUtils
2022-02-18 22:26:09 +03:00