Commit Graph

328 Commits

Author SHA1 Message Date
dankito aa532b864c Made accessing JobCount thread safe 2022-02-13 22:01:13 +01:00
dankito 2563051082 Added Kotlin/Native target 2022-02-13 22:00:07 +01:00
dankito 56f951314a Replaced atrium asserts with Kotlin test asserts 2022-02-13 00:17:45 +01:00
dankito 55881b5e79 Fixed that encoder may throws an from Throwable and not from Exception derived throwable 2022-02-12 23:47:02 +01:00
dankito da9d5c018b Replaced own Date implementation with kotlinx-datetime 2022-02-12 16:31:46 +01:00
dankito fa378f6249 Removed UUID 2022-02-12 14:21:15 +01:00
dankito 9746e419d1 Moved all extensions to package 'extensions' and grouped them by class 2022-02-12 13:52:45 +01:00
dankito fe69174db9 Removed all classes and methods from multiplatform-utils that aren't called by fints4k 2022-02-12 13:50:31 +01:00
dankito d56833e1ef Renamed module common to multiplatform-utils 2022-02-12 00:26:12 +01:00
dankito f637897dc3 Removed ui, persistence and rest projects (will be moved to separate repositories) and deactivated tools projects.
Removed Android target and using now JVM instead of JVM6.
Updated to Kotlin 1.6.10 which works much better for KMPP. Could therefore remove packForXcode() tasks
2022-02-11 23:53:35 +01:00
dankito 3c096d655f Fixed that previous dialog's chunkedResponseHandler hasn't been set on next dialog (is important when retrieving transactions and user chose to change TAN method or -media) 2022-02-07 00:18:14 +01:00
dankito c9884a380e Fixed that initDialogWithStrongCustomerAuthentication() JobContext.startNewDialog() hasn't been called causing message number to be 2 instead of 1 (and institution therefore to abort this dialog) 2022-02-07 00:18:14 +01:00
dankito 796218c2d6 Added nonVisualOrImageBased() 2022-02-07 00:18:14 +01:00
dankito 6d48382a7e As messageLogWithoutSensitiveData gets called for sure removing sensitive data upfront now 2022-02-07 00:18:14 +01:00
dankito e87adc8499 Clarified that getTransactionsAsync() only retrieves the transactions of one account; also fixed data model in regard to this 2022-02-07 00:18:14 +01:00
dankito e90579a1b7 Added isPinLocked to FinTsClientResponse; also explicitly added it to successful, even though it's already contained in responseContainsErrors 2022-02-07 00:18:14 +01:00
dankito 462917467d Creating message for message log now directly in fints4k, no need to translate it 2022-02-07 00:18:14 +01:00
dankito 6aa03bcad2 Implemented setting current message type on DialogContext; logging job and message type 2022-02-07 00:18:14 +01:00
dankito fba6c2a0d5 Implemented also logging dialog number 2022-02-07 00:18:14 +01:00
dankito 4c70412058 Fixed that Mt940Parser's logAppender got overridden 2022-02-07 00:18:14 +01:00
dankito 7ad0656c9b Fixed that ResponseParser logs didn't get added to LogCollector; had therefore to add ResponseParser to JobContext 2022-02-07 00:18:14 +01:00
dankito eba94e2c1b Forgot one open 2022-02-07 00:18:14 +01:00
dankito ac71e09596 Added imageBased() and first() methods 2022-02-07 00:18:14 +01:00
dankito d6305b52be Implemented logging and adding to MessageLogEntry job number, dialog number and account 2022-02-07 00:18:14 +01:00
dankito c2b3a8fb5f Extracted setNextMessage() 2022-02-07 00:18:14 +01:00
dankito 471fd0caf4 Collecting now message on JobContext (makes FinTsClient, FinTsJobExecutor and RequestExecutor state free); moved therefore Mt940AccountTransactionsParser to JobContext 2022-02-07 00:18:14 +01:00
dankito b57847b4f2 Fixed that message is not a FinTS message 2022-02-07 00:18:14 +01:00
dankito 7d185a805c Using now JobContext as MessageBaseData 2022-02-07 00:18:14 +01:00
dankito f3552248dc Moved ProductData to JobContext and implemented that startNewDialog() create DialogContext 2022-02-07 00:18:14 +01:00
dankito 0a9b31b393 Created JobContext to have a cross dialog context per job and to be able to set FinTsClientCallback (and later on other objects) on a job basis 2022-02-07 00:18:14 +01:00
dankito d5573817ef Fixed that if a message is received that tells us a TAN is required than callback and there updateBankAndCustomerDataIfResponseSuccessful() doesn't get called for this received message - but which is absolutely required for Hypovereinsbank 2022-02-07 00:18:14 +01:00
dankito 3363e427be Calling updateBankAndCustomerDataIfResponseSuccessful() after each received message now 2022-02-07 00:18:14 +01:00
dankito 1b2b960c1b Extracted TanMethodSelector 2022-02-07 00:18:14 +01:00
dankito 3e8d1e6dc6 Implemented setting preferred TanMethod and TanMedium 2022-02-07 00:18:14 +01:00
dankito 4ec82a44d7 Added selectedTanMedium 2022-02-07 00:18:14 +01:00
dankito c82611ad6c Implemented getAllExceptionMessages() to list all messages in exception hierarchy 2022-02-07 00:18:14 +01:00
dankito 1e1e8e8f11 Renamed tanMethodSupportedByBank to tanMethodsSupportedByBank 2022-02-07 00:18:14 +01:00
dankito 27fc67940c Added warningSegmentFeedbacks and errorSegmentFeedbacks 2022-02-07 00:18:14 +01:00
dankito ed784f1827 Renamed errorMessage to internalError, errorsToShowToUser to errorMessagesFromBank, added didBankReturnError and created a method to determine which error message to show to user 2022-02-07 00:18:14 +01:00
dankito bb520de5d5 Renamed messageCreationError to messageThatCouldNotBeCreated 2022-02-07 00:18:14 +01:00
dankito b0af1cd1c9 Added an error message if FinTS message to be sent to bank could not be created 2022-02-07 00:18:14 +01:00
dankito dee1fd7211 Extracted createNoTanMethodSelectedResponse() 2022-02-07 00:18:14 +01:00
dankito fed10e21c0 Fixed return getBankInfoResponse including its error 2022-02-07 00:18:14 +01:00
dankito bd2c96bbcb Fixed returning original getTanMethodsResponse and therefore its errors etc. 2022-02-07 00:18:14 +01:00
dankito 1356249621 Added getTanMediaList() to retrieveBasicDataLikeUsersTanMethods() as may for other calls like getTransactions() this is a requirement to be able to establish strong authentication dialog (only known bank till now: Postbank) 2022-02-07 00:18:14 +01:00
dankito cb25a2294a Added getUsersTanMethod() to retrieveBasicDataLikeUsersTanMethods() so that it's callers don't have to do this 2022-02-07 00:18:14 +01:00
dankito 4d3c1aece3 Fixed that otherPartyName may is just an empty string (like at Targobank) 2022-02-07 00:18:14 +01:00
dankito fb33a7c58a Implemented using updated account information after retrieving new bank data 2022-02-07 00:18:14 +01:00
dankito e8e35a3fe2 Fixed that if balance should not get fetched that we did abort instead of continuing with retrieving transactions 2022-02-07 00:18:14 +01:00
dankito fad4c48b41 Implemented logging client close errors 2022-02-07 00:18:14 +01:00