Commit graph

151 commits

Author SHA1 Message Date
Severiano Jaramillo
175d48f8c6 - Simplified Database structure to include only what is going to be used for the wallet.
- Properly distroy NetworkService connection when ConnectedActivty is distroyed to avoid crashes.
- Created UserAccountRepository and AuthorityRepository to handle their corresponding database operations in an asynchronous way, because Room enforces database operations to be done in a thread other than the UI thread.
- In ImportBrainkeyActivity when a proper brainkey is given save the imported account into the database, put a flag that tells the app there is a current account imported and send the user to MainActivity.
2018-11-24 09:11:57 -06:00
Severiano Jaramillo
847e8a8d7f - Make an UX improvement to let the user import the account directly from the keyboard when typing the brainkey in the TextField.
- Add the MaterialDialogs library and use it to let the user choose the desired account to import when the brainkey controls more than one account.
2018-11-22 20:13:10 -06:00
Severiano Jaramillo
22a0735379 Remove code from BitsyApplication that is not going to be used.
- Add checks to ImportBrainkeyActivity to make sure the PIN and Brainkey have the correct length/structure.
2018-11-22 15:40:33 -06:00
Severiano Jaramillo
fcbd82e570 - Create BitsyApplication class to manage the connection to graphenej's NetworkService.
- Create ConnectedActivity which is the base activity that handles the communication to graphenej's NetworkService and will be extended by other apps that require communication to the BitShares nodes.
2018-11-22 13:35:32 -06:00
Severiano Jaramillo
dfa5df7e83 Create ImportBrainkeyActivity lyout. 2018-11-21 20:53:45 -06:00
Severiano Jaramillo
6b55151e3b Created basic ImportBrainkeyActivity and a method to take the user to the MainActivity or ImportBrainkeyActivity depending on whether or not there is an active account after the user accepts the License. 2018-11-21 17:43:51 -06:00
Severiano Jaramillo
f19556c925 Created SplashActivity and LicenseActivity. Created a MaterialComponents button style with its state list animator. 2018-11-21 17:10:39 -06:00
Severiano Jaramillo
93f2abfb0e - Removed not needed stuff.
- Created new MainActivity using a BottomNavigationBar and created all the necessary icons for such bar.
2018-11-21 14:47:21 -06:00
Severiano Jaramillo
fb1d6b89fa Migrate Bitsy to MaterialComponets theme. 2018-11-21 13:13:07 -06:00
Severiano Jaramillo
16a8920ce5 Fix compilation errors. 2018-11-01 18:45:06 -06:00
Severiano Jaramillo
a8ff48b984 Merge branch 'feat_room_db' into develop 2018-11-01 16:21:21 -06:00
Severiano Jaramillo
253bbd0dea We have now verified that both the weight_threshold in UserAccount and weight in UserAccountAuthority are Integers. 2018-11-01 15:53:43 -06:00
Severiano Jaramillo
73afded9bd Add missing DAOs (Data Access Object) to use with the Room database. 2018-11-01 14:57:23 -06:00
Severiano Jaramillo
eed3407b7d Simplify Assets and UserAccounts database tables. 2018-11-01 14:41:10 -06:00
Nelson R. Perez
ff43dcc4f4 Included a brain key model and simple DAO stub 2018-11-01 14:50:18 -05:00
Severiano Jaramillo
1932b27f7e Fix Authority db table schema 2018-11-01 12:52:20 -06:00
Severiano Jaramillo
1c018346ae Create UserAccountAuthority entity to establish a N:N relationship between the UserAccount and Authority entities in the database. Also made some structure improvements to all the Entities and Daos already described. 2018-11-01 11:19:32 -06:00
Severiano Jaramillo
bc180b38f5 Fix manifest 2018-10-31 19:12:09 -06:00
Severiano Jaramillo
b2c355210d Merge branch 'feat_merchants' of github.com:Agorise/bitsy-wallet into feat_merchants 2018-10-31 19:07:54 -06:00
dtvv
aea1fd3302 SendFragment and ReceiveFragment changes 2018-10-31 19:05:03 -06:00
dtvv
5c5bc5c439 Barcode qr library 2018-10-31 18:56:21 -06:00
dtvv
4e5ee90605 QR code control 2018-10-31 18:55:12 -06:00
dtvv
14a6a520c9 Convert Constants.java to kotlin 2018-10-31 18:55:12 -06:00
Severiano Jaramillo
da9e0225cc Create Operation, Transfer and Equivalent value Entities for the Room database. 2018-10-31 18:51:41 -06:00
dtvv
a2f696c326 SendFragment and ReceiveFragment changes 2018-10-31 18:46:48 -06:00
dtvv
d8cd132c88 Barcode qr library 2018-10-31 16:52:53 -06:00
dtvv
04191b309d QR code control 2018-10-31 15:25:36 -06:00
dtvv
f4759abc72 Convert Constants.java to kotlin 2018-10-31 15:22:44 -06:00
Severiano Jaramillo
72e39368aa Created Authority entity and AuthoritiyDao to create the Authorities db table with Room 2018-10-31 15:16:22 -06:00
Severiano Jaramillo
e835e7de89 Created UserAccount entity and UserAccountDao to create the UserAccounts db table with Room 2018-10-31 14:51:23 -06:00
Severiano Jaramillo
c0d20e67bd Created Balance entity and BalanceDao to create the Balances db table with Room 2018-10-31 14:40:17 -06:00
Severiano Jaramillo
e7d2719a4d Create BitsyDatabase which extends Room and created Assets Entity and Assets Dao to use in the Room db 2018-10-31 13:44:49 -06:00
Severiano Jaramillo
f04708bde1 Update Kotlin version and add proper Room and Paging libreries. 2018-10-31 10:02:33 -06:00
Severiano Jaramillo
a816098be8 Fix issues with migration to AdroidX and update graphenej library. 2018-10-31 09:46:30 -06:00
Severiano Jaramillo
cb3178f642 Update project to use the new AndroidX libraries. 2018-10-31 08:55:55 -06:00
Severiano Jaramillo
75a4f601c1 Added graphenej as a git submodule and as a module to the app. 2018-10-31 08:27:09 -06:00
dtvv
e562d322d7 Test 2018-10-30 19:56:03 -06:00
Severiano Jaramillo
b0d4c0a930 Create empty SendTransactionActivity and ReceiveTransactionActivity which are called from BalancesFragment 2018-10-30 19:32:06 -06:00
Severiano Jaramillo
63c63fd89f Give better names to buttons in BalancesFragment 2018-10-30 16:22:24 -06:00
Severiano Jaramillo
7e758607ee Merge branch 'master' of github.com:Agorise/bitsy-wallet 2018-10-30 16:21:54 -06:00
Severiano Jaramillo
418c0b4ddd Add content to the BalancesFragment, mostly copied fron the old wallet. 2018-10-30 15:27:20 -06:00
dtvv
30e1be54d2 Merge branch 'master' of https://github.com/Agorise/bitsy-wallet 2018-10-30 14:25:16 -06:00
dtvv
4d3b24e61f room and viewmodels dependencies 2018-10-30 13:55:04 -06:00
Severiano Jaramillo
ad2b22a96c Add day/night theme spinner in SettingsActivity along with a very basic implementation of its behavior. 2018-10-30 13:14:33 -06:00
Severiano Jaramillo
30ae9c36bf Create empty SettingsActivity and an Intent to open it from the Settings icon in the MainActivity bottom status bar. 2018-10-30 12:41:09 -06:00
Severiano Jaramillo
79a0a5fc79 Add MainActivity's bottom status bar that shows app version, current BitShares block number, node connection status and the icon to open the Settings. 2018-10-30 10:04:05 -06:00
Severiano Jaramillo
e5bb27da44 Add basic Balances, Transactions and Merchants Fragments with their own layout and ViewModel. 2018-10-30 09:11:19 -06:00
Severiano Jaramillo
bc9d671656 Improved MainActivity TabLayout by making tabMode=scrollable and adding an animation to the bitshares logo to visually show when the fragment it represents is selected. 2018-10-30 08:18:40 -06:00
Severiano Jaramillo
2ae5656c5c Created MainActivity's Tabs with the first tab having the bitshares logo and the other two their corresponding text names. 2018-10-29 20:30:53 -06:00
Severiano Jaramillo
0155f1f9f8 Create basic MainActivity with Tabs. Change app name to BiTSy and add the bitshares logo as the launcher icon. 2018-10-29 19:59:02 -06:00
Severiano Jaramillo
924cd255a8 Initial commit 2018-10-29 15:49:42 -06:00