Commit Graph

1637 Commits

Author SHA1 Message Date
Sale Djenic 6186bf9c8c fix(@desktop/general): app/os notifications
Fixes #4409
2022-02-21 22:01:19 +01:00
Sale Djenic 3a25f8d1c8 feat(@desktop/general): contacts requests participates in calculating count badge for `Chat` section 2022-02-21 22:01:19 +01:00
Jonathan Rainville f27fd6ea61 fix(communities): fix invite link enabling joining twice
Fixes #4801
2022-02-21 09:43:43 -05:00
Jonathan Rainville 16aac6fd4a fix: fix self profile image not showing in the message and fix name
Fixes #4807
2022-02-21 09:32:26 -05:00
Sale Djenic 4f65286ead refactor(@desktop/browser): move provider logic to `status-go`
Fixes #4693
2022-02-21 15:22:22 +01:00
Boris Melnik 9a9d671014 fix(groups): Fix invitations for groups
Closes: #4767
2022-02-21 16:52:14 +03:00
Jonathan Rainville 23d9e9f8e9 fix(communities): fix pending request to join when receiving new signals
Fixes #4816
2022-02-18 09:40:31 -05:00
Anthony Laibe 92bc1fdab1 feat(@wallet): toggle network 2022-02-18 15:25:55 +01:00
Richard Ramos fc24f16525 fix: continue showing loading indicator when store fetching failed
Fixes #4733
2022-02-17 14:53:39 -04:00
Boris Melnik ea5b5716e5 refactoring(groups): Refactor groups popups
Closes: #4719 #4615
2022-02-17 21:04:29 +03:00
Jonathan Rainville b335542dcd fix(links): fix editing a link and reflect what the new link shows
Fixes #3631
2022-02-17 12:38:55 -05:00
Anthony Laibe 626541e3bd chores(@wallet): remove wallet 2 2022-02-17 12:00:20 -05:00
Jonathan Rainville 713e6685ca fix: make mentions work with ensname, alias and nickname
Fixes #3707
2022-02-17 11:59:23 -05:00
Sale Djenic 9ed6c6235c fix(@desktop/chat): can't join to group chat by clicking [Join chat] or decline invitation with [Decline invitation]
Fixes #4766
2022-02-17 11:28:59 -05:00
Anthony Laibe 9495956a53 feat(@settings): Add wallet settings with network 2022-02-16 17:06:13 +01:00
Anthony Laibe 03b4bb0511 feat(@wallet): Add opensea api key 2022-02-16 10:29:00 +01:00
Khushboo Mehta 52e96e904b fix(@desktop/chat): enable transactions over chat
fixes #4610
2022-02-15 21:22:21 +01:00
Jonathan Rainville b0521cf1ed fix(mentions): fix showing .eth for normal ENS names in chat
Fixes #3634
2022-02-15 10:17:25 -05:00
Anthony Laibe 1d83b64fae feat(@wallet): Enable multi network for wallet account 2022-02-15 11:01:45 +01:00
Anthony Laibe b2579230a9 feat: prepare token service for multichain 2022-02-15 11:01:45 +01:00
Jonathan Rainville 16e7d16c8c feat(communities): re-implement community link unfurling
Fixes #4788
2022-02-14 17:03:41 -05:00
Richard Ramos bee583d448 fix: prefix 2022-02-14 14:26:02 -05:00
Anthony Laibe 7268ec3773 feat: prepare token service for multichain 2022-02-14 14:37:42 +01:00
Jonathan Rainville b7bfd334f3 feat(ens): [re-add] new backend
Fixes #4694

also add back pending transaction
2022-02-10 09:24:38 -05:00
Anthony Laibe d9212565b7 feat(@settings): Add feature flag for multi network 2022-02-09 12:55:40 +01:00
Patryk Osmaczko ba7a6d5d34 style: remove trailing whitespaces 2022-02-09 11:16:23 +01:00
Patryk Osmaczko 914c7b2839 fix(@desktop/sections): make ctrl+k display chats from communities
Closes: #4059
2022-02-09 10:38:34 +01:00
Richard Ramos 16328823a9 refactor: add reorderCommunityCategories proc to backend 2022-02-08 14:26:07 -04:00
Richard Ramos 04e1db6b56 fix: chat reordering eventually not working 2022-02-08 14:26:07 -04:00
Richard Ramos 4cda8d8835 fix: code review 2022-02-08 14:26:07 -04:00
Richard Ramos 3fd10e7915 fix: community chat positions 2022-02-08 14:26:07 -04:00
Richard Ramos b21d2c5618 refactor(communities): edit categories 2022-02-08 14:26:07 -04:00
Sale Djenic aa6036b78b fix(@desktop/chat): mention suggestion list fixed 2022-02-08 12:33:45 -05:00
Richard Ramos f67ffde12c refactor(communities): edit categories 2022-02-07 18:29:13 -04:00
Richard Ramos c338bdf6ae refactor(communities): delete categories 2022-02-07 18:29:13 -04:00
Sale Djenic 7ff994a46a chore(@desktop/general): check for updates updated
- unused `updates.nim` removed from `backend`
- `ens.nim` updated accordingly to what we have there before
- the way how we're checking for updates is updated
2022-02-07 18:59:24 +01:00
Sale Djenic 58c9e15365 chore(@desktop/wallet): signal names stored in string constants (wallet account service) 2022-02-07 18:51:39 +01:00
Sale Djenic cd8bd4147c feat(@desktop/wallet): move create accounts to `status-go`
Fixes #4670
2022-02-07 18:51:39 +01:00
Jonathan Rainville 20a2d48eea fix(notifications): [re-add] fix notification setup called too soon
Fixes #4702
2022-02-07 11:15:28 -05:00
Sale Djenic 4341d12efc fix(@desktop/wallet): send transaction to address UI is broken
Fixes #4623
2022-02-07 16:42:30 +01:00
Sale Djenic e3b349fe51 feat(@desktop/general): move token balance retrieval to status go
Fixes #4677
2022-02-07 16:23:26 +01:00
Anthony Laibe 723613a5e0 chores(@general): remove leftover code after merge 2022-02-07 15:59:35 +01:00
Anthony Laibe 2ca1b71364 fix(@activity_center): fix dup messages
fixes #4631
2022-02-07 12:35:45 +01:00
Noelia 19f5ce8de0 fix(@desktop/communities): Newly created Community remains highlighted
Fixed switching/highlight between community and regular navigation button after a newly created and edited communities.

