Commit Graph

249 Commits

Author SHA1 Message Date
dankito 10fe82d45b Added title to New action sheet 2022-02-07 00:17:54 +01:00
dankito 09b8e58845 Added label for New tab 2022-02-07 00:17:54 +01:00
dankito cc9b7dc695 Added icon for accounts tab 2022-02-07 00:17:54 +01:00
dankito 6ea94e436b Added label to SearchBankDialog search bar 2022-02-07 00:17:54 +01:00
dankito e3fd832632 Replaced print() by NSLog() 2022-02-07 00:17:54 +01:00
dankito 953e731240 Removed VStack - only caused navigation problems and NavigationView (has been replaced by UINavigationController as rootViewController); fixed intend 2022-02-07 00:17:54 +01:00
dankito 9572ae0206 Removed accidentally committed code 2022-02-07 00:17:54 +01:00
dankito 8c1cd33e6b Extracted setupBankingUi() 2022-02-07 00:17:54 +01:00
dankito 363a1806a0 Removed unnecessary navigationBarHidden(false) 2022-02-07 00:17:54 +01:00
dankito ca214457ca Implemented showing balance in AllBanksListItem, BankAccountListItem and BankListItem; extracted AmountLabel for that 2022-02-07 00:17:54 +01:00
dankito 4340b80925 Implemented updating all accounts' transactions in AccountsTab; extracted UpdateButton for that 2022-02-07 00:17:54 +01:00
dankito 12f61b03ef Moved mkdirs() to getFints4kClientDataFile() 2022-02-07 00:17:54 +01:00
dankito 2d30047c75 Implemented fetching account data from bank if not found locally (e.g. if persisted data got deleted) 2022-02-07 00:17:54 +01:00
dankito 04fba18316 Implemented updating selected accounts 2022-02-07 00:17:54 +01:00
dankito 17fd1b0474 Implemented AllBanksListItem 2022-02-07 00:17:54 +01:00
dankito f09ba7cf00 Implemented String extensions like isBlank 2022-02-07 00:17:54 +01:00
dankito 448ce54ae9 Fixed that AccountTransactionsDialog got eagerly created and selected bank account(s) therefore set to bank account(s) of last created AccountTransactionsDialog 2022-02-07 00:17:54 +01:00
dankito 6b3e4b65c3 Added convenience constructors for bank and bank accounts; settings now selected accounts so that we can use presenter.searchSelectedAccountTransactions() 2022-02-07 00:17:54 +01:00
dankito d7c904a677 Fixed that due to padding height was too small 2022-02-07 00:17:54 +01:00
dankito 1a51eb94e5 Implemented display count displayed transactions and sum of displayed transaactions; extracted extension method styleAmount() therefore 2022-02-07 00:17:54 +01:00
dankito 4ffb68eba4 Implemented filtering account transactions 2022-02-07 00:17:54 +01:00
dankito 6c82a63d64 Implemented expanding / collapsing long TAN hint texts 2022-02-07 00:17:54 +01:00
dankito 61ae37a3b3 Set min and max height for label and usage so that list items have a fixed height 2022-02-07 00:17:53 +01:00
dankito c8c116e9e4 Added system colors from UIColor 2022-02-07 00:17:53 +01:00
dankito be2b6f201c Styled AccountTransactionListItem 2022-02-07 00:17:53 +01:00
dankito 293ab59eb6 Added extensions detailForegroundColor() and styleAsDetail() 2022-02-07 00:17:53 +01:00
dankito 0ece2b1bf5 Implemented showing either booking text or other party name 2022-02-07 00:17:53 +01:00
dankito b2b11b17bd Implemented displaying value date 2022-02-07 00:17:53 +01:00
dankito 615c8e214d Extracted AccountTransactionListItem 2022-02-07 00:17:53 +01:00
dankito 330b40a9d6 Implemented finding BIC to entered IBAN 2022-02-07 00:17:53 +01:00
dankito 89f1840655 Implemented showing decoding error 2022-02-07 00:17:53 +01:00
dankito a470251be1 Fixed that findBankByNameOrCityForNonEmptyQuery() instead of findBankByNameBankCodeOrCity() has been called 2022-02-07 00:17:53 +01:00
dankito e5d3c3ff7c Implemented change TAN medium 2022-02-07 00:17:53 +01:00
dankito 96ae87e292 Implemented selecting TAN procedure 2022-02-07 00:17:53 +01:00
dankito d0f5ed4902 Fixed selecting selected TAN procedure and added a fallback if customersTanProcedures doesn't contain selected TAN procedure 2022-02-07 00:17:53 +01:00
dankito 62f56977f9 Fixed filtering chipTAN USB as this TAN procedure is not supported on iOS 2022-02-07 00:17:53 +01:00
dankito 70b8a8b84c Fixed hide disclosure triangle for Bank- and BankAccountListItems (issue was that you have to use "ForEach(0 ..< array.count) { index in" instead of "ForEach(array) item in" - very obvious, Apple!) 2022-02-07 00:17:53 +01:00
dankito 185e0e0271 Fixed that a tap on a bank account shows an random bank account but not (necessarily) selected one 2022-02-07 00:17:53 +01:00
dankito d3fa90d529 Fixed that if a TAN needs to be entered AddAccountDialog doesn't get dismissed 2022-02-07 00:17:53 +01:00
dankito 20a396c33b Implemented selecting bank in AddAccountDialog 2022-02-07 00:17:53 +01:00
dankito c590c945a5 Started EnterTanDialog. Had to wrap rootViewController in a UINavigationController for that to be able to push a EnterTanDialog from every point in the application 2022-02-07 00:17:53 +01:00
dankito a7fedc4f05 Added convenience method to set navigation bar title 2022-02-07 00:17:53 +01:00
dankito 87bf88153e Fixed navigation problems to large parts by removing VStack directly after Section and by implementing Identifyable in model classes, with which ForEach can better cope with as with indicies 2022-02-07 00:17:53 +01:00
dankito 56164f2ce4 'Fixed' merging errors 2022-02-07 00:17:53 +01:00
dankito c6c8f7b12e Prefixed Core Data entities with 'Persisted' to avoid name conflicts with UI data model. Caching mapped objects so that Core Data doesn't persist the same data multiple times. 2022-02-07 00:17:53 +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 fbeec09916 Implemented exporting dependent libraries so that classes get exported without prefixes like 'BUC' and that imported classes and interface like IBankFinder are for Swift the same in BankFinder and BankingUiCommon 2022-02-07 00:17:53 +01:00
dankito 117bb2e5e0 Extracted setupFlickerCodeTanView() and setupImageTanView() 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 360c49a08b Showing each bank now in a section of its own 2022-02-07 00:17:53 +01:00
dankito e95dfee564 Re-did that NavigationLink is shown for whole cell as otherwise navigation crashes the app (why, iOS, why?) 2022-02-07 00:17:53 +01:00
dankito 7ec1c3f94b Formatted bank name 2022-02-07 00:17:53 +01:00
dankito d088c79ddd Fixed that NavigationLink for Bank has been shown on full cell height 2022-02-07 00:17:53 +01:00
dankito fee4044240 Fixed that BankListItem didn't correctly resize to its content 2022-02-07 00:17:53 +01:00
dankito f96826e95b Added IRemitteeSearcher 2022-02-07 00:17:53 +01:00
dankito 97983ec92e Fixed that TransferMoneyDialog has been closed before success alert dialog got closed 2022-02-07 00:17:53 +01:00
dankito 90a0ad5b4a Fixed that account didn't reflect selected account 2022-02-07 00:17:53 +01:00
dankito 72242d2cf7 Fixed that loaded accounts didn't get displayed in AccountsTab by introducing App Data 2022-02-07 00:17:53 +01:00
dankito d29965c77e Implemented saving bank data with CoreData 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 427b47a324 Added IBankingPersistence parameter 2022-02-07 00:17:53 +01:00
dankito 4461d0d931 Implemented sorting transactions descending by value date 2022-02-07 00:17:53 +01:00
dankito 0d1ecb910c Fixed that on AccountsTab NavigationBar is hidden but on child views it gets displayed 2022-02-07 00:17:53 +01:00
dankito 2552f0fa11 Implemented TransferMoneyDialog 2022-02-07 00:17:53 +01:00
dankito 3879d65833 Added primaryButton and secondaryButton to Message 2022-02-07 00:17:53 +01:00
dankito 6100810c16 Added Alert.Button.ok() 2022-02-07 00:17:53 +01:00
dankito 89d6ea1002 Using now onReceive instead of creating a Binding 2022-02-07 00:17:53 +01:00
dankito af1e155106 Made Message more generic 2022-02-07 00:17:53 +01:00
dankito 2c0e7bfc08 Implemented AccountTransactionsDialog 2022-02-07 00:17:53 +01:00
dankito 7579b7bb5d Implemented showing accounts (but height doesn't fit yet) 2022-02-07 00:17:53 +01:00
dankito 4b8a48e4c7 Implemented displaying an error message if account couldn't be added and navigation back if adding account was successful 2022-02-07 00:17:53 +01:00
dankito 5dc0c7a74f Fixed navigation bar 2022-02-07 00:17:53 +01:00
dankito 5346f2c3fd Implemented adding account (but not showing result yet, just logging it) 2022-02-07 00:17:53 +01:00
dankito 322910496f Added DependencyInjector as simple dependency injection framework 2022-02-07 00:17:53 +01:00
dankito 5af4c401f3 Using InMemoryBankFinder directly 2022-02-07 00:17:53 +01:00
dankito a327291757 Added BankingUiNativeIntegration to make Swift code setup more easier 2022-02-07 00:17:53 +01:00
dankito a9b8848379 Made webClient settable 2022-02-07 00:17:53 +01:00
dankito 5d12fd8f7f Refactored fints4kBankingClient to be better overrideable and to have smaller methods 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 82628d8a6b Converted fints4kBankingClient to a multi platform project 2022-02-07 00:17:53 +01:00
dankito 19c8e4ea8e Using now Date and UUID from common in fints4k. Could therefore remove klock 2022-02-07 00:17:53 +01:00
dankito 71d81c9484 Fixed that .pbxproj was ignored 2022-02-07 00:17:53 +01:00
dankito be8d9c96d2 Implemented searching for banks with imported BankFinder 2022-02-07 00:17:53 +01:00
dankito d50f458ef4 Extracted Logger to new module common 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 b05d927356 Fixed using of IAsyncRunner instead of IThreadPool 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 afc8ce9ee9 Started AddAccountDialog 2022-02-07 00:17:53 +01:00
dankito c443cd184b Added empty BankingiOSApp Xcode project 2022-02-07 00:17:53 +01:00
dankito 03b85181e4 Fixed that amounts in German format with comma couldn't be parsed 2022-02-07 00:17:53 +01:00
dankito 03bdb19668 Introduced Amount to be able to remove Ionspin BigDecimal dependency 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