Commit Graph

  • 19ede70c69 Added the option to lock the pattern security lock option when the user has entered it wrong too many times. Once the cooldown timer ends the pattern is re-enabled so the user can try again. Severiano Jaramillo 2019-02-20 11:32:15 -0600
  • 2ea32af377 Created the methods required to block the security lock PIN option when the user has entered incorrectly the current PIN more times than the max allowed. When that happens the text field to type the PIN gets disabled and a propper message is shown, explaining the issue and also showing the time that needs to pass until he can try again. Severiano Jaramillo 2019-02-20 11:03:39 -0600
  • 97d9e8bcfb Make sure to save the hash of the user selected PIN plus the salt used to generate it are both saved into the shared preferences, when creating or importing an account. Severiano Jaramillo 2019-02-18 14:13:02 -0600
  • fac7bb031e Changed the method used to store the user selected PIN/Pattern into the shared preferences, the app now uses a hashed version of the PIN/Pattern with added salt at the beginning instead of an encrypted one. The salt is being saved into the shared preferences so that we can confirm the current PIN/Pattern when the user requires to do so. Severiano Jaramillo 2019-02-18 14:06:48 -0600
  • b0811ab2c8 Added a step to first verify the user's Security Lock before trying to send a transaction in SendTransactionFragment. Severiano Jaramillo 2019-02-16 17:48:50 -0600
  • a10a8cd836 Added the verification of the Pattern security lock option, before changing the current Security Lock or viewing the BrainKey in the Settings, when Pattern is the current security lock. Severiano Jaramillo 2019-02-16 16:58:36 -0600
  • fb329658eb Added the logic to create a new Security Lock pattern and save it encrypted in the preferences, with all used strings translated to Spanish. Severiano Jaramillo 2019-02-16 16:41:02 -0600
  • e44f4ea6e2 Created PatternSecurityLockDialog, which will be in charge of creating and confirming a new Pattern of validating the existing one, with a logic similar to PINSecurityLockDialog's. Created basic PatternSecurityLockDialog with a UI that resembles Android's. Severiano Jaramillo 2019-02-14 19:57:42 -0600
  • e8e1259314 Added the options to change the Security Lock option between PIN and None, and force the UI to show the correct one when it is changed. Severiano Jaramillo 2019-02-14 15:17:29 -0600
  • b4965d8a01 Create the methods to ask for the current Security Lock before showing the BrainKey. Severiano Jaramillo 2019-02-14 13:41:27 -0600
  • f3c85e8875 Added the functionality to PINSecurityLockDialog to check if the entered PIN corresponds with the current PIN and if that is the case let the calling fragmet about it, so that the fragment can respond accordingly Severiano Jaramillo 2019-02-14 12:53:35 -0600
  • 123482e996 Added the PatternLockView library to the project, which will let us add the pattern security option. Modified the Settings screen so that when the user tries to change its Security Lock option and the current one is PIN, show the PIN dialog first. Created the PINSecurityLockDialog which will host the logic of creating and confirming the new PIN, and verifying the current one. Finally, created BaseSecurityLockDialog which will host the shared logic between the PIN and Pattern Security Lock dialogs. Severiano Jaramillo 2019-02-14 09:06:22 -0600
  • 084a90d515 Add a Security section to the Settings screen, with a Security Lock option where the user can see the currently selected Security Lock option. When it is tapped a dialog appears where the user can select his desired Security Lock (PIN/Pattern/None). Severiano Jaramillo 2019-02-13 13:37:15 -0600
  • 19c50a0b6e Update Navigation and Crashlytics library versions. Severiano Jaramillo 2019-02-12 15:33:09 -0600
  • d249f165d9 Change equivalent value text to just value in eReceipts. Severiano Jaramillo 2019-02-12 09:34:15 -0600
  • 26abfffb1d Disable proguard's minify until it can be properly configured Severiano Jaramillo 2019-02-11 20:41:29 -0600
  • 4ab5ecbe6e Bumping version code to 4 and version name to 0.10.0-beta Severiano Jaramillo 2019-02-11 20:40:23 -0600
  • 5d8dbd0664 Correctly handle the scenario when the user scans a QR that requests an asset that he does not own, when that happens just parse the To and Memo fields and show a snackbar with a proper message, do not fill the amount field. Severiano Jaramillo 2019-02-11 20:38:46 -0600
  • dd8a52451a Make sure to use the asset precision to correctly format the asset amount when reading QRs in SendTransactionActivity. Severiano Jaramillo 2019-02-11 20:10:21 -0600
  • 1e67fdf065 Improve the camera preview in SendTransactionFragment, so that both the preview and the scan zone are squared. Severiano Jaramillo 2019-02-11 18:53:18 -0600
  • 653bdbec69 Fix a proguard rule and enable proguard on debug builds too. Severiano Jaramillo 2019-02-11 16:10:14 -0600
  • 5465dcaa44 Enable proguard's minify and fix warnings to be able to create the apks. Severiano Jaramillo 2019-02-11 15:21:24 -0600
  • 21c6b776af Make use of Kotlin's null safe operations to avoid NullPointerException in various places in the app. Use of the ContextCompat and ConfigurationCompat classes in different screens to safely access app configuration and resources in a backwards compatible way. Severiano Jaramillo 2019-02-11 12:16:56 -0600
  • 42e0fc74b0 Changed the comparator used to sort the transactions in TransactionsActivity to compare the Long representation of the transfer ID instead of the String representation. Severiano Jaramillo 2019-02-07 16:42:57 -0600
  • e5677436b1 Add the equivalent value to both PDF and CSV export options. Severiano Jaramillo 2019-02-07 13:40:26 -0600
  • d68b34f973 Add the functionality in TransactionsFragment to filter transactions by Equivalent Value range, taking into account the currency precision. Severiano Jaramillo 2019-02-07 13:20:24 -0600
  • abfbed91f5 Extract string resources from FilterOptionsDialog and add their Spanish translation. Severiano Jaramillo 2019-02-07 13:07:04 -0600
  • 76fea6cfc1 Added the filter by Equivalent Value range option to the TransactionsFragment' FilterOptioinsDialog, which communicates the user selection back and forth. Also, renamed all string instances of Fiat Equivalent to Equivalent Value in order to use the same convention in all the screens Severiano Jaramillo 2019-02-07 12:52:37 -0600
  • d36de0b30a Fix db migration for the transfers table and for transfers of other asset than BTS, so that its propper bts_value can be fetched later. Severiano Jaramillo 2019-02-07 10:26:09 -0600
  • e4dce3cad4 Merge branch 'develop' of github.com:Agorise/bitsy-wallet into develop Severiano Jaramillo 2019-02-06 21:17:25 -0600
  • 94b5ae7780 - Commented some tests in the TransfersTests that no longer work due to changes in the API Nelson R. Perez 2019-02-06 17:38:30 -0500
  • cf8771ac5e - Introduced a small modification to the db migration to version 3 that will take care of filling up the 'bts_value' of pre-existing entries in the 'transfer' table made with BTS - Extended the unit test for the 2-to-3 database migration to take in consideration said change Nelson R. Perez 2019-02-06 17:38:01 -0500
  • 032cb63218 Make both Transaction items and eReceipts to show the currency code instead of the currency symbol with the equivalent value. Severiano Jaramillo 2019-02-06 14:22:50 -0600
  • 0b287ca714 Add fiatAmount and fiatSymbol members to the TransferDetail object and modify the query to fetch TransferDetails from the database to obtain those two objects from the EquivalentValues table if they have been already obtained Severiano Jaramillo 2019-02-06 12:42:18 -0600
  • 577e3ae01f Merge branch 'feat_equiv_values' into develop Severiano Jaramillo 2019-02-05 21:12:03 -0600
  • 94f4eaca0f Add the share icon in the eReceipt toolbar, which when tapped creates a screenshot of the eReceipt and sends an intent to the system so it shows all the possible options for the user to share the image. Severiano Jaramillo 2019-02-05 20:40:29 -0600
  • 259294b6e3 Fix eReceipt title color in dark mode. Severiano Jaramillo 2019-02-05 17:19:14 -0600
  • 032c5bcb5f Add functionality to eReceipts to fetch the Transaction information from the database and correctly format and display it on the screen. Severiano Jaramillo 2019-02-05 17:17:00 -0600
  • 49b8ce1cb5 Create eReceipts dynamic layout. Severiano Jaramillo 2019-02-05 16:36:55 -0600
  • 78dea00ee6 Update Navigation AAC Safe Args library version. Make use of the new Safe Args to pass the Transaction ID fromm the TransactionsActivity to the eReceipt. Update the use of Safe Args to the new way of passing data between HomeFragment and SendTransactionFragment, to decide whether or not to activate the Camera. Severiano Jaramillo 2019-02-05 15:14:10 -0600
  • d8f1ad7216 Create basic eReceipt screen, which is opened when a transaction is touched in the TransactionsFragment using the Navigation component. Severiano Jaramillo 2019-02-05 14:18:10 -0600
  • d4a8da0730 Update navigation, crashlytics and google maps libraries. Severiano Jaramillo 2019-02-05 12:36:04 -0600
  • caf909e453 Added a task to generate in the background the CSV representation of the filtered transactions with the same columns as the PDF export option. Severiano Jaramillo 2019-02-05 11:46:27 -0600
  • 9a38b938a6 Extracted transactions PDF table header names as string resources and provided the Spanish translation. Severiano Jaramillo 2019-02-05 11:01:24 -0600
  • d7c728db2f Added the libraries to create PDF and CSV files directly from the app. Verify that the BiTSy folder exists in the external storage and if it doesn't then it creates it. Generate the filtered transactions' PDF with 7 columns: From, To, Memo, Date, Time, Asset Amount, and Fiat Equivalent. Severiano Jaramillo 2019-02-05 10:50:40 -0600
  • c285bf6da7 Completed the comments to the onCleared function Nelson R. Perez 2019-02-04 21:02:41 -0500
  • 35561059ce This commit finishes with the second part of the equivalent values calculation. In this part of the procedure a query is performed looking for entries in the 'transactions' table that are missing a corresponding entry in the 'equivalent_values' table. Nelson R. Perez 2019-02-04 21:00:57 -0500
  • 262a0d58ad - Automatically setting the bts_value column for BTS transfers. Nelson R. Perez 2019-02-03 18:13:00 -0500
  • 85846b6c75 - A LiveData wrapped query looking for entries of the 'transfer' table that lack a BTS value now automatically trigger a GetMarketHistory network call - The network response is parsed and a BTS equivalent value is stored in the database Nelson R. Perez 2019-02-03 15:08:32 -0500
  • b0e909072f Add a check to verify that the storage permission is already granted and if not then ask for it, before showing the export options dialog in the TransactionsFragment. Severiano Jaramillo 2019-02-01 16:29:21 -0600
  • df5f8c46f7 Create Export filtered transactions dialog in TransactionsFragment, which opens when the user clicks on the Toolbar's export button, with the corresponding Spanish translation of the new strings. Severiano Jaramillo 2019-02-01 15:57:56 -0600
  • 771aed9429 Linking the getTransfersWithMissingValueIn method to the repository, viewmodel and activity Nelson R. Perez 2019-01-31 21:33:44 -0500
  • f197e44262 Introducing the TransfersDao#getTransfersWithMissingValueIn(symbol: String) method, used to obtain only the transfers that lack a specific equivalent value entry, and related tests Nelson R. Perez 2019-01-31 20:11:35 -0500
  • a10c527956 Introducing an optional field called bts_value in the Transfer entity Nelson R. Perez 2019-01-31 22:24:21 -0500
  • 032c627725 Order assets alphabetically on Spinners in ReceiveTransactionFragment, SendTransactionFragment and TransactionsFragment's FilterOptionsDialog, always trying to select BTS by default. Severiano Jaramillo 2019-01-31 19:37:05 -0600
  • a8fe1ed2c5 Make the list of assets in the Balances section to be ordered by asset symbol ignoring the letters case. Show the bit prefix for smartcoins in the Transactions list. Severiano Jaramillo 2019-01-31 19:16:00 -0600
  • b628260d77 Make all smartcoins to show the 'bit' prefix in all the screens that show them, but keeping the original asset symbol unmodified to be used in the places where the symbol is required. Severiano Jaramillo 2019-01-31 18:52:41 -0600
  • 535796b0be Change the db assets table to include the issuer column, and provide the db migration. Severiano Jaramillo 2019-01-31 17:59:14 -0600
  • 5739922bce Merge branch 'develop' of github.com:Agorise/bitsy-wallet into develop Severiano Jaramillo 2019-01-31 17:01:18 -0600
  • 785b555baf Completely kill the app after three minutes of innactivity. Severiano Jaramillo 2019-01-31 17:01:09 -0600
  • deb8cf4401 Merge branch 'feat_equiv_values' into develop Nelson R. Perez 2019-01-31 17:14:28 -0500
  • 1a064c0a5e Avoid disabling the memo field in SendTransactionActivity if the QR code read's memo does not start with PP. Severiano Jaramillo 2019-01-31 16:12:26 -0600
  • 981a14723e In the MerchantsFragment's Map InfoWindows allow line wraps for both name and address and if a section has no data do not show a blank line but just hide it. Severiano Jaramillo 2019-01-31 15:42:36 -0600
  • fbb66864e5 Change the method to zoom the map camera when a suggestion is selected from the Toolbar's SearchView in MerchantsFragment, it now shows a much bigger area. Severiano Jaramillo 2019-01-31 15:22:40 -0600
  • 980517c168 Merge branch 'develop' of github.com:Agorise/bitsy-wallet into develop Severiano Jaramillo 2019-01-31 15:00:46 -0600
  • eaa661ba5d Fix crash in TransfersLoader when changing between night and day mode. Severiano Jaramillo 2019-01-31 14:59:40 -0600
  • 65250c57f5 Added an error handler to the RxBus instance subscription call Nelson R. Perez 2019-01-31 15:27:00 -0500
  • 622205069d - Modified equivalent_values table in order to work directly with fiat values - Introduced version 3 of the database with said modifications - Introduced basic db migration Nelson R. Perez 2019-01-31 15:09:02 -0500
  • c7138c5e22 Dynamically obtain the status bar and navigation bar height, to automatically and correctly place the Toolbar and Map UI Controllers in MerchantsFragment. Severiano Jaramillo 2019-01-31 13:36:38 -0600
  • 6e5c6b50b8 Enable crashlytics reports on release builds only, avoiding crashes in the debug version when trying to initialize crashlytics. Severiano Jaramillo 2019-01-31 12:18:21 -0600
  • d0218727e9 Enabling crashlytics reports on release builds only Nelson R. Perez 2019-01-30 22:38:01 -0500
  • 9594726052 Bumping version code to 3 and version name to 0.9.1-beta Severiano Jaramillo 2019-01-30 12:19:39 -0600
  • e328eb149b Make sure the popup menu is dismissed when the toolbar or the search icon are clicked in the MerchantsFragment. Severiano Jaramillo 2019-01-30 12:11:57 -0600
  • 1505a5642c In MerchantsFragment, change the popup window background to transparent to match the maps theme. Hide the MyLocation button while the popup is open to avoid it making it hard to see the switches in the popup menu. Color the popup menu's switches to use the same green and yellow color as their corresponding pon markers. Move the popup window down to remove the overlapping with the Toolbar. Severiano Jaramillo 2019-01-30 11:15:07 -0600
  • 4a47b5b637 Created AutoScrollingTextView which automatically scrolls its contents horizontally in case the contents do not fit the available width and used it in the Map suggestions' address to display the complete address. Also, improved the Map Toolbar color. Severiano Jaramillo 2019-01-30 09:35:06 -0600
  • 28e0e9df52 Make the MerchantsFragment's custom translucent Toolbar works with the up button, and menu items, looks good in day and night modes and make sure everything goes back to normal when returning to the HomeFragment. Severiano Jaramillo 2019-01-29 23:46:04 -0600
  • 4d8ed68912 Add translucent navigation and status bar to the MerchantsFragment and adjust the content size so that the map grows below them. Severiano Jaramillo 2019-01-29 22:33:32 -0600
  • ba82d50cc6 Change google map's night mode style. Severiano Jaramillo 2019-01-29 16:31:15 -0600
  • def6fd4ec5 Disable the memo field in SendTransactionFragment when reading a QR code that contains a memo, to avoid problems in case the receipient is expecting that exact memo. Severiano Jaramillo 2019-01-29 15:57:07 -0600
  • 3a0527a5bf Delay camera activation in SendTransactionFragment after the transition from the homescreen, to avoid flicker during the transition. Severiano Jaramillo 2019-01-29 15:00:30 -0600
  • fb7c91d6bb Updated Navigation Architecture Component library version and tested it worked fine. Setted a maximum width to the MerchantsFragment's SearchView so that it does not move other items out of the screen. Added the auto hide keyboard feature to ReceiveTransactionFragment's AutoCompleteTextView when it loses focus. Severiano Jaramillo 2019-01-29 11:08:32 -0600
  • 5fc5db88c2 Show merchants and tellers suggestions in MerchantsFragment's SearchView if they are enabled in the popup window. Severiano Jaramillo 2019-01-29 10:44:08 -0600
  • 732d48796b Update google maps Severiano Jaramillo 2019-01-29 10:36:09 -0600
  • e02ff42a85 Remove google_maps_api from version control. Severiano Jaramillo 2019-01-29 10:25:21 -0600
  • 6bc3b77b79 Bumping version code to 2 and version name to 0.9.0-beta Severiano Jaramillo 2019-01-28 21:53:18 -0600
  • c65cf1b69e When a suggestion is selected in the MerchantsFragment's SerachView, zoom and move the map camera to center the corresponding marker. Severiano Jaramillo 2019-01-28 21:50:32 -0600
  • 978e8d6ee2 Improve responsivenes of suggestions in MerchantsFragment's SearchView by reducing the debounce effect and clearing the query results if the query is shorter than 2 chars. Severiano Jaramillo 2019-01-28 19:48:11 -0600
  • 9ecac53f62 Create a new model MapObject to combine the returned list of Merchants and Tellers into the suggestions to appear under the MerchantsFragment's SearchView. Severiano Jaramillo 2019-01-28 19:21:19 -0600
  • aebff15033 - Added new methods that allow a query of a single term over name, address, phone, telegram an website fields - Linking this result to the code that handles the UI update (working for merchants only) Nelson R. Perez 2019-01-28 18:34:07 -0500
  • 07e39e9001 Merge branch 'develop' of github.com:Agorise/bitsy-wallet into develop Severiano Jaramillo 2019-01-28 16:32:49 -0600
  • 84a524c486 Update MerchantsFragment's SearchView suggestions UI so that they include the merchant or teller icon, to make it easier for users and improve UX. Severiano Jaramillo 2019-01-28 16:14:11 -0600
  • f70e0434ff Added a custom layout to show suggestions to MerchantsFragment's SearchView so that it can show Merchat/Teller name and address. Added a way to figure out if the selected suggestion is a Merchant or a Teller, so we can decide on how to proceed to find its correct marker on the map. Severiano Jaramillo 2019-01-28 15:56:50 -0600
  • db58d601f4 Added a SearchView to MerchantsFragment's Toolbar, with an autocomplete feature that once the user starts writing shows suggestions to the user and listens when he selects one of those suggestions. The suggestions show dummy data for now, but it will query the database to obtain such suggestions. Severiano Jaramillo 2019-01-28 15:02:49 -0600
  • 8aab7c03ac Added a dialog to explain what merchants and tellers are, which is opened in from the About option in the Merchants & Tellers's popup menu. Severiano Jaramillo 2019-01-26 16:25:59 -0600
  • 7e17a612cd
    Update strings.xml Agorise 2019-01-26 10:10:09 -0600
  • 227a52d032 Add the methods to hide/show both merchants and tellers markers depending on the current switches selection in the corresponding popup menu. Severiano Jaramillo 2019-01-25 22:33:20 -0600
  • 0c41c76097 Make sure the MerchantsFragment's custom popup dialog is dismissed if it is open and the user clicks anywhere else in the map. Severiano Jaramillo 2019-01-25 22:11:05 -0600
  • 52c2cf8211 Added an (i) icon to the About section in the MerchantsFragment's custom popup menu and improved the menu positioning moving it a bit to the top so that it overlaps the toolbar. Severiano Jaramillo 2019-01-25 21:51:58 -0600
  • b9497a2db4 Created a three vertical dots icon and use it in the MerchantsFragment's Toolbar. Then forced that icon to display a custom Popup menu to control which pins will appear on the map (merchants and/or tellers). Severiano Jaramillo 2019-01-25 20:03:22 -0600
  • 285a4b6c49 Add custom marker info window to teller markers, to show the complete information as with the merchants. Severiano Jaramillo 2019-01-24 19:18:59 -0600