Commit Graph

621 Commits

Author SHA1 Message Date
dankito 09d90c6c9d Renamed property accountData to account 2022-02-07 00:18:07 +01:00
dankito e973ce256b Added conversion to BigDecimal directly to Amount 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 f3c1007b5e Also checking on app start-up if now no more transactions can be retrieved from bank server 2022-02-07 00:18:07 +01:00
dankito 1bc8a93ba4 Fixed checking if all transactions have been fetched by using retrievedTransactionsFromOn (as first retrieved transaction may not is on the first day of the fetched period( 2022-02-07 00:18:07 +01:00
dankito f96e7a4b30 Fixed setting ninety days ago to from midnight on so that retrievedTransactionsFromOn gets set correctly -> check in BankingPresenter if all transactions have been fetched also works for this day 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 e78e0e93f9 Added button to add account if no accounts have been added yet 2022-02-07 00:18:07 +01:00
dankito f811d25ffd Fixed that 'Could not retrieve transactions' message got displayed even though no account has been added (yet) 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 f5f3f34d3b Renamed TanProcedure to TanMethod in fints4k 2022-02-07 00:18:07 +01:00
dankito 07446568ed Fixed that super.typeFromId() didn't resolve Lists and Sets (but still don't know why Jackson writes their classes as id to output) 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 fcdf60f596 Removed alert after adding account to ask user if now all account transactions should get fetched 2022-02-07 00:18:07 +01:00
dankito 332c90a9e0 Fixed that response.errorsToShowToUser got mapped to an empty string instead of null if response.errorsToShowToUser is empty 2022-02-07 00:18:07 +01:00
dankito 63caf84894 Fixed setting displayIndex only if adding account was successful 2022-02-07 00:18:07 +01:00
dankito 129b4f64fa Added account to GetTransactionsParameter 2022-02-07 00:18:07 +01:00
dankito d8739cf193 Renamed isSuccessful to successful 2022-02-07 00:18:07 +01:00
dankito 6ed4acd8f2 Changed constructor parameter order 2022-02-07 00:18:07 +01:00
dankito 79ebb35bc7 Added convenience constructors for when retrieving data was successful 2022-02-07 00:18:07 +01:00
dankito ec3cdb1c39 Added convenience constructor for when an error occurred 2022-02-07 00:18:07 +01:00
dankito 2d4499514a Implemented calculating isSuccessful in AddAccountResponse and GetTransactionsResponse 2022-02-07 00:18:07 +01:00
dankito f444a45730 Derived AddAccountResponse from GetTransactionsResponse 2022-02-07 00:18:07 +01:00
dankito 044648f569 Calculating supportsRetrievingTransactionsOfLast90DaysWithoutTan now from retrieved data (but try to get rid of it anyway) 2022-02-07 00:18:07 +01:00
dankito 99205b53c9 Removed bankAccount property from GetTransactionsResponse 2022-02-07 00:18:07 +01:00
dankito 50a5938046 Made all properties overridable 2022-02-07 00:18:07 +01:00
dankito 7cb19d6f7d Extracted RetrievedAccountData, makes code way better readable 2022-02-07 00:18:07 +01:00
dankito 58748579b4 Updated logged message 2022-02-07 00:18:07 +01:00
dankito b403557f2d Implemented checking if bank supports setting count max entries. Had to adjust Jackson serialization so that and not just JobParameters gets saved and restored and to implement a lot of default constructors for this 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 28537668ff Implemented passing only new transactions to persister.saveOrUpdateAccountTransactions(). Had to call saveOrUpdateAccountTransactions() therefore also in receivedAccountsTransactionChunk listener 2022-02-07 00:18:06 +01:00
dankito 0e0a7b5207 Implemented filtering out duplicate transactions as some banks return some transactions multiple times in MT940 response 2022-02-07 00:18:06 +01:00
dankito 3d33af68a1 Removed unused updateCustomer() 2022-02-07 00:18:06 +01:00
dankito f62f30dd8e Fixed that mapped TAN media und procedures got discarded and replaced by new instances and therefore inserted another time into database resulting in duplicates 2022-02-07 00:18:06 +01:00
dankito de20ae4a98 Removed unused AmountFormat 2022-02-07 00:18:06 +01:00
dankito 67b282beb2 Added horizontal divider to remittee list items 2022-02-07 00:18:06 +01:00
dankito 4afa18b336 Added padding to list_item_remittee 2022-02-07 00:18:06 +01:00
dankito e612d51045 Fixed height after hiding txtvwRemitteeBankName if name isn't set 2022-02-07 00:18:06 +01:00
dankito a935517b10 Removed useless constructor keyword 2022-02-07 00:18:06 +01:00
dankito 0d9eff266f Again filtering out duplicates after setting bank name as now some remittees contain the same information 2022-02-07 00:18:06 +01:00
dankito d01074e070 Added to fallbacks to find bank name from BIC or IBAN 2022-02-07 00:18:06 +01:00
dankito 7cd7678542 Hiding txtvwRemitteeBankName if bank name isn't set 2022-02-07 00:18:06 +01:00
dankito 8f24802a55 Implemented also displaying BIC in remittee search result list 2022-02-07 00:18:06 +01:00
dankito bf5514f37b Implemented IRemitteeSearcher in RoomBankingPersistence 2022-02-07 00:18:06 +01:00
dankito 12e84109f3 Implemented persisting data with Room 2022-02-07 00:18:06 +01:00
dankito 29dbe70983 Ensured that persisting methods get called off UI thread 2022-02-07 00:18:06 +01:00
dankito 4d50b12fa9 Fixed that in some cases accountsChangedListeners got called with only one bank as parameter instead of all banks 2022-02-07 00:18:06 +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 725e0ef881 Fixed that for AccountTransactionEntity comparing didn't work 2022-02-07 00:18:06 +01:00
dankito 6f354724be Fixed that when an account gets deleting its BankingClient data didn't get deleted 2022-02-07 00:18:06 +01:00
dankito 8cac7b52ee Fixed that for a new account may an old (undeleted) file with may an old, wrong password got used 2022-02-07 00:18:06 +01:00
dankito d14afbcd2c Using now technicalId as id 2022-02-07 00:18:06 +01:00
dankito 49db711296 Made GetTransactionsResponse callback optional 2022-02-07 00:18:06 +01:00
dankito e7d665f588 Added bottom bar to ask user if she likes to fetch all transactions 2022-02-07 00:18:06 +01:00
dankito 5b054dcb52 Hiding keyboard when showing instant payment info PopupWindow 2022-02-07 00:18:06 +01:00
dankito b33964a76b Fixed instant payment layout (show info button is now right after label and label ellipsizes if there's not enough space 2022-02-07 00:18:06 +01:00
dankito 6467964305 Fixed calling accountsChangedListeners on changes, e.g. when bank displayName or bank displayIndex changed 2022-02-07 00:18:06 +01:00
dankito f847e5e651 Started BankSettingsDialog with most important fields 2022-02-07 00:18:06 +01:00
dankito 731c2b7d51 Implemented standard views for a form to make more pleasant and consistent forms 2022-02-07 00:18:06 +01:00
dankito 4709038f8a Fixed indent 2022-02-07 00:18:06 +01:00
dankito 7a35763450 Limiting fields to exactly one line 2022-02-07 00:18:06 +01:00
dankito a1bee0aaa0 Set textColorSecondary to a different gray (left textColorPrimary at the same value) and using them consequently throughout the app to make a more pleasant view 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 ddf2336ed5 Implemented that if count lines is <= count max displayed lines in collapsed mode, not expand button gets displayed 2022-02-07 00:18:06 +01:00
dankito 2b0a1e9e14 Fixed that for non optical TAN procedures entering TAN options haven't been set 2022-02-07 00:18:06 +01:00
dankito bb0a2f9713 Implemented displaying how many transactions currently are displayed and the balance of displayed transactions 2022-02-07 00:18:06 +01:00
dankito 921447bda8 Implemented displaying an info label to explain what instant payment is about 2022-02-07 00:18:06 +01:00
dankito 92fe48720c Removed unused MaxHeightScrollView 2022-02-07 00:18:06 +01:00
dankito f7f6e7703b Implemented showing select TAN media view only if there is more than one TAN medium for this TAN procedure 2022-02-07 00:18:06 +01:00
dankito 51c7a9f098 Added space between select TAN procedure view and TAN view 2022-02-07 00:18:06 +01:00
dankito 4afd7df317 Raised spacing a bit 2022-02-07 00:18:06 +01:00
dankito 73d8570997 Implemented collapsing 2022-02-07 00:18:06 +01:00
dankito f4c7fad039 Fixed indent 2022-02-07 00:18:06 +01:00
dankito 0be1b15346 Set icons for TAN image size and flicker code frequency, reduced label 'Geschwindigkeit' zu 'Geschw.' 2022-02-07 00:18:06 +01:00
dankito 18a71086e4 Left aligned 'Accounts:' label with EditTexts' labels; reduced space between account and remittee name; made accounts text size and icon bigger 2022-02-07 00:18:06 +01:00
dankito f26c59d2f4 Added same space to next EditText if there is a validation hint or error is displayed 2022-02-07 00:18:06 +01:00
dankito 826221497b Forgot to commit new string keys 2022-02-07 00:18:06 +01:00
dankito 62974304f0 Reduced bottom margin a bit 2022-02-07 00:18:06 +01:00
dankito 5f18bf656d Displaying numeric keyboard if allowed TAN format is numeric 2022-02-07 00:18:06 +01:00
dankito 69c30c2ebc Little refactoring 2022-02-07 00:18:06 +01:00
dankito 29bfaa80ac Selecting all text when focusing bank text field 2022-02-07 00:18:06 +01:00
dankito bd2e114c9b Using same texts in AddAccountDialog on Android now as on iOS 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 104b1869a8 Reduced account transactions list items height, reduced horizontal margin and remove recycler view's top margin 2022-02-07 00:18:06 +01:00
dankito 6af1820893 Added divider between account transactions list items 2022-02-07 00:18:06 +01:00
dankito c5cace98df Centered usage 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 cc6e02f431 Enabled AndroidX vector drawables 2022-02-07 00:18:06 +01:00
dankito 42aaadd5ae Accounts transactions list item: Merge booking text and other party name, made them more prominent and remove unused usage2 2022-02-07 00:18:06 +01:00
dankito 744af2880c Fixed that changes make in UI settings haven't been reflected in clients 2022-02-07 00:18:06 +01:00
dankito b7d94e8a17 Implemented specifying detaily if a bank, an account or only display index got updated 2022-02-07 00:18:06 +01:00
dankito 0ea9fad7a0 Implemented restoring data directly when creating fints4kBankingClient. This also fixes that restored BankData has data that mapped BankData didn't have (like allowedJobs, pinInfo, ...) 2022-02-07 00:18:06 +01:00
dankito 63259ff404 Merged CustomerData and BankData 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 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