Commit graph

36 commits

Author SHA1 Message Date
f4128a2875 Implemented checking if bank supports setting count max entries. Had to adjust Jackson serialization so that and not just JobParameters gets saved and restored and to implement a lot of default constructors for this 2022-02-07 00:18:07 +01:00
0e0a7b5207 Implemented filtering out duplicate transactions as some banks return some transactions multiple times in MT940 response 2022-02-07 00:18:06 +01:00
0f672f414b Fixed that when entering TAN is required chunkedResponseHandler got called for same handledResponse multiple time, therefore adding e.g. same transactions multiple times to bookedTransactions 2022-02-07 00:18:06 +01:00
63259ff404 Merged CustomerData and BankData 2022-02-07 00:18:06 +01:00
49d34f1733 Removed unused supportsRetrievingTransactionsOfLast90DaysWithoutTan and triedToRetrieveTransactionsOfLast90DaysWithoutTan 2022-02-07 00:18:06 +01:00
61d9923230 Implemented resetting selected TAN procedures if user's TAN procedures doesn't contain selected one anymore (should almost never be the case) 2022-02-07 00:18:06 +01:00
458da2a542 Fixed (once again) that Comdirect returns an error when fetching user's TAN procedure with TAN procedure code '999' but returns user's TAN procedures anyway 2022-02-07 00:18:06 +01:00
321814a0ca Removed exception from Response as this only crashed iOS app. Choosing now on mapper level which message to show in UI 2022-02-07 00:18:06 +01:00
c8f29e2390 Implemented passing allowed TAN format and max TAN input length to UI so that controls can be set accordingly 2022-02-07 00:18:06 +01:00
392c473056 Implemented that if retrieving account transactions is not supported but retrieving balances, at least balances get retrieved 2022-02-07 00:18:06 +01:00
3160ebaa2c Fixed that GetUserTanProceduresResponse isn't required anymore 2022-02-07 00:18:06 +01:00
7649df6a6b Fixed that if getting user's TAN procedures fails method didn't stop / still continued 2022-02-07 00:18:06 +01:00
989bbd65aa Implemented that if a TAN procedure requires specifying TAN media name, that any tan media name gets supplied (in my tests it made absolutely no difference if the TAN media matches the TAN procedure) 2022-02-07 00:18:06 +01:00
4cbbbfbe48 Implemented initializing dialog without strong customer authentication (but HKTAN is sent anyway) which is required that is essential for authenticated dialogs, e.g. TAN media which require some banks to be able to initialize an authenticated dialog 2022-02-07 00:18:06 +01:00
529467623c As getUsersTanProcedures() doesn't fetch user's bank accounts anymore I added getAccounts() 2022-02-07 00:18:06 +01:00
b07e84b31c Implemented retrieving user's TAN procedures with a non-strong authenticated dialog init with one step TAN procedure (the only process where one step TAN procedure is still allowed) as some banks like Postbank require this 2022-02-07 00:18:06 +01:00
d444baeda8 Fixed that if there are no accounts supporting retrieving account transactions addAccountAsync() never returns 2022-02-07 00:17:54 +01:00
1e987e63ea Adjusting bank name for Deutsche Bank 2022-02-07 00:17:54 +01:00
45d4f4ae46 Fixed that if continuationId is set and followUpResponse != null, then callback hasn't been called 2022-02-07 00:17:53 +01:00
7424688b33 Added callbacks to FinTsClientCallback methods so that they can be responded asynchronously 2022-02-07 00:17:53 +01:00
2889d1b0ce Refactored handling TAN required methods 2022-02-07 00:17:53 +01:00
d18e939818 Fixed that erroneously an error got returned even though lastCreatedMessage was set 2022-02-07 00:17:53 +01:00
5e2e06b183 Fixed logging exception 2022-02-07 00:17:53 +01:00
b5622a5d90 Fixed that user hasn't been asked for his/her TAN procedure 2022-02-07 00:17:53 +01:00
3b3ada38ca Removed -Async() methods with coroutines as methods now become (except on iOS) async through IWebClient 2022-02-07 00:17:53 +01:00
8e221f17ce Made IWebClient and FinTsClient async so that on iOS everything but the web request can run on the main thread -> we don't need to freeze objects to pass them between threads 2022-02-07 00:17:53 +01:00
19c8e4ea8e Using now Date and UUID from common in fints4k. Could therefore remove klock 2022-02-07 00:17:53 +01:00
d50f458ef4 Extracted Logger to new module common 2022-02-07 00:17:53 +01:00
7e19930742 Forgot to commit removed suspend 2022-02-07 00:17:53 +01:00
52ee0a0f73 Removed suspend from methods as coroutines don't really work in Kotlin/Native 2022-02-07 00:17:53 +01:00
9a5e0a1098 Made FinTsClient methods suspendable; could remove ThreadPool for that 2022-02-07 00:17:53 +01:00
16707aa70a Added a quick fix for logging in to e.g. Deutsche Bank. TODO: find a general solution 2022-02-07 00:17:53 +01:00
134b6e4f5e Fixed that may SmsTAN gets chosen 2022-02-07 00:17:53 +01:00
16284e5782 Removed useStrongAuthentication from createInitDialogMessage() as this value can be determined by if user's TAN procedure is selected or not 2022-02-07 00:17:53 +01:00
2f4bac9fbf Fixed selectSuggestedTanProcedure() so that SmsTan(costs money) or ChipTanUSB (not supported) don't get selected by default 2022-02-07 00:17:53 +01:00
e44a68addc Converted fints4k to a Kotlin multi platform project 2022-02-07 00:17:53 +01:00
Renamed from fints4k/src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt (Browse further)