Active property value in createCommunityItem(..) has been set depending on if the current active section corresponds with the item we are going to create.

Fixes #4519
2022-02-07 12:16:40 +01:00
Anthony Laibe 5ebafb1c0c Fix(@chat): add special cases for group chat
fixes #4612
fixes #4613
2022-02-07 10:08:45 +01:00
Sale Djenic 841f1704b7 fix(@desktop/chat): add a blocked bar for blocked user profile
- blocked bar is added for profile popup
- blocked bar is added for a chat

Fixes #4673
2022-02-06 16:41:30 +01:00
Anthony Laibe cc77573652 chores(@general): remove backend warnings 2022-02-04 19:31:26 +01:00
Jonathan Rainville d4410c1aa7 fix(browser-provider): fix browser provider not asking for authorization
Fixes #4721
2022-02-04 13:21:10 -05:00
Jonathan Rainville 268d7fcd36 fix(pins): fix max 3 pins and unpining pins the new message
Fixes #4576
2022-02-04 13:20:11 -05:00
Sale Djenic d43b1eb25c chore(@desktop/general): remove all timeline related code
Fixes #4709
2022-02-04 17:57:07 +01:00
Anthony Laibe b164b088f5 refactor(@activity_center): Add switch to section/chat
fixes #4474
2022-02-03 16:40:13 -05:00
Jonathan Rainville b688a5a305 feat(wallet): hook sendTransferTokens to the wallet Send
Fixes #4650
2022-02-03 15:12:32 -05:00
Jonathan Rainville 0f5a6d8599 feat(wallet): hook transferEth for wallet transfers 2022-02-03 15:12:32 -05:00
Anthony Laibe 56340bebd1 chores(@general): remove status-lib deps 2022-02-03 11:52:45 -05:00
Jonathan Rainville 967fff839b feat(@desktop/settings): [re-add] Add developer mode toggle
Fixes #4700
2022-02-03 10:54:25 -05:00
Sale Djenic aeed9303cd fix(@desktop/communities): community import has some issues
Fixes #4206
2022-02-03 16:14:15 +01:00
Sale Djenic 0b3cafdbc4 fix(@desktop/settings-contacts): it is not possible to add new contacts after the first one is added
Fixes #4658
2022-02-03 15:40:54 +01:00
Sale Djenic c85734f08d fix(@desktop/chat): group members count is wrong
Fixes #4614
2022-02-03 15:29:45 +01:00
Sale Djenic f4c162d921 chore(@desktop/general): few warnings building the app removed 2022-02-02 15:55:23 +01:00
Khushboo Mehta 0f682658bc fix(@desktop/wallet): send transaction to address UI is broken
fixes #4623
2022-02-02 11:53:21 +01:00
Sale Djenic 98293c112b fix(@desktop/chat): the @mention emblem isn't being displayed on the channel list
Fixes #3630
2022-02-01 21:21:22 +01:00
Richard Ramos ad7f48d6ac refactor: removing mailserver controller and model 2022-02-01 15:16:45 -04:00
Jonathan Rainville f36bee6337 fix(wallet-send): fix send modal estimate gas and other hooks 2022-02-01 14:09:56 -05:00
Jonathan Rainville 82fb325dac fix(browser-tx): fix estimate gas and send TX on the browser
Fixes #4557
2022-02-01 14:09:56 -05:00
Jonathan Rainville 08c01d2775 fix(community): hook edit community channel
Fixes #4539
2022-02-01 10:55:01 -05:00
Sale Djenic f4a78a29be chore: issues after massive `base_bc` rebase fixed 2022-02-01 12:46:42 +01:00
Sale Djenic 1dedac187c chore: update after merging `base_bc`
- gif service updated due to point to a non existing file (one
affected by cleaning `status-lib`)
- `statusq` updated to point to the last commit in master
- `status-lib` updated to point to the last commit in master
2022-02-01 11:52:37 +01:00
Sale Djenic 4169854feb fix: multiple issues running the app
- `setAppWidth` issue - fixed
- `signal connection` issue - fixed
- `app-run-test.sh` script added
2022-02-01 11:52:37 +01:00
Sale Djenic eb41dbe175 refactor(@desktop/general): repo cleaning
- all unused/unnecessary files remove
- `status-lib` references updated due to cleaning on that side
- necessary submodules added (those removed from status lib)
2022-02-01 11:52:33 +01:00
Jonathan Rainville 4f706e8b21 hotfix(community): fix missing function 2022-02-01 11:51:31 +01:00
Noelia bed7ca20fb fix(@desktop/browser): [base_bc] renaming bookmark is not persistent
Edit existing bookmark name is now correctly updated in the view.

