Commit graph

  • e5438193ff Add google-services.json to gitignore Severiano Jaramillo 2019-01-02 09:31:21 -0600
  • 12b657137e Merge branch 'develop' of github.com:Agorise/bitsy-wallet into develop Severiano Jaramillo 2019-01-02 09:27:31 -0600
  • 242fe7656a Enable the transaction direction filter, the user can apply the filter and see all transactions or just the sent or received. Severiano Jaramillo 2019-01-02 09:27:25 -0600
  • 88bdec9bd7
    Update LICENSE Agorise 2019-01-01 10:43:11 -0600
  • f279512c57 Enable the transaction direction filter, the user can apply the filter and see all transactions or just the sent or received. Severiano Jaramillo 2018-12-26 19:40:56 -0600
  • ddf7f16c2b Create FilterOptionsDialog, which opens when the user clicks the filter icon in the Transactions toolbar. This dialog communicates back a forth with the TransactionsFragment to update the selected filter options via the OnFilterOptionsSelectedListener interface. Severiano Jaramillo 2018-12-26 11:59:02 -0600
  • e4391dad73 Fix crash related to using the wrong RxBinding method with the Transactions SearchView, make some improvements and remove the old code used with the SearchView before using the SearchView's RxBinding method. Severiano Jaramillo 2018-12-24 11:15:25 -0600
  • a39daaf155 Update RxBinding library version to 3.0.0-alpha2 and its usages. The new version makes use of Kotlin extension functions which are elegant and effective. Also, make use of RxBinding in Transactions Toolbar SearchView, to add a nice debounce effect to wait 500ms after the user stops writing the search query, and actually call the filter method to avoid multiple calls while the user is still typing. Severiano Jaramillo 2018-12-24 10:55:54 -0600
  • 2f720bb114 Add functionality to the Search funtion in the Transactions' toolbar, which fires events to filter the transactions list while the user types a search query. Severiano Jaramillo 2018-12-24 08:44:07 -0600
  • 4391ff5ad4 Simplify BounceTouchListener and TransactionsFragment, to produce the same bouncy effect when overscrolling the transactions list, but with much less code. Severiano Jaramillo 2018-12-23 21:51:46 -0600
  • 6ef5d84394 Show memo if available in the Transactions list. Severiano Jaramillo 2018-12-23 20:12:04 -0600
  • 9fe152ef7c Make the task to check if there are new transactions that involve the current user account a recurrent task. Severiano Jaramillo 2018-12-23 19:15:03 -0600
  • 4b16a90870 Fix nodes dialog's node text style. Severiano Jaramillo 2018-12-23 15:34:45 -0600
  • f8e5a84da8 Remove Settings status footer and added instead a line below General's Night mode, View Network Status whith an icon that shows the current network status. When clicked it opens the Nodes dialog. Changed Nodes dialog title to show the current app version and added the block number as a single line below it. Severiano Jaramillo 2018-12-23 15:10:44 -0600
  • 962afe78c6 Create method to always observe the database for Missing transaction times, which automatically launches a call to the NetworkService to obtain such value from the corresponding transfer's blockNumber. This value is updated in the Database and shown in the corresponding transaction item in the Transactions screen automatically. Severiano Jaramillo 2018-12-23 14:11:26 -0600
  • 7fb1d4ff86 Add date field to TransferDetails model and correctly format and display it in the Transactions list. Severiano Jaramillo 2018-12-21 23:33:58 -0600
  • a96f3d0b77 Added ppGren to the colors resource, which is the PalmPay green and used that color in the connected status icon and the color of the latencies < 400ms. Severiano Jaramillo 2018-12-21 21:55:17 -0600
  • c4fd79f22c Create FullNodesAdapter to display a live updated list of the nodes the app is watching and also the one it is connected to. This list is displayed inside a dialog that pops when the user clicks the status icon in the Settings Footer. The dialog also shows the live updated BitShares Block Number Severiano Jaramillo 2018-12-21 20:55:36 -0600
  • 504441afa2 Connect SettingsFragment to graphenej's NetworkService and use the onServiceConnected and onServiceDisconnected to change the connection status icon in the footer accordingly. Severiano Jaramillo 2018-12-21 20:14:31 -0600
  • ae8a2f17e3 Add a footer to the SettingsFragment, which contains the app logo, the app name, version name and the Connection status icon. Severiano Jaramillo 2018-12-21 18:40:35 -0600
  • 80b5f9f571 Avoid sharing the QR code image if the fields are not filled correctly Severiano Jaramillo 2018-12-21 18:24:39 -0600
  • 5240e88e1f - Add a FileProvider to the Manifest, to enable the app to share images with other applications. - Modify the method that creates a temp image of the screenshot to use the FileProvider described above. - Improve ReceiveTransactionFragment UI so that the QR screenshot looks nicely spaced. Severiano Jaramillo 2018-12-21 18:12:34 -0600
  • 9647e700ed Change the merchants and ambs webservice url. Severiano Jaramillo 2018-12-21 13:05:35 -0600
  • 62fdc6a3e4 Add the share menu icon to the ReceiveTransactionFragment toolbar, verify for the storage permission required to store a temp image of the QR code when the sare icon is tapped and create a temp image of the QR code to be used later to send a share intent to the Andriod System so that it shows the user a list of options for him to select his preferred one. Severiano Jaramillo 2018-12-20 20:28:31 -0600
  • e3bea9f475 Center text vertically below QR code and fix Please Pay string. Severiano Jaramillo 2018-12-20 18:06:11 -0600
  • 4beec4e66a Add the BitShares icon to the Main screen toolbar and update the toolbar background so that it automatically uses the primaryColor of the selected theme. Severiano Jaramillo 2018-12-20 16:40:48 -0600
  • fddfe1ab8b Set the 'Automatically close BiTSy after 3 minutes of inactivity' feature on by default. Severiano Jaramillo 2018-12-20 14:17:50 -0600
  • 96fc421a99 Change the font used in the entire appto PFBeauSansPro. Severiano Jaramillo 2018-12-20 14:02:39 -0600
  • 397515fea9 Improve AutoSuggestAssetAdapter to use Bitsy's Asset model, which has a 'toString' method to automatically show the symbol of the AssetSelected in the AutoCompleteTextView. Also Add a variable to avoid clearing the QR code just after the user selects an Asset from the AutoComplete suggestions. Severiano Jaramillo 2018-12-20 13:57:47 -0600
  • 7f462bec63 - Add a responseMap (HashMap) to ConnectedActivity so that it only reacts to calls it has made. - Create AutoSuggestAssetAdapter which is used in the ReceiveTransactionFragment's AutoCompleteTextView to show suggestions backed by the response from queries to the BitShares nodes, according to what the user has already typed in the text field. Severiano Jaramillo 2018-12-20 13:34:11 -0600
  • 8fd7c28256 In ReceiveTransactionFragment, add an 'Other...' option at the end of the assets spinner and when the user selects it an AutoCompleteTextView appears below where the user can select other asset, the AutoCompleteTextView suggestions will be backed by BitShares node queries to show matching Assets. Severiano Jaramillo 2018-12-20 09:59:10 -0600
  • e8ec0e6f89 Create AssetsAdapter and use it to populate the asset spinner in the ReceiveTransactionFragment, so the user the asset he wants to receive. Severiano Jaramillo 2018-12-20 08:48:48 -0600
  • 49f920877a Use the NetworkService's GetAssets call to obtain the information of missing Assets and store it into the database, this enables us to remove the DatabaseLoad Activity and new assets information is downloaded as needed. Severiano Jaramillo 2018-12-19 20:25:58 -0600
  • 13662c29d5 Updated graphenej gitlink Severiano Jaramillo 2018-12-19 19:55:33 -0600
  • a3c4c9a816 Update Bitsy's app icon. Severiano Jaramillo 2018-12-19 19:34:46 -0600
  • 26e1e427c9 Add Transactions toolbar menu items with their respective icons. Severiano Jaramillo 2018-12-19 10:08:24 -0600
  • cee1753184 Create BounceTouchListener class in the project and use it to add a Bouncy effect to the Transactions items when the user tries to overscroll. Severiano Jaramillo 2018-12-19 09:43:09 -0600
  • 5af88291bc Update the Navigation component library version and Gradle version. - Add simple slide in and out transition animations to the Send and Receive Transaction Fragments. Severiano Jaramillo 2018-12-19 09:24:56 -0600
  • d5d01115f8 Request merchants locations from the webservice and add them to the Merchants map. Severiano Jaramillo 2018-12-18 09:27:26 -0600
  • 89cf6f3df2 Add slide-in animation when the Transactions items are loaded into the screen. Severiano Jaramillo 2018-12-18 08:51:45 -0600
  • dc7decfb77 Sort Balances alphabetically by symbol and place the asset symbol to the left and the balance amount to the right. Severiano Jaramillo 2018-12-18 07:55:04 -0600
  • 720b4f7b1e Add BalanceView model and a method into it that is always observing the database and when it detects that there is missing assets information creates a list of such missing assets and fires an event to obtain the said information. Severiano Jaramillo 2018-12-18 07:37:21 -0600
  • 5c20e2470d Avoid a crash in SendTransactionFragment when there are no assets loaded into de db. Severiano Jaramillo 2018-12-17 16:51:24 -0600
  • f8c9594602 Remove DatabaseLoadActivity and all related code. Severiano Jaramillo 2018-12-17 15:46:44 -0600
  • d425e4eece Enable just the best 7 BitShares nodes for the Mexico region. - Disable the Memo field for now, we will fix and enable it later. Severiano Jaramillo 2018-12-15 10:19:58 -0600
  • 41f7541918 Added code to fetch the merchants locations from the palmapay intranet web service. Severiano Jaramillo 2018-12-14 18:46:01 -0600
  • 5659a1dd8c Fix crash when trying to insert an account that already exists in the database. Severiano Jaramillo 2018-12-14 16:02:00 -0600
  • a2c2c315b9 Add Firebase required libraries and configuration to Bitsy and enable Crashlytics. Severiano Jaramillo 2018-12-14 15:23:12 -0600
  • 47e122e46c - Add the required libraries to fetch the merchants data from the web service. - Create methods to redraw the Balances and NetWorth fragments each time they appear to the user, to temporarily avoid them not displaying correctly after returing from another screen or when changing the theme. Severiano Jaramillo 2018-12-14 14:20:16 -0600
  • 5ddce2a33f Added a map to the Merchants section with the default values and using the Google Maps API key Tadeo created when he was working on the project. Severiano Jaramillo 2018-12-14 12:12:42 -0600
  • 283125b40e Add google maps library. Severiano Jaramillo 2018-12-14 11:42:05 -0600
  • ba113e1a7f Found that enabling ProGuard's minify for the debug version breaks the debugger breakpoints functionality, minify was disabled until a solution is found. Severiano Jaramillo 2018-12-14 11:12:30 -0600
  • f76f293811 - Add a third tab to the Balances/Networth Tablayout which contains only a Pie chart as the title but has no content yet. - Lighten up the above tabs that are not the current selected one. They are still grayed but just a bit. Severiano Jaramillo 2018-12-14 10:23:01 -0600
  • 20e17108ec Enabled proguard for both debug and release versions and fixed the gradle warnings related to proguard unsatisfied rules in a correct way without ignoring all possible warnings. Severiano Jaramillo 2018-12-14 09:54:02 -0600
  • 1a335b2ab5 Change settings icon to outlined. Severiano Jaramillo 2018-12-13 20:56:18 -0600
  • 8d25b92063 Create a new BalancesFragment and NetWorthFragment which are used in the HomeFragment's second card. The Balances is already working but the NetWorth only shows a 'Coming soon' notice. Severiano Jaramillo 2018-12-13 20:53:38 -0600
  • a608ec162a Create the menus for Balances and Net Worth that make use of a customized TabLayout and a ViewPager to obtain the desired effect. - Created custom themed attribute colorBackgroundFocusable to assign the correct background color to the balances and net worth tabs. - Renamed BalancesFragment to HomeFragment because, the BalancesFragment will now only be used to display the Balances in the above mentioned ViewPager. Severiano Jaramillo 2018-12-13 20:21:03 -0600
  • dd290a4b2c Improve Balances' Material cards to show nice elevation with shadows. Severiano Jaramillo 2018-12-13 16:57:58 -0600
  • 8f0026c205 - Update the MaterialDialogs library version. - Add the functionality to the Settings BrainKey's View & Show button. It first fetches the brainkey from the authorities db table and then shows it in a custom MaterialDialog so that the user can view and copy it. Severiano Jaramillo 2018-12-13 16:01:26 -0600
  • f45d9055c3 Add functionality to the Settings 'Automatically close BiTSy after 3 minutes of inactivity', the user selection is saved into the SharedPreferences and if it happens to be true then the app will close when that time amount of inactivity happens. Severiano Jaramillo 2018-12-13 14:29:32 -0600
  • e1c32eb7f8 Add methods to automatically change the theme to night mode when the user selects it and also avoid a crash in the TransfersLoader. Severiano Jaramillo 2018-12-13 13:10:19 -0600
  • ffebc39bcf Add Send/Receive text below the Send/Receive buttons in the Balances screen and improve its layout so they are always centered both vertically and horizontally. Severiano Jaramillo 2018-12-13 12:47:25 -0600
  • 5a6b098f38 Replaced SettingsActivity with SettingsFragmet and created the Navigation methods to hook the Balances' Settings toolbar icon with the Settings fragment so it automatically opens when the icon is tapped. Severiano Jaramillo 2018-12-13 12:34:42 -0600
  • 1565bab28c Improve Transactions' cards UI. Severiano Jaramillo 2018-12-13 11:49:57 -0600
  • 22666021f1 - Add Navigation's SafeArgs plugin to the project, this plugin enables to pass arguments between fragments in a safe way. - Use the Navigation AAC to create the navigation from the Balances to the Send and Receive fragments, using Navigation's SafeArgs to activate the camera in SendTransactionFragment in the case the user tapped on the camera button instead ofjust the send button in the Balances. Severiano Jaramillo 2018-12-13 11:24:18 -0600
  • 6e25dd7589 Create new Balances layout with the send and receive buttons at the top and the user balances at the bottom per Ken's design. Severiano Jaramillo 2018-12-13 10:16:57 -0600
  • 2619541e16 - Create and add the new Transactions, Merchants and Settings icons and use them in the Balances toolbar. - Remove the transactions section from the Balances fragment. - Create a new TransactionsFragment which hosts the list of trasactions. - Add the transactions destination to the navigation graph so that the Navigation component automatically handles the transition when the transactions icon is selected in Balances. Severiano Jaramillo 2018-12-13 08:20:17 -0600
  • 3d6ce645b5 Make proper configurations to enable the Navigation component and make use of it to add the navigation to the Merchants fragment and back to the Balances fragment. Severiano Jaramillo 2018-12-12 21:30:27 -0600
  • 82efa60a36 Introduce the new Android Architecture Components' Navigation. - Remove the old MainActivity layout that included a BottomNavigationView. - Start using the Navigation AAC and make the BalancesFragment the default Fragment so that it is the first to appear. Severiano Jaramillo 2018-12-12 20:56:20 -0600
  • 410d22c5b0 Create Settings screen layout. Severiano Jaramillo 2018-12-11 16:22:55 -0600
  • 2dc0deb23f Improve ImportBrainkeyActivity by automatically showing errors if the PIN is not long enough, the PIN Confirmation does not match or if the brainkey does not have the correct format as the user types but with a small debunce to avoid showing errors while the user is typing. Once the three fields are correct then the Import button is enabled. Severiano Jaramillo 2018-12-11 13:25:15 -0600
  • bada77f224 Enable proguard minify to reduce size of the release APK. After enabling the minify some warnings did not allow to build the release APK so I disabled the proguard warnings for now but a proper solution has to be found that actually handles the warnings in a proper way. Severiano Jaramillo 2018-12-10 17:19:28 -0600
  • 50a266ffb4 - Move the method to updateBalances from the MainActivity to the ConnectedActivity, so that it can be always trying to update the Balances even if we are not in the MainActivity and also to be able to update the Balances right after we notice there are new transactions for the current BitShares account. - Move the TransfersLoader from MainActivity for the same reason than the updateBalances method described above and fix it so that it no longer needs the activity Lifecycle. Severiano Jaramillo 2018-12-08 22:55:28 -0600
  • 0f96c48135 Create method to update the Transactions list when new operations are detected for the current user account. When new transactions are fetched and saved into the database they automatically appear on the Transactions list. Severiano Jaramillo 2018-12-08 22:15:06 -0600
  • 2b168180c6 Prevent calling the method to obtain account iformation when there is no longer missing account information. Severiano Jaramillo 2018-12-08 20:52:48 -0600
  • 628b30ce54 Created a method that is always listening to changes in the database and finds out when at least one UserAccount involved in a transaction is not present in the user_accounts db table. When such accounts are found they are retrieved in a form of a list and their information is requested to the BitShares nodes through graphenej's NetworkService and saved into the db once a response is received. The updated user account information is automatically displayed in the transactions list because of AAC's ViewModel, LiveData and Room. Severiano Jaramillo 2018-12-08 20:36:31 -0600
  • 496e0ac21f Add cryptoAmount, cryptoPrecision and cryptoSymbol to TransferDetails model and fetch that iformation from the database, which is later used to correctly format and display the crypto amount in the Transactions list. Severiano Jaramillo 2018-12-07 17:23:44 -0600
  • 8ef4610db3 - Update graphenej reference to use a new method included to Broadcast a Transaction using the NetworkService's centralized node connection. - Make use of the described new method in Graphenej's NetworkService to actually broadcast a Bitsy transaction to the blockchain. If the transaction is successful then all SendTransactionActivity fields are cleaned, the Send button hiden and a Toast showing that the transaction was successful. If the transaction fails then a Toast shows the error received from the Blockchain explaining the reason for the failure. Severiano Jaramillo 2018-12-07 16:10:08 -0600
  • 04b509651b - Adjusted how the Android virtual keyboard appears on the screen so that it does not distort the QR code image. - Created a method to update the QR code when the user updates the Amount text field information, using RxJava debounce to avoid calls while the user is still typing. - Created a method to remove the QR when there is no Asset selected. Severiano Jaramillo 2018-12-07 15:18:23 -0600
  • 28561d55f1 - Modified the Asset entity model by adding a method 'toString()', so that it can be used in the adapter for the ReceiveTransactionFragment's Asset AutoCompleteTextView. - Created AssetViewModel to obtain the the elements from the assetd db table using the AssetRepository and serving the obtained assets to the ReceiveTransactionFragment. - Fire an event to update the QR code when the user selects an asset from the AutoCompleteTextView. Severiano Jaramillo 2018-12-07 13:50:31 -0600
  • b9a765e682 Create custom AutoCompleteTextView which can be used inside of a TextInputLayout to show a nice square with the suggestion like the other text fields used in the app. Severiano Jaramillo 2018-12-07 12:17:45 -0600
  • 39073e3d9c Added method in ReceiveTransactionFragment to generate QR codes encoded using BitShares merchant protocol. Severiano Jaramillo 2018-12-06 21:33:40 -0600
  • dca3e6872d Create ReceiveTransactionFragment layout. Severiano Jaramillo 2018-12-06 19:09:36 -0600
  • e50f4064df - Add memo field to the transfer operation if it exists. - Create method in SendTransactionFragment that once the DynamicGlobalProperties is received, calls the Grahpenej's NetworkService method to get the required fees for the operation that the user wants to do. Severiano Jaramillo 2018-12-06 15:59:47 -0600
  • 00df51e9f9 Create method to initiate the first step required to send a transaction from the wallet, which is building a Graphenej's transaction object and request the DynamicGlobalProperties. Severiano Jaramillo 2018-12-06 15:12:38 -0600
  • 53479f8837 - Add a amount verification to the SendTransactionFragment to ensure the user has at least that amount of the selected asset in his account. - Show the balance of the current selected asset below the asset Spinner. - Enable the send transaction button only after verifying that both the to account and the amount are both valid. Severiano Jaramillo 2018-12-05 21:49:26 -0600
  • 4739e41fce - Added the RxBindings library to be able to use RxJava on Android Widgets. - Connected the SendTransactionFragment to Graphenej's NetworkService so that it can directly send requests to the nodes. - Added the RxBus to SendTransactionsFragment so that it can listen to responses from the NetworkService and take the useful ones. - Added account validation to SendTransactionFragment, if the account typed exists then the Send button is enabled, if not the button is disabled an a error is shown below the typed account. Severiano Jaramillo 2018-12-05 18:38:34 -0600
  • 5388e90331 Add methods to remember the currently selected Spinner's Asset and make sure that selection is not lost when the balances table is updated. Make an improvement to the camera feed UI. Severiano Jaramillo 2018-12-05 10:10:45 -0600
  • 2aa685d1da - Create AssetsAdapter to populate the Assets Spinner in SendTransactionFragment. - Use BalanceDetailViewModel to fetch the Balance details from the database and pass them to the AssetsAdapter. Severiano Jaramillo 2018-12-04 15:49:22 -0600
  • fa2c7a07d8 Add camera permission to Manifest to be able to use camera in the app to read QR codes. - Add methods to SendTransactionFragment to request camera permission and start/stop the camera preview accordingly. Severiano Jaramillo 2018-12-04 11:33:58 -0600
  • 95404708a9 Create SendTransactionFragment layout similar to Crystal's Severiano Jaramillo 2018-12-03 17:22:21 -0600
  • 75bd1b2e03 Created basic SendTransactionFragment and SendTransactionFragment with their respective layout files. Severiano Jaramillo 2018-12-03 15:37:27 -0600
  • 70ebea75b0 Add direction to TransferDetail and use it to display the correct left bar color and direction arrow in the Transactions list.. Severiano Jaramillo 2018-12-03 13:51:36 -0600
  • de75c12197 Created a new TransferDetail model and DAO to create a object composed form the transfers, assets, accounts, and equivalent_values db tables and used such classes to correctly show the accounts involved in transactions in the BalancesFragment. Severiano Jaramillo 2018-12-03 13:34:13 -0600
  • cd2f388894 Created a new BalancesDetail model and DAO to create a object composed form the balances and assets db tables and used such classes to correctly show the balances in the BalancesFragment. Severiano Jaramillo 2018-12-02 20:17:31 -0600
  • 5ec8afbdb3 Provide a better package structure for Room database related files. Severiano Jaramillo 2018-12-01 09:25:25 -0600
  • dd770fdb5b - Created Balances adapter and ViewModel to show the Account Balances in the BalancesFragment. - Simplified the Balances db table. Severiano Jaramillo 2018-12-01 08:48:19 -0600
  • fc98208c30 - Add method to update account balances. - Create BalancesRepository to handle Balances related db operations. Severiano Jaramillo 2018-11-28 21:52:00 -0600
  • 51363bdf00 - Create basic TransactionsAdapter to populate the Transactions RecyclerView in Balances. - Create basic Transactions items layout. Severiano Jaramillo 2018-11-28 20:13:40 -0600
  • bebffa14ed - Remove no needed code and simplifyy TransfersLoader, also add a CompositeDisposable to keep track of all RxJava subscriptions and be able to dispose them when the class is finished. - Call the TransfersLoader in MainActivity from a better place. Severiano Jaramillo 2018-11-28 18:55:53 -0600