Commit Graph

1486 Commits

Author SHA1 Message Date
Iuri Matias 1d371d5054 simplify some objects that don't need qt references 2020-05-22 16:54:42 -04:00
emizzle a1109ca52b feat: Pass login account data in account event
The "accountsReady" event now passes the account information for the account that was logged in, which helps pass the correct account info to Profile and is available for other modules that may need it.

This will become particularly useful once the login functionality is implemented.
2020-05-22 16:11:12 -04:00
Iuri Matias 68b48a7082 move sendMessage to the chats model 2020-05-22 15:55:07 -04:00
Richard Ramos f29191bc59 fix: random crash due to no messages availables in signal 2020-05-22 10:59:46 -04:00
Iuri Matias 63d525e0f4 clarify one can join channel through sidebar 2020-05-21 20:07:55 -04:00
Iuri Matias 6344beee9f remove old file 2020-05-21 19:50:58 -04:00
Pascal Precht 985b5d93d0 fix(ui/wallet): don't require password to be entered as hashed hex 2020-05-21 19:50:58 -04:00
Richard Ramos ec46dd13f1 refactor: join public chats 2020-05-21 19:43:02 -04:00
Richard Ramos 0e2131d499 feat: support multiple channels on the UI 2020-05-21 19:36:36 -04:00
Iuri Matias 50fc70adfb address code review 2020-05-21 19:33:14 -04:00
Iuri Matias c1f6a0d06d address code review 2020-05-21 19:33:14 -04:00
Iuri Matias f59401a80a clean up 2020-05-21 19:33:14 -04:00
Iuri Matias 13bfc56337 cleanup 2020-05-21 19:33:14 -04:00
Iuri Matias 4c9a370fc3 pass generated account to profile 2020-05-21 19:33:14 -04:00
Iuri Matias 656e553a32 cleanup 2020-05-21 19:33:14 -04:00
Iuri Matias 27c1b4b9b0 remove random account from status model 2020-05-21 19:33:14 -04:00
Iuri Matias bab04fac6f refactor account setup 2020-05-21 19:33:14 -04:00
Iuri Matias de5428cc0a simplify method 2020-05-21 19:33:14 -04:00
Iuri Matias e65449b8de refactor/extract getAccountData method 2020-05-21 19:33:14 -04:00
Iuri Matias b50d9f71f3 refactor/extract accountsSettings method 2020-05-21 19:33:14 -04:00
Iuri Matias a69609a254 use default node config 2020-05-21 19:33:14 -04:00
Iuri Matias a5f5f6f016 use constant for default networks 2020-05-21 19:33:14 -04:00
Iuri Matias 61b5d6e311 refactor/extract generateMultiAccounts method 2020-05-21 19:33:14 -04:00
Iuri Matias 6c03369ca2 refactor/extract saveAccountAndLogin method 2020-05-21 19:33:14 -04:00
Iuri Matias f5a1c8a065 cleanup 2020-05-21 19:33:14 -04:00
Iuri Matias 8b5ec19fec remove old test.nim; move relevant methods to accounts 2020-05-21 19:33:14 -04:00
Iuri Matias 8a0a5a2e60 separate model events from app events 2020-05-21 19:33:14 -04:00
Iuri Matias d434af40e1 move generate addresses action to qml state machine enter state event 2020-05-21 19:33:14 -04:00
Iuri Matias 15b32ddd5a remove lib file 2020-05-21 19:33:14 -04:00
Iuri Matias ce236fbc82 cleanup 2020-05-21 19:33:14 -04:00
Iuri Matias ff25fc818a move logic to model 2020-05-21 19:33:14 -04:00
Iuri Matias 81a478d797 remove unsused method 2020-05-21 19:33:14 -04:00
Iuri Matias 7cd9ceac28 refactor: move onboarding logic out of the view 2020-05-21 19:33:14 -04:00
Iuri Matias 6e2f61b08e add todos 2020-05-21 19:33:14 -04:00
Iuri Matias 23f72c77bc move generateRandomAccountAndLogin out of view 2020-05-21 19:33:14 -04:00
Iuri Matias 2cf1541115 move storeAccount logic out of the view 2020-05-21 19:33:14 -04:00
Iuri Matias 033cd3bd06 rename onboarding view; cleanup 2020-05-21 19:33:14 -04:00
Iuri Matias e08c4b75a4 rename onboarding view 2020-05-21 19:33:14 -04:00
Iuri Matias 6ef7c9008e add controller for onboarding 2020-05-21 19:33:14 -04:00
Iuri Matias 40fcc1538a move onboarding to onboarding module 2020-05-21 19:33:14 -04:00
Iuri Matias 48b600f3fd move init node to status_accounts 2020-05-21 19:33:14 -04:00
Iuri Matias 0a2c8bc86c fix rebase conflict 2020-05-21 19:33:14 -04:00
emizzle dafd11fbc0 feat: onboarding generate new account
Generates 5 random accounts with identicons, allows user to enter password, then stores the account and logs in to the statusgo node.

Add EventEmitter that notifies nim_status_client.nim once node has started and is logged in (likely needs some refactoring to include the eventemitter in the base controller class).

Add QML StateMachine for the onboarding view.

Add nimcrytpo, uuids, eventemitter, isaac dependencies via submodules.

Add button to Intro view to randomly gen account.
2020-05-21 19:33:14 -04:00
Richard Ramos ed683fd2f0
fix: support multiple subscribers per signal 2020-05-21 16:13:26 -04:00
Richard Ramos 1a92cda0d9 feat: add nim-chronicles 2020-05-21 15:16:24 -04:00
Jonathan Rainville 6d34c8fa79 feat: set chat item height depending on the height of the text 2020-05-20 17:43:56 -04:00
Jonathan Rainville e157b1bc6d fix: always scroll to last item and only scroll when at bottom
Fixes #77
2020-05-20 17:43:56 -04:00
Iuri Matias 98ce32204d add icon for node tab 2020-05-20 07:56:39 -04:00
Iuri Matias 51ced8bc2d display users identicon in the profile instead of an hardcoded one 2020-05-19 22:04:03 -04:00
Iuri Matias 24bb268934 add profile module; display username from one of the accounts instead of hardcoded one 2020-05-19 22:04:03 -04:00