Fixes #4549
2022-02-01 11:51:31 +01:00
Jonathan Rainville e3a5c6bad3 fix channel missing a name when re-joining 2022-02-01 11:51:31 +01:00
Jonathan Rainville f7694e2915 fix(communities): enable leaving and then re-joining a community
Fixes #4568
2022-02-01 11:51:31 +01:00
Richard Ramos 192a0c4d19 refactor(communities): create channel in specific category 2022-02-01 11:51:22 +01:00
Khushboo Mehta 358e3c4a16 fix: Move gif to status-go
fixes #4355
2022-02-01 11:51:11 +01:00
Richard Ramos ba863acd4e fix: code review 2022-02-01 11:51:00 +01:00
Sale Djenic a05a821f51 issues adding category fixed
- chats list maintained in the chat service gets updated form the right places now
- redundant mapping `Chat` to `ChatDto` is removed, since we already get all
necessary data for the chat, no need for additional mapping which may just
introduce new inconsistencies
- `findIndexById` proc updated so in case if there is no the chat we're searching
for in the list, we're returning `-1` instead of last index in the list
- `DelegateChoice` on the qml side updated to match new type value `Constants.chatType.category`
2022-02-01 11:51:00 +01:00
Richard Ramos b67e97a05c feat(communities): create categories 2022-02-01 11:51:00 +01:00
Richard Ramos 24fa56e3b8 refactor: add fake category type 2022-02-01 11:50:57 +01:00
Boris Melnik 0065f5cae5 refactor: create categories (WIP) 2022-02-01 11:50:51 +01:00
Anthony Laibe c702928e1e fix(@chat): display message with link
fixes 4600
2022-02-01 11:50:50 +01:00
Sale Djenic 0a9aad7b03 fix(@desktop/app-search): loading messages improvements 2022-02-01 11:50:50 +01:00
Sale Djenic 25f7544b41 fix(@desktop/app-search): [base_bc] can't jump to a message from search results
- broken "jump to a section/chat/message" feature fixed
- added loading indicator while searching is in progress
- animation when we point to the searched message is in place again

Fixes #4577
2022-02-01 11:50:50 +01:00
Anthony Laibe 16225a3af9 fix(@chat): display link urls 2022-02-01 11:50:40 +01:00
Boris Melnik 219d7b46c0 feat(groups): Update chat details when group renamed
Closes: #4575
2022-02-01 11:50:33 +01:00
Jonathan Rainville a306d3a9d7 fix(profile): fix profile seed phrase backup badge
Fixes #4573
2022-02-01 11:50:33 +01:00
Anthony Laibe 76331cee11 fix(@communities): Handle Activity center event
fixes #4408
2022-02-01 11:50:33 +01:00
Khushboo Mehta b467c031b9 fix(@desktop/chat): can't reply to a reply
fixes #4551
2022-02-01 11:50:33 +01:00
Sale Djenic 7421967d96 fix(@desktop/chat-content): [base_bc] can't select a community channel
Fixes #4538
2022-02-01 11:50:32 +01:00
Jonathan Rainville dc9f601ede fix(community/section): fix new community order in the sections
Fixes #4566
2022-02-01 11:50:18 +01:00
Anthony Laibe 2e3d252fec fix(@communities): create channel
fixes #4565
2022-02-01 11:50:17 +01:00
Anthony Laibe a8f2a3cb08 fix(@chat): react to on left chat
fixes #4528
2022-02-01 11:50:17 +01:00
Sale Djenic 8724b3e9e7 fix(@desktop/chat-messages): [base_bc] adding emoji to a message does not reflect on desktop
Desktop app does handle message reactions properly now.
Reactions are properly handled by the pinned messages model as well.

Fixes #4525
2022-02-01 11:50:17 +01:00
Jonathan Rainville 518b7e455e fix(userlist): member added to userlist on approve and duplicate member
Fixes #4523 and #4542
2022-02-01 11:50:17 +01:00
Jonathan Rainville c20554d987 refactor(community): use user model for the community member list
Fixes #4471
2022-02-01 11:50:17 +01:00
Richard Ramos fb35f89336 fix: loading indicator 2022-02-01 11:50:17 +01:00
Richard Ramos 5458dcbb55 chore: add wakuv2prod fleet config 2022-02-01 11:50:17 +01:00
Anthony Laibe cfd227f9f2 fix(@chat): react to on clear history
fixes #4527
2022-02-01 11:50:17 +01:00
Anthony Laibe 5bf9b587da perf(@chat): Do not re-render messages when switching chat 2022-02-01 11:50:17 +01:00
Sale Djenic 69fc5bec5e refactor(@desktop/settings-ens-usernames): ens usernames module added and corresponding ui updated 2022-02-01 11:50:14 +01:00
Jonathan Rainville bd2bb8952a refactor(community): move community specific functions to chat_section
Fixes #4489
2022-02-01 11:50:02 +01:00
Jonathan Rainville e1deafa76b refactor(community): move membership functions to chat_section
Fixes #4473 and #4485
2022-02-01 11:50:01 +01:00
Jonathan Rainville 3e339ea094 refactor(community): add admin member request feature
Fixes #4442
2022-02-01 11:50:01 +01:00
Khushboo Mehta 59ec288e7a fix(@desktop/community): Updates to a joined community channel doesnr reflect on the UI
fixes #4505
2022-02-01 11:49:55 +01:00
Boris Melnik 1cd83b4d17 refactor(groups): Move groups to new architecture
Closes: #4223
2022-02-01 11:49:52 +01:00
Khushboo Mehta 2ff5ce7fc2 fix(@desktop/community): added option to delete community channel
fixes #4415
2022-02-01 11:49:47 +01:00
Jonathan Rainville c332fcaad8 fix(chat): set 1-1 chat as active when already created
Fixes #4493
2022-02-01 11:49:47 +01:00
Alexandra Betouni a0b40590ab fix:activity center view is empty
Updated all available message properties
from the new backend

