260 Commits

Author SHA1 Message Date
Richard Ramos
6a22c0275f Make the view react to chat updates 2020-06-15 08:23:03 -04:00
Richard Ramos
f46eed86d7 Chat and message toString format 2020-06-15 08:23:03 -04:00
Richard Ramos
0ca50b4e06 fix: buildFilter 2020-06-15 08:23:03 -04:00
Richard Ramos
d7f9120840 Adding messageId to messages 2020-06-15 08:23:03 -04:00
Jonathan Rainville
7873a0ff58 feat: design gen new key modal 2020-06-15 08:07:15 -04:00
Richard Ramos
ccb43acd85 fix: allow receiving 1:1 messages after deleting chats 2020-06-13 10:04:26 -04:00
Richard Ramos
e38f1b0268 fix: code review 2020-06-13 09:56:58 -04:00
Richard Ramos
78e8e6be93 feat: group information 2020-06-13 09:56:58 -04:00
Pascal Precht
73eb4fe8b1 feat: introduce button to block users
Closes #158
2020-06-12 08:30:10 -04:00
Jonathan Rainville
67c7e9b0ca feat: implement design on the login screen 2020-06-12 08:11:14 -04:00
Iuri Matias
b1ce63b64c remove hasIcon and image props 2020-06-12 08:08:11 -04:00
Iuri Matias
36b2ae5a66 support adding a custom token
support adding a custom token

cleanup
2020-06-11 18:03:49 -04:00
Jonathan Rainville
4d7eee1ebf feat: enable deleting a wallet account 2020-06-11 12:22:21 -04:00
Jonathan Rainville
7476cf3d16 fix: fix conflicts and bad types 2020-06-11 11:23:01 -04:00
Jonathan Rainville
be8188078b feat: enable changing account setting in the wallet 2020-06-11 11:23:01 -04:00
Jonathan Rainville
317c956718 feat: show the real account values in settings 2020-06-11 11:23:01 -04:00
Richard Ramos
8fb3368925 refactor: unify ChatMessage and Message, and move Chat and Message to status folder 2020-06-11 11:04:37 -04:00
Richard Ramos
9a2144fe75 feat: leave private chat groups 2020-06-11 10:29:15 -04:00
emizzle
4ec593baed feat: Add logout functionality
Move the onboarding/login state machine to the top level in main.qml, so that logout events can trigger new states.

Add Loader to statemachine so that each component is lazy-loaded. Initial tests saved 50MB of memory on startup.

Currently, logging out, then logging back in to the same or different account results in a doubling-up of chats/messages/wallet accounts. These need to be reset, however I need help doing that and it would delayed and blown out this PR further. This reset has been done for Onboarding and Login, but needs to be done for chats, wallet, mailservers, etc.
2020-06-11 09:28:25 -04:00
Iuri Matias
bd8d743385 use let instead of var 2020-06-10 17:28:40 -04:00
Iuri Matias
19eb7eb520 fix total account balance
fix total account balance

cleanup
2020-06-10 17:28:40 -04:00
Iuri Matias
826c0ed46d get token balance
get token balance

fix token balance call

Fix assets on load

add token list

display images

cleanup

cleanup

cleanup

clean up
2020-06-10 17:28:40 -04:00
Richard Ramos
761be22bfa feat: Join private groups 2020-06-10 15:54:56 -04:00
Richard Ramos
8cca18d7f9 Display group chat message types and react to chat updates 2020-06-10 15:21:15 -04:00
Richard Ramos
286bb14fb2 Fix: code review
Fixes #257
2020-06-10 15:08:55 -04:00
Richard Ramos
39c494f9d5 refactor: Remove ChatItem object 2020-06-10 15:08:55 -04:00
emizzle
87c603097e feat: Decode sticker hashes
Decode multihash content identifier (CID) using `libp2p` libraries. Makes some assumptions that we only handle `ipfs-ns` codec hashes and that the sticker hash starts with `e3xxxxyy`, where xxxx is essentially ignore and yy indicates the cid codec.
2020-06-10 14:52:45 -04:00
Richard Ramos
afc247be23 Various fixes
- Make the topbar channel identifier color match the channel list color
- Display private groups on the channel list
- Reduce chat identifier height
2020-06-09 18:13:53 -04:00
Jonathan Rainville
7295fde809 feat: add watch only accounts to wallet 2020-06-09 18:10:57 -04:00
Jonathan Rainville
2ade9e938d feat: add modal to add an account with a private key 2020-06-09 18:10:57 -04:00
Pascal Precht
b8c5059de7 feat(libstatus): introduce API to get contact by ID 2020-06-09 18:08:08 -04:00
Richard Ramos
ae3d3d3894 fix: identify messages sent by the current user 2020-06-09 17:55:20 -04:00
Jonathan Rainville
50c10d38dd feat: enable adding an account with a seed phrase 2020-06-08 17:01:29 -04:00
Richard Ramos
f3ff229bf8 feat: load messages on scroll to top, and fix last message scrolling 2020-06-08 16:07:11 -04:00
Richard Ramos
b5b02cfd57 show identifier as the first message of chat view 2020-06-08 15:27:30 -04:00
Richard Ramos
9d75f6f552 Use section identifiers as a way to identify if messages have been sent by the current user (no need to modify the model with repeatMessageInfo) 2020-06-08 13:24:46 -04:00
Ștefan Talpalaru
4fe6d9b767 build system refactoring
- unify the "build-..." targets
- enable a debug build by default, to simplify development
- bump vendor/DOtherSide
- avoid DOtherSide checks for docs/tests-specific tools like Doxygen
- switch to an in-place build for DOtherSide
- silence the DOtherSide build when V=0, make it more verbose with V=1
- don't delete checked out submodules in the "clean" target
- update build instructions in the README
- centralise Nim compiler options in a top-level "config.nims" (except
  `-d:debug` which needs to be on the command line)
2020-06-08 13:07:25 -04:00
Iuri Matias
5371f22e70 add/remove & update configured tokens on the fly
add/remove & update configured tokens on the fly

add wallet methods

generate configured assets

correct show selected tokens

toggle assets

add/remove configured tokens on the fly

cleanup

fix shown wallet
2020-06-08 12:14:09 -04:00
Jonathan Rainville
c609a00784 feat: generate new accounts and get wallet account correctly 2020-06-08 09:39:01 -04:00
Richard Ramos
1cc5d9155f Set initial state to empty chat view instead of selecting the first chat 2020-06-05 18:21:46 -04:00
Iuri Matias
1fb9be3d7d update balances & currency across walet; move account generation
update total fiat balance so it can auto update

update account list when needed

force update of asset list

add account in the model

add 0x0 address instead of invalid one

ensure asset list is updated
2020-06-05 09:58:54 -04:00
Richard Ramos
722ab36bf1 Sort messages by clock 2020-06-05 05:56:21 -04:00
Iuri Matias
f8271c0c38 fix asset initilization 2020-06-04 19:39:34 -04:00
Iuri Matias
0dcf257f0c trigger new balance when currency change happens
trigger new balance when currency change happens

update current account balance on currency change
2020-06-04 17:49:02 -04:00
Iuri Matias
b4aae8fa3b move wallet related models
move wallet related models

set data

move accounts init to the model
2020-06-04 17:49:02 -04:00
Iuri Matias
1a160cf664 Revert "build system refactoring"
This reverts commit 2449a12fb7863b611735c1324c262546a63bcd40.
2020-06-04 17:22:39 -04:00
Jonathan Rainville
3bab66fde9 add the account like a boss 2020-06-04 16:31:17 -04:00
Ștefan Talpalaru
2449a12fb7 build system refactoring
- unify the "build-..." targets
- enable a debug build by default, to simplify development
- bump vendor/DOtherSide
- avoid DOtherSide checks for docs/tests-specific tools like Doxygen
- switch to an in-place build for DOtherSide
- silence the DOtherSide build when V=0, make it more verbose with V=1
- don't delete checked out submodules in the "clean" target
- update build instructions in the README
- centralise Nim compiler options in a top-level "config.nims" (except
  `-d:debug` which needs to be on the command line)
2020-06-04 14:16:14 -05:00
Richard Ramos
68047eb8fd fix: leave channel 2020-06-04 10:44:33 -04:00
Iuri Matias
b43d6c7b01 check if asset is configured for account 2020-06-04 10:43:39 -04:00