1355 Commits

Author SHA1 Message Date
emizzle
e1d1880aca fix: change onboarding account to whisper key
Previously, the displayed key for generated accounts was displaying the public key of the account, and not the whisper account. This has been fixed.

Futher work has gone in to strongly-typing a lot of the responses from status-go and removed a lot of the manual string parsing.

Simplified types and type-conversions by using the `nim-serialization` library.
2020-05-25 11:31:18 -04:00
Iuri Matias
c3ddec43fa remove file accidentaly added by mistake 2020-05-25 10:56:54 -04:00
Pascal Precht
729fa1f31c cleanup: remove unused imports in modules 2020-05-25 09:56:29 -04:00
Iuri Matias
0d7cb1b401 add contact list 2020-05-25 09:50:35 -04:00
Iuri Matias
e6199fede6 Add node model; simplify more; simplify callRPC
Add node model; simplify more; simplify callRPC

refactor wallet to use asset model

move some of wallet logic away from the controller

move ChatMessage to model

move chatItem model

organize models folder

simplify chat message and chat item

rename messageList to message_list

simply addresses in the controller

rename mailservers list

refactor how profile is set

refactor/simplify profile view

refactor/simplify adding mailservers

rename wallet view

simplify wallet assets

rename nodeView to view

extract channel list view

extract channel list view

refactor channel list / chats view

move signals out of app folder

simplify callRPC

add raw rpc method and make node section use it

add node model

move accounts model inside onboard controller (for now)

make events usage consistent among models and controllers; separate model events from app events
2020-05-25 09:44:33 -04:00
Iuri Matias
6e14749904 simplify controllers and views, make everything more consistent
simplify controllers and views, make everything more consistent

refactor wallet to use asset model

move some of wallet logic away from the controller

move ChatMessage to model

move chatItem model

organize models folder

simplify chat message and chat item

rename messageList to message_list

simply addresses in the controller

rename mailservers list

refactor how profile is set

refactor/simplify profile view

refactor/simplify adding mailservers

rename wallet view

simplify wallet assets

rename nodeView to view

extract channel list view

extract channel list view

refactor channel list / chats view

move signals out of app folder

address code reviews
2020-05-25 09:22:11 -04:00
Richard Ramos
e6a1e5a8bb Error message when onSignal is not implemented 2020-05-22 19:18:05 -04:00
Richard Ramos
2eee8c7a2d feat: show last message and unread message count 2020-05-22 19:18:05 -04:00
Iuri Matias
ac5c6389d3 revert change to rowCount and Data methods 2020-05-22 19:02:04 -04:00
Jonathan Rainville
e371d2fe4b chore: fix a couple of warnings 2020-05-22 17:09:40 -04:00
Pascal Precht
10b51956f2 ui: render mailservers list 2020-05-22 16:56:51 -04:00
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
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
f59401a80a clean up 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
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
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
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
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
Iuri Matias
5cc31ae28d display identicons; display correct details for the user own messages 2020-05-19 19:40:40 -04:00
Iuri Matias
755fd6056b move block notification to node management tab 2020-05-19 17:00:29 -04:00
Jonathan Rainville
26d7cacaea feat: add easy to use get function for chat channels 2020-05-19 16:29:39 -04:00
Iuri Matias
8341dd36c0 address code review changes 2020-05-19 15:29:57 -04:00
Iuri Matias
cd1e6780be remove unused file 2020-05-19 15:29:57 -04:00
Iuri Matias
175c3a57f4 remove logic message model from view and replace it with view representation 2020-05-19 15:29:57 -04:00
Iuri Matias
1883a4bc1f display users own message 2020-05-19 15:29:57 -04:00
Jonathan Rainville
33011385af feat: enable to send private messages after doing add chat
Fixes #50
2020-05-19 15:16:31 -04:00
Pascal Precht
76a0b55d47 feat(ui/wallet): add basic form to send transaction
Closes #49
2020-05-19 11:48:41 -04:00
Richard Ramos
03f48c5a25 fix: rename files 2020-05-18 16:41:16 -04:00
Richard Ramos
a4deb4b7a9 Display chat messages 2020-05-18 16:41:16 -04:00
Richard Ramos
df1199060d Apply polymorphism to signals, instead of using json strings 2020-05-18 16:41:16 -04:00