Closes #4408
2022-02-01 11:49:47 +01:00
Jonathan Rainville d073dd215a fix(chat): fix copy and download image
Fixes #4494
2022-02-01 11:49:47 +01:00
Anthony Laibe aa5cb2446e fix(@chat): Guarantee message uniqueness in list
fixes #4482
2022-02-01 11:49:47 +01:00
Patryk Osmaczko ed8f2d35ce fix(@desktop/chat): update chat after image is sent
Fixes: #4404
2022-02-01 11:49:47 +01:00
Richard Ramos 068fe41258 chore: change dns discovery url 2022-02-01 11:49:47 +01:00
Khushboo Mehta f68d967544 fix(@desktop/chat): making edit work on base_bc
fixes #4410
2022-02-01 11:49:44 +01:00
Jonathan Rainville a027ec98f8 refactor(community): add member list model and hook it + updates to comm 2022-02-01 11:49:34 +01:00
Sale Djenic 7439b79039 chore(@desktop/general): signal names aligned
When we started with refactor we had to somehow separate "new"
and "old" signals that's why most of signals had prefix "new-", now
since we don't collide any more with "old" signal names (since we
removed all old code) we are free to sort out that signals naming,
what this commit does.
2022-02-01 11:49:14 +01:00
Jonathan Rainville 565211f38f fix(chat): fix sticker button not showing + stickers not showing in chat
Fixes #4407
2022-02-01 11:49:14 +01:00
Anthony Laibe b4fa3ef35c fix(@chat): dependency injection 2022-02-01 11:49:14 +01:00
Anthony Laibe 848308ed04 refactor(@desktop): gif section 2022-02-01 11:49:14 +01:00
Khushboo Mehta e757c07c96 fix(@desktop/chat): delete message not working
fixes #4411
2022-02-01 11:49:11 +01:00
Jonathan Rainville edc7a92445 fix(act-center): fix badly named controller function causing a crash 2022-02-01 11:49:04 +01:00
Jonathan Rainville 31ab5a7962 fix(contact-request): fix various contact request issues
Fixes #4420
2022-02-01 11:49:04 +01:00
Jonathan Rainville e195053669 fix(contact): fix contact crash because of empty roles 2022-02-01 11:49:04 +01:00
Alexandra Betouni a694b15d6c Fixed app crashing on start up
Also partially fixes #4444
2022-02-01 11:49:04 +01:00
Sale Djenic f7e8b68715 refactor(@desktop/chat): mentioning a user in chat reveals his public key instead of user name
This fix also includes mention users name update according to their
local/ens names, in app runtime.

Fixes #4403
2022-02-01 11:49:04 +01:00
Sale Djenic 46211c38ee refactor(@desktop/chat): reading a channel message does not mark it as read
- non active chats/channels are made bold if there are new messages inside them
a dot badge is added to the chat/community section if it's needed in that case
- for non active chats/channels count badge is added if there are new mentions
inside them, a count badge is added to the chat/community section if it's needed in
that case
- selecting chat/channel marks messages from it as read and update its displaying
and dot/count badge of chat/community section accordingly

Fixes #4403
2022-02-01 11:49:04 +01:00
Sale Djenic f0ca1a4cc3 refactor(@desktop/general): many errors from the log are fixed
- various issues on app start in console
- various issues when logging out in console
- `node_section` module delete method error
- SyntaxError: JSON.parse: Parse error from the MessageStore
2022-02-01 11:49:04 +01:00
Richard Ramos 4cb3126513 refactor: mailserver_cycle (base_bc) 2022-02-01 11:49:01 +01:00
Sale Djenic f24d6e968b refactor(@desktop/chat): reply to a message and message ordering
- fixed issue where reply to a message was added as 2 messages in the message list
- messages are added to a model respecting their timestamp
2022-02-01 11:48:55 +01:00
Sale Djenic 051142cf3b refactor(@desktop/chat): loading messages on join public chat
- received new messages are now filtered by the chat id they belong to
- mailserver actions are added to the log
2022-02-01 11:48:54 +01:00
Sale Djenic 4d042f80aa refactor(@desktop/general): dependencies to the `status-lib` removed
Fixes #4395
2022-02-01 11:48:51 +01:00
Jonathan Rainville 9fc9f698d9 refactor(community): hook invite user and fix community context menu 2022-02-01 11:48:43 +01:00
B.Melnik 0e5fbfb567 refactor(Node): move node to new architecture
Closes: #3805
2022-02-01 11:48:33 +01:00
Jonathan Rainville b7459b331b refactor(community): hook leave community 2022-02-01 11:48:25 +01:00
Sale Djenic 96e50a97ac refactor(@desktop/chat-community): `ChatContextMenuView` and `MessageContextMenuView` updated
Within this commit apart of `ChatContextMenuView` and `MessageContextMenuView`
some other things are fixed:
- pinned messages model (`asyncFetchChatMessagesTask`), which was corrupted most
likely by resolving conflicts
- `pinned by` part of the pinned messages
- set/remove local nickname for a contact
- contacts in a message list and pinned by name, contact in a pinned message list
and pinned by name, one to one chat details and chat tool bar are updated in a way
that they are responsive to the contact's updates
- pinned messages updated received from remote (from the `status-go`) is handled

Fixes #4366
2022-02-01 11:48:25 +01:00
Jonathan Rainville 60011aef61 fix(community): fix creating channels in a new community does not work 2022-02-01 11:48:25 +01:00
Jonathan Rainville 6fe9652b44 fix(chat): fix loading chats when joining them
Fixes #4367
2022-02-01 11:48:25 +01:00
Jonathan Rainville 3678b3af9b refactor(community): hook edit community feature 2022-02-01 11:48:22 +01:00
Jonathan Rainville 7fbd37a8f7 fix(chat): add signal to display new messages received
Fixes #4370
2022-02-01 11:48:16 +01:00
Jonathan Rainville dcad109bac hotfix: comment line that makes the app not open 2022-02-01 11:48:16 +01:00
Jonathan Rainville 42bb0c842d refactor(Communities): refactor communities front-end 2022-02-01 11:48:13 +01:00
Sale Djenic 6ba0cdb7aa refactor(@desktop/general): mailservers doesn't refer to the old `status-lib` code 2022-02-01 11:48:03 +01:00
Sale Djenic e220599612 refactor(@desktop/general): necessary changes applied due to refactored `Contacts` sub-section of the `Settings` section 2022-02-01 11:47:46 +01:00
Sale Djenic da6fe00528 refactor(@desktop/settings-contacts): contacts section updated 2022-02-01 11:47:46 +01:00
Sale Djenic 9b1e794e8f refactor(@desktop/settings-pivacy-security): privacy and security section updated 2022-02-01 11:47:43 +01:00
Sale Djenic 9a82370df0 refactor(@desktop/settings-profile): profile section updated 2022-02-01 11:47:24 +01:00
Sale Djenic b4df87b7a6 refactor(@desktop/settings-language): language settings added 2022-02-01 11:47:18 +01:00
Sale Djenic 46869afa5f refactor(@desktop/settings-notifications): notifications settings added 2022-02-01 11:47:18 +01:00
Sale Djenic 0aa0d4fb8c refactor(@desktop/settings-sync): sync settings added 2022-02-01 11:47:14 +01:00
Sale Djenic 44ceb6730d refactor(@desktop/settings-devices): device settings added 2022-02-01 11:47:00 +01:00
Sale Djenic a6b8fbe4b3 refactor(@desktop/settings-advanced): hook to the toggled experimental features from the advanced tab added 2022-02-01 11:46:50 +01:00
Sale Djenic 7ea85097df refactor(@desktop/settings-about): fetching the latest version fixed
We're not fetching latest version for all but the `Mainnet` network, that
use case is taken from the old code.
2022-02-01 11:46:40 +01:00
Jonathan Rainville 9016999ec2 refactor(chat): hook chat commands to qml and fix ens resolve 2022-02-01 11:46:40 +01:00
Sale Djenic 16a33f8fa7 refactor(@desktop/chat-messages): load more messages
- load more messages on scroll up for chat/channel added
- sending messages improved in terms of adding new messages to
appropriate position
- scroll to message added on the qml side
- qml connected to the sending message success/failed signals
2022-02-01 11:46:39 +01:00
Jonathan Rainville 710236f51a refactor(chat): refactor send messages to work 2022-02-01 11:46:36 +01:00
Sale Djenic 807039ad61 refactor(@desktop/chat-community): `ChatContextMenuView` component updated
- admin flag exposed to qml for chat/channel
- `CreateChannelPopup` updated
- `createPopup` function added to the `Global` singleton
- `PinnedMessagesPopup` component moved to `AppMain` and shared
among components beneath
2022-02-01 11:46:24 +01:00
Sale Djenic 179b0f5a36 refactor(@desktop/chat-messages): add/remove reactions 2022-02-01 11:46:11 +01:00
Jonathan Rainville 13543ae14f refactor(about): refactor version fetch 2022-02-01 11:46:08 +01:00
Jonathan Rainville b2546fa709 refactor(ProfilePopup): hook ProfilePopup to backend properties 2022-02-01 11:45:50 +01:00
Sale Djenic 6441da8bb3 refactor(@desktop/general): warnings building the app removed 2022-02-01 11:45:50 +01:00
Sale Djenic df5a5a627d refactor(@desktop/chat-messages): pin/unpin messages and pinned messages list updated 2022-02-01 11:45:50 +01:00
Sale Djenic b6b6d6b6c7 refactor(@desktop/chat-messages): `MessageContextMenuView` component updated 2022-02-01 11:45:50 +01:00
Sale Djenic a9e4944eb2 refactor(@desktop/general): warnings caused due to inconsistent return types between service and interface are fixed 2022-02-01 11:45:50 +01:00
Sale Djenic 63b4397670 refactor(@desktop/profile-advance): adding custom networks 2022-02-01 11:45:47 +01:00
Sale Djenic c7d53a31e0 refactor(@desktop/profile-advance): profile advance module introduced
New advanced module added as submodule of the profile section module.
Advanced store introduced on the qml side and qml part updated accordingly.
2022-02-01 11:45:32 +01:00
Sale Djenic 6e1438d241 refactor(@desktop/general): `globalUtils` instance added (changed old `utilsModel`) 2022-02-01 11:44:56 +01:00
Jonathan Rainville d5a3ead0b6 refactor(community): add all community function in the backend 2022-02-01 11:44:42 +01:00
Jonathan Rainville 0388688e9e refactor(community): add join community functionnality 2022-02-01 11:44:38 +01:00
Anthony Laibe fdca0da77d feat: saved address view
Connect list and change
Provide view API
Create events
2022-02-01 11:43:44 +01:00
Jonathan Rainville 129266497d refactor(communities): add communities module to show comm list 2022-02-01 11:43:40 +01:00
Anthony Laibe ad93b9d92b refactor(@wallet): saved address from wallet2 2022-02-01 11:43:08 +01:00
Jonathan Rainville 45fddc55ba refactor(act-center): refactor activity center to the new arch 2022-02-01 11:42:55 +01:00
Pascal Precht 27f8c33dbd fix: ensure app sections work correctly
We've recently removed timeline related code from the application.
It seems that either a) new changes have been introduced related to timeline
despite it being removed from the application, or b) a few more changes
where left out as part of the new architecture.

This causes the app to misbehave when selecting sections in the application
nav bar.

This commit fixes this by removing leftover timeline related code.
2022-02-01 11:42:46 +01:00
Sale Djenic b3f8af8e06 refactor(@desktop/general): qml code referring to the old code base commented out
Qml code referring to the old code base commented out, but not deleted,
due to easier refactoring the rest of the app.
2022-02-01 11:42:42 +01:00
Sale Djenic 43a67472d1 refactor(@desktop/general): old code disconnected
The old code placed in `src/app` is still not deleted, due to easier refactoring
the rest of the app, but non of the part of the app refers to it. Also corresponding
directories are renamed, to spot them easier, and at the end of the refactor we
will just simply delete them in a single commit.

Renamed:
- `src/chat` to `src/REMOVE-chat`
- `src/keycard` to `src/REMOVE-keycard`
- `src/node` to `src/REMOVE-node`
- `src/profile` to `src/REMOVE-profile`
- `src/utilsView` to `src/REMOVE-utilsView`
- `src/wallet` to `src/REMOVE-wallet`
2022-02-01 11:41:59 +01:00
Sale Djenic bfaf1b5250 refactor(@desktop/chat-communities): `ChannelIdentifierView` component updated 2022-02-01 11:41:56 +01:00
Sale Djenic 7f40ae0f57 refactor(@desktop/chat-communities): unused component removed
- `NormalMessageView` component is removed since we work with `CompactMessageView`
and it's the only and default message component in the app.
- `useCompactMode` property removed from local settings since it's not in use as
well and corresponding code is updated accordingly
2022-02-01 11:41:38 +01:00
Sale Djenic 6ae88cf1cc refactor(@desktop/chat-communities): a list of users who reacted with an emoji updated
A list of users who reacted with an emoji now displays names instead of users'
public key
2022-02-01 11:41:26 +01:00
Anthony Laibe 6c76974985 refactor(@chat): clear chat history 2022-02-01 11:41:26 +01:00
Anthony Laibe 8ddda242d8 refactor(@chat): mark messages as read 2022-02-01 11:41:26 +01:00
Sale Djenic bd2efb4a1e refactor(@desktop/chat-communities): backend part for mute/unmute feature added
- `chat service` is not `QtObject` inherited class
- mute/unmute methods added to `chat service`
- `type` added to sub items of model used in `chat section` module
- shared message item and model updated with set of new fields
2022-02-01 11:39:51 +01:00
Jonathan Rainville a9c968b984 refactor(chat): refactor 1-1 chat to new architecture
Fixes #4225
2022-02-01 11:39:08 +01:00
Sale Djenic f138fecdd2 refactor(online-users): adding online users for chat/channel 2022-02-01 11:38:07 +01:00
Sale Djenic afe6d34735 refactor: issues after rebase onto `master` fixed 2022-02-01 11:38:04 +01:00
Jonathan Rainville 0d3a8e4d11 refactor(stickers): remove one import from old status-lib code
Only two imports remain. They will be removed once the chat is refactored
2022-02-01 11:37:32 +01:00
Jonathan Rainville d8a90eda6c fix(stickers): fix stickers appearing as loading when on a new account 2022-02-01 11:37:32 +01:00
Jonathan Rainville 05eb8abf04 fix(stickers): fix getting installed and recent stickers 2022-02-01 11:37:32 +01:00
Jonathan Rainville 206e0e5504 refactor(stickers): remove dep on dto in view and use Item instead 2022-02-01 11:37:32 +01:00
Sale Djenic 80fcb95245 refactor(chat-section): new chat/community model applied on the qml side
Changes done on the backend side related to the new chat/channel/categories model
are applied here. Necessary changes done on the `statusq` may be seen in PR-486.

Parts of the code which are not refactored yet are commented out.

Displayed chats/categories/channels since now are using refactored backend.
2022-02-01 11:37:32 +01:00
Sale Djenic c8b429388f refactor(user-profile): `name`, `icon` and `isIdenticon` properties added to global instance `userProfile`
Apart of all properties we have, now we have 3 new added props which will be used
almost always when we need the following details about logged in user:
- `name` - this will return an ens name in a pretty form or an alias if ens name
was not set (verified). Apart of this there are still `username` and `ensName`
properties for fetching them when it's needed.
- `icon` - this will return a thumbnail image if it's set, otherwise it will
return identicon. Apart of this there are still `identicon` and `thumbnailImage`
properties for fetching them when it's needed.
- `isIdenticon` - this will return `false` if a thumbnail image is set, otherwise
it will return `true`
2022-02-01 11:37:29 +01:00
Sale Djenic 45d93649b6 refactor(chat-section): new chat/community model applied on the qml side
Changes done on the backend side related to the new chat/channel/categories model
are applied here. Necessary changes done on the `statusq` may be seen in PR-486.

Parts of the code which are not refactored yet are commented out.

Displayed chats/categories/channels since now are using refactored backend.
2022-02-01 11:37:15 +01:00
Khushboo Mehta 7643c6228c fix(@desktop/profile): Application nav bar settings button is incorrect
Updated the settings icon in the config file.

fixes #4172
2022-02-01 11:36:59 +01:00
Sale Djenic f44926b7aa refactor(app-search): `You` used in case a message in the search result was sent by logged in user 2022-02-01 11:36:59 +01:00
Sale Djenic 64c0148bbf refactor(general): new convenient methods added to chat and contact services
- `getOneToOneChatNameAndImage` method added to the chat service, we should
use where ever in the app we need to display one to one chat image and name
- `getContactNameAndImage` method added to the contacts service, we should use
when we want to display pretty contact name and correct image/identicon depends
what user set
2022-02-01 11:36:59 +01:00
Sale Djenic 4c42809a68 refactor(general): modules' structure aligned
There were a lot of modules with an empty concept which are useless that way,
doesn't do the purpose. Also some modules were not informing parent module about
their states even order of operation within module itself was missed. Now we have
all those things aligned and this commit should stop propagating such concepts
caused by copying a module.
2022-02-01 11:36:59 +01:00
Jonathan Rainville 22595f5032 refactor(chat): move stickers to the new architecture
Fixes #4060
2022-02-01 11:36:59 +01:00
Jonathan Rainville 3f12796b45 Revert "refactor(chat): move stickers to the new architecture"
This reverts commit 47aa079e0d.
2022-02-01 11:36:59 +01:00
Jonathan Rainville 15378c4e4e Revert "refactor(general): modules' structure aligned"
This reverts commit 6154a89cf6.
2022-02-01 11:36:59 +01:00
Sale Djenic 10268ec3c4 refactor(general): modules' structure aligned
There were a lot of modules with an empty concept which are useless that way,
doesn't do the purpose. Also some modules were not informing parent module about
their states even order of operation within module itself was missed. Now we have
all those things aligned and this commit should stop propagating such concepts
caused by copying a module.
2022-02-01 11:36:56 +01:00
Jonathan Rainville 792397987c refactor(chat): move stickers to the new architecture
Fixes #4060
2022-02-01 11:36:44 +01:00
Sale Djenic 0a8a5c4795 refactor(node-configuration-service): node configuration added added as a new service 2022-02-01 11:36:43 +01:00
Sale Djenic bf651c093e refactor(fleet-configuration): fleet configuration added to `StatusFoundation` 2022-02-01 11:36:40 +01:00
Sale Djenic 7a9784b854 refactor(settings-service): settings improved
Since we had 2 services dealing with the same `status-go` settings, this
commit merges them into a single one. Also we have new public methods
exposed what minimizes a possibility for error since a key for each setting
is kept in the service.
2022-02-01 11:36:23 +01:00
Sale Djenic 7c36e98cf3 chore(general): necessary changes applied after rebasing 2022-02-01 11:35:51 +01:00
Sale Djenic caf7fd2072 refactor(contacts-service): general improvement
- Signal's arguments updated
- Sent payload optimized
- Local nickname added to profile section contacts model
- Rest updated accordingly to above changes
2022-02-01 11:35:37 +01:00
Jonathan Rainville eee096dda7 chore: remove old contacts code 2022-02-01 11:35:24 +01:00
Jonathan Rainville e8eefd8f87 refactor: move all old usages of contacts to the new code 2022-02-01 11:35:24 +01:00
Jonathan Rainville cb7865bd9e refactor: move contact requests to new architecture
Fixes #4061

Most of the contact request code was already moved, but it wasn't hooked to the QML yet and also there were missing events and some code to improve.
2022-02-01 11:35:24 +01:00
Sale Djenic 80b94d6519 refactor(general): `nim_status_client.nim` file cleaned
Parts which are not refactored yet are moved to `AppController` and
marked there (a comment is added for a sake of clarification) that those
parts will be removed once we complete refactor phase.
2022-02-01 11:35:20 +01:00
Sale Djenic 1ccc98af98 refactor(general): old `AppService` is renamed to `StatusFoundation`
`AppService` is renamed to `StatusFoundation` cause it doesn't contain
any more anything related to services. And it is moved to other location
`/src/app/core`. It contains a foundation for the app.

This part will rarely change
2022-02-01 11:35:07 +01:00
Sale Djenic e72b2d1007 refactor(general): managing signals from `status-go` added
Signals which were part of the `status-lib` are now part of the desktop app.
New class `SignalsManager` is introduced which is a main point for receiving
signals from `status-go`.
2022-02-01 11:34:42 +01:00
Sale Djenic 4b882be8bd refactor(osnotification): os notification service updated
- os notification doesn't belong to core features so it's moved from there
- os notification service updated and read to be used as other service
- leftovers moved from `status-lib` that's its version is updated
- using os notification service is commented out in the old code
2022-02-01 11:34:38 +01:00
Sale Djenic a99422a00a refactor(general): core things moved to `core` section of the app 2022-02-01 11:34:23 +01:00
Sale Djenic 786c0b4041 refactor(general): global things moved to `global` section of the app 2022-02-01 11:34:00 +01:00
Sale Djenic 5c0bb9b0b9 refactor(wallet2): the old way of fetching crypto services asynchronous is removed 2022-02-01 11:34:00 +01:00
Sale Djenic 141b664a0c refactor(wallet2): async job for fetching crypto services moved to buy/sell controller
Async task for fetching crypto services is temporary moved because of other
changes we need to apply during the refactor phase. It will be moved to
appropriate service at the end.
2022-02-01 11:34:00 +01:00
Sale Djenic dafb457a49 refactor(chat-communities): items and model for users list added 2022-02-01 11:34:00 +01:00
Sale Djenic 0def67e783 refactor(contacts-service): added local name for a contact
Within this commit local name for a contact is added to `ContactsDto` which will
be used across the app.
- backend part for changing contact's username is added
- new signal under `SIGNAL_CONTACT_UPDATED` is introduced for the contacts service
- `saveContact` method of the contacts service updated so it saves contact
for a real now
- in order to be consistent across the app `userNameOrAlias` method is updated
so it includes locally set username for a contact
2022-02-01 11:33:56 +01:00
Sale Djenic 97fa526c5e refactor(messages-service): methods for mark all and mark certain messages as read added 2022-02-01 11:33:38 +01:00
Sale Djenic 5b58bbcc7a refactor(app-search): warnings "use {.base.} for base methods" are fixed 2022-02-01 11:33:38 +01:00
Sale Djenic c6820c9369 refactor(app-search): unused app search related code removed 2022-02-01 11:33:38 +01:00
Sale Djenic ff7aa01f90 refactor(app-search): app search chats/users names and images updated, search condition improved 2022-02-01 11:33:38 +01:00
Sale Djenic ab38614b08 refactor(contact-service): `ContactsDto` is `object` type instead `ref object` 2022-02-01 11:33:38 +01:00
Sale Djenic 4b6469c373 refactor(chat-communities): position field and `isCommunity` added to the chat section module
Position field added to a model/submodle of the chat section module.
`isCommunity` method is exposed to qml from the view of the section module.
2022-02-01 11:32:46 +01:00
Sale Djenic 9e60b4ecfe refactor(chat-communities): chat naming follows alias/ens naming 2022-02-01 11:32:46 +01:00
Sale Djenic 813f6d0062 refactor(chat-communities): hidden chats of Profile chat type are excluded from the model 2022-02-01 11:32:46 +01:00
Sale Djenic d67278b23e refactor(app-search): app search module added 2022-02-01 11:32:42 +01:00
Sale Djenic 9045b0bbc4 refactor(general): chat section modules notified about the section change 2022-02-01 11:32:32 +01:00
Sale Djenic fd3303a4e8 refactor(@desktop/chat-communities): pinned messages added
Option to pin/unpin message added on the backend side.
Pinned model added to the chat content module.
Message service updated accordingly.
2022-02-01 11:32:32 +01:00
Sale Djenic 9777191501 refactor(@desktop/chat-communities): messages added
Messages model added, not completely done.
Also convenient methods for add/remove reactions are added.
2022-02-01 11:32:32 +01:00
Sale Djenic 12f9282a59 refactor(@desktop/general): added modules `InputArea`, `Messages`, `Users`
Each `ChatSection` module contains as many `ChatContent` submodules as many chats
the section contains (a chat maybe either from the Chat section or Community section or
from the category of the Community section).

`ChatContent` consists of 3 submodules `InputArea`, `Messages`, `Users`, so far.
2022-02-01 11:32:32 +01:00
Sale Djenic 0fa88be513 refactor(@desktop/general): qml `ChatLayout` component added for the `Chat` section and for each community 2022-02-01 11:32:32 +01:00
Sale Djenic eca74532ac refactor(@desktop/chat-communities): asynchronous fetching messages 2022-02-01 11:32:32 +01:00
Sale Djenic d8dea2dc58 refactor(@desktop/chat-communities): initial model for the chat/community sections
Model used for list of chats in case of Chat section and used for
channels/categories/category channels is initially added. With an option for
setting active chat/channel/category (which are an Item type) and setting active
channel within a category (which is a SubItem type).
2022-02-01 11:32:31 +01:00
Sale Djenic b15c348931 refactor(@desktop/general): notifications set for certain app sections 2022-02-01 11:32:31 +01:00
Sale Djenic 6e3b065d34 refactor(@desktop/general): app sections handled within main module 2022-02-01 11:32:28 +01:00
Richard Ramos d713c6fe9f fix: display loading indicator depending on mailserver request status 2022-01-25 13:59:41 -04:00
Anthony Laibe 6915c19c84 feat: move create accounts to status-go 2022-01-24 10:44:31 +01:00
Boris Melnik f69db2c97b fix(PrivacyView): Fix relations between switches and line sensor and local settings. Add getter for profile images.
Closes: #4191
2022-01-16 22:15:05 +03:00
Anthony Laibe 1bbb9d345d feat: move token balance retrieval to status go 2022-01-14 10:43:25 +01:00
Richard Ramos e88a936193 refactor: mailserver cycle 2022-01-12 16:04:12 +00:00
Anthony Laibe 8889bbdb08 fix(@wallet): tx history view
fixes #4385

Correctly display the date and if the node is an archival node
2022-01-10 15:58:36 +01:00
Pascal Precht cdd79a87e7 fix: make changing local nicknames of contacts work again
This fixes #4173 again. The problem is that changing the local nickname
of a contact now uses new APIs in Status Desktop which emit new events that
older code isn't aware off. Namely, the event handling in the chat section
doesn't get informed anymore that the contact has changed, so it won't update
the view accordingly.

This commit fixes it by subscribing to that newly introduced event
and then updating the view with the payload data.

Notice that this is a quick fix and will most likely be obsolete, once
the chat section has moved to the new architecture as well.

Fixes #4173
2022-01-05 10:37:43 +01:00
Richard Ramos a85ee8581a feat: show real sync date in "Fetch more messages" button 2022-01-03 21:12:28 +00:00
Richard Ramos f0ee4bb402 fix: code review 2022-01-03 13:01:06 +00:00
Richard Ramos c0108bd1bf chore: use TrustedMailServers from NodeConfig in mailserver cycle for wakuv1 2022-01-03 13:01:06 +00:00
Anthony Laibe 64edace12a feat: Use ens API 2022-01-03 10:35:22 +01:00
Richard Ramos 528210b50f fix: ensResourceURL 2021-12-22 16:13:23 +00:00
Richard Ramos f5d53f9112 refactor: move provider logic to status-go 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 cebe20a152 fix: ensure the contact name contains an ens name
Fixes 4271
2021-12-10 12:44:05 +00:00