Commit Graph

513 Commits

Author SHA1 Message Date
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 397acebf79 Extracted iOSIsRealDevice so that it's easier to switch between iOS Simulator and real device 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 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