Commit Graph

2680 Commits

Author SHA1 Message Date
Sale Djenic 662d20b7ac fix(@desktop/general): right click the icon on the dock and press quit doesn't quit the app (macos)
This issue is reproducible on the app only if you're not logged in yet.
The issue is fixed mostly on the side of dotherside.

Fixes: #3112
2021-08-16 13:35:58 -04:00
Richard Ramos eee22f1cc8 fix: display ENS on contact search results
Fixes #3045
2021-08-16 12:58:42 -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
Jakub Sokołowski 2df6def7f9 ci: add scripts/sign-linux-tarball.sh for GPG signing
Adds `scripts/sign-linux-file.sh` which expectes the following variables set:

* `LINUX_GPG_PRIVATE_KEY_FILE` - Path to the GPG export of private key.
* `LINUX_GPG_PRIVATE_KEY_PASS` - Password necessary to use the private key.

Given a file it creates a file with a `.asc` suffix containing the signature:
```
 > wget -q https://status-im-prs.ams3.digitaloceanspaces.com/StatusIm-210809-104514-156806-pr.tar.gz

 > tar xvf StatusIm-210809-104514-156806-pr.tar.gz
StatusIm-210809-104514-156806-pr.AppImage
StatusIm-210809-104514-156806-pr.AppImage.asc

 > gpg --verify StatusIm-210809-104514-156806-pr.AppImage.asc
gpg: assuming signed data in 'StatusIm-210809-104514-156806-pr.AppImage'
gpg: Signature made Mon 09 Aug 2021 12:54:49 PM CEST using RSA key ID E20B4DFD
gpg: Good signature from "Status.im Devel Signing (GPG key for signing Status.im development builds.) <devel@status.im>" [ultimate]
Primary key fingerprint: BBF0 5F92 536B ED19 30A9  FD44 009F B3BF E20B 4DFD
```

Issue: https://github.com/status-im/infra-ci/issues/25
Requires: https://github.com/status-im/status-jenkins-lib/pull/32

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-16 11:21:36 -04:00
Richard Ramos 50b6b59abf feat: add wallet v2 tab 2021-08-16 09:45:06 -04:00
Richard Ramos c47a16298b fix: viewProfileAction is not defined 2021-08-13 16:07:44 -04:00
Anthony Laibe 6ae4568807 fix(@desktop/chat): fix replying to message at early chat
When replying to a chat, we were reloading messages and rerendering
the messages which were causing issue with the reply id

fixes #3219
2021-08-13 13:07:23 -04:00
Anthony Laibe 153cfeb138 fix(@desktop/onboarding): display the app, then init the profile 2021-08-13 12:55:12 -04:00
Anthony Laibe 2c6d835a42 fix(@desktop/chat): fix shortcut for chat from communities 2021-08-13 12:54:38 -04:00
Anthony Laibe 2b027088e5 fix(@desktop/browser): hide favorite bar when there is none
fixes #3210
2021-08-13 12:35:17 -04:00
Richard Ramos 77c3e1b211 fix: delete 2021-08-13 12:30:57 -04:00
Khushboo Mehta 09fb1a173c fix(@desktop/wallet) Truncate long wallet amount
Added logic to convert large amounts to Millions and Billions

fixes #2667
2021-08-13 15:03:24 +02:00
Andrei Smirnov 34470acafe Improved Inno Setup script. 2021-08-13 12:03:02 +03:00
Andrei Smirnov 6d01fca661 fix(@desktop/installer): further improving of Inno Setup script 2021-08-13 12:03:02 +03:00
Khushboo Mehta 27fc32469e fix(@desktop/chat): Activity tooltip arrow position is incorrect
Updated offset of the notification tooltip arrow based on if the members list is visible. The arrow should be in center when member list is visible else it should be right aligned as there is no place on the window

fixes #3102
2021-08-12 18:06:23 +02:00
Andrei Smirnov c4104b9b32 fix(@desktop): crash on shutdown path 2021-08-12 17:34:24 +03:00
Anthony Laibe 69a6d06fea fix(@desktop/wallet): Use the new pending tx API for pending tx
fixes #3141
2021-08-11 12:07:00 -04:00
Andrei Smirnov 5a7aac0baf fix(@desktop): crash when transitioning from login|onboarding to the app state 2021-08-11 18:51:59 +03:00
Khushboo Mehta b80ac8070f fix(@desktop/chat): pin button is blurred
Updated from PopupMenu to StatusPopMenu. Removed buttons not in design.
Also added left and right button functionalXity on memeber list

fixes #2956, #3162
2021-08-11 14:33:21 +02:00
Andrei Smirnov 7c6b7819ca Inno Setup script fixes 2021-08-11 15:15:15 +03:00
Andrei Smirnov fd91b39af3 fix(@desktop/installer): InnoSetup script fixes 2021-08-11 15:15:15 +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 992828b0c3 fix(@desktop/wallet): Total balance reflect real total
fixes #3054
2021-08-10 15:42:21 +02:00
Anthony Laibe ee84818c06 feat(@desktop/chat): Save favorites and recents gif 2021-08-10 15:31:19 +02:00
Anthony Laibe 4958e4d941 fix(@desktop/settings): Enable stickers/ens on ropsten
fixes #911
2021-08-10 13:35:37 +02:00
Iuri Matias 86688a7e59 move client.close to a finally 2021-08-06 15:14:30 -04:00
Iuri Matias 553a698900 add missing http client close() so it doesn't run out of files 2021-08-06 15:14:30 -04:00
Richard Ramos 1d4beeb041 fix: change values to consider user inactive or offline 2021-08-06 14:17:22 -04:00
Richard Ramos 0a27623628 fix: code review 2021-08-06 13:30:05 -04:00
Richard Ramos d1b46c0226 feat: selector for online or invisible state
Fixes #3126
2021-08-06 13:30:05 -04:00
Khushboo Mehta 531b2771a3 fix(@desktop/chat): mention color is too bright when replying
Updated the style of mention text when replying to one

fixes #3012
2021-08-06 13:03:23 -04:00
Anthony Laibe 02f2789a23 fix(@desktop/communities): fix sharing community link
fixes #3165
2021-08-06 12:46:47 -04:00
Andrei Smirnov 51c5a8015d fix(@desktop): crash on shutdown 2021-08-06 12:42:18 -04:00
Anthony Laibe 7df028df77 fix(@desktop/profile): Add scroll bar for advance settings 2021-08-06 12:33:44 -04:00
Richard Ramos 7c407305d2 fix: userlist 2021-08-05 17:09:03 -04:00
Anthony Laibe dc51cebaee fix(@desktop/communities): hide communities if not enabled
fixes #3152
2021-08-05 17:05:36 -04:00
Anthony Laibe ca66d286f7 fix(@desktop/profile): fix click on contact
fixes #3158

First change area then activate the channel
2021-08-05 16:58:51 -04:00
Anthony Laibe 9874f82a58 fix(@desktop/browser): close popup when opening link
fixes #3155

Also when remembering the choice, update the settings
2021-08-05 16:50:43 -04:00
Khushboo Mehta 7d8c0d676d fix(@desktop/chats): add background to member button when opened
This fix adds a background to the member button when the members section is open.

fixes #3101
2021-08-05 16:48:34 -04:00
Iuri Matias 60bb622159 bumpb dotherside & nimqml 2021-08-05 15:12:34 -04:00
Richard Ramos fda70c66b3 fix: code review 2021-08-05 15:12:34 -04:00
Richard Ramos 481184df25 fix: disable dynamic translations on linux 2021-08-05 15:12:34 -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
Richard Ramos b319eb988e fix: etherchains api parsing error 2021-08-05 12:29:06 -04:00