Commit Graph

229 Commits

Author SHA1 Message Date
dankito 63caf84894 Fixed setting displayIndex only if adding account was successful 2022-02-07 00:18:07 +01:00
dankito 129b4f64fa Added account to GetTransactionsParameter 2022-02-07 00:18:07 +01:00
dankito d8739cf193 Renamed isSuccessful to successful 2022-02-07 00:18:07 +01:00
dankito 6ed4acd8f2 Changed constructor parameter order 2022-02-07 00:18:07 +01:00
dankito 79ebb35bc7 Added convenience constructors for when retrieving data was successful 2022-02-07 00:18:07 +01:00
dankito ec3cdb1c39 Added convenience constructor for when an error occurred 2022-02-07 00:18:07 +01:00
dankito 2d4499514a Implemented calculating isSuccessful in AddAccountResponse and GetTransactionsResponse 2022-02-07 00:18:07 +01:00
dankito f444a45730 Derived AddAccountResponse from GetTransactionsResponse 2022-02-07 00:18:07 +01:00
dankito 044648f569 Calculating supportsRetrievingTransactionsOfLast90DaysWithoutTan now from retrieved data (but try to get rid of it anyway) 2022-02-07 00:18:07 +01:00
dankito 99205b53c9 Removed bankAccount property from GetTransactionsResponse 2022-02-07 00:18:07 +01:00
dankito 50a5938046 Made all properties overridable 2022-02-07 00:18:07 +01:00
dankito 7cb19d6f7d Extracted RetrievedAccountData, makes code way better readable 2022-02-07 00:18:07 +01:00
dankito b403557f2d 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
dankito 28537668ff Implemented passing only new transactions to persister.saveOrUpdateAccountTransactions(). Had to call saveOrUpdateAccountTransactions() therefore also in receivedAccountsTransactionChunk listener 2022-02-07 00:18:06 +01:00
dankito a935517b10 Removed useless constructor keyword 2022-02-07 00:18:06 +01:00
dankito 0d9eff266f Again filtering out duplicates after setting bank name as now some remittees contain the same information 2022-02-07 00:18:06 +01:00
dankito d01074e070 Added to fallbacks to find bank name from BIC or IBAN 2022-02-07 00:18:06 +01:00
dankito 12e84109f3 Implemented persisting data with Room 2022-02-07 00:18:06 +01:00
dankito 29dbe70983 Ensured that persisting methods get called off UI thread 2022-02-07 00:18:06 +01:00
dankito 4d50b12fa9 Fixed that in some cases accountsChangedListeners got called with only one bank as parameter instead of all banks 2022-02-07 00:18:06 +01:00
dankito 725e0ef881 Fixed that for AccountTransactionEntity comparing didn't work 2022-02-07 00:18:06 +01:00
dankito 6f354724be Fixed that when an account gets deleting its BankingClient data didn't get deleted 2022-02-07 00:18:06 +01:00
dankito 49db711296 Made GetTransactionsResponse callback optional 2022-02-07 00:18:06 +01:00
dankito e7d665f588 Added bottom bar to ask user if she likes to fetch all transactions 2022-02-07 00:18:06 +01:00
dankito 6467964305 Fixed calling accountsChangedListeners on changes, e.g. when bank displayName or bank displayIndex changed 2022-02-07 00:18:06 +01:00
dankito 07941380ec Extracted interfaces for UI model classes Customer, BankAccount and AccountTransaction. So entities can implement these interfaces directly, there's no need for mapping anymore 2022-02-07 00:18:06 +01:00
dankito f7f6e7703b Implemented showing select TAN media view only if there is more than one TAN medium for this TAN procedure 2022-02-07 00:18:06 +01:00
dankito 744af2880c Fixed that changes make in UI settings haven't been reflected in clients 2022-02-07 00:18:06 +01:00
dankito b7d94e8a17 Implemented specifying detaily if a bank, an account or only display index got updated 2022-02-07 00:18:06 +01:00
dankito 0ea9fad7a0 Implemented restoring data directly when creating fints4kBankingClient. This also fixes that restored BankData has data that mapped BankData didn't have (like allowedJobs, pinInfo, ...) 2022-02-07 00:18:06 +01:00
dankito 397acebf79 Extracted iOSIsRealDevice so that it's easier to switch between iOS Simulator and real device 2022-02-07 00:18:06 +01:00
dankito a3bb940d46 Implemented creating money transfer with same data as original account transaction (not only remittee name and IBAN) 2022-02-07 00:18:06 +01:00
dankito 92456604bb Added BankAccount to TransferMoneyData 2022-02-07 00:18:06 +01:00
dankito 13b7697364 Implemented persisting tan media 2022-02-07 00:18:06 +01:00
dankito 9dc6c0c5c0 Checking now equality of whole bank account instead of only its technical id 2022-02-07 00:18:06 +01:00
dankito b4e712f6b8 Fixed that caching Core Data entities in Dictionaries didn't really work. Setting now Core Data Ids on BankingUi model classes and retrieving Core Data entities by that ID 2022-02-07 00:18:06 +01:00
dankito 2b8c9316d0 Implemented passing Customer to fints4kBankingClient, so that fints4kBankingClient doesn't have a different Customer instance as BankingPresenter 2022-02-07 00:18:06 +01:00
dankito 842ff7f0b2 Added transactionIdentifier as technicalId may gets set by persistence layer and transaction id therefore gets lost 2022-02-07 00:18:06 +01:00
dankito 88df169f92 Fixed adjusting displayIndex when a bank gets deleted 2022-02-07 00:18:06 +01:00
dankito 8914d83ec6 Implemented sorting bank accounts; extracted SectionWithRightAlignedEditButton 2022-02-07 00:18:06 +01:00
dankito 34cb8617f8 Implemented setting banks' display order 2022-02-07 00:18:06 +01:00
dankito 5a06305171 Removed unnecessary animateFlickerCode() overload. It just set currentFrequency to DefaultFrequency, therefore overwriting a previously set frequency 2022-02-07 00:18:06 +01:00
dankito b28f6ae68f Implemented SwiftUI FlickerCodeTanView; extracted ScaleImageView from ImageTanView 2022-02-07 00:18:06 +01:00
dankito f3d7afc376 Implemented displaying auto retrieved BIC and bank name in an info label; extracted InfoLabel from ValidationLabel 2022-02-07 00:18:06 +01:00
dankito 137d35ac02 Implemented validating and auto correcting user input in TransferMoneyDialog 2022-02-07 00:18:06 +01:00
dankito 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
dankito 8adab38d54 Extracted Step 2022-02-07 00:18:06 +01:00
dankito e0c5a72524 MOved FlickerCodeStepsCalculator and Bit to BankingUiCommon 2022-02-07 00:18:06 +01:00
dankito 469e9c9dab Made FlickerCodeStepsCalculator state free 2022-02-07 00:18:06 +01:00
dankito 8b6b12a755 Renamed FlickerCanvas to FlickerCodeStepsCalculator 2022-02-07 00:18:06 +01:00
dankito cbbdf4bc73 Re-implemented FlickerCodeAnimator with coroutines, but it's not working on iOS though 2022-02-07 00:18:06 +01:00
dankito 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
dankito 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
dankito 372c0ec15d Fixed that there are banks without BIC - which let the app crash 2022-02-07 00:18:05 +01:00
dankito b44161a45f Implemented fetching all transactions 2022-02-07 00:18:05 +01:00
dankito bab012a9eb Implemented equals() and hashCode() 2022-02-07 00:18:05 +01:00
dankito ba1b0a27f0 Added accountUpdated() to persist updated account 2022-02-07 00:18:05 +01:00
dankito 9c269ceb09 Made displayName settable 2022-02-07 00:18:05 +01:00
dankito 087e596171 Not showing identifier in braces anymore, is in almost all cases a useless information and just wastes space. Using identifier only as fallback now. 2022-02-07 00:18:05 +01:00
dankito 54595abc1e Not showing bank name any more when selecting account for transferring money, icon should be in most cases sufficient to see to which bank this account belongs and doesn't use that much space 2022-02-07 00:18:05 +01:00
dankito 003fd047e3 Made identifier, customerId, productName and accountLimit settable 2022-02-07 00:17:54 +01:00
dankito 36e7161b2e Fixed that in derived classes bankAccount initially may is not set 2022-02-07 00:17:54 +01:00
dankito a3696a4716 Fixed JSON serialization (as cannot add Jackson annotations to model classes in common project) 2022-02-07 00:17:54 +01:00
dankito 60e4a82fe0 Comparing now BankAccount's technicalId 2022-02-07 00:17:54 +01:00
dankito 561114ee26 Fixed that amount has been compared with other 2022-02-07 00:17:54 +01:00
dankito 374818f748 Made bankCode and customerId settable 2022-02-07 00:17:54 +01:00
dankito e8a27b1a83 Added findIconForBankAsync(() to IBankIconFinder so that iOS can choose how to handle asynchronous retrieval of bank icon 2022-02-07 00:17:54 +01:00
dankito 4512b024f8 Removed findBankWebsite() from IBankIconFinder 2022-02-07 00:17:54 +01:00
dankito 04fba18316 Implemented updating selected accounts 2022-02-07 00:17:54 +01:00
dankito 4ffb68eba4 Implemented filtering account transactions 2022-02-07 00:17:54 +01:00
dankito 043faeb604 Added extension TanImage.imageBytesAsNSData() as common's toNSData() extension is exported to Swift as if it was for a different class 2022-02-07 00:17:53 +01:00
dankito 61d0ee0cfc Added task packAllForXcode and renamed packForXCode to packForXcode 2022-02-07 00:17:53 +01:00
dankito 7424688b33 Added callbacks to FinTsClientCallback methods so that they can be responded asynchronously 2022-02-07 00:17:53 +01:00
dankito 37d471781f Renamed id to technicalId and extracted createDefaultId() so that technicalId easier overridable in sub classes 2022-02-07 00:17:53 +01:00
dankito 0e194faee7 Made all properties overridable 2022-02-07 00:17:53 +01:00
dankito 3ed323cd69 Added convenience constructors for languages not supporting default values 2022-02-07 00:17:53 +01:00
dankito 27dd8c98cc Added parameter countDecimalPlaces to format() as is not generic on all platforms (e.g. doesn't work on iOS) 2022-02-07 00:17:53 +01:00
dankito 52d3b49baa Made BankingUiCommon a multi platform project 2022-02-07 00:17:53 +01:00
dankito d3a9d3ac2a Removed unused IBase64Service 2022-02-07 00:17:53 +01:00
dankito dfba59fd6d Added NoOpBankIconFinder 2022-02-07 00:17:53 +01:00
dankito 09a52ac539 Added wrappers for TextExtractorRegistry and InvoiceDataExtractor 2022-02-07 00:17:53 +01:00
dankito f4312c52db Also BankingPersistenceJson uses now Banking's ISerializer 2022-02-07 00:17:53 +01:00
dankito 8992d902e8 Replaced extension methods by own implementations and wrapped JavaUtils ISerializer in own ISerializer 2022-02-07 00:17:53 +01:00
dankito 8793b3b2a1 Introduced IAsyncRunner to replace or wrap away IThreadPool 2022-02-07 00:17:53 +01:00
dankito d77bf14454 Moved IBankFinder and BankInfo to module BankFinder, so that BankingUiCommon now references BankFinder (TODO: get rid of this direct import) 2022-02-07 00:17:53 +01:00
dankito bd14a8b536 Made id settable 2022-02-07 00:17:53 +01:00
dankito 647a385f2a Merged Customer and Bank 2022-02-07 00:17:53 +01:00
dankito ec435c1191 Made all properties overridable 2022-02-07 00:17:53 +01:00
dankito 1007636a8e Added currency to constructor overload 2022-02-07 00:17:53 +01:00
dankito b5cb401636 Renamed Account to Customer 2022-02-07 00:17:53 +01:00
dankito 05030fc3f0 Set artifact ids 2022-02-07 00:17:53 +01:00
dankito 26da9448ab Removed database folder from BankingPresenter. Had to implement the logic to ensure folder exists in other places then. 2022-02-07 00:17:53 +01:00
dankito 11dd1bfea8 Fixed repository for security issues fixed version to iText 2 2022-02-07 00:17:53 +01:00
dankito 8995100754 Fixed that if all BICs belong to the same bank but just have a different branch code (last three characters of a BIC), its BankInfo hasn't been returned 2022-02-07 00:17:53 +01:00
dankito 996204f54f Implemented extracting cash transfer data from PDF files and setting them as preselected values in TransferMoneyDialog 2022-02-07 00:17:53 +01:00
dankito bf41bde90a Implemented displaying remittee's bank name 2022-02-07 00:17:53 +01:00
dankito e44a68addc Converted fints4k to a Kotlin multi platform project 2022-02-07 00:17:53 +01:00
dankito d1bb7d81c3 Implemented autocomplete list for potential remittees in TransferMoneyDialog 2022-02-07 00:17:53 +01:00
dankito 609d25417a Fixed case insensitive name compare bug 2022-02-07 00:17:53 +01:00
dankito e5da3725de Not using a random id anymore but constructing it from property values that make an account transaction unique 2022-02-07 00:17:53 +01:00
dankito 92231a72a1 Sorting now by value date instead of booking date 2022-02-07 00:17:53 +01:00
dankito 40af21137c Made bookedTransactions, unbookedTransactions and balance flat as we call getTransactions() bank account by bank account 2022-02-07 00:17:53 +01:00
dankito d94dad345c Added tanRequiredButWeWereToldToAbortIfSo to GetTransactionsResponse to not show an error message on UI if a TAN is required but we told client to abort if one is required 2022-02-07 00:17:53 +01:00
dankito a8eb748f57 Implemented automatically fetching account transactions after a successful cash transfer 2022-02-07 00:17:53 +01:00
dankito 614074b9b9 Implemented abortIfTanIsRequired so that at app start we can try to get all accounts' transaction without that user is being asked to enter a TAN if retrieving transaction without TAN isn't supported 2022-02-07 00:17:53 +01:00
dankito e86b17d08b Implemented saving TAN settings like TAN image size and flicker code frequency 2022-02-07 00:17:53 +01:00
dankito 7167d6e59c Remove isReversal 2022-02-07 00:17:53 +01:00
dankito 56b6e695e9 Added valueDate to equals() and hashCode() 2022-02-07 00:17:53 +01:00
dankito 9fa83f2685 Added customerId, productName and accountLimit to BankAccount 2022-02-07 00:17:53 +01:00
dankito a16cf630b4 Implemented mapping all account transaction fields; Renamed usage to unparsedUsage, isCancellation to isReversal, customerReference to referenceForTheAccountOwner, bankReference to referenceOfTheAccountServicingInstitution and referenceReferenceNumber to relatedReferenceNumber 2022-02-07 00:17:53 +01:00
dankito 17b3066044 Implemented case insensitive search display of remittee name (so that e.g. for 'John Doe' and 'JOHN DOE' not two different entries are displayed) 2022-02-07 00:17:53 +01:00
dankito 3e2b4757df Fixed that iban and bic may be null 2022-02-07 00:17:53 +01:00
dankito e749a88c83 Implemented parsing each received MT940 part immediately and passing it on to UI 2022-02-07 00:17:52 +01:00
dankito 96454a742d Implemented storing when account transactions have been retrieved for last time and retrieving next transactions from this date on 2022-02-07 00:17:52 +01:00
dankito 68e11d08fc Fixed bug that if two bank icons have the same file name they overwrite each other 2022-02-07 00:17:52 +01:00
dankito 53ebba0c9f Moved fints4k library package from net.dankito.fints to net.dankito.banking.fints 2022-02-07 00:17:52 +01:00
dankito f6b7c2cd2a Implemented replacing umlauts 2022-02-07 00:17:52 +01:00
dankito e7b448126b Cutting off everything after '?' of icon's url for icon filename 2022-02-07 00:17:52 +01:00
dankito 685e4209c3 Implemented sending message log 2022-02-07 00:17:52 +01:00
dankito bcfe431110 Fixed that IBANs with inconsistent white spaces got marked as error 2022-02-07 00:17:52 +01:00
dankito 9e31180e52 Renamed remaining classed from 'fints4java' to 'fints4j' 2022-02-07 00:17:52 +01:00
dankito d32bb7d167 Implemented validating max length of remittee name and usage 2022-02-07 00:17:52 +01:00
dankito deb7f3ad36 Renamed convertToAllowedCharacters() to convertDiacriticsAndReservedXmlCharacters(), removed side effect that containsOnlyAllowedCharacters() converts diacritics and XML characters and added default implementation convertDiacriticsAndReservedXmlCharactersAndCheckIfContainsOnlyAllowedCharacters() 2022-02-07 00:17:52 +01:00
dankito e18ffb8a83 Implemented replacing diacritics and reserved XML characters in SEPA messages 2022-02-07 00:17:52 +01:00
dankito ea96818d60 Implemented removing entered white spaces 2022-02-07 00:17:52 +01:00
dankito 302dc6f8ed Renamed userDidNotEnterTan() to userDidNotEnterAtc() 2022-02-07 00:17:52 +01:00
dankito bea45cb661 Implemented instant payment money transfer 2022-02-07 00:17:52 +01:00
dankito 496e73dc9f Renamed fints4java to fints4k 2022-02-07 00:17:52 +01:00
dankito 694bbd1862 Moved UI related projects to sub folder 'ui' 2022-02-07 00:17:52 +01:00