Commit Graph

485 Commits

Author SHA1 Message Date
dankito a7d56603e5 Fixed bug that NavigationLink navigated to AccountTransactionsDialog twice 2022-02-07 00:18:06 +01:00
dankito 9dc45cb53f Added context menu item to navigate to settings dialog 2022-02-07 00:18:06 +01:00
dankito 874d78d6ad Renamed alignVertically() to correctly alignHorizontally() 2022-02-07 00:18:06 +01:00
dankito e8614a3b47 Renamed SettingsDialog to SettingsTab 2022-02-07 00:18:06 +01:00
dankito de2b5152ef Disabling UpdateButton as long its executing its action 2022-02-07 00:18:06 +01:00
dankito 4d781aea65 Implemented remembering for which accounts FetchAllTransactionsOverlay has been dismissed to not show it again for these accounts 2022-02-07 00:18:06 +01:00
dankito f3332c6da7 Fixed calling showNavigationBarTitle() instead of navigationBarTitle() 2022-02-07 00:18:06 +01:00
dankito d197346cfc Implemented remove app protection 2022-02-07 00:18:06 +01:00
dankito 5e07a900a9 Implemented securing app access with password, FaceID or TouchID 2022-02-07 00:18:06 +01:00
dankito 41b60a07a4 Extracted UIAlert and ActionSheet 2022-02-07 00:18:06 +01:00
dankito c08b4e7b5d Implemented adding 'Done' button to keyboard as numeric keyboards don't have one -> keyboard cannot be dismissed 2022-02-07 00:18:06 +01:00
dankito 7bd6d750a4 Fixed that tabs got created multiple times and therefore sometimes initial navigation bar title, "Accounts", got displayed (issue was i set them up in viewWillAppear() instead of viewDidLoad()) 2022-02-07 00:18:06 +01:00
dankito 147ce950f7 Removed setting selectedBank to nil for unsupported banks, there should be absolutely no use in it 2022-02-07 00:18:06 +01:00
dankito c231081798 Split banks search result in supported and unsupported banks 2022-02-07 00:18:06 +01:00
dankito 047f0e075f Fixed that application crashes if we're in editing mode and last bank gets deleted 2022-02-07 00:18:06 +01:00
dankito f447b17aa6 Added footer to add account 2022-02-07 00:18:06 +01:00
dankito 5d29a12f02 Disabling EditButton if no account has been added yet 2022-02-07 00:18:06 +01:00
dankito eac6ec7d62 Renamed SectionWithRightAlignedEditButton to SectionHeaderWithRightAlignedEditButton and building now Section in View.body 2022-02-07 00:18:06 +01:00
dankito 0133787ee4 Always displaying now transferMoneyAction, but disabling it if no accounts supporting transferring money are added 2022-02-07 00:18:06 +01:00
dankito de72722e4c Creating top UIViewControllers now by myself. SwiftUI has too many bugs and showing ActionSheet on 'New' tab item click is now very easy and does exactly what expected 2022-02-07 00:18:06 +01:00
dankito 9de40b4cc8 Added hint that for instant payment transfers may fees are charged 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 c9ed160043 Hiding keyboard when adding account or transferring money 2022-02-07 00:18:06 +01:00
dankito 8a2875dd41 Fixed translating success message (dot was missing) 2022-02-07 00:18:06 +01:00
dankito c18ad89271 Implemented disabling 'Add account' and 'Transfer money' button and added an activity indicator during action to show that in background work is being done and to avoid that user hits button twice 2022-02-07 00:18:06 +01:00
dankito b6173d20ad Displaying now only bank name instead of also bank code and city (user knows bank code and city at the place already) 2022-02-07 00:18:06 +01:00
dankito b701a23cef Ensuring that city takes exactly one line 2022-02-07 00:18:06 +01:00
dankito b90c722a8e Added "Online banking login data" section header 2022-02-07 00:18:06 +01:00
dankito 361b606137 Left aligned text of BankListItem and BankAccountListItem 2022-02-07 00:18:06 +01:00
dankito 2b2ede26fd Added a divider to FetchAllTransactionsOverlay 2022-02-07 00:18:06 +01:00
dankito db3a87b0c4 Added that fetching all transactions requires TAN. Otherwise user may be confused why enter TAN dialog pops up. 2022-02-07 00:18:06 +01:00
dankito 7204ddd90e Removed 'This cannot be undone and data will be lost.', only discourages user 2022-02-07 00:18:06 +01:00
dankito e85273b2d6 Displaying bank code in bold to highlight it better 2022-02-07 00:18:06 +01:00
dankito af54997bf6 Removed FinTS from alert message as much as possible (only confuses users) 2022-02-07 00:18:06 +01:00
dankito b24434571a Implemented translating texts for alert to ask user if account should be deleted? 2022-02-07 00:18:06 +01:00
dankito 4607d521b5 Fixed that after selecting a remittee from list fields didn't get validated (and button to transfer money therefore may didn't get enabled) 2022-02-07 00:18:06 +01:00
dankito 841ad7dea5 Fixed spelling of focused 2022-02-07 00:18:06 +01:00
dankito 6f510fdaef Implemented focusing edtxtAmount when a Remittee got selected 2022-02-07 00:18:06 +01:00
dankito 771ec1b7f1 Implemented validating data if preselectedValues is set and therefore enabling btnTransferMoney if so 2022-02-07 00:18:06 +01:00
dankito 92456604bb Added BankAccount to TransferMoneyData 2022-02-07 00:18:06 +01:00
dankito 2324d7ceda Fixed that if preselectedValues are set fields haven't been validated and 'Transfer' button therefore not been activated 2022-02-07 00:18:06 +01:00
dankito d17c91b6d6 Fixed that isFocussedChanged() got called even though TextField hasn't been focused (but why did textFieldShouldBeginEditing() get called even though it hasn't been focused?) 2022-02-07 00:18:06 +01:00
dankito cd365fd0cd Implemented deleting account directly from AccountsTab (had to use an UIAlertController as due to a SwiftUI bug .alert() didn't work) 2022-02-07 00:18:06 +01:00
dankito 25a7277067 Extracted common messages 2022-02-07 00:18:06 +01:00
dankito 3ca7c2a3cf Using now Marius' new icon as it has same size as other two tab icons 2022-02-07 00:18:06 +01:00
dankito 0f081006ed Filtering out potential remittees without IBAN 2022-02-07 00:18:06 +01:00
dankito 044ff141a5 Made text of bank name, IBAN and BIC smaller as list item was way too height; set line limit for all three parts to 1; showing line with bank name only if bank name is set 2022-02-07 00:18:06 +01:00
dankito c65632f8f4 Implemented showing list with potential remittees 2022-02-07 00:18:06 +01:00
dankito 13b7697364 Implemented persisting tan media 2022-02-07 00:18:06 +01:00
dankito b53eecd78e Implemented parsing TAN challenge's HTML 2022-02-07 00:18:06 +01:00
dankito 8033399fd7 Set auto capitalization type to .none 2022-02-07 00:18:06 +01:00
dankito 5f8e5463e5 Implemented setting keyboard auto capitalization type 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 76a2cb0642 Fixed that section title didn't get translated 2022-02-07 00:18:06 +01:00
dankito b40e865af6 Displaying now bank accounts according to their display index 2022-02-07 00:18:06 +01:00
dankito 3f093889a0 Implemented saving only unpersisted transactions, not whole account 2022-02-07 00:18:06 +01:00
dankito 7dd1cd01b2 Implemented that customer only gets inserted if he/she hasn't been inserted yet (but should make actually no difference) 2022-02-07 00:18:06 +01:00
dankito 11b55a6ecc Implemented that no error message gets displayed if user cancelled transferring money 2022-02-07 00:18:06 +01:00
dankito c8fdb817ad Implemented updating displayed transactions after retrieving all transactions 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 73ba48b030 Removed unused BankDataMapper 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 ec65600153 Replaced UIKitTextField by LabelledUIKitTextField 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 f75db3f827 Removed initialImageWidth, just did overwrite value from imageWidth 2022-02-07 00:18:06 +01:00
dankito d3386217b9 Implemented saving Image Tan width 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 b3dd944ce5 Using now systemGroupedBackground() 2022-02-07 00:18:06 +01:00
dankito 974d427e1a Implemented showing 'Discard' instead of 'OK' to discard changes 2022-02-07 00:18:06 +01:00
dankito aaa22bc2c1 Fixed that only one Alert can be declared (first one, unsavedChangesMessage, didn't work) 2022-02-07 00:18:06 +01:00
dankito 5bdc17e9ce Added extensions to get current AppDelegate, rootNavigationController, currentViewController, ... 2022-02-07 00:18:06 +01:00
dankito 34d5fcb52d Fixed validating BIC 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 5d88e51ab9 Extracted 2022-02-07 00:18:06 +01:00
dankito 003b4b3b55 Added TanProcedures, TanMedia, TanChallenge, ImageTanChallenge and FlickerCodeTanChallenge to PreviewData 2022-02-07 00:18:06 +01:00
dankito 22c262f4c4 Implemented isFocussedChanged 2022-02-07 00:18:06 +01:00
dankito 1da6686e86 Fixed that for IBAN only upper case characters can be entered 2022-02-07 00:18:06 +01:00
dankito 6fdbdba634 Removed unnecessary errorEnabled 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 de81b227eb Forgot to commit settings icon 2022-02-07 00:18:06 +01:00
dankito 6617d293fe Added other icon for bank transfer; renamed it to BankTransfer 2022-02-07 00:18:06 +01:00
dankito 4d247bc43b Fixed that in BankInfoListItem only taps on text have fired, not e.g. on white space to the right 2022-02-07 00:18:06 +01:00
dankito 9d2df6fba7 Fixed that AddAccountDialog got shown over and over again (next SwiftUI bug) 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 fe5b2276c8 Fixed that if retrieving account transactions is not supported but retrieving balances, at least balance gets displayed 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 8002b02981 Implemented deleting accounts; showing section title "Bank credentials" 2022-02-07 00:18:05 +01:00
dankito 68fd3f2188 Fixed showing "Fetch all transaction" below list (but cell has white spaces, why?) 2022-02-07 00:18:05 +01:00
dankito bb347c8335 Fixed placing "Add account" below List; extracted AddAccountButtonView 2022-02-07 00:18:05 +01:00
dankito f168575e16 Fixed that accidentally navigationBarItems() has been removed 2022-02-07 00:18:05 +01:00
dankito e109145dd7 Displaying "Fetch all account transactions" at end of list only if FetchAllTransactionsOverlay isn't displayed 2022-02-07 00:18:05 +01:00
dankito 2646863198 Fixed that whole FetchAllTransactionsOverlay gets displayed in systemGroupedBackground 2022-02-07 00:18:05 +01:00
dankito cd3a24a360 Fixed that keyboard covers lower part of the views and that there's been no way so scroll to the end to view 2022-02-07 00:18:05 +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 f053a4a55f Removed useless empty line 2022-02-07 00:18:05 +01:00
dankito 8ed16cf7d2 Removed landscape orientation 2022-02-07 00:18:05 +01:00
dankito 786df67cff Removed iPad as target device 2022-02-07 00:18:05 +01:00
dankito 7d0080477d Removed accidentally committed print() 2022-02-07 00:18:05 +01:00
dankito d2987dfb35 Fixed that focusNextTextFieldOnReturnKeyPress got removed 2022-02-07 00:18:05 +01:00
dankito f05a551bf1 Implemented that a tap on label focuses text field 2022-02-07 00:18:05 +01:00
dankito 00d7b7d24d Showing now Navigation disclosure triangle again 2022-02-07 00:18:05 +01:00
dankito 4c631b7005 Reworded "Alle Umsätze" to "Ältere Umsätze", fixed that there was no English translation for it 2022-02-07 00:18:05 +01:00
dankito 9ac95c77ff Fixed that there was no translation for "<number> transactions" 2022-02-07 00:18:05 +01:00
dankito 10fee47d55 Added placeholders for "Online banking login name" and "Online banking login password" 2022-02-07 00:18:05 +01:00
dankito 3ada76a2a0 Added placeholder for SelectBankDialog search field and an example search 2022-02-07 00:18:05 +01:00
dankito 5d6384918e Implemented deleting account 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 ec61aec0f7 Implemented BankAccountSettingsDialog 2022-02-07 00:18:05 +01:00
dankito 78af51984d Implemented SettingsDialog and BankSettingsDialog 2022-02-07 00:18:05 +01:00
dankito fa9af8155a Implemented LabelledUIKitTextField that displays a label on the left and a text field on the right 2022-02-07 00:18:05 +01:00
dankito 8aa38008d4 Fixed that CoreData didn't keep accounts order 2022-02-07 00:18:05 +01:00
dankito 820e271d1f Fixed that TanProcedures didn't get saved and restored 2022-02-07 00:18:05 +01:00
dankito 9c269ceb09 Made displayName settable 2022-02-07 00:18:05 +01:00
dankito 959e527d12 Fixed that if initially no TAN procedure was selected and user selected first entry, that selectedTanProcedureChanged() callback didn't get called 2022-02-07 00:18:05 +01:00
dankito 05e8b1f4a4 Fixed that if no account has been added only center part got displayed with systemGroupedBackground, framed by large white borders 2022-02-07 00:18:05 +01:00
dankito c1bd70085a Extracted TanProcedurePicker 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 0e3582c851 Made text size larger after removing bank name from list item text 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 cbed0e7758 Fixed that partially accounts have been displayed at other banks 2022-02-07 00:18:05 +01:00
dankito 752b8bd1a3 Implemented showing 'New Money Transfer' action sheet option only if there is at least one account that supports transferring money 2022-02-07 00:18:05 +01:00
dankito 64e49c661a Added 'Add account' to 'New ...' action sheet 2022-02-07 00:17:54 +01:00
dankito d061e7f81c Started searching for Remittees 2022-02-07 00:17:54 +01:00
dankito 878f51ac31 Fixed setting default accounts icon 2022-02-07 00:17:54 +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 633462dea3 Fixed that navigation bar title didn't get translated 2022-02-07 00:17:54 +01:00
dankito bb2343d4f4 Implemented displaying bank icon for transaction if transactions of all banks are displayed. Extracted IconView for that 2022-02-07 00:17:54 +01:00
dankito 62c3677769 Fixed that 'Add account' NavigationLink was displayed with white background and that it could not be distinguished from a list item (by giving it a greater height). Also implemented that AddAccountDialog gets created lazily 2022-02-07 00:17:54 +01:00
dankito eadd77e047 Fixed that TAN media view only gets displayed if there are at least two TAN media 2022-02-07 00:17:54 +01:00
dankito 8f15bd25b3 Implemented resizing TAN image 2022-02-07 00:17:54 +01:00
dankito 2f321faa6a Fixed throwing away everything after URL's path 2022-02-07 00:17:54 +01:00
dankito 8f7e2146ce Disabling Tab bar if no account has been added yet (due to a bug in SwiftUI, that UITabBar.appearance().isUserInteractionEnabled = false does not work reliably, i have to hide to complete TabView and show only AccountsTab instead) 2022-02-07 00:17:54 +01:00
dankito 4d2f464569 Showing an error message if user selects a bank that does not support FinTS 3.0 2022-02-07 00:17:54 +01:00