Commit graph

566 commits

Author SHA1 Message Date
Severiano Jaramillo
12b657137e Merge branch 'develop' of github.com:Agorise/bitsy-wallet into develop 2019-01-02 09:27:31 -06:00
Severiano Jaramillo
242fe7656a Enable the transaction direction filter, the user can apply the filter and see all transactions or just the sent or received. 2019-01-02 09:27:25 -06:00
Agorise
88bdec9bd7
Update LICENSE 2019-01-01 10:43:11 -06:00
Severiano Jaramillo
f279512c57 Enable the transaction direction filter, the user can apply the filter and see all transactions or just the sent or received. 2018-12-26 19:40:56 -06:00
Severiano Jaramillo
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. 2018-12-26 11:59:02 -06:00
Severiano Jaramillo
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. 2018-12-24 11:15:25 -06:00
Severiano Jaramillo
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.
2018-12-24 10:55:54 -06:00
Severiano Jaramillo
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. 2018-12-24 08:44:07 -06:00
Severiano Jaramillo
4391ff5ad4 Simplify BounceTouchListener and TransactionsFragment, to produce the same bouncy effect when overscrolling the transactions list, but with much less code. 2018-12-23 21:51:46 -06:00
Severiano Jaramillo
6ef5d84394 Show memo if available in the Transactions list. 2018-12-23 20:12:04 -06:00
Severiano Jaramillo
9fe152ef7c Make the task to check if there are new transactions that involve the current user account a recurrent task. 2018-12-23 19:15:03 -06:00
Severiano Jaramillo
4b16a90870 Fix nodes dialog's node text style. 2018-12-23 15:34:45 -06:00
Severiano Jaramillo
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. 2018-12-23 15:10:44 -06:00
Severiano Jaramillo
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. 2018-12-23 14:11:26 -06:00
Severiano Jaramillo
7fb1d4ff86 Add date field to TransferDetails model and correctly format and display it in the Transactions list. 2018-12-21 23:33:58 -06:00
Severiano Jaramillo
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. 2018-12-21 21:55:17 -06:00
Severiano Jaramillo
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 2018-12-21 20:55:36 -06:00
Severiano Jaramillo
504441afa2 Connect SettingsFragment to graphenej's NetworkService and use the onServiceConnected and onServiceDisconnected to change the connection status icon in the footer accordingly. 2018-12-21 20:14:31 -06:00
Severiano Jaramillo
ae8a2f17e3 Add a footer to the SettingsFragment, which contains the app logo, the app name, version name and the Connection status icon. 2018-12-21 18:40:35 -06:00
Severiano Jaramillo
80b5f9f571 Avoid sharing the QR code image if the fields are not filled correctly 2018-12-21 18:24:39 -06:00
Severiano Jaramillo
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.
2018-12-21 18:12:34 -06:00
Severiano Jaramillo
9647e700ed Change the merchants and ambs webservice url. 2018-12-21 13:05:35 -06:00
Severiano Jaramillo
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. 2018-12-20 20:28:31 -06:00
Severiano Jaramillo
e3bea9f475 Center text vertically below QR code and fix Please Pay string. 2018-12-20 18:06:11 -06:00
Severiano Jaramillo
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. 2018-12-20 16:40:48 -06:00
Severiano Jaramillo
fddfe1ab8b Set the 'Automatically close BiTSy after 3 minutes of inactivity' feature on by default. 2018-12-20 14:17:50 -06:00
Severiano Jaramillo
96fc421a99 Change the font used in the entire appto PFBeauSansPro. 2018-12-20 14:02:39 -06:00
Severiano Jaramillo
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. 2018-12-20 13:57:47 -06:00
Severiano Jaramillo
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.
2018-12-20 13:34:11 -06:00
Severiano Jaramillo
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. 2018-12-20 09:59:10 -06:00
Severiano Jaramillo
e8ec0e6f89 Create AssetsAdapter and use it to populate the asset spinner in the ReceiveTransactionFragment, so the user the asset he wants to receive. 2018-12-20 08:48:48 -06:00
Severiano Jaramillo
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. 2018-12-19 20:25:58 -06:00
Severiano Jaramillo
13662c29d5 Updated graphenej gitlink 2018-12-19 19:55:33 -06:00
Severiano Jaramillo
a3c4c9a816 Update Bitsy's app icon. 2018-12-19 19:34:46 -06:00
Severiano Jaramillo
26e1e427c9 Add Transactions toolbar menu items with their respective icons. 2018-12-19 10:08:24 -06:00
Severiano Jaramillo
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. 2018-12-19 09:43:09 -06:00
Severiano Jaramillo
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.
2018-12-19 09:24:56 -06:00
Severiano Jaramillo
d5d01115f8 Request merchants locations from the webservice and add them to the Merchants map. 2018-12-18 09:27:26 -06:00
Severiano Jaramillo
89cf6f3df2 Add slide-in animation when the Transactions items are loaded into the screen. 2018-12-18 08:51:45 -06:00
Severiano Jaramillo
dc7decfb77 Sort Balances alphabetically by symbol and place the asset symbol to the left and the balance amount to the right. 2018-12-18 07:55:04 -06:00
Severiano Jaramillo
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. 2018-12-18 07:37:21 -06:00
Severiano Jaramillo
5c20e2470d Avoid a crash in SendTransactionFragment when there are no assets loaded into de db. 2018-12-17 16:51:24 -06:00
Severiano Jaramillo
f8c9594602 Remove DatabaseLoadActivity and all related code. 2018-12-17 15:46:44 -06:00
Severiano Jaramillo
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.
2018-12-15 10:19:58 -06:00
Severiano Jaramillo
41f7541918 Added code to fetch the merchants locations from the palmapay intranet web service. 2018-12-14 18:46:01 -06:00
Severiano Jaramillo
5659a1dd8c Fix crash when trying to insert an account that already exists in the database. 2018-12-14 16:02:00 -06:00
Severiano Jaramillo
a2c2c315b9 Add Firebase required libraries and configuration to Bitsy and enable Crashlytics. 2018-12-14 15:23:12 -06:00
Severiano Jaramillo
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.
2018-12-14 14:20:16 -06:00
Severiano Jaramillo
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. 2018-12-14 12:12:42 -06:00
Severiano Jaramillo
283125b40e Add google maps library. 2018-12-14 11:42:05 -06:00