Commit Graph

382 Commits

Author SHA1 Message Date
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 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 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 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 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 d8739cf193 Renamed isSuccessful to successful 2022-02-07 00:18:07 +01:00
dankito 826af7c8b8 Implemented BankListPrettifier to remove duplicate bank entries and to set better names (e.g. 'Deutsche Bank' instead of 'DB Privat- und Firmenkundenbank ...') 2022-02-07 00:18:07 +01:00
dankito 79b61dcb52 Fixed that banks parameter may contained only one bank 2022-02-07 00:18:06 +01:00
dankito 20969ff14f Added LabelledValue to have an easier view to display a key an a value 2022-02-07 00:18:06 +01:00
dankito c38f6a6e1a Implemented wrapping UIKitTextField in a scroll view if text doesn't fit into available space 2022-02-07 00:18:06 +01:00
dankito d14afbcd2c Using now technicalId as id 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
dankito 78d691954c Equalized message to ask if account should be deleted between all three platforms. Made messages clearer, ixed typos 2022-02-07 00:18:06 +01:00
dankito 035b7b3d33 Set transactions label to max 1 line and usage to max 2 lines 2022-02-07 00:18:06 +01:00
dankito 033a29492d Implemented hiding keyboard on return key press for UIKitSearchBar 2022-02-07 00:18:06 +01:00
dankito 96b6f4a718 Extracted SearchBarWithLabel 2022-02-07 00:18:06 +01:00
dankito d84da617ba Fixed displaying search bar over almost full screen width 2022-02-07 00:18:06 +01:00
dankito 2339cba451 Set Divider color to gray instead of black, makes it more friendly and less hard 2022-02-07 00:18:06 +01:00
dankito 9c8fe481f8 Fixed that Divider didn't set its color correctly 2022-02-07 00:18:06 +01:00
dankito 53f0380302 Fixed that search bar didn't scroll out of view but was always visible 2022-02-07 00:18:06 +01:00
dankito 5277438009 Renamed back "accounts" and "new" icon to lower case as it's really strange Git, cannot commit upper case name 2022-02-07 00:18:06 +01:00
dankito 78f09befbd Moved extensions to folder extensions 2022-02-07 00:18:06 +01:00
dankito 797e108485 Moved remaining views to views folder 2022-02-07 00:18:06 +01:00
dankito d9d7b8a604 Git didn't commit that als BankSettingsDialog has been moved 2022-02-07 00:18:06 +01:00
dankito 12cfd95300 Added unfinished LabelledUIKitTextFieldWithValidationLabel 2022-02-07 00:18:06 +01:00
dankito fb57a41ca4 Moved all UIKit related classes to UIKit 2022-02-07 00:18:06 +01:00
dankito 6dbc85fea4 Moved TAN related views to view/tan 2022-02-07 00:18:06 +01:00
dankito 7f343b81e4 Moved all list items to folder view/listitems 2022-02-07 00:18:06 +01:00
dankito 42e10044f6 Moved all dialogs to folder dialogs 2022-02-07 00:18:06 +01:00
dankito 07a1adf9d1 Renamed AccountsTab to AccountsDialog and SettingsTab to SettingsDialog 2022-02-07 00:18:06 +01:00
dankito 434e80a13d Removed not working tests (Xcode wasn't able to compile BankingUiSwift dependencies in tests) 2022-02-07 00:18:06 +01:00
dankito 00241ea082 Renamed app name to Bankmeister 2022-02-07 00:18:06 +01:00
dankito 9027430616 Set BankTransfer icon to two arrows in a circle 2022-02-07 00:18:06 +01:00
dankito eb4fc1aaeb Renamed all icons to start with an upper case letter; renamed gear.fill to Settings 2022-02-07 00:18:06 +01:00
dankito 98d405687b Fixed indent 2022-02-07 00:18:06 +01:00
dankito b2a7b19e03 Reduces space between text and button a bit 2022-02-07 00:18:06 +01:00
dankito 184bd85a48 Fixed that empty space between title and amount wasn't tapable 2022-02-07 00:18:06 +01:00
dankito 6b922fc2c6 Implemented convenience method to show an Alert from a Message 2022-02-07 00:18:06 +01:00
dankito 7dc43aa369 Fixed typo 2022-02-07 00:18:06 +01:00
dankito b11bc25c58 Removed unused files 2022-02-07 00:18:06 +01:00
dankito b98bacd94a Fixed running code async 2022-02-07 00:18:06 +01:00
dankito cc9f142800 Dismissing views now animated by default 2022-02-07 00:18:06 +01:00
dankito 78d69cb673 Fixed typo 2022-02-07 00:18:06 +01:00
dankito 4398b9536f Fixed 'Secure data with?' key 2022-02-07 00:18:06 +01:00
dankito 6201f277cc Dismissing now AddAccountDialog manually so that we can show 'Secure data?' alert synchronously 2022-02-07 00:18:06 +01:00
dankito 3d11614921 Fixed that focusTextField may gets called during view update resulting in 'undefined behavior' 2022-02-07 00:18:06 +01:00
dankito 0baa74484b Gave usage a whole line as it often contains long texts (TODO: make it multiline, e.g. with UITextView) 2022-02-07 00:18:06 +01:00
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 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