Commit Graph

253 Commits

Author SHA1 Message Date
dankito a7b47665a5 Implemented displaying a switch to be able to set if password should be saved or not, but there's not logic behind it yet 2022-02-07 00:18:08 +01:00
dankito 197a984353 Raised FormOnOff height a bit so that there's more spacing around it 2022-02-07 00:18:08 +01:00
dankito 85acd02c36 Added add account button to bank credentials section 2022-02-07 00:18:08 +01:00
dankito 29bbe298f3 Renamed updateAccountAutomatically to includeInAutomaticAccountsUpdate 2022-02-07 00:18:08 +01:00
dankito 0706c91bac Removed automaticallyUpdateAccounts as automaticallyUpdateAccountsAfterMinutes can contain information if accounts should be updated automatically or not 2022-02-07 00:18:08 +01:00
dankito bb4ae54b15 Removed unused serializer 2022-02-07 00:18:08 +01:00
dankito 6c17449fc4 Implemented displaying that automaticallyUpdateAccountsAfterMinutes and lockAppAfterMinutes can be set, but they have no functionality yet 2022-02-07 00:18:08 +01:00
dankito 1ef89d27ec Fixed bug in TransferMoneyDialog.adjustCheckBoxRealTimeTransferWidth() that dialog may is already closed till timer fires and then app crashes. By that instance replaced all requireActivity() 2022-02-07 00:18:08 +01:00
dankito 64213a890f Left aligned txtRecipientBankInfo with errors / warnings 2022-02-07 00:18:08 +01:00
dankito 1ac426ecb8 Implemented hiding when neither an error nor an hint is displayed 2022-02-07 00:18:08 +01:00
dankito 4f75968efa Implemented displaying recipient BIC and bank name in one line 2022-02-07 00:18:08 +01:00
dankito 450f6af146 Fixed that after updating to Material Design library 1.2 TextLayoutInput had a large space at top 2022-02-07 00:18:08 +01:00
dankito 3da594b846 Fixed that in iOS setting authentication type to biometric wasn't possible anymore as () tried to open database without changing its password before (also renamed methods in Android to be symmetrically to iOS) 2022-02-07 00:18:08 +01:00
dankito 8b2a210269 Keeping passwords now only as CharArray in memory as it may takes a long time till a String gets garbage collected 2022-02-07 00:18:08 +01:00
dankito bc853b03e3 Implemented that in case of AuthenticationType.Password as database password <user_password> + "_" + <default_password> is used 2022-02-07 00:18:08 +01:00
dankito af67f4d404 Implemented passing only userPassword to saveNewAuthenticationMethod() (makes the parameter clearer) 2022-02-07 00:18:08 +01:00
dankito 93254c1d21 Implemented persisting new password only if changed database password has been successful 2022-02-07 00:18:08 +01:00
dankito e8749385ec Implemented hiding select authentication method if password is the only option to choose 2022-02-07 00:18:08 +01:00
dankito e29eead03a Using now vector drawable for add icon, could therefore remove Android Icons dependency 2022-02-07 00:18:08 +01:00
dankito 8706778906 Added default icon for accounts 2022-02-07 00:18:08 +01:00
dankito c8049ea107 Fixed that for some library setting Kotlin jvmTarget to 1.8 was needed 2022-02-07 00:18:08 +01:00
dankito eff16876b6 Fixed that using vector drawables that way is not supported on devices pre Lollipop 2022-02-07 00:18:08 +01:00
dankito 968543953a Implemented finding fallback algorithms as PBKDF2WithHmacSHA256 is only supported on newer Androids 2022-02-07 00:18:08 +01:00
dankito 2f709ed0b6 Renamed encryptedDefaultPassword to defaultPassword 2022-02-07 00:18:08 +01:00
dankito dde2ff47a4 Fixed that algorithms needed for encryption with biometric authentication are only supported on Android 6 and above (the same as with biometric authentication) 2022-02-07 00:18:08 +01:00
dankito faf3a76734 Removed unused AndroidX lifecycle (only crashes on Android 4) 2022-02-07 00:18:08 +01:00
dankito d892e5e0ef Updated AndroidX navigation version to 2.3.0 2022-02-07 00:18:08 +01:00
dankito e69b4a9141 Fixed that OkHttp dropped Android 4 support with version 3.13 2022-02-07 00:18:08 +01:00
dankito 768d17743a Added permissions for biometric hardware (but is it actually needed?) 2022-02-07 00:18:08 +01:00
dankito 715153315e Fixed that BankingApp hasn't been derived from MultiDexApplication 2022-02-07 00:18:08 +01:00
dankito 04bf120293 Set app icon 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 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 4e0e52bd8b Renamed searchBanksByNameBankCodeOrCity() to findBanksByNameBankCodeOrCity() 2022-02-07 00:18:08 +01:00
dankito b7c760e26e Added translations for BankAccountTypes 2022-02-07 00:18:08 +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 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 7f6ea74aa8 Renamed formLabelledValueLabelTextColor to formLabelTextColor and formLabelledValueValueTextColor to formValueTextColor 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 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 95215edc7c Implemented updating lists on changes 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 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 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 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 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 60c93dedfb Renamed Customer to BankData 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 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 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 d8739cf193 Renamed isSuccessful to successful 2022-02-07 00:18:07 +01:00
dankito 99205b53c9 Removed bankAccount property from GetTransactionsResponse 2022-02-07 00:18:07 +01:00
dankito de20ae4a98 Removed unused AmountFormat 2022-02-07 00:18:06 +01:00
dankito 67b282beb2 Added horizontal divider to remittee list items 2022-02-07 00:18:06 +01:00
dankito 4afa18b336 Added padding to list_item_remittee 2022-02-07 00:18:06 +01:00
dankito e612d51045 Fixed height after hiding txtvwRemitteeBankName if name isn't set 2022-02-07 00:18:06 +01:00
dankito 7cd7678542 Hiding txtvwRemitteeBankName if bank name isn't set 2022-02-07 00:18:06 +01:00
dankito 8f24802a55 Implemented also displaying BIC in remittee search result list 2022-02-07 00:18:06 +01:00
dankito bf5514f37b Implemented IRemitteeSearcher in RoomBankingPersistence 2022-02-07 00:18:06 +01:00
dankito 12e84109f3 Implemented persisting data with Room 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 5b054dcb52 Hiding keyboard when showing instant payment info PopupWindow 2022-02-07 00:18:06 +01:00
dankito b33964a76b Fixed instant payment layout (show info button is now right after label and label ellipsizes if there's not enough space 2022-02-07 00:18:06 +01:00
dankito f847e5e651 Started BankSettingsDialog with most important fields 2022-02-07 00:18:06 +01:00
dankito 731c2b7d51 Implemented standard views for a form to make more pleasant and consistent forms 2022-02-07 00:18:06 +01:00
dankito 4709038f8a Fixed indent 2022-02-07 00:18:06 +01:00
dankito 7a35763450 Limiting fields to exactly one line 2022-02-07 00:18:06 +01:00
dankito a1bee0aaa0 Set textColorSecondary to a different gray (left textColorPrimary at the same value) and using them consequently throughout the app to make a more pleasant view 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