Commit graph

654 commits

Author SHA1 Message Date
Javier Varona
2027677956 - Added new requests needed to implement bitcoin alike accounts funcionality 2018-10-22 21:05:48 -04:00
hvarona
b3442a511e Implemented the send service of bitcoin likes account with the new architecture 2018-10-19 00:13:42 -04:00
hvarona
6b37db9279 Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-10-18 21:22:24 -04:00
dtvv
4743042c7e When the PATTERN screen request is incorrect show message to user 2018-10-18 08:50:16 -05:00
dtvv
0019385827 When the pattern is set in settings, show message to the user 2018-10-18 08:08:16 -05:00
dtvv
03e03f2fb1 -The strings in PatternSecurityFragment save them as android strings
-In the settings pattern screen when user tries to set a new one and is going to confirm it and makes a mistake it does not show error
-When the pattern is set in the security settings, it should not open the pattern activity after that
2018-10-18 04:03:50 -05:00
dtvv
e24b355281 In the import seed window ask before import the account 2018-10-18 03:40:33 -05:00
dtvv
3c0e2058bb Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-10-18 03:29:43 -05:00
dtvv
b73c77e86f -In the import seed window, the service doest not have to be connecting to the service each time the user type text to validate if the account name exists
-In the import seed window, the service to check valid mnemonic does not have to fire each time the user is typing text
-In the import seed window, the service to check valid mnemonic has to fire only when the import account button is pressed
-In the import seed window add error message when the service to validate the seed or the account name is correct fails
2018-10-18 03:28:12 -05:00
hvarona
356300fed4 Change BitcoinTransactions to adapt to new architecture
Change bitcoin like logic to adapt to new architecture
2018-10-17 23:32:17 -04:00
Javier Varona
7681523252 - Added query to get address 2018-10-17 22:15:19 -04:00
Javier Varona
76a53c12e1 - Added bitcoin generated addresses table 2018-10-17 21:56:40 -04:00
dtvv
8a7b41ad1d When the PIN does not match in the screen of import seed it does not show error message 2018-10-17 04:50:38 -05:00
dtvv
3941585740 When the PIN is typed 4 wrong times, it has to block 15 seconds before make new tries 2018-10-17 04:14:43 -05:00
dtvv
c554471115 -When the PIN is incorrect in the PIN request activity the password should show red animation
-When the PIN is incorrect in the PIN request activity the password should dissapear
-When the PIN is incorrect in the PIN request activity remove the Toast, the animation is enougth
2018-10-17 03:46:16 -05:00
dtvv
a4c6b1cfb1 -When the PIN does not match in the screen of import seed it does not show error message
-Set a button in the PIN request activity to clic when the complete PIN is completely typed
-In the PIN request activity, the OK button should not be enabled till a valid PIN is on it
-Change the button style in the PIN request screen
2018-10-17 01:06:35 -05:00
dtvv
d2668bc04e Limit the PIN max length 2018-10-17 00:34:24 -05:00
dtvv
95bdc725c0 -When try to change to none pattern either pin it should ask for confirmation
-When the security mode is changed to none show toast of it
-When the security mode is set to none and you change to pattern that erase the visible fake password
2018-10-17 00:31:36 -05:00
Severiano Jaramillo
91bc799310 - Cleaned unused imports in various Classes.
- Simplified BalancesFragment by removing a couple of unnecessary files and merging its funcionality into more compact classes/layouts
2018-10-16 11:39:39 -05:00
Severiano Jaramillo
ed7dc5424e - Simplified TransactionsFragment view hierarchy and removed unused files.
- Improved TextViews that appear in both Contacts and Transactions when there are no items to display.
- Cleaned some unused code in different parts of the app.
2018-10-15 16:51:48 -05:00
Severiano Jaramillo
d367373d8e Make improvements to Crystal's toolbar animation to avoud memory leaks. 2018-10-15 14:17:21 -05:00
Severiano Jaramillo
b8fd519b1a Added AndroidDebugDatabase library to Crystal, this library makes debugging the database a lot easier. Also updated ConstraintLayout library version. 2018-10-15 12:28:20 -05:00
Javier Varona
8f2fc92945 - Now the receive fragment generate the QR code in another thread and don't stop the UI anymore 2018-10-14 21:55:00 -04:00
dtvv
319321c94b -When the PIN is being entered the user should press a button to confirm the pin
-When the PIN is being entered use question dialog to confirm the save PIN
-When the PIN is correcto typed and match correctly enable the ok button
-When PIN is configured it should not be showed at the beginning of the app
-When PIN is configuren it should not be  showed at the beginning of security settings app
-If PIN is configured put some stuff enmascared
-When you set the new PIN that it does not show the PIN activity window, it is not necesary
2018-10-14 03:57:03 -05:00
dtvv
cd160c9832 -When PIN is configured it should not be showed at the beginning of the app
-When PIN is configuren it should not be  showed at the beginning of security settings app
2018-10-14 02:24:46 -05:00
dtvv
013a3b841f -When the PIN is being entered the user should press a button to confirm the pin
-When the PIN is being entered use question dialog to confirm the save PIN
-When the PIN is correcto typed and match correctly enable the ok button
2018-10-14 01:57:41 -05:00
dtvv
3d9d57d0fa -Change the style of the window back up brainkey as in palmpay style
-Show the buttons centered in back up brainkey window
2018-10-14 01:14:15 -05:00
dtvv
f705de8c60 -Add the new buttons push animation to the buttons in the baclup_seed.xml and java source
-Test the code so it works as before after changes
-Change the text from cancel to CLOSE in the BackUpSeedActivity
2018-10-12 14:47:12 -05:00
dtvv
d3a55fae02 Change the buttons style to the buttons to material one in the backup_seed.xml and java source 2018-10-12 14:26:17 -05:00
dtvv
ecfe5ce8e5 Apply a gradient in activity_accounts.xml background 2018-10-12 14:16:12 -05:00
dtvv
fe5603c0b7 Change the text color in the activity_pocket_request.xml to white for contrast 2018-10-12 14:10:27 -05:00
dtvv
332eced879 Apply a better view on enter pin screen activity_pocket_request.xml 2018-10-12 14:08:03 -05:00
dtvv
19aa8e6b7f Apply a better view on enter pin screen activity_pin_request.xml 2018-10-12 14:07:05 -05:00
dtvv
6606e8c238 Apply a better view on the pattern screen activity_pattern_request.xml 2018-10-12 14:01:15 -05:00
dtvv
f403ee22d4 Create the new gradiente file for the screens of secirity 2018-10-12 14:00:55 -05:00
dtvv
9a75330207 Change the strings text for wirte_external_permissions and set them as android string resource 2018-10-12 12:37:23 -05:00
dtvv
2e13b16a71 If there is only one account in the screen of send assets that the spinner stay Blocked 2018-10-12 12:15:42 -05:00
dtvv
3019cc8422 -Change the buttons style to the buttons to material one in the fragment_backup_settings.xml and java source
-Add the new buttons push animation to the buttons in the fragment_backup_settings.xml and java source
2018-10-12 04:51:54 -05:00
dtvv
c30fd729be In the fragment_contacts when it says “You dont have contacts” apply more left margin 2018-10-12 04:43:54 -05:00
dtvv
b33bbc11fc -Change the buttons style to the buttons to material one in the fragment_general_settings.xml and java source
-Add the new buttons push animation to the buttons in the fragment_general_settings.xml and java source
2018-10-12 04:41:23 -05:00
dtvv
ad65111f92 -Change the buttons style to the buttons to material one in the fragment_bitshares_settings.xml and java source
-Add the new buttons push animation to the buttons in the fragment_bitshares_settings.xml and java source
2018-10-12 04:34:17 -05:00
dtvv
a64c5eff45 Create new button style WhiteButton 2018-10-12 04:29:03 -05:00
dtvv
9020608a07 -Change the buttons style to the buttons to material one in the fragment_general_crypto_net_account_settings.xml and java source
-Add the new buttons push animation to the buttons in the fragment_general_crypto_net_account_settings.xml and java source
2018-10-12 04:22:28 -05:00
dtvv
046e21d725 -Include layout in the buttons to fix orientación and correct size with the new properties 2018-10-12 04:08:44 -05:00
dtvv
b4cc708970 -Change the buttons style to the buttons to material one in the import_seed.xml and java source
-Add the new buttons push animation to the buttons in the import_seed.xml and java source
-Include layout in the buttons to fix orientación and correct size with the new properties
2018-10-12 03:41:36 -05:00
dtvv
012aea807e -Add the new buttons push animation to the buttons in the activity_intro.xml and java source 2018-10-12 03:09:28 -05:00
dtvv
074e37076d -Add the new buttons push animation to the buttons in the activity_licence.xml and java source 2018-10-12 03:04:07 -05:00
dtvv
24dba53c5f -Change the buttons style to the buttons to material one in the create_seed.xml and java source
-Add the new buttons push animation to the buttons in the fragment_accounts_settings.xml and java source
2018-10-12 02:55:09 -05:00
dtvv
09ce271c30 -Change the buttons style to the buttons to material one in the fragment_accounts_settings.xml
-Add the new buttons push animation to the buttons in the fragment_accounts_settings.xml
2018-10-12 02:34:15 -05:00
dtvv
0928a5bc81 Add the new buttons push animation to the buttons in the fragment_import_account_options.xml 2018-10-11 18:01:50 -05:00
dtvv
bd6a27f15b Push buttons effect 2018-10-11 17:45:57 -05:00
dtvv
df04be0a6c -Change the buttons style to the buttons to material one in the create_seed.xml
-Change the buttons style to the buttons to material one in the fragment_import_account_options.xml
-Change the buttons style to the buttons to material one in the activity_accounts.xml
-Change the buttons style to the buttons to material one in the fragment_backup_settings.xml
-Change the buttons style to the buttons to material one in the fragment_account_settings.xml
-Change the buttons style to the buttons to material one in the fragment_general_settings.xml
2018-10-11 15:13:50 -05:00
Javier Varona
4fee5de10b Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-10-10 21:58:06 -04:00
Javier Varona
62edb37143 - Changing main thread db queries to be executed in a room observer way 2018-10-10 21:57:40 -04:00
Henry Varona
3767483945 version and camera 2018-10-08 11:21:35 -04:00
hvarona
f82b90e0ee change zxing properties 2018-10-07 23:20:59 -04:00
Javier Varona
303011e419 - Fixed QR scanner in send fragment not triggering when the camera is focusing on a QR code
- Gradle version upgraded to work with the last android studio
2018-10-07 20:02:56 -04:00
dtvv
be679e655f -Get better the algorithm for the camera permission in the send assets screen validation permission granted and not granted
-If the camera permission is not granted the camera should no be enabled and can not be enabled manually
-When the permission of the camera in the send assets window is not granted it should Show a toast message
-When the permission of the camera in the send assets window is granted it should Show a toast message
2018-10-07 01:28:35 -05:00
dtvv
d788ceab9a The QR camera should stop and restart manually if the user need it 2018-10-07 00:22:10 -05:00
dtvv
85b1015e9f In the screen of send assets, when you Press the cross button to stop the camera for the qr actually that button does not work, but now it does, stop the camera and clear the animation 2018-10-06 23:54:53 -05:00
dtvv
cf4b1f038d Change the background color of the pattern in the security settings menu to other more visible 2018-10-05 03:38:36 -05:00
dtvv
a4819ecd22 When user sets a PIN and try to enter to settings after that and crystal is asking for the PIN and the user enter it correctly, the screen does not disapear 2018-10-05 03:22:25 -05:00
dtvv
ab9df5d786 Give more space in the text “Enter new pattern” and the upper bar in the security settings menu 2018-10-05 03:15:11 -05:00
dtvv
9fa7ddf178 Give more space between the PIN code and the upper menu in the security settings menu 2018-10-05 03:14:47 -05:00
dtvv
96feaf31cd Give more space between the PIN code and the upper menu in the security settings menu 2018-10-05 03:02:47 -05:00
dtvv
62e205ccfe Add copy button in the fragment_general_crypto_net_account_settings.xml screen 2018-10-05 02:47:06 -05:00
dtvv
53066696ce Get better view for the fragment_general_crypto_net_account_settings.xml window fragment 2018-10-05 02:38:39 -05:00
hvarona
86c16bbb7b Change classes name to be more precised what they do
Change Insight Api Generator to use Manager and simplifier the code
Added check for the crypto coin of the cryptocoin request
Change CryptoNet to CryptoCoin, all the insight cryptos use only one coin.
Added Queries to search and insert Bitcoin Transaction
2018-10-04 23:59:32 -04:00
dtvv
b55d22324a Limit the seed max text in the import seed window to 255 2018-10-04 15:35:06 -05:00
dtvv
a54363a9ef When try to import the account, it should show a loading window while the user is waiting for it 2018-10-04 15:25:07 -05:00
dtvv
1545f0e10b When you try to import your account from seed, the button “CREATE WALLET” should be disabled till all the fields are correctly filled 2018-10-04 10:15:58 -05:00
Javier Varona
6a5ac7cc58 Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-10-03 21:57:44 -04:00
Javier Varona
f43c6aa1af - Created the database structure for bitcoins alike coins
- Fixed "no balances" label appearing in the middle of the balance page when the user has one account.
2018-10-03 21:56:38 -04:00
dtvv
546db50590 In the AccountSettings change the color text more clear 2018-10-02 10:33:02 -05:00
dtvv
a21446bc7f In the AccountSettings the text “Account Settings” in the crypto_net_account_activity_settings layout it is not propertly in resources file 2018-10-02 09:46:01 -05:00
dtvv
c1b8c11d74 Realease the resource MediaPlayer used in the CryptoNetAccountSettingsActivity, it was not been released propertly 2018-10-02 09:17:19 -05:00
dtvv
cc69c2676e Realease the resource MediaPlayer used in the AccountsSettingsActivity, it was not been released propertly 2018-10-02 09:16:13 -05:00
dtvv
5ad7d32bbf Validate not null in onDestroy event for the media player 2018-10-02 08:54:38 -05:00
dtvv
05d04b69af Realease the resource MediaPlayer used in the SettingsActivity, it was not been released propertly 2018-10-02 08:53:45 -05:00
dtvv
d2e388e5de Realease the resource MediaPlayer used in the IntroActivity, it was not been released propertly 2018-10-02 08:28:52 -05:00
dtvv
fbfa97754f Realease the resource MediaPlayer used in the BoardActivity, it was not been released propertly 2018-10-02 08:16:36 -05:00
dtvv
94267c6cc3 Simple string added to catalog 2018-09-30 00:14:48 -05:00
dtvv
751cb46922 Remove padding in the window 2018-09-30 00:13:57 -05:00
dtvv
1cc21c73be WIRTE_EXTERNAL_PERMISION at runtime 2018-09-30 00:12:40 -05:00
dtvv
6b39722f89 Camera permission was not included in the manifest 2018-09-29 22:55:48 -05:00
dtvv
d86fe35a6b When you create a new account the cancel button does not have to show, only when you check the brainkey 2018-09-29 22:21:15 -05:00
dtvv
ad0c14e389 Prevent null pointer exception 2018-09-29 20:51:47 -05:00
hvarona
e9a147e344 Merge remote-tracking branch 'origin/develop' into develop 2018-09-29 20:52:26 -04:00
hvarona
31f809048f Updated Faucet 2018-09-29 20:51:59 -04:00
dtvv
0fc4392a52 Adjust kotlin puglin version to compile proyect 2 2018-09-29 16:00:13 -05:00
hvarona
b1e8e4dfe7 Merge remote-tracking branch 'origin/develop' into develop 2018-09-28 21:40:13 -04:00
hvarona
14c307ccbc Merge branch 'develop' 2018-09-27 22:34:40 -04:00
hvarona
7db8212ab4 Change Insight api classes to handle multiple address and to adapt to the new architecture.
Added Bitshares Account Manager to handle all txi response
TODOs: Add cache data to handle incoming transaction and balances
2018-09-27 22:19:19 -04:00
Javier Varona
6eab51c89f - Fixed string "infinity" in equivalent totals when the equivalence value of a currency is 0
- Added equivalent currency name in the cryptonet equivalent totals
2018-09-26 22:45:09 -04:00
Javier Varona
d16f2d7378 Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-09-25 23:01:12 -04:00
Javier Varona
037787afd0 - Added loading dialog when sending.
- Now the send dialog closes after sending the funds successfully
2018-09-24 22:10:43 -04:00
dtvv
0c583fff18 WRITE_EXTERNAL_STORAGE at runtime in the backup bin file button 2018-09-24 20:38:44 -05:00
dtvv
dae073dc62 Fix code to get better performance in validations 2018-09-24 19:41:33 -05:00
dtvv
2e6c61f88a UI adjustments 2018-09-24 15:16:14 -05:00
dtvv
2c5661c587 Back to previous version of the send transaction button 2018-09-24 15:16:14 -05:00
Javier Varona
53cf2ef25b - Fixing transaction duplication when importing an account. 2018-09-23 20:01:45 -04:00
Henry Varona
47088391de Change version code 2018-09-21 23:09:09 -04:00
Henry Varona
3e5e0001e1 added camera to preview view 2018-09-21 17:56:58 -04:00
Henry Varona
ed21712f68 Change version
Added auto start camera on send fragment
2018-09-21 16:11:18 -04:00
Javier Varona
5356331a25 Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-09-21 00:46:18 -04:00
Javier Varona
270f2d40b6 - Fixing inconsistent loading of transactions 2018-09-21 00:43:29 -04:00
dtvv
8e79f14205 Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-09-20 20:11:47 -05:00
dtvv
a4d23f9f3b In the screen of copy seed, user can not continue but now the user can go ahead to board screen 2018-09-20 20:10:13 -05:00
Henry Varona
be0fafd0e2 Fallback faucet server 2018-09-20 20:59:25 -04:00
Severiano Jaramillo
aee66a24b6 Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-09-20 19:34:58 -05:00
dtvv
f0d6a935d1 In case the account already exists in the final step to créate an account set a toast message 2018-09-20 18:32:05 -05:00
Severiano Jaramillo
be451a1930 Solve issue related to Add Contact button appearing on the Merchants section. 2018-09-20 10:36:30 -05:00
dtvv
f9b407de2f Get better visual aspect in set password after the restore bin file backup window 2018-09-19 22:04:30 -05:00
dtvv
f311352bbd When pressing the button "CREATE WALLET" it should ask before continue 2018-09-19 21:27:00 -05:00
dtvv
a7d30fb0ff Merge remote-tracking branch 'origin/develop' into develop 2018-09-19 21:16:38 -05:00
dtvv
613f901fc9 Custom QuestionDialog for all the questions of the system 2018-09-19 21:16:10 -05:00
Javier Varona
d549e3af8d Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-09-19 21:47:51 -04:00
Javier Varona
d38d0ed7ed - Fixed the error sending decimals in the send fragment 2018-09-19 21:47:26 -04:00
dtvv
054f062ce1 When account exists or not, enable or disable on main thread the button "create wallet" 2018-09-19 20:07:38 -05:00
Henry Varona
fefe7d054b Merge remote-tracking branch 'origin/develop' into develop 2018-09-19 20:30:34 -04:00
Henry Varona
95ad420cd5 Added some log to cryptonetmanager 2018-09-19 20:29:57 -04:00
dtvv
e83d3c00a0 Get better view in the import seed layout 2018-09-19 19:16:13 -05:00
Henry Varona
c08ba24d32 Fix Aplication url verification 2018-09-19 17:28:02 -04:00
Henry Varona
272843843c Arrange ser and faucet urls 2018-09-19 15:38:17 -04:00
Henry Varona
a6109fa387 arrange server list 2018-09-19 11:52:49 -04:00
Javier Varona
b9d1065e81 Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-09-18 22:25:34 -04:00
Javier Varona
59b6e63297 - Removed the label "0.003€" from the balance item header
- Changed the label "cancel" to "ok" in the backup seed page
- The user can't get back once he/she entered the backup seed page
- When the "ok" button is pressed in the backup seed page, the user gets to the balance page (and not the creation seed page)
2018-09-18 22:25:07 -04:00
Henry Varona
90929d9ee5 arrange node list 2018-09-18 20:26:35 -04:00
Henry Varona
cea9efc07d Merge remote-tracking branch 'origin/develop' into develop 2018-09-18 15:51:32 -04:00
Henry Varona
c818eaf472 - Added wrtie timeout for the faucet request
- Change the equivalent url to use the BTS serve
-
2018-09-18 15:47:15 -04:00
dtvv
8a86816c76 Simplify the buttons. the text at the top already says you are importing an account. so the buttons should just say Import .bin File or Import Brainkey in the intro screen 2018-09-18 13:13:27 -05:00
dtvv
b6a9e6b59c Add new Tab called “Merchants” and inside it should be “Comming soon” text 2018-09-18 12:45:01 -05:00
dtvv
752a58b3bf Merge remote-tracking branch 'origin/develop' into develop 2018-09-18 12:43:54 -05:00
dtvv
16dc55a18b Scrollable mode in tablayout lib for board window 2018-09-18 12:41:43 -05:00
dtvv
10830b964a The modal says creating backup, when actually you are restoring from a backup. that must be reworded 2018-09-18 12:40:49 -05:00
Javier Varona
e601b90a63 Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-09-17 22:02:40 -04:00
Javier Varona
35f273de23 - Fixed Transaction List not updating when it should
- Now the transaction list searches for bitshares account names too
2018-09-17 22:02:21 -04:00
Henry Varona
593b875f25 Added the insight apigenerator that handles all service calls to the servers,
Added the GeneralAccountManager that handles all communication used on bitcoin likes crypto accounts
Rearrenge the send to the manager
Change estimatefee to work with the new Architecture
Added request for send generalaccount transactions (bitcoin like)
2018-09-16 23:43:59 -04:00
Javier Varona
de2391c6f8 - Put the loading dialog code of the backup restore before the import request is added
- Fixing an error triggered when the import seed form is filled too fast. The bitshare name request of the account gets a null listener and makes the app to crash
2018-09-15 21:25:41 -04:00
dtvv
d43c75a501 The import backup password has to be alphanumeric 2018-09-14 01:18:41 -05:00
dtvv
9d973b995e -When you import the backup account and it runs successfully, it should to take you to the main window and not on the login one
-When you import the backup account and it runs successfully, it should close the intro window
-When the user is restoring the backup it has to show loading dialog
-Remove Backup restored! Text when finishing importing backup
-Create class CrystalLoading extendí from CrystalDialog
2018-09-14 01:04:10 -05:00
dtvv
8e00c08d6a -Add error text in the amount field when there is a invalid selected crypto coin 2018-09-13 22:59:35 -05:00
dtvv
da290acddc Button send transaction get better animation 2018-09-13 21:56:06 -05:00
dtvv
b7235db5f2 Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop
# Conflicts:
#	app/src/main/java/cy/agorise/crystalwallet/viewmodels/validators/validationfields/BitsharesAccountMnemonicValidationField.java
2018-09-12 21:37:13 -05:00
dtvv
83b7a7d3d3 Fixed spinner view in transaction window 2018-09-12 21:34:27 -05:00
Javier Varona
68296f6306 - Fixing some errors importing accounts
- After importing an account using a seed, the user gets to the balance page and the intent history is cleared
2018-09-12 21:56:04 -04:00
Javier Varona
b2da811687 - Fixing compile errors 2018-09-12 21:08:22 -04:00
dtvv
a7ba6f5c6b Merge branch 'feat_ui_improvements' of https://github.com/Agorise/crystal-wallet-android into develop 2018-09-12 14:29:33 -05:00
dtvv
430085f8af Specialiced spinners 2018-09-12 14:17:03 -05:00
Javier Varona
7befdd4207 - FileBackupManager and ImportSeedActivity no longer add the seed to the database. Now they call the ValidateImportBitsharesAccountRequest to do so.
- Also, the ImportSeedActivity tells the user the reason in case of a failed import.
2018-09-11 21:40:25 -04:00