Commit Graph

449 Commits

Author SHA1 Message Date
Richard Ramos 528210b50f fix: ensResourceURL 2021-12-22 16:13:23 +00:00
Anthony Laibe 8bc678dacd feat(ens): new backend 2021-12-21 16:40:01 +01:00
Richard Ramos 56743143bb fix: public chat history is not shown when leaving and rejoining the chat
Fixes #4101
2021-12-09 22:02:58 +00:00
Anthony Laibe 22181ea0ee chore: bump status-lib 2021-12-07 15:33:53 +01:00
Alexandra Betouni 5e88a9a91b refactor(desktop): Removed all timeline related code
Removed all timeline associated code from base_bc.
This feature is deprecated and shall be removed

Closes #4064
2021-12-03 19:55:45 +02:00
Alexandra Betouni b4b28d2f98 feat(desktop/contacts) Improvements in contacts
Contacts updates currently in base_bc

Closes #4100
2021-12-01 20:51:06 +02:00
Anthony Laibe cbd9ee5d67 chore: bump statusgo via statuslib 2021-12-01 16:49:32 +01:00
Anthony Laibe 2d49da7331 feat: Allow to enable auto message 2021-11-29 14:46:38 +01:00
Anthony Laibe 2cd9dd82d1 fix(@desktop/chat): Fix resend sticker showing wrongly 2021-11-26 15:37:26 +01:00
Richard Ramos 6dd47536e3 chore: bump go-waku 2021-11-25 11:11:33 -04:00
Jonathan Rainville 66840da455 fix(LinkMessages): fix various problems with link messages not showing
Fixes #4131
2021-11-25 11:38:08 +01:00
Pascal Precht 71d2ab25c0 fix: make contact related APIs working again
This adjust the changes needed to have Status Desktop
talk to new contact related APIs that were introduced in status-lib
and status-go as of https://github.com/status-im/status-lib/pull/110

Closes #4147
2021-11-23 14:46:05 +01:00
Richard Ramos 29b1d30bed fix: connection modal 2021-11-19 10:19:11 -04:00
Richard Ramos 1989ad7971 refactor!: provider transactions 2021-11-19 10:19:11 -04:00
Richard Ramos 0597fab1ac chore: bump status-go 2021-11-18 19:46:52 -04:00
B.Melnik 2d8a6e0684 fix: crash when we use custom network
Closes: #3963
2021-11-18 21:09:39 +03:00
Pascal Precht 23b72a9e8d feat(ActivityCenter): allow users to mark notifications as unread
As raised in #3665, users aren't able to mark activity center notifications as unread.
The APIs for that didn't exist yet so they have been added in:

