917 Commits

Author SHA1 Message Date
Andrei Smirnov
b7ca0aaf14 Addressed PR feedback 2021-08-16 15:32:21 -04:00
Andrei Smirnov
8310a36bde feat(@desktop): change password 2021-08-16 15:32:21 -04:00
Anthony Laibe
d3fdd4a575 fix(@desktop/chat): Going from communities to chat reopen latest opened
chat

fixes #3195
2021-08-16 14:09:47 -04:00
Anthony Laibe
28a4362b64 feat(@desktop/profile): handle blocked contact
fixes #3047
2021-08-16 14:03:52 -04:00
Sale Djenic
a530f65ada fix(@desktop/communities): joinedCommunities doesn't update underlying community
Counting mentions for community seems was not developed yet. That's added here in this commit, but
instead of using "mentionsCount" we introduced on the side of nim, I found that we're receiving
"unviewedMentionsCount", but only for new messages. I used it for this fix.

Counting mentions and requests per community added.

Fixes: #2972
2021-08-16 12:55:12 -04:00
Richard Ramos
50b6b59abf feat: add wallet v2 tab 2021-08-16 09:45:06 -04:00
Richard Ramos
77c3e1b211 fix: delete 2021-08-13 12:30:57 -04:00
Andrei Smirnov
c4104b9b32 fix(@desktop): crash on shutdown path 2021-08-12 17:34:24 +03:00
Andrei Smirnov
5a7aac0baf fix(@desktop): crash when transitioning from login|onboarding to the app state 2021-08-11 18:51:59 +03:00
Anthony Laibe
7f3810b67a fix(@desktop/onboarding): fix crash when restoring keys
fixes #3191
2021-08-11 13:25:27 +02:00
Anthony Laibe
ee84818c06 feat(@desktop/chat): Save favorites and recents gif 2021-08-10 15:31:19 +02:00
Richard Ramos
d1b46c0226 feat: selector for online or invisible state
Fixes #3126
2021-08-06 13:30:05 -04:00
Sale Djenic
4ba08f02a5 Rebasing issues fixed (#3005) 2021-08-05 14:35:46 -04:00
Sale Djenic
5e569865e4 feature(@desktop/chat): support jumping to search result message that is not currently loaded in memory
A crash leaving chat is fixed.

The issue was very hidden cause everything looks ok, at first glance, but not, the thing is that
"messages" exposed to qml were deleted from ChatsView and signals beginRemoveRows and
endRemoveRows were emitted for CatsView abstract list model instead for MessageView abstract list
model. That results in an app crash in some moments (not always reproducible, but often).

Fixes: #3005
2021-08-05 14:35:46 -04:00
Sale Djenic
83d6817f70 feature(@desktop/chat): support jumping to search result message that is not currently loaded in memory
Crash adding public chat which is caused by changes applied to this feature is fixed.

Fixes: #3005
2021-08-05 14:35:46 -04:00
Sale Djenic
5d8b02e057 feature(@desktop/chat): support jumping to search result message that is not currently loaded in memory
Feature added. Firstly we check if the searched message is already displayed and if yes simply jump
to it, if not then we are loading new 20 messages in the past using cursor and check if the
searched message's id is among those received messages. We do that in a loop till we find the
message we are searching for.

Fixes: #3005
2021-08-05 14:35:46 -04:00
Sale Djenic
e62465d86f feature(@desktop/chat): support jumping to search result message that is not currently loaded in memory
Changes made here were necessary in order to have good base to requested develop feature.

- duplicated methods are removed
- loading messages either on start (initial loading) or loading more messages requested by
  scrolling in the chat view is now done in separate thread (asynchronous) instead as it was earlier,
  done in the main thread
- new file is added for storing async tasks for chat part only
- ChatModel (from status/chat.nim) is QObject instance now, so it may handle async job in a slot
- a job requested from the view is done in separate thread and view is notified about the changes
  using signal/slot mechanism

This is not refactoring, but minimal update to have clear situation for further changes

Fixes: #3005
2021-08-05 14:35:46 -04:00
Sale Djenic
74d868ab92 feature(@desktop/chat): implement search on sqlcipher (status-go side)
Searching messages by some term for a specific channel is added on the side of status-go and an
appropriate part on the side of nim is developed accordingly.

Fixes: #2912
2021-08-05 14:35:46 -04:00
Sale Djenic
de661459cb feature(@desktop/chat): implement search on sqlcipher (status-go side)
Current code adapted to handle future changes on message search (like searching message in multiple
channels).

Memory leak which was happening in qml assigning (copying) MessageItem to qml variable messageItem
(where that qml variable messageItem was never deleted) is fixed.

Fixes: #2912
2021-08-05 14:35:46 -04:00
Sale Djenic
f0c605936d feature(@desktop/chat): implement search on sqlcipher (status-go side)
Searching messages by some term for a specific channel is added on the side of status-go and an
appropriate part on the side of nim is developed accordingly.

Fixes: #2912
2021-08-04 15:49:50 -04:00
Sale Djenic
1573d7b928 feature(@desktop/chat): implement search on sqlcipher (status-go side)
Current code adapted to handle future changes on message search (like searching message in multiple
channels).

Memory leak which was happening in qml assigning (copying) MessageItem to qml variable messageItem
(where that qml variable messageItem was never deleted) is fixed.

Fixes: #2912
2021-08-04 15:49:50 -04:00
Anthony Laibe
728a97389d fix(@desktop/profile): remove chat when blocking contact
fixes #2708

When blocking a contact, if there is a chat open, close it
2021-08-03 16:47:33 -04:00
RichΛrd
46e3779020 fix: code review 2021-08-03 16:43:19 -04:00
Richard Ramos
d34dafd525 fix: it should be possible to enter gas prices with decimals 2021-08-03 16:43:19 -04:00
Anthony Laibe
b21e1d87c0 feat(@desktop/chat): Style gif widget component 2021-08-03 16:42:05 -04:00
Anthony Laibe
c5051d4d4f feat(@desktop/chat): display gif with 3 columns 2021-08-03 16:42:05 -04:00
Anthony Laibe
9cd0f77e92 fix(@desktop/wallet): load collectible on initial account set
fixes #3121
2021-08-03 16:04:09 -04:00
Anthony Laibe
20b1bed309 chores(@desktop/chat): add guard when buying stickers
Call the same function as to when we do a transaction to validate
the argument
2021-08-03 16:03:51 -04:00
Richard Ramos
eb9734a72d feat: bandwidth stats
Fixes #2935
2021-08-03 15:41:56 -04:00
Richard Ramos
1551c94135 fix: code review 2021-08-02 15:51:33 -04:00
Richard Ramos
9de0b95c3d fix: group member list 2021-08-02 15:51:33 -04:00
Jonathan Rainville
9f21740bae feat: add api to delete a community channel 2021-08-02 14:08:51 -04:00
Richard Ramos
af6978a367 fix: various issues 2021-07-29 09:08:27 -04:00
Sale Djenic
c1b47f1c9c High cpu usage fix 2021-07-28 12:32:30 -04:00
Jonathan Rainville
e2d91dc66b fix(act-center): multiple fixes to the activity center 2021-07-27 15:29:03 -04:00
Richard Ramos
acdb4d3bcb fix: last seen timestamp and removing useless echo 2021-07-27 11:16:28 -04:00
Anthony Laibe
a2db1deeda fix(@desktop/chat): revert the visible logic for fetch more messages
This is causing fetch more message to not be visible in other chat type
such as publich chat
2021-07-27 09:45:21 -04:00
Jonathan Rainville
7d169e85f2 fix(delete): disable deleting certain message types 2021-07-26 17:14:07 -04:00
Jonathan Rainville
6dc5e1177b fix(delete): fix deleting pins when deleting messages 2021-07-26 17:14:07 -04:00
Jonathan Rainville
523e94ae0c feat: enable to delete messages
Fixes #2775
2021-07-26 17:14:07 -04:00
Anthony Laibe
a1ce2ba0da fix(@desktop/communities): Community chat colors stays up to date
fixes #2826

When fetching communities, the chat attached to it are not complete.
In this commit, we ensure that everytime we fetch a community, we update
its chat with the chat being loaded which contains all the data we need
to properly display a chat
2021-07-26 13:27:00 -04:00
Anthony Laibe
75c986cc77 fix(@desktop/onboarding): do not display keyid as address
fixes #3035
2021-07-26 13:17:34 -04:00
Anthony Laibe
5488abcbde fix(@desktop/chat): fix upload of image with special characters
fixes #3034
2021-07-23 17:11:42 -04:00
Jonathan Rainville
0455bcdcf1 fix: fix pin counter not updating for communities
Fixes #3014
2021-07-23 16:49:51 -04:00
Richard Ramos
55a11f016e fix: limit suggestions to member list in communities
Fixes #3021
2021-07-23 15:58:07 -04:00
Pascal Precht
e097d2bfe7 fix(Communities): preserve category id when editing channels
As described in #3015, when editing channels that belong to a category of a community,
after saving them, they'll get kicked out of the category.

This is because we haven't passed the category id along the API that performs the
save operation.

This commit ensures we have access to a category chats' `categoryId` and send it
over to `editCommunityChat` RPC API provided by status-go

Fixes #3015
2021-07-23 15:48:21 -04:00
Anthony Laibe
aec0130107 fix(@desktop/chat): prevent double addition of private chat 2021-07-23 15:40:36 -04:00
Anthony Laibe
e88665f27a fix(@desktop/chat): hide notification when leaving/creating a group
fixes #2484
2021-07-23 15:37:23 -04:00
Anthony Laibe
58506fbd97 feat(@desktop/chat): Display gif popup next to emoji 2021-07-23 15:27:56 -04:00
Andrei Smirnov
b1be4d643b fix(@desktop/communities): pending membership counter 2021-07-23 14:45:07 -04:00