Commit Graph

266 Commits

Author SHA1 Message Date
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 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 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 ec65600153 Replaced UIKitTextField by LabelledUIKitTextField 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 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 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 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 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 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 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 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 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