- status-go (https://github.com/status-im/status-go/pull/2383)
- status-lib (https://github.com/status-im/status-lib/pull/53)

respectively.

Closes #3665
2021-11-18 11:04:49 +01:00
Anthony Laibe fb687383b6 chore: bump status-lib 2021-11-15 15:45:28 +01:00
Iuri Matias 750694032c chore: update status-lib 2021-11-10 15:01:00 -05:00
Anthony Laibe f913dce44a feat: allow to enable/disable telemetry 2021-11-10 10:14:40 -05:00
Richard Ramos 1315b0534d feat: mailserver signals and improvements
- Remove unneded mailserver request when joining a channel
- Add extra details to mailserver logs (request id, and num batches)
- Add signal emitted each time a batch is processed
2021-11-09 17:03:17 -05:00
Richard Ramos 5acff4e45c feat: wakuv2 rendezvous
feat: wakuv2 rendezvous

bump status-lib

bump status-lib

bump status-lib
2021-11-09 15:43:15 -05:00
Iuri Matias 8dace226c5 bump status-lib 2021-11-05 11:02:45 -04:00
Iuri Matias 577182be49 bump status-lib 2021-11-05 11:02:45 -04:00
Anthony Laibe 43e10aa4cf fix: transaction request 2021-11-05 11:02:45 -04:00
Anthony Laibe 59f604349c refactor(@wallet/desktop): refactor wallet with new architecture
refactor: wallet: connect current account

refactor(@wallet): load collection and connect to store

refactor(@wallet): add boilerplate for accounts creation/generation

refactor(@wallet): watch account

refactor(@wallet): Add account generation

refactor(@wallet): display all accounts

refactor(@wallet): switch account

refactor(@desktop): update current currency

refactor(@desktop/wallet): token action

refactor(@desktop/wallet): Add update account

refactor(@desktop/wallet): filter chat account from wallet

refactor(@desktop/wallet): Update currency attribute

refactor(@desktop/wallet): Fix display of various balances

refactor(@dekstop/wallet): handle current account changed

refactor(@wallet/desktop): add notify event on main section

refactor(@desktop/wallet): Push events from service

refactor(@desktop/wallet): handle all tokens event

refactor(@desktop/wallet): refresh accounts on event

refactor(@wallet/desktop): formatting of currency balances

refactor(@desktop/wallet): load collectible

refactor: refactor wallet transaction history to the new architecture

update status-lib

refactor: add back events for the transaction history

refactor: support multiple accounts in the transaction history
2021-11-05 11:02:45 -04:00
Iuri Matias 351b7b9662 bump status-lib 2021-11-05 11:02:45 -04:00
Richard Ramos c0d87dd063 refactor: provider pt1 and dapp permissions service 2021-11-05 11:02:45 -04:00
Richard Ramos 70c1095b60 refactor: creating module for bookmarks and provider 2021-11-05 11:02:45 -04:00
Iuri Matias e0deb28e8f update status-lib 2021-11-05 11:02:45 -04:00
Anthony Laibe 142d2a9188 refactor(@desktop/wallet): enable check recent history 2021-11-05 11:02:45 -04:00
Anthony Laibe 7e22ff161c refactor(@desktop/wallet): add balance and price 2021-11-05 11:02:45 -04:00
Anthony Laibe 0d129fa7fd refactor(@desktop/wallet): Add settings service and to module 2021-11-05 11:02:45 -04:00
Anthony Laibe 072b36e672 Fix rebase 2021-11-05 11:02:45 -04:00
Anthony Laibe ad7b6f7087 refactor(@desktop/wallet): init boilerplate code for wallet section 2021-11-05 11:02:45 -04:00
Sale Djenic e9bb9b256e Onboarding creating new account process updated. 2021-11-05 11:02:45 -04:00
Sale Djenic 9f4eeffdea A base structure for new architecture added
Initial structure for MainModule containing ChatSectionModule and
CommunitySectionModule is added, as well as initial structure for
StartupModule containing OnboardingModule and LoginModule.

Order of execution is updated and adapted to the current app state.
Main module gets loaded once a user is successfully logged in.
2021-11-05 11:02:45 -04:00
Pascal Precht b8ecc3e0bf fix(Communities): preserve channel position after editing
Turns out we've been accidentally resetting the channel's `position`
property to `0` by not sending it over to status-lib's underlying
`editCommunityChat` API.

This fixes it by using a newer version of status-lib which supports
the `position` paramter in `editCommunityChat` and then sending that
value along from the edit channel popup.

Fixes #3672
2021-10-08 13:33:42 +02:00
Richard Ramos 662ff98f6a nim-keycard-go: m1 support 2021-10-06 09:24:37 -04:00
Iuri Matias f66e8f329a bump status-lib 2021-10-05 16:15:29 -04:00
Richard Ramos 2736176aa8 bump status-lib 2021-10-05 16:15:29 -04:00
Richard Ramos 0fd3182899 refactor: contacts-perfomance 2021-10-05 16:15:29 -04:00
Anthony Laibe a189b0d72b refactor: Update permission backend 2021-10-05 16:15:29 -04:00
Anthony Laibe 8fab06494a refactor: Add view with new eth backend 2021-10-05 16:15:29 -04:00
Anthony Laibe f4e3a1effc refactor: profile types
Also group import together and start local import with ./ so that we
know it is not a lib
2021-10-05 16:15:29 -04:00
Richard Ramos 2ccd7420c0 feat: wakuv2 rendezvous 2021-10-05 16:15:29 -04:00
Richard Ramos a5d48a20b3 feat: wakuV2 light client mode 2021-10-05 16:15:29 -04:00
Richard Ramos 350472ed03 fix race condition by setting the peers on init 2021-10-05 16:15:29 -04:00
Anthony Laibe 3acabfd2a8 refactor: ensure settings is accessed via model 2021-09-30 16:37:07 +02:00
Richard Ramos 5c937a28a3 chore: remove status-go from desktop 2021-09-29 14:50:09 -04:00
Iuri Matias 03f088461a bump status-lib 2021-09-29 11:57:01 -04:00
Anthony Laibe 3fa328f8b8 Fix: loading bookmark from type 2021-09-29 11:57:01 -04:00
Anthony Laibe d519843e52 refactor: contact store use object 2021-09-28 15:23:40 -04:00
Anthony Laibe 1cea69b331 feat(@desktop/wallet2): Toggle network 2021-09-28 15:20:43 -04:00
Iuri Matias 38a1528598 bump status-go & qr-code-generator 2021-09-28 15:17:28 -04:00
Richard Ramos 36e4fb2f8f crosscompile to amd64 when building on darwin/arm64 2021-09-28 15:17:28 -04:00
Richard Ramos 176b559877 fix: message history issues
- Display loading indicator on login when mailserver messages are requested
- Fix bug where the mailserver that's selected as soon as you login is disconnected while being still in the process of connecting instead of waiting until 10s have passed to try connecting to a different mailserver
- Use status-go version that fixes an issue fetching mailserver messages when more than 999 messages are being verified if they're in the cache
2021-09-28 14:55:37 -04:00
Richard Ramos f43a1a65ea fix: message history issues
- Display loading indicator on login when mailserver messages are requested
- Fix bug where the mailserver that's selected as soon as you login is disconnected while being still in the process of connecting instead of waiting until 10s have passed to try connecting to a different mailserver
- Use status-go version that fixes an issue fetching mailserver messages when more than 999 messages are being verified if they're in the cache
2021-09-28 14:26:19 -04:00
Iuri Matias 533123c435 bump status-lib 2021-09-23 13:36:36 -04:00
Anthony Laibe 3660bad243 fix(@desktop/wallet): emit wallet2 event
fixes #3659

Wallet2 needs its own event otherwise they wallet1/2 mixes
and as not everything is implemented in wallet2, it crashes
In this particular case, the account is added into wallet1 but trigger
an event intercepted by wallet2, wallet2 doesn't have the new account
and crash
2021-09-23 13:36:36 -04:00
Sale Djenic f54f3a61bf fix(@desktop/chat): removing contact results in the same contact's contact request showing up again
Fixes: #3418
2021-09-22 15:27:52 -04:00
Iuri Matias c908b4abb0 bump status-lib & status-go 2021-09-22 14:17:49 -04:00
Anthony Laibe 83a0ea391d feat(@desktop/wallet): Add chain id to internal API 2021-09-22 14:17:49 -04:00
Sale Djenic da6c42fd19 fix(@desktop/chat): custom userpic appearance is not consistent for blocked/unblocked user
Fixes: #3420
2021-09-21 14:27:53 -04:00
Iuri Matias 98bebb8c51 bump status-lib 2021-09-21 09:53:15 -04:00
Eric Mastro 233d1f4da4 fix: block/unblock contacts not persisting
Fixes: #3473.

Sometimes when blocking users and changes channels, blocked user messages would still appear.

This PR fixes the issue by toggling a `hide` property on  messages from a contact when that contact is blocked or unblocked. Previously, the messages were only removed from the view when the contact was blocked, but when the view was reloaded, that state was not tracked correctly.
2021-09-21 09:53:15 -04:00
Sale Djenic 0c73febf2c fix(@desktop/chat): channel links sends to main public channel instead of a channel in that community
In case clicked channel:
- exists in a community -> the app will switch you to it
- doesn't exist in a community, but exists in the public chat list -> the app
  will switch to `Chat` section and also to the appropriate channel there
- doesn't exist in a community and doesn't exist in the public chat list -> the app
  will switch to `Chat` section and join new channel

Fixes: #3489
2021-09-20 17:34:38 -04:00
Iuri Matias 53d1cf3afd bump status-lib & status-go 2021-09-20 12:30:39 -04:00
Iuri Matias 00adec07c2 bump dotherside & nimqml 2021-09-20 11:37:30 -04:00
Iuri Matias 83e86a6568 bump dotherside & nimqml 2021-09-20 11:37:30 -04:00
Anthony Laibe 5f95a1fb4f feat(@desktop/chat): Allow to retry when query fail
fixes #3487
2021-09-20 10:21:55 -04:00
Iuri Matias 990e807008 bump status-lib 2021-09-20 09:52:24 -04:00
Anthony Laibe d804e15f27 fix(@desktop/contacts): Keep only one contacts list
fixes #3485
2021-09-20 09:52:24 -04:00
Richard Ramos 214069cb25 feat: display mailserver interactions 2021-09-17 13:14:01 -04:00
Richard Ramos d738537f44 fix: missing signal type 2021-09-17 12:56:56 -04:00
Iuri Matias 56116709b6 bump dotherside & nimqml 2021-09-17 12:47:52 -04:00
Sale Djenic 8af104a16e feat(@desktop/onboarding): support (optionally) OS keychain to login password
This feature works for MacOs only, for now.

On login, whether new or already created user may select between options:
"Store" - store password to the Keychain
"Not now" - don't store it now, but ask next time again
"Never" - don't store them ever and don't ask again

Selected preference may be changed later in:
`ProfileSettings > Privacy and security > Store pass to Keychain`

On the next app run, if `Store` was selected, a user will be asked to confirm
his identity using Touch Id in order to log in the app. If any error happens
he will be able to login using password.

Fixes: #2675
2021-09-17 12:45:34 -04:00
Sale Djenic e0c53b7012 refactor(@desktop/general): managing local settings added on the nim side
From now on we are able to access local settings (settings and global settings)
on the nim side, not only through the qml.

This change is required as part of the feature issue-2675.
2021-09-17 12:45:34 -04:00
Sale Djenic 590e4dd632 fix(@desktop/chat): replies are not working in communities
Fixes: #3490
2021-09-17 10:50:42 -04:00
Anthony Laibe aa8060221c chore: bump status go 2021-09-17 10:35:55 +02:00
Iuri Matias dc150005f4 bump status-lib 2021-09-16 17:35:58 -04:00
Iuri Matias 65cce54443 bump dotherside 2021-09-16 16:54:16 -04:00
Anthony Laibe 5ce06a94cc feat(@desktop/chat): download messages
fixes #3508
2021-09-16 16:37:58 -04:00
Iuri Matias 71d709b256 bump status-go and status-lib 2021-09-16 15:39:10 -04:00
Khushboo Mehta b9073919cb feat(@desktop/wallet2): Added traits for the opensea Assets
fixes #3435
2021-09-16 15:39:10 -04:00
Iuri Matias d8222a49de bump status-lib 2021-09-15 16:04:28 -04:00
Richard Ramos 03eed589a9 feat: display logs in node management section 2021-09-15 16:04:28 -04:00
B.Melnik d3c9564d91 feat(Spellchecking): Add bottle for spellchecking
Usage:

```qml

SpellChecker {
   id: spellchecker
   lang: "en"
}

```

Closes: #3442
2021-09-15 15:04:26 -04:00
Iuri Matias df29177389 bump dotherside and nimqml 2021-09-15 14:30:34 -04:00
Andrei Smirnov d159c0e61c feat(@desktop/deep-links): integrated deep links with single-instance IPC 2021-09-15 14:30:34 -04:00
Andrei Smirnov 1418306d6b Bumped DOtherSide 2021-09-15 12:18:09 -04:00
Iuri Matias 93aa7e6ae7 bump status-lib 2021-09-11 17:51:52 -04:00
Iuri Matias 659cb6df18 bump status-lib 2021-09-11 17:51:52 -04:00
Iuri Matias 731c6ed156 bump status-lib 2021-09-11 08:45:49 -04:00
Iuri Matias 63f557d4af bump status-lib 2021-09-11 08:45:49 -04:00
Iuri Matias 7013a677ac bump status-lib 2021-09-10 13:42:19 -04:00
Richard Ramos 285f54dab6 EIP1559 2021-09-10 13:42:19 -04:00
Richard Ramos 58c50a9cf9 refactor: removed submodules 2021-09-10 11:56:27 -04:00
Richard Ramos a13a0e0d3a refactor: extract app constants from status-lib to desktop 2021-09-10 11:56:27 -04:00
Richard Ramos 2599903ca4 bump status-lib 2021-09-10 11:01:17 -04:00
Iuri Matias d4af7c4689 bump status-lib 2021-09-09 17:49:23 -04:00
Iuri Matias 4f5565efc6 bump status-lib 2021-09-09 17:49:23 -04:00
Iuri Matias f00e8c4362 bump status-lib 2021-09-09 17:49:23 -04:00
Iuri Matias 4f3e75bdce bump status-go 2021-09-09 17:49:23 -04:00
Anthony Laibe 22831f124f feat(@desktop/wallet2): Fetch networks on wallet init 2021-09-09 17:49:23 -04:00
Iuri Matias a81f4aa9ce bump statuslib 2021-09-09 16:53:09 -04:00
Iuri Matias a771687cdf bump statuslib 2021-09-09 16:53:09 -04:00
Iuri Matias 8519577fcb bump status-lib 2021-09-09 15:17:16 -04:00
Richard Ramos 55c48d65bd fix: status lib module name 2021-09-09 14:35:51 -04:00
Richard Ramos d32c3e53d9 refactor: signal handling 2021-09-09 14:35:51 -04:00
Richard Ramos 32049aa928 refactor: extract status to separate repository 2021-09-08 15:52:43 -04:00
Andrei Smirnov 8f9c46bfef Bumped DOtherSide submodule version 2021-09-07 14:56:48 -04:00
Iuri Matias 1a3220e359 fix dependencies 2021-09-06 16:39:37 -04:00
Sale Djenic a591e91a2e fix(@desktop/general): clicking push notification does expand the app but does not open correct channel/chat
Logic for adding os notifications for Windows and  MacOs added.

Fixes: #2996
2021-09-06 16:39:37 -04:00
Iuri Matias 4dad55aad1 bump dotherside & nimqml 2021-09-02 15:58:13 -04:00
Andrei Smirnov 616090da3d Bumped NimQML 2021-09-02 15:58:13 -04:00
Andrei Smirnov f74d1a67a5 fix(@desktop): various UI scaling fixes 2021-09-02 15:58:13 -04:00
Iuri Matias 414637a260 bump status-go 2021-08-31 15:18:42 -04:00
Richard Ramos 0f26ddc166 fix: memory leak with cstrings 2021-08-31 15:18:42 -04:00
Iuri Matias 1640a7c947 bump status-go 2021-08-31 15:01:24 -04:00
Iuri Matias f1e807fe90 bump status-go 2021-08-26 16:38:47 -04:00
Iuri Matias 9260bf80df bump status-go 2021-08-26 16:38:47 -04:00
B.Melnik a362efecf4 feat(Communities): implement drag and drop to reorder category channels
Closes: #2776
2021-08-26 10:53:57 +02:00
Richard Ramos 6561e0ea26 switch deletedMessages from string array to object array 2021-08-25 10:44:24 -04:00
Richard Ramos db3b7ecfd9 feat: Version Updating
Fixes #1290
2021-08-24 16:56:55 -04:00
Iuri Matias 329d37e377 bump status-go 2021-08-20 16:17:19 -04:00
Anthony Laibe 98943f6d72 feat(@desktop/wallet2): New collectibles API 2021-08-20 16:17:19 -04:00
Richard Ramos 681291b4b1 update nimbus-build-system 2021-08-20 15:12:15 -04:00
Iuri Matias a3ab31edba bump vendor 2021-08-19 16:26:59 -04:00
Sale Djenic e2628338de feature(@desktop/chat): implement search results for communities, channels
Added a part for fetching messages from multiple chats/channels/communities.

Fixes: #2934
2021-08-19 16:26:59 -04:00
Iuri Matias 8676533339 bump dotherside & nimqml 2021-08-19 10:35:09 -04:00
Khushboo Mehta 8caf95aace feat(MessageContextMenu): Allow Copy and Download Image
Added copy and download Image functionality on right click of an image or its preview

closes #2672
2021-08-19 10:23:18 -04:00
Iuri Matias c43d0149ee bump dotherside 2021-08-17 12:20:08 -04:00
Alexandra Betouni 581557cf7e fix(desktop/chat)Adding custom syntax highligther to StatusChatInput
And disabling all previous text formatting

Closes #2920
Closes #3063
2021-08-17 12:20:08 -04:00
Iuri Matias a77cc682bb bump dotherside & nimqml 2021-08-16 16:27:14 -04:00
Sale Djenic 04ca90a7d0 fix(@desktop/general): Changing System Appearance on the fly is not working
App is responsive to the OS theme change event.
Now we're following system set theme when the app is started.

Corresponding part on the side on nimqml is added.

Corresponding part on the side on dotherside is added.

On the side of dother side we had kind of a memory leak, cause objects added to
the filter were not deleted ever. When the app is closing, it just removes
filters, but doesn't delete them.

I faced a logical issue, that we were sending qmlengine pointer to the
installEventFilter method, instead object which may or may not rely on the
qqmlengine instance, that is fixed also.

Fixes: #1725
2021-08-16 16:27:14 -04:00
Andrei Smirnov 60bfc22823 Updated vendor/nim-status-go version 2021-08-16 15:32:21 -04:00
Andrei Smirnov 8310a36bde feat(@desktop): change password 2021-08-16 15:32:21 -04:00
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 77c3e1b211 fix: delete 2021-08-13 12:30:57 -04:00
Anthony Laibe ee84818c06 feat(@desktop/chat): Save favorites and recents gif 2021-08-10 15:31:19 +02:00
Iuri Matias 60bb622159 bumpb dotherside & nimqml 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 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 fbb9409b5e Submodules updated, after rebase. 2021-08-04 15:49:50 -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
Richard Ramos 96f3d6b8e1 chore: bump status-go 2021-08-04 14:02:21 -04:00
Iuri Matias cd8b539dc6 bump status-go 2021-08-03 15:41:56 -04:00
Richard Ramos b5be7f8569 fix: code review 2021-08-03 15:41:56 -04:00
Richard Ramos eb9734a72d feat: bandwidth stats
Fixes #2935
2021-08-03 15:41:56 -04:00
Jonathan Rainville 9f21740bae feat: add api to delete a community channel 2021-08-02 14:08:51 -04:00
Iuri Matias 50c6e0b0a0 bump status-go 2021-07-26 17:14:07 -04:00
Jonathan Rainville 7d169e85f2 fix(delete): disable deleting certain message types 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
Jonathan Rainville fa94d3d2db fix: useless log
Fixes #2907
2021-07-23 14:35:50 -04:00
Iuri Matias 3470583fd4 bump dotherside & nimqml 2021-07-23 13:22:04 -04:00
Andrei Smirnov 201a87d052 Updated submodules and fixed SystemTrayIcon menu. 2021-07-23 13:22:04 -04:00
Andrei Smirnov b3528bd717 fix(@desktop): missing context menu on SystemTrayIcon 2021-07-23 13:22:04 -04:00
Iuri Matias a406a24df5 bump status-go 2021-07-22 13:48:53 -04:00
Richard Ramos 9c3db82278 bump statusgo 2021-07-22 13:48:53 -04:00
Richard Ramos 3707f67637 bump status-go 2021-07-22 13:48:53 -04:00
Richard Ramos 6849091460 feat: community user status pt 2 2021-07-22 13:48:53 -04:00
Richard Ramos 42a31f66b3 update statusgo 2021-07-21 15:09:23 -04:00
Richard Ramos 561991da67 Add wakuv2 fleets 2021-07-21 15:09:23 -04:00
Pascal Precht 9795890544 ui(Communities): remove unnecessary dividers in modals
There was a change in StatusQ that introduced dividers for modal footers
and headers, so we don't need to put them in the content manually anymore.

This commit removes the no longer needed ones.
2021-07-20 08:40:29 -04:00
Michael Bradley, Jr 88b990a21a build: bump vendor/nimbus-build-system 2021-07-16 17:40:40 -04:00
Jonathan Rainville e1c6cf224b fix(act-center): fix unread count when accepting or dismissing notif
Fixes #2727
2021-07-06 12:51:43 -04:00
Jonathan Rainville 2e98724641 feat(community): add notification setting to community
Fixes #2421
2021-07-06 10:41:10 -04:00
Jonathan Rainville a6ecf6b092 chore: update status-go to latest version 2021-06-29 10:18:01 -04:00
Eric Mastro 557c068983 fix: update community invite text in push notification
Changes the community invitation text notifications from

“Upgrade to see a community invitation”

to

**InviteUsersToCommunity**
```golang
fmt.Sprintf("You have been invited to the community %s", community.Name())
```

**ShareCommunity**
```golang
fmt.Sprintf("Community %s has been shared with you", community.Name())
```
2021-06-29 07:54:33 -04:00
Richard Ramos 1d3e5230b2 revert: SortFilterProxyModel 2021-06-23 08:08:08 -04:00
Richard Ramos fd4e0de3f3 feat: SortFilterProxyModel 2021-06-21 16:28:46 -04:00
Richard Ramos e6bfd52e73
fix: status-go version 2021-06-18 11:00:27 -04:00
Iuri Matias eab9d68aff move types out of libstatus; remove libstatus types references 2021-06-17 11:11:36 -04:00
Jonathan Rainville e27c66d8af feat(act-center): hide viewed notifications when clicking the hide btn 2021-06-15 13:14:19 -04:00
Jonathan Rainville 447794f0e7 update status-go 2021-06-15 13:14:19 -04:00
Jonathan Rainville 32676d50af fix: fix pinnedBy not being right when reopening the app 2021-06-11 10:55:55 -04:00
Richard Ramos 086653ac52 fix: code review 2 2021-06-10 19:33:22 -04:00
Eric Mastro fee211483d feat: edit community channels
Closes #2344.

Add ability to edit name, description, and private fields of a community channel.

feat: Display community channel description
Ensure the width of the description does not surpass the context menu and instead wraps to the next line.

feat: After channel is created, set it as the active channel
2021-06-10 19:33:22 -04:00
Eric Mastro 21e6affa98 feat: edit community channels
Closes #2344.

Add ability to edit name, description, and private fields of a community channel.

feat: Display community channel description
Ensure the width of the description does not surpass the context menu and instead wraps to the next line.

feat: After channel is created, set it as the active channel
2021-06-09 10:19:26 +10:00
Iuri Matias 739f243e8a fix status-go version 2021-06-02 12:58:05 -04:00
Iuri Matias aa57de15a9 point to latest commit of DOtherSide 2021-06-02 11:05:28 -04:00
B.Melnik f433020d1d feat: commit dotherside 2021-06-02 11:05:28 -04:00
Jonathan Rainville 18b26a1c67 start of activity center function calls 2021-05-31 15:54:18 -04:00
Michael Bradley, Jr 4e477a5b64 build: bump vendor/DOtherSide
Fix a typo in a recently added header file in DOtherSide that causes problems
on case-sensitive filesystems, e.g. on Linux.

Also unify the build command for DOtherSide across platforms.
2021-05-27 18:25:26 -05:00
Jonathan Rainville 0cfa4e5daa update status-go version to match master 2021-05-26 12:12:05 -04:00
Jonathan Rainville b52dceb984 feat(Chat): add pinned messages feature 2021-05-26 12:12:05 -04:00
Richard Ramos 6abba06c42 fix: always show the v 2021-05-25 15:23:07 -04:00
Richard Ramos 0ded790f0d feat: create community categories 2021-05-25 15:23:07 -04:00
Richard Ramos aebfaef72e Update status-go version 2021-05-25 14:47:13 -04:00
Richard Ramos 22839f177b feat: use new API for joining/leaving chats
Fixes #2526
Fixes #2487
2021-05-25 14:47:13 -04:00
Pascal Precht 923350a46f fix(Chat): honor joined date when preserving channel order
Prior to this commit, loaded channels and chats would always be
sorted by date of last message received, with the latest one being
moved to the top of the list.

When new channels or chats are joined, they are added on top of the
list as well, however, when the application is restarted,
those new joined chats would not necessarily show up at the top anymore
becaue nothing keeps track of when a channel was joined, which should
be taken into account when preserving the order.

The changes introduced in this commit solve this by introducing a
new `joined` property on the `Chat` type which gets updated with
the current timestamp whenever a channel is joined.

It also depends on the changes made to the `status-go` client, which
have to land first: https://github.com/status-im/status-go/pull/2158

Closes: #1832
2021-05-21 13:06:34 -04:00
Richard Ramos 2000018834 bump status-go version 2021-05-18 15:24:05 -04:00
Richard Ramos 3a042a4a09 feat: use new pending transfer API 2021-05-18 15:24:05 -04:00
Richard Ramos 19d4279237 use new wallet api to receive wallet signals 2021-05-18 15:24:05 -04:00
Eric Mastro 29ac475385 feat: add DockClicker event filter
Add an event filter to `qApp` that can detect a dock icon click (in macos) when the main window is hidden or closed.

When the event has been triggered, the main window will be shown again.

Co-authored-by: Boris Melnik <82511785+borismelnik@users.noreply.github.com>
2021-05-14 10:28:14 -04:00
Jonathan Rainville 6567dcadec chore: update status-go 2021-04-29 12:30:05 -04:00
Michael Bradley, Jr c03a086c01 feat: command-line option can be used to specify app's data directory
In the repo:
```
$ bin/nim_status_client --help
```
In the packaged app (macOS example):
```
$ cd /Applications/Status.app/Contents/MacOS
$ ./nim_status_client --help
```
Output:
```
Usage:

nim_status_client [OPTIONS]...

The following options are available:

 -d, --dataDir      Status Desktop data directory.
```

**Using the option**

```
$ cd ~/status-ci-builds/master/Status.app/Contents/MacOS
$ ./nim_status_client --dataDir:"${HOME}/status-dirs/master"
```
In another terminal:
```
$ cd ~/status-ci-builds/PR-4242/Status.app/Contents/MacOS
$ ./nim_status_client --dataDir:"${HOME}/status-dirs/PR-4242"
```

The path supplied can be relative or absolute, and can be specified with
`--dataDir:[path]`, `--dataDir=[path]`, `-d:[path]`, or `-d=[path]`.

Either `:` or `=` must be used, i.e. this *will not* work: `--dataDir [path]`
or `-d [path]`.

The name of the option follows Nim's partial case-insensitivity rules, so
`--dataDir`, `--datadir`, and `--data_dir` are all equivalent. See
[Identifier equality][ieq] in the Nim Manual.

It is possible to run the same build in multiple terminals by supplying
different `--dataDir`, i.e. this works:
```
$ cd /Applications/Status.app/Contents/MacOS
$ ./nim_status_client --dataDir="${HOME}/temp/some1"
```
In another terminal:
```
$ cd /Applications/Status.app/Contents/MacOS
$ ./nim_status_client --dataDir="${HOME}/temp/some2"
```

**Windows**

It is recommended to use a Git Bash or MSYS2 terminal when invoking
`bin/nim_status_client.exe` (development build) or `bin/Status.exe` (production
build) on the command-line. The reason is that if the exe is invoked in a
session of `cmd.exe` it will return to the prompt immediately; the app will run
but there will be no output in the terminal. In any case, the `--dataDir`
option will take effect whether the exe is invoked in `cmd.exe` or a
recommended terminal.

For development builds, when invoking `bin/nim_status_client.exe` directly
instead of via `make run`, because e.g. you wish to use the `--dataDir` option,
it is required to first setup the `PATH` environment variable correctly. See
the `run-windows` target in this repo's Makefile for more information.

**Linux**

The `--dataDir` option may be passed to command-line invocation of a
production (AppImage) build in the same way as passing it to a development
build:

```
$ Status.AppImage --dataDir:/path/to/wherever
```

For development builds, when invoking `bin/nim_status_client` directly instead
of via `make run`, because e.g. you wish to use the `--dataDir` option, it is
required to setup the `LD_LIBRARY_PATH` environment variable correctly. See the
`run-linux` target in this repo's Makefile for more information.

---

BREAKING CHANGE: The `qt` subdir of the app's data directory is now a sibling
of the status-go directory rather than a subdir of the status-go directory:

```
Status (app data directory)
├── data (status-go directory)
├── qt
└── tmp
```

Because app settings are stored in the `qt` directory that means that existing
installations will lose their customized settings.

At app startup, it would be possible to detect `Status/data/qt` and if
`Status/qt` doesn't exist yet then copy `Status/data/qt` to
`Status/qt`. However, there was some concern that behavior could lead to
problems later on if we forget the workaround is in place. So for now that
settings preservation strategy has not been implemented, but it might be before
this commit is merged pending full team awareness/consensus.

---

Command-line option support is provided by
[nim-confutils](https://github.com/status-im/nim-confutils).

The environment variable `NIM_STATUS_CLIENT_DEV` has been removed in favor of
passing a "define" option to the Nim compiler: `-d:development` for development
builds (e.g. `make V=1`) and `-d:production` for packaged builds (e.g. `make
V=1 pkg`). Passing the correct option is handled automatically by the Makefile.

A make variable named `RELEASE` has been introduced, which defaults to
`false`. Presently the `RELEASE` variable should not be set on the command-line
nor in CI as more work needs to be done to toggle the proper compiler flags. In
the case of Status Desktop, "release vs. debug" is a concern orthogonal to
"production vs. development". At present, production builds and development
builds are all debug builds, but that will likely change in the future: we can
have non-release CI production builds and local development builds be debug
builds, while release builds in CI would be production builds with
`RELEASE=true` (the compiled executable will be fully optimized).

Prior to the changes in this PR, symmetry is somewhat lacking between
development and production (packaged) builds with respect to the concept of the
"data directory". In development builds the root of the repo effectively serves
as the `Status` directory used by production builds, e.g. on macOS
`~/Library/Application Support/Status`. Also, there's a bit of confusion as to
whether "data directory" refers to a directory for the desktop app's overall
data (including status-go data) or to the specific directory used by status-go.

This PR attempts to provide symmetry and reduce confusion:
* The term "data directory" means the directory used by the desktop app to
store multiple kinds of data and is not a reference to the subdirectory used by
status-go.
* For development builds the "data directory" defaults to `./Status/` relative
to the root of the repo.
* For production builds the "data directory" default is the same as before,
e.g. on macOS it's ` ~/Library/Application Support/Status/`.

The directory used by status-go is `Status/data/`. To be clear, that should be
referred to as the "status-go directory" and not the app's "data directory". It
would nice if we could rename it from `Status/data/` to `Status/status-go/`. We
can do that, I already checked that it works correctly; however, for existing
installations it would require that at app launch we check for the presence of
`Status/data/` and rename it to `Status/status-go`. While simple enough to do,
I was concerned that there might be edge cases where the directory rename could
cause a problem (e.g. if another copy of the app is running) so chose for now
to stick with the status-go directory being `Status/data/`.

---

**NOTES**

More work needs to be done to ensure that all data written by the app is
contained in the default or cli-specified data directory. Currently, both
development and production (packaged) builds are writing to common directories
outside of the data directory, e.g. located within `~/Library/` on
macOS. Changing that behavior seems like it will mainly involve changing
defaults related to Qt components such as the web engine. See:
https://github.com/status-im/status-desktop/issues/1141.

In general, additional refactoring could be done in the future. For
example, implementing `StatusDesktopConfig` in
`src/status/libstatus/accounts/constants.nim` (as done in this PR) works fine
for now, but better code organization is desirable.

---

Closes #2268

[ieq]: https://nim-lang.org/docs/manual.html#lexical-analysis-identifier-equality
2021-04-26 09:40:58 -05:00
Eric Mastro 82987305ab chore: bump dotherside and nimqml
Bump dotherside to a commit that is on its current master branch. The previous commit and the current commit have the same contents, however the previous commit lived on a branch, and not on the master branch of dotherside.

An attempt to bump nimqml to its master branch commit resulted in an error, which has been logged https://github.com/status-im/status-desktop/issues/2275. Instead, the commit change here is the same as dotherside — moving the commit hash from its branched version to the commit that lives on the master branch line. However, as mentioned already, it is not at master HEAD due to the error.
2021-04-21 17:57:29 -04:00