Commit graph

602 commits

Author SHA1 Message Date
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
Javier Varona
fc3fe7c92c Merge branch 'develop_ui_improvements' into develop 2018-09-09 20:23:28 -04:00
Javier Varona
3cc2fb4a48 - Change import seed activity to use a request to import the account 2018-09-09 20:12:32 -04:00
dtvv
fcd5855953 Fit automatically height for the edittext in the brainkey screen 2018-09-07 11:24:27 -05:00
dtvv
ddd1073682 Disable NFC in the security options 2018-09-06 21:26:39 -05:00
Javier Varona
4a34c3a8ae - Now the import seed button sends the user to the import seed activity
- Fixed account seed kotlin viewmodel so it can be instantiated with the ViewModelProvider
2018-09-06 22:13:28 -04:00
hvarona
baeaa2d8d0 Change the insight serverUrl, to make it not a constant but selected by the app 2018-09-06 21:44:07 -04:00
Javier Varona
e569986864 - Fixed app asking for password when the back button is pressed after selecting import account by backup 2018-09-06 21:08:59 -04:00
dtvv
a1876733f5 In the backup seed screen there is not option for brainkey backup 2018-09-06 14:22:42 -05:00
dtvv
fd5037f1af Complete layout view for backup with brainkey 2018-09-06 11:44:05 -05:00
dtvv
65669e155c Integration of animated layout Library severiano 2018-09-06 11:31:29 -05:00
dtvv
508e30fc15 Correct manifest 2018-09-06 00:02:06 -05:00
hvarona
e6350396be Change the insight serverUrl, to make it not a constant but selected by the app 2018-09-05 23:45:03 -04:00
hvarona
8cfbb63f1c Change the insight serverUrl, to make it not a constant but selected by the app 2018-09-05 23:43:37 -04:00
dtvv
5fb847ba1c Revert network changes 2018-09-05 19:36:27 -05:00
dtvv
e0903c0a26 Remove AppTheme.NoActionBar from LicenceActivity.java 2018-09-05 14:51:07 -05:00
dtvv
72dc7abf8b Change the “cancel” button in the send assets screen to a cross 2018-09-05 14:49:35 -05:00
dtvv
018cced971 In the loading dialog when you Press back button it lets to close it 2018-09-05 13:52:27 -05:00
dtvv
8a6e8ce240 In the create seed screen, when all the Fields are complete filled and delete one character in pin field for example, the loading connection server existing account validation was fired 2018-09-05 13:20:17 -05:00
dtvv
2a1f2895d4 Set the loading dialog when connecting to server to progress() loading icon 2018-09-05 12:25:31 -05:00
Javier Varona
ac46440ed5 Merge remote-tracking branch 'remotes/origin/feat_improve_contacts' into develop_ui_improvements
# Conflicts:
#	app/src/main/java/cy/agorise/crystalwallet/activities/BoardActivity.java
#	app/src/main/res/layout/board.xml
2018-09-04 21:14:30 -04:00
dtvv
c7cb37347d Remove testing cases 2018-09-03 15:59:32 -06:00
dtvv
b7223e4997 Progress dialog not showing, now it is ok 2018-09-03 14:06:38 -06:00
dtvv
e9551483f0 Remove network package testing implementation 2018-09-03 10:52:39 -06:00
dtvv
e283f7cb65 Remove network package testing implementation 2018-09-03 10:49:25 -06:00
dtvv
4a566a1e3a Remove network package testing implementation 2018-09-03 10:29:35 -06:00
dtvv
f6c92963e2 Remove network package testing implementation 2018-09-03 10:07:57 -06:00
dtvv
c0acdc85a7 Remove network package testing implementation 2018-09-03 10:05:46 -06:00
dtvv
3e150be199 Remove network package testing implementation 2018-09-03 10:02:52 -06:00
dtvv
e3eeb76f0e Remove testing cases 2018-09-03 09:18:48 -06:00
dtvv
6ef9a501b7 Fix directory name 2018-08-30 17:14:47 -05:00
dtvv
576c14c6c6 Test activity class for business spinner 2018-08-30 17:13:30 -05:00
dtvv
fbaca7a1c8 Test implementation for business logic specific spinner 2018-08-28 21:22:50 -05:00
dtvv
ecb7a9b33d Remove bubble animation from BoardActivity 2018-08-27 18:55:24 -05:00
dtvv
360f855941 Remove back implementations of GUI 2018-08-27 17:06:23 -05:00
dtvv
249105ca95 Tablayout remove my implementation, waiting for severiano library 2018-08-27 15:19:43 -05:00
dtvv
e2df388aa8 Corrections of innecesaries spaces in methods and classes 2018-08-27 15:04:35 -05:00
Severiano Jaramillo
f219ccee47 Temporal fix to avoid compilation errors 2018-08-27 13:03:15 -05:00
Severiano Jaramillo Quintanar
0514e3984e
Merge branch 'feat_ui_improvements' into feat_ui_improvements 2018-08-27 09:49:41 -05:00
dtvv
850784160e Normal manifest, not tests 2018-08-27 07:48:10 -05:00
dtvv
4836c03179 New unit test implementation github style for some UI implementations 2018-08-27 07:31:55 -05:00
dtvv
1fce05145d New unit test implementation github style for some UI implementations 2018-08-23 23:45:15 -05:00
dtvv
096171f327 -New unit testing design androi model for classes and complete system
-Modularity in unitesting activities, example:
Test_DialogMaterialActivity.kt
Changes in class DialogMaterial.kt
2018-08-22 19:00:39 -05:00
Javier Varona
08be77e9fb Merge branch 'develop' of https://github.com/Agorise/crystal-wallet-android into develop 2018-08-20 20:34:54 -04:00
Javier Varona
77b5d956ea - Getting the response from the Yubikey through NFC
- Added TOTP class to calculate 6 digits code using RFC6238
2018-08-20 20:28:46 -04:00
hvarona
b3201096a7 remove the nfc testing page 2018-08-18 21:54:41 -04:00
dtvv
6d06d307f3 -whiteclear color change name 2018-08-18 13:20:42 -05:00
dtvv
17f74b4774 -Correct OnErrorWebSocker to OnErrorWebSocket 2018-08-18 12:48:37 -05:00
hvarona
6caa84481c Change Server to point to bitshares main net 2018-08-18 01:18:59 -04:00
dtvv
d2d17bb6b4 -In the Send Assets window fix the “account name to” to get better visual effects
-Integrate nice material spinner into crystal proyect
-Change in class SendTransactionValidator for material spinner
-Change in clas SendTransactionFragment for material spinner
-At end this nice spinner did not work well and i removed it
-Integrate this new nice material spinner into crystal proyect
-Modified classes:
SendTransactionFragment
SendTransactionValidator
ToValidationField
FromValidationField
-Create the first bubble inicial design background for the BroadActivity window
-Remove the transparent squares in the BroadActivity
-In the window of BroadActivity that the Tab tittles increase size when they are selected (tonigth)
-Integrate bubble background gif to android (tonigth)
2018-08-17 12:08:49 -05:00
dtvv
119300d545 -Create class LoadingActivity.kt
-Create loading_activity.xml layout
-Static interface integración in LoadingActivity.kt to entable simple use
-In the Board Window in the server connection show the new loading acitivity
-Take video called “Loading screen when socket server comunicación comes”
-In the Intro Window: When the user tríes to clic button and there are not server comunication it should show loading screen
-In the board window i tested that the gestores GUI works fine in real device
-In the BoardActivity there is a grey brand below first panel gui balances
-Change the Font in the BoardAcivity to be the same as in the video
-In the BoardActivity when clicling in sections that the sections show grayed for unselected and White for selected
-Change Bitshares Font style as the video
-In the window BroadActivity set the left icon more mall and the Font as in the video
2018-08-17 00:43:03 -05:00
dtvv
f9995bf284 -Fix code Migration of kotlin:
annotationProcessor  to kapt
-In screen IntroActivity: Show toast when there is not connection with server
-In screen Create Seed: Code to interface when error ocurs in WebSocketThread and GrapheneApiGenerator
-Fixes to class WebSocketThread for error Report to user
-Fixes to class BitsharesCryptoNetVerifier for error Report to user
-Fixes to class CryptoNetVerifier for error Report to user
-Fixes to class CryptoNetManager for error Report to user
-In the IntroScreen: If there is not server connection show a simple user message of that
-Create class ToastIt in kotlin
-Create class NetworkUtility in kotlin
-In the IntroScreen: When the user Press button “create account” it has to validate connection to server to continue
-In the IntroScreen: When the user Press button “Import account” it has to validate connection to server to continue
2018-08-15 17:36:20 -05:00
dtvv
da8eda93b5 Change custom implementations of classes to kotlin
*AccountSeedViewModel
*CreateSeedActivity
*UIValidator
*UIValidatorListener
*FieldsValidator
*CustomValidationField
*PinDoubleConfirmationValidationField
*BitsharesAccountNameValidation
-In the Send Assets window in the field Memo set it to max length to 255
2018-08-14 16:15:45 -05:00