Commit Graph

735 Commits

Author SHA1 Message Date
dankito c73628539a Fixed translating shared data 2022-02-07 00:18:08 +01:00
dankito 0f16149dac Implemented setting biometric authentication prompt 2022-02-07 00:18:08 +01:00
dankito e36bb0cf33 Renamed loginWithPassword() to authenticateUserWithPassword() and loginWithBiometricAuthentication() to authenticateUserWithBiometric() 2022-02-07 00:18:08 +01:00
dankito 7047773e7b Implemented translating biometric authentication type 2022-02-07 00:18:08 +01:00
dankito bf9c0bc32b Implemented adding print option to shared data 2022-02-07 00:18:08 +01:00
dankito 4e27bffd09 Implemented encrypting default password if no app protection is set 2022-02-07 00:18:08 +01:00
dankito 12d6c5a430 Fixed that if persisting newly added account fails callback never gets called and AddAccountDialog therefore is stuck forever 2022-02-07 00:18:08 +01:00
dankito 2cab245600 Implemented encrypting biometric password 2022-02-07 00:18:08 +01:00
dankito 32c71fcb39 Implemented hashing user password with bcrypt 2022-02-07 00:18:08 +01:00
dankito d65b766655 Disabling login button during password check and database decryption 2022-02-07 00:18:08 +01:00
dankito e345d6d6cb Removed unnecessary isRemoveAppProtectionLayout parameter 2022-02-07 00:18:08 +01:00
dankito 26baf222d6 Implemented logging in / setting authentication method when pressing enter 2022-02-07 00:18:08 +01:00
dankito 0a6fa8e01a Implemented encrypting Room database, but storing password just in plain text yet 2022-02-07 00:18:08 +01:00
dankito 20c32dbd7e Implemented saving and restoring authentication type 2022-02-07 00:18:08 +01:00
dankito 5f35cf7b23 Fixed that listeners get called off UI thread 2022-02-07 00:18:08 +01:00
dankito b82d986da2 Added biometric authentication dialog / prompt 2022-02-07 00:18:08 +01:00
dankito f6f28890a7 Implemented that login name text field gets focused when a bank has been selected 2022-02-07 00:18:08 +01:00
dankito c2a9f9f44a Not focusing recipient name text field on start anymore, just displays 'Please enter recipient name' error message on iOS 14 2022-02-07 00:18:08 +01:00
dankito de46d60416 Fixed setting focus on start on iOS 14 2022-02-07 00:18:08 +01:00
dankito 2a9aaca4d8 Implemented that also German diacritics get detected as invalid SEPA characters (on iOS they get detected anyway, but Android seems to use UTF-8) 2022-02-07 00:18:08 +01:00
dankito 318266db0f Fixed that reserved XML characters aren't replaced visibly to user - XML entities would just confuse most users. But XML entities are taking into calculation for max length 2022-02-07 00:18:08 +01:00
dankito 08d3cfbd66 Made OK Button better tapable 2022-02-07 00:18:08 +01:00
dankito fc6d2042af Fixed that iOS 14 sometimes doesn't focus text field on click 2022-02-07 00:18:08 +01:00
dankito 0bfeddeea3 Fixed that iOS 14 creates text field often twice, but displays it once -> to focus next text field we have to use nextViewTag + 1 2022-02-07 00:18:08 +01:00
dankito b00a14b3c7 Removed that pressing Enter starts money transfer. Just results in unwanted transfers 2022-02-07 00:18:08 +01:00
dankito ac8824634e Fixed that on iOS 14 AdaptsToKeyboard isn't needed anymore but just covers dialog 2022-02-07 00:18:08 +01:00
dankito ebce0000c5 Fixed making whole cell tapable 2022-02-07 00:18:08 +01:00
dankito 6f62690444 Fixed that retrieved transaction chunks haven't been displayed in UI 2022-02-07 00:18:08 +01:00
dankito 4e0e52bd8b Renamed searchBanksByNameBankCodeOrCity() to findBanksByNameBankCodeOrCity() 2022-02-07 00:18:08 +01:00
dankito 61b3b53540 Sorting banks now case insensitive 2022-02-07 00:18:08 +01:00
dankito 17d3eb9a5b Calling now lazy evaluating logger method 2022-02-07 00:18:08 +01:00
dankito b7c760e26e Added translations for BankAccountTypes 2022-02-07 00:18:08 +01:00
dankito f053b2728d Using now English names for BankAccountTypes 2022-02-07 00:18:08 +01:00
dankito 03d8074fda Using lazy evaluating logger method now 2022-02-07 00:18:07 +01:00
dankito f4d8b09260 Added fetchBalanceAndTransactions to addAccount() to determine if balance and transactions should be retrieved after retrieving bank accounts of a newly added account 2022-02-07 00:18:07 +01:00
dankito 8108926d71 Implemented toggling password visibility 2022-02-07 00:18:07 +01:00
dankito e64e8925c4 Added UI to set if accounts should be updated automatically 2022-02-07 00:18:07 +01:00
dankito 746591597e Implemented sharing account data 2022-02-07 00:18:07 +01:00
dankito 99866e02be Forgot to commit calling new signature of bankUpdated 2022-02-07 00:18:07 +01:00
dankito fa1c2a0ddf Keeping now bank icon's bytes directly on BankData so that we can persist is to database -> attackers don't see in filesystem added accounts anymore 2022-02-07 00:18:07 +01:00
dankito 7f14215907 Added info popup to explain what 'Fetch all transactions' means (TODO: displays only data of first account for which not all transactions have been fetched, display all) 2022-02-07 00:18:07 +01:00
dankito 3c5f63dcd2 Removed gray background, white space is enough to distinguish elements and looks way better 2022-02-07 00:18:07 +01:00
dankito 97b78bd8c4 Fixed setting LAContext (may only be set when saving item) 2022-02-07 00:18:07 +01:00
dankito ab5506f7eb Really fixed determining available biometric authentication type 2022-02-07 00:18:07 +01:00
dankito 50c2e085a0 Implemented setting also keychain item's SecAccessControl and LAContext (but setting LAContext doesn't work yet, setting it results in an error) 2022-02-07 00:18:07 +01:00
dankito a903745b8c Saving now also AuthenticationType in Keychain 2022-02-07 00:18:07 +01:00
dankito b40eb25b70 Implemented storing a default password (but not making use of it yet) 2022-02-07 00:18:07 +01:00
dankito 0f83b2aced Fixed detecting if layout for FaceID or TouchID should be displayed 2022-02-07 00:18:07 +01:00
dankito cd8055a141 Extracted methods for each authentication type 2022-02-07 00:18:07 +01:00
dankito 2ca698f9e2 Renamed createKeychainPasswordItem() to createUserLoginPasswordKeychainItem() 2022-02-07 00:18:07 +01:00
dankito 96c842cc89 Merged AuthenticationType touchID and faceID to biometric 2022-02-07 00:18:07 +01:00
dankito 48841b5214 Refactored KeychainPasswordItem so that we don't have to pass all class fields to keychainQuery() 2022-02-07 00:18:07 +01:00
dankito 543a9d81b9 Removed AuthenticationType.none 2022-02-07 00:18:07 +01:00
dankito b019360ad1 Made password visibility toggleable 2022-02-07 00:18:07 +01:00
dankito cb486de6d4 Raised sizes a bit to make them better touchable 2022-02-07 00:18:07 +01:00
dankito 917cb8edf5 Implemented LoginActivity and ProtectAppSettingsDialog but there's not logic behind it yet 2022-02-07 00:18:07 +01:00
dankito 8a2750a21c Fixed that some clients need a response 2022-02-07 00:18:07 +01:00
dankito b7f9a2a5f7 Fixed bug that setting frequency didn't work 2022-02-07 00:18:07 +01:00
dankito 210ca5a41f Showing update all accounts navigation bar button now on the right (to be consistent with update selected accounts) 2022-02-07 00:18:07 +01:00
dankito 31cc59c88e Fixed that update(All|Selected)AccountsTransactionsAsync() didn't call callback if there are no accounts to update so that UI couldn't update / reset its state 2022-02-07 00:18:07 +01:00
dankito 1c3f3505b0 Implemented remembering with which accounts wrong credentials have been entered and ignoring these in automatic updates 2022-02-07 00:18:07 +01:00
dankito 38bb0c90ff Implemented detecting if wrong credentials have been entered (not 100 % reliable though) 2022-02-07 00:18:07 +01:00
dankito 572f8d81ec Removed as e.g. when on first attempt there's no network connection, then no further attempt would be taken during whole lifetime of app 2022-02-07 00:18:07 +01:00
dankito 26e03137cd Fixed that when fintsBank could not get restored and then addAccount() fails (e.g. due to no network connection), then fintsBank contains almost no data which then got mapped to bank 2022-02-07 00:18:07 +01:00
dankito 0303f94bee Added savePassword to Bank but now using it yet 2022-02-07 00:18:07 +01:00
dankito 5580313eeb Setting countDaysForWhichTransactionsAreKept now on account and not on bank anymore as the count may differs from account type to account type (e.g. 540 days for checking accounts and 9999 days for credit card accounts) 2022-02-07 00:18:07 +01:00
dankito 6d41b89f1d Implemented parsing credit card transactions parameters 2022-02-07 00:18:07 +01:00
dankito b39c3f700a Implemented setting if accounts should be updated automatically at start up 2022-02-07 00:18:07 +01:00
dankito 7f6ea74aa8 Renamed formLabelledValueLabelTextColor to formLabelTextColor and formLabelledValueValueTextColor to formValueTextColor 2022-02-07 00:18:07 +01:00
dankito 64aa7d007b Implemented persisting AppSettings with BankingPersistence 2022-02-07 00:18:07 +01:00
dankito 88ba716639 Simplified persisting TanMethodSettings and implemented saving TanMethodSettings on AppSettings in iOS 2022-02-07 00:18:07 +01:00
dankito 589e1e673a Implemented hiding account and disabling automatic account update 2022-02-07 00:18:07 +01:00
dankito 364b818d84 Implemented displaying account features 2022-02-07 00:18:07 +01:00
dankito b3d92d4e64 Implemented selecting TAN method 2022-02-07 00:18:07 +01:00
dankito 1e812e4b8d Implemented that displayed value / text in LabelledValue can be selected and copied 2022-02-07 00:18:07 +01:00
dankito 74d30df248 Implemented displaying bank and bank account data 2022-02-07 00:18:07 +01:00
dankito 25089558c1 Implemented FormLabelledValue 2022-02-07 00:18:07 +01:00
dankito 1d09789d38 Implemented persisting for which account prominent (top) fetch all transactions view shouldn't be displayed anymore 2022-02-07 00:18:07 +01:00
dankito 51044a257c Fixed that unsupported account types are not taking into calculation for selectedAccountsForWhichNotAllTransactionsHaveBeenFetched 2022-02-07 00:18:07 +01:00
dankito 9650fb59d8 Removed TODOs to use RxJava as RxJava isn't supported in Kotlin multi platform projects 2022-02-07 00:18:07 +01:00
dankito 95215edc7c Implemented updating lists on changes 2022-02-07 00:18:07 +01:00
dankito b7133ba7d5 Fixed that listeners didn't get removed 2022-02-07 00:18:07 +01:00
dankito 2c9c374ee1 Implemented BankAccountSettingsDialog 2022-02-07 00:18:07 +01:00
dankito 85bf455c0c Implemented reordering bank accounts 2022-02-07 00:18:07 +01:00
dankito a6a5baaeb1 Implemented SettingsDialog 2022-02-07 00:18:07 +01:00
dankito 936428c4f5 Centering amount and value date now in list item 2022-02-07 00:18:07 +01:00
dankito 425982291c Removed that onBackButtonPressed label has to be entered 2022-02-07 00:18:07 +01:00
dankito 322de6f484 Fixed that tap gesture is now set in AccountTransactionListItem 2022-02-07 00:18:07 +01:00
dankito a518960070 Fixed (in a bit ugly way) that iOS 14 crashes if after pressing back button any changes to list (form) are don't and therefore count cells changes 2022-02-07 00:18:07 +01:00
dankito 34d5877419 Fixed that on iOS 14 additionally the system back button has been displayed 2022-02-07 00:18:07 +01:00
dankito bc94394937 Fixed that ContextMenu items didn't work anymore on iOS 14 2022-02-07 00:18:07 +01:00
dankito 73faa6e7e5 Using now BankingPresenter instead of BankFinder directly (therefore bank list is now also sorted alphabetically) 2022-02-07 00:18:07 +01:00
dankito 1e09eac9e0 Removed unnecessary presenter.currencyIsoCodeOfAccounts() 2022-02-07 00:18:07 +01:00
dankito 3ca9017bde Implemented AccountTransactionDetailsDialog 2022-02-07 00:18:07 +01:00
dankito c83f0992ed Fixed that background wasn't tapable on iOS 13 2022-02-07 00:18:07 +01:00
dankito 974e093304 Extracted TextWithScrollView 2022-02-07 00:18:07 +01:00
dankito 8df816c091 Added formatToShortDate() and formatToMediumDate() to BankingPresenter to have a common place for formatting dates 2022-02-07 00:18:07 +01:00
dankito 77a4273179 Implemented sorting account that support money transfer by display index 2022-02-07 00:18:07 +01:00
dankito d13ccaf871 Sorting banks now alphabetically 2022-02-07 00:18:07 +01:00
dankito b5756c909f Fixed that executeMutatingMethod() got executed on each view update 2022-02-07 00:18:07 +01:00
dankito 3be297c0d3 Implemented showing fetch all transactions view at top and by clicking on 'x' button showing it at bottom (TODO on Android: show at bottom) 2022-02-07 00:18:07 +01:00
dankito e8aee07b34 Fixed that BankListItem and BankAccountListItem didn't get updated on changes like balance changed or retrieved bank icon 2022-02-07 00:18:07 +01:00
dankito f03480945e Implemented displaying currency of amount of money 2022-02-07 00:18:07 +01:00
dankito 415a3297bb In UI renamed customerId to userName; removed unused customerId from BankAccount 2022-02-07 00:18:07 +01:00
dankito d209bc46fc Renamed haveAllTransactionsBeenFetched to haveAllTransactionsBeenRetrieved and isAccountTypeSupported to isAccountTypeSupportedByApplication 2022-02-07 00:18:07 +01:00
dankito 24dd07d46f Fixed hiding lytTransactionsTopBar if no transactions have been retrieved yet 2022-02-07 00:18:07 +01:00
dankito bf9d406053 Renamed usage to reference, remittee to recipient and instant payment to real-time transfer 2022-02-07 00:18:07 +01:00
dankito 66feba0614 Renamed buttons when asking user if she likes to secure her data to 'Later' and 'Yes' 2022-02-07 00:18:07 +01:00
dankito 3988e7ebac Extracted SectionWithoutBackground 2022-02-07 00:18:07 +01:00
dankito ba260b4826 Extracted removeListInsets() and removeSectionBackground() 2022-02-07 00:18:07 +01:00
dankito 5ded582c78 Don't showing an overlay anymore but button to fetch all transactions directly above transactions list 2022-02-07 00:18:07 +01:00
dankito 94dd1aaff8 Fixed that for credit card accounts retrieving balance may not be supported, but balance may gets retrieved in another way (like with transactions), then doAccountsSupportRetrievingBalance() now returns true anyway 2022-02-07 00:18:07 +01:00
dankito dee6f4aebe Making use of supportXyz convenience properties 2022-02-07 00:18:07 +01:00
dankito 395ef5445c Fixed that as now retrievedData contains an entry for each account only if account supports retrieving transactions retrieval must be successful 2022-02-07 00:18:07 +01:00
dankito 09d90c6c9d Renamed property accountData to account 2022-02-07 00:18:07 +01:00
dankito e973ce256b Added conversion to BigDecimal directly to Amount 2022-02-07 00:18:07 +01:00
dankito 60c93dedfb Renamed Customer to BankData 2022-02-07 00:18:07 +01:00
dankito df1ce4fd3a Committing changes to Core Data now as Xcode didn't save them before 2022-02-07 00:18:07 +01:00
dankito f3c1007b5e Also checking on app start-up if now no more transactions can be retrieved from bank server 2022-02-07 00:18:07 +01:00
dankito 1bc8a93ba4 Fixed checking if all transactions have been fetched by using retrievedTransactionsFromOn (as first retrieved transaction may not is on the first day of the fetched period( 2022-02-07 00:18:07 +01:00
dankito f96e7a4b30 Fixed setting ninety days ago to from midnight on so that retrievedTransactionsFromOn gets set correctly -> check in BankingPresenter if all transactions have been fetched also works for this day 2022-02-07 00:18:07 +01:00
dankito 13d95f4bda Implemented storing and displaying for which period account transactions have been fetched 2022-02-07 00:18:07 +01:00
dankito 700e3e6da9 Implemented mapping and displaying if an account type is supported or not 2022-02-07 00:18:07 +01:00
dankito e78e0e93f9 Added button to add account if no accounts have been added yet 2022-02-07 00:18:07 +01:00
dankito f811d25ffd Fixed that 'Could not retrieve transactions' message got displayed even though no account has been added (yet) 2022-02-07 00:18:07 +01:00
dankito be42e3b330 Renamed TanProcedure to TanMethod in UI 2022-02-07 00:18:07 +01:00
dankito f5f3f34d3b Renamed TanProcedure to TanMethod in fints4k 2022-02-07 00:18:07 +01:00
dankito 07446568ed Fixed that super.typeFromId() didn't resolve Lists and Sets (but still don't know why Jackson writes their classes as id to output) 2022-02-07 00:18:07 +01:00
dankito a382904015 Implemented displaying state if no transactions are displayed (e.g. if no transactions have been fetch, account doesn't support fetching transactions of retrieved period didn't contain any transactions) 2022-02-07 00:18:07 +01:00
dankito 094d669148 Implemented evaluating count days for which bank stores transactions -> don't show fetch all transactions overlay if bank server doesn't store additional transactions 2022-02-07 00:18:07 +01:00
dankito 1f9fd48e80 Fixed that when entering long usages "Usage" label migrated to the right 2022-02-07 00:18:07 +01:00
dankito b9f562ab3f Extracted fetchAllTransactionsButton 2022-02-07 00:18:07 +01:00
dankito 18cd571573 Sorting now transactions only when necessary and not on each view update 2022-02-07 00:18:07 +01:00
dankito f1d3052c41 Fixed bug that after updating account balance didn't get updated 2022-02-07 00:18:07 +01:00
dankito fcdf60f596 Removed alert after adding account to ask user if now all account transactions should get fetched 2022-02-07 00:18:07 +01:00
dankito 332c90a9e0 Fixed that response.errorsToShowToUser got mapped to an empty string instead of null if response.errorsToShowToUser is empty 2022-02-07 00:18:07 +01:00
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 58748579b4 Updated logged message 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