Commit Graph

450 Commits

Author SHA1 Message Date
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
dankito 685693ab23 Graying out banks that do not support FinTS 3.0 2022-02-07 00:17:54 +01:00
dankito 26717bf70b Renamed placeHolder to placeholder 2022-02-07 00:17:54 +01:00
dankito 98428959bb Extracted UIKitExtensions 2022-02-07 00:17:54 +01:00
dankito 38da439888 Removed unused (unusable) focus() and clearFocus() 2022-02-07 00:17:54 +01:00
dankito 9074689523 Fixed removing horizontal bars from UIKitSearchBar 2022-02-07 00:17:54 +01:00
dankito 9d1dbadd46 Copied placeholder, focusOnStart, actionOnReturnKeyPress and textChanged from UIKitTextField to UIKitSearchBar 2022-02-07 00:17:54 +01:00
dankito 6a4f41a578 Fixed focusOnStart 2022-02-07 00:17:54 +01:00
dankito 8695a1c049 Fixed mapping response that isSuccessful gets set to false if response code is not a 2xx 2022-02-07 00:17:54 +01:00
dankito bfabbcf3ba Also using now isNotEmpty 2022-02-07 00:17:54 +01:00
dankito 847f1b2508 Displaying an icon for AllBanksListItem; extracted AccountFallbackIcon 2022-02-07 00:17:54 +01:00
dankito 4597c3fce5 Fixed font for BankListItem 2022-02-07 00:17:54 +01:00
dankito ae1b209db4 Implemented hiding update all accounts' transaction when no account has been added; Implemented array extension property isNotEmpty 2022-02-07 00:17:54 +01:00
dankito 766209c1e6 Fixed english translation for TransferMoneyDialog title 2022-02-07 00:17:54 +01:00
dankito 38306e9765 Fixed that app data gets saved to documents instead of application support directory 2022-02-07 00:17:54 +01:00
dankito 2a1b9ce198 Implemented IconedTitleView to display bank's icon alongside its name 2022-02-07 00:17:54 +01:00
dankito 338995e671 Fixed iterating over banks so that ForEach is able to handle dynamic changes (e.g. when an account got added) 2022-02-07 00:17:54 +01:00
dankito 341b68fec1 As documents folder path points after each restart to a different folder, saving absolute paths obviously doesn't work. Using now (temporarily) UserDefaults to save bank icons. To encapsulate this added method readContentOfFile(). 2022-02-07 00:17:54 +01:00
dankito d653cd913b Removed unused first imageset 2022-02-07 00:17:54 +01:00
dankito 99704f412b Fixed accounts icon (made it scalable and fixed that selected background color didn't get set by setting rendering mode to 'Template') 2022-02-07 00:17:54 +01:00
dankito a2785244a1 Fixed removing nil items so that cast to [Favicon] can succeed 2022-02-07 00:17:54 +01:00
dankito fb071f8826 Implemented making URLs absolute 2022-02-07 00:17:54 +01:00
dankito b898f9d17e Implemented SwiftBankIconFinder 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 20cd16e509 Fixed showing previous selected tab after choosing an option from 'New ...' ActionSheet 2022-02-07 00:17:54 +01:00
dankito 1f66bdfc63 Fixed German translation of Onlinebanking 2022-02-07 00:17:54 +01:00
dankito 014e19d4e8 Implemented textChanged listener 2022-02-07 00:17:54 +01:00
dankito 2e62a23e63 Fixed that text got updated during view update 2022-02-07 00:17:54 +01:00
dankito 5f97a21965 Added default behaviour for return key 2022-02-07 00:17:54 +01:00
dankito ebf4488e90 Implemented focusing text field right on start and focus() and clearFocus() 2022-02-07 00:17:54 +01:00
dankito 15939d5862 Implemented focusing the next text field on return key press 2022-02-07 00:17:54 +01:00
dankito e7127aa88b Implemented UIKitTextField to be able to react to Return key presses 2022-02-07 00:17:54 +01:00
dankito 4512b024f8 Removed findBankWebsite() from IBankIconFinder 2022-02-07 00:17:54 +01:00
dankito d76e4022ec Implemented Contextmenu to transfer money to selected transaction's other party 2022-02-07 00:17:54 +01:00
dankito 7b8a83d1fd Removed unnecessary code 2022-02-07 00:17:54 +01:00
dankito 1440a298ba Fixed that account tab's navigation bar title didn't get unset (so e.g. also TransferMoneyDialog displayed 'Accounts' as navigation bar title 2022-02-07 00:17:54 +01:00