409 Commits

Author SHA1 Message Date
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
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
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
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
c6820c9369 refactor(app-search): unused app search related code removed 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
9e60b4ecfe refactor(chat-communities): chat naming follows alias/ens naming 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
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
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
Anthony Laibe
6915c19c84 feat: move create accounts to status-go 2022-01-24 10:44:31 +01: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
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
Anthony Laibe
60a3158cae feat(@desktop/settings): Add developer mode toggle 2021-12-10 10:20:58 +01:00
Jonathan Rainville
1a0fb268e3 fix(notifications): fix notification setup called too soon 2021-12-09 11:19:03 -05: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
2d49da7331 feat: Allow to enable auto message 2021-11-29 14:46:38 +01:00
Sale Djenic
a01fdd29dd fix(account-service): preparing account settings object updated 2021-11-24 13:15:15 +01:00
Sale Djenic
484748314f fix(general): online/offline selector updated
Fixes: #4049
2021-11-24 13:15:15 +01:00
Sale Djenic
de9b475dd5 refactor(contact-service): ContactsDto images issue fixed
This affects app search, now chats in location menu as well as senders'
images of the displayed messages in the search result.
2021-11-24 13:15:15 +01:00
Pascal Precht
338c7854b0 fix: ensure contact data is refetched when changes where made
Changes in contact data caused via calls to any contact related APIs wouldn't be
reflected in the UI because it doesn't re-fetch the updated state from status-go.

This commit makes the contactsService `fetchContacts` API public so it can be
used on the profile section control to re-fetch contact data when changes to
contacts have been emitted.
2021-11-23 14:01:26 -04: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
Jonathan Rainville
0c84f5e90f chore(version): make the version changing more obvious 2021-11-19 10:06:40 -05:00
Richard Ramos
f9b08abd72 fix: review 2021-11-19 10:19:11 -04:00
Richard Ramos
1989ad7971 refactor!: provider transactions 2021-11-19 10:19:11 -04:00
Richard Ramos
44e91df428 feat: add toggle for switching status-go DEBUG log level 2021-11-16 09:42:28 -04:00
Anthony Laibe
df670bfcbb fix(desktop/wallet): new account with error 2021-11-16 10:07:15 +01:00
Jonathan Rainville
2d0c95feb3 fix: fix adding custom tokens
Fixes #4040 for real this time
2021-11-11 09:58:05 -05:00
Anthony Laibe
f913dce44a feat: allow to enable/disable telemetry 2021-11-10 10:14:40 -05:00
Richard Ramos
50e8d0aa90 feat: prepare desktop for dogfooding
- Use go-waku fleet for rendezvous
- Use dns-discovery for obtaining fleet nodes
2021-11-09 15:54:20 -05:00
Jonathan Rainville
480219b823 fix(wallet): fix getting balance of custom tokens
Fixes #4040
2021-11-05 15:31:32 -04:00
Sale Djenic
d53548f68c fix(@refactoring/base_01): crash on recovering account
Fixes: #3953
2021-11-05 14:16:09 -04:00