Commit Graph

56 Commits

Author SHA1 Message Date
Michal Iskierko c16b0762ae fix(@desktop): Fixing setting contacts statuses
Remove timers logic since it was moved to status-go.
Handle additional status.updates.timedout signal.

Issue #6403
2022-09-01 10:03:52 +02:00
Pascal Precht fa5b862d2c feat(CreateCommunityPopup): introduce file selector and category panels 2022-08-26 10:59:41 +02:00
Sale Djenic 505b242246 fix(@desktop/keycard): implement new keycard factory reset flow
This partially covers factory reset flow. The part where user is able to select which accounts
wants to remove/keep from/on a keycard will be added later once we add the keycard settings part
for storing those data to a keycard.

Fixes: #6790
2022-08-11 13:57:37 +02:00
Jonathan Rainville 0419f8077d feat(windows): hook protocol uris to the urlManager
Fixes #5973
2022-07-28 10:00:43 -04:00
Sale Djenic 73abf3a982 fix(@desktop/notifications): nothing happens after clicking on any notification
Fixes: #5935
2022-07-15 16:56:48 +02:00
Richard Ramos 75a3ff858c feat: check for updates (using status-go) 2022-07-07 09:54:55 -04:00
Jonathan Rainville 1e7c648300 feat: contact verification request and trust status
feat: contact verification

fix: add remove identity verified btn

fix: add toast message

feat: received verification request model


feat: finish identity verification flow

Fixes #4784
2022-07-06 10:43:33 -04:00
Pascal Precht a634df9246 feat(chat): handle sync clear history messages
When histories are cleared on a paired devices, that clearance should be
synced and reflected in other paired devices as well.

This commit ensures desktop calls the correct API to clear histories,
which will then cause an implicit sync.

Partially addresses #5201
2022-06-20 12:47:29 +02:00
Pascal Precht 882c0dcc2b fix(Privacy): handle sync setting of `show-profile-pictures-to`
There are a bunch of settings which are synced an not handled by
desktop, one of them being the `profile-pictures-show-to` setting.

This commit introduces a new `SettingsFieldDto` so we can react to
message signals that include individual setting fields that originate
from syncing.

The first setting hanlded is the one mentioned above, so a new
application signal is introduced to inform the app that there was an
update in that particular setting, so it can re-render the view.

Partially addresses #5201
2022-06-20 12:44:55 +02:00
Pascal Precht 858caeca73 fix: handle bookmarks syncing signals properly
Bookmarks were only synced when devices were synced, but not when
bookmarks were added/removed/updated.

To account for this, there's are new messenger APIs in status-go
proposed here: https://github.com/status-im/status-go/pull/2709

Based on those APIs, desktop can now add/remove/update bookmarks and the
changes are automatically synced to other devices in real-time.
This commit also ensures that changes from other devices with regards to
bookmarks are handled and updated on the current device.

Partially addresses #5201
2022-06-20 12:01:23 +02:00
Pascal Precht 56f7c52e81 fix(sync): handle syncronization of user status
This fixes a bug where the new user status set by the logged in user
would not be broadcast because the corresponding setting would prevent
status-go from doing so.

The fix is done by always enabling broadcasting the user status, then
disabling it again right after setting, in case it was set to "offline".

This commit also ensures that, when current user status updates are
broadcast, the updates are handled across paired devices in real-time.

Partially addresses #5201
2022-06-16 14:02:49 +02:00
Pascal Precht 9a926e110c fix: ensure sync community settings are handled
This adds the missing handling of community settings that are synced
when communities are created/edited etc.

Needs https://github.com/status-im/status-go/pull/2701 to function.

Partially addresses #5201
2022-06-16 13:03:07 +02:00
Sale Djenic 698374b91c feat(desktop/general): app support for status-im:// URIs - mac
Fixes #3375
2022-06-01 08:42:57 +02:00
Michal Iskierko 8acb3c386a feature(desktop/general): Display mentions number on tray icon badge.
Count all mentions from all chats and communities.
Send it to notifications object.

Issue #4922
2022-05-26 14:16:00 +02:00
Sale Djenic aeba272ae4 fix(@desktop/notifications): move notifications settings to `status-go`
Fixes #5649
2022-05-26 12:07:19 +02:00
Boris Melnik aa1dae9e20 fix(@desktop/warnings): Fix bunc of qml/nim warnings
Closes: #5162
2022-05-25 14:27:25 -04:00
Pascal Precht f14717da18 feat: handling `mailserver.not.working` signal
This makes Status Desktop aware of the `mailserver.not.working` signal.
When emitted by status-go, desktop will show a popup that informs the
user about the connection failure.

Furthermore, users can then decide to either retry (same as just closing
the popup as retrying already happens by default), or pick another
pinned mailserver, for which they'll get redirected to the messaging
settings panel.

Closes #5166
2022-05-20 13:03:47 +02:00
Sale Djenic 03d7632f32 fix(@desktop/notifications): revamp notifications settings & behaviour
- signal for adding notification to the Activity Center introduced
and emitted, but that part is not handled within this commit since
there are some details needed to be discussed in the PR#5334
- signal for displaying ephemeral app notification is introduced
and emitted, but that part is not handled within this commit since
we don't have yet ephemeral notificaiton in place.

Fixes #4902
2022-05-13 14:58:39 -04:00
Pascal Precht 10f6d9e89b feat: reload community chats when history messages have been downloaded
This introduces the new signal types related to the community archive
protocol and makes Status Desktop listen to the download event which is
emitted by status-go every time history archives were downloaded.

If the downloaded archive covers data within the recent 7 days, it
causes Status Desktop to reload the corresponding chats.
2022-04-11 15:54:08 +02:00
Anthony Laibe 08131e1d2d feat(@wallet): move suggested fees to status-go 2022-03-30 09:41:10 +01:00
Richard Ramos 8183d4e317 chore: add status.prod fleet 2022-03-11 15:52:47 -05:00
Jonathan Rainville d2d57036b5 fix(notifications): fix windows tray icon and notifications
Fixes #4263
2022-03-01 10:01:22 -05:00
Richard Ramos d4f8b63292 feat: add status.test fleet 2022-02-23 15:48:06 -05:00
Sale Djenic 6186bf9c8c fix(@desktop/general): app/os notifications
Fixes #4409
2022-02-21 22:01:19 +01:00
Patryk Osmaczko ba7a6d5d34 style: remove trailing whitespaces 2022-02-09 11:16:23 +01:00
Richard Ramos ad7f48d6ac refactor: removing mailserver controller and model 2022-02-01 15:16:45 -04:00
Sale Djenic f4a78a29be chore: issues after massive `base_bc` rebase fixed 2022-02-01 12:46:42 +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
Richard Ramos 4cb3126513 refactor: mailserver_cycle (base_bc) 2022-02-01 11:49:01 +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
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
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 44ceb6730d refactor(@desktop/settings-devices): device settings added 2022-02-01 11:47:00 +01:00
Jonathan Rainville 45fddc55ba refactor(act-center): refactor activity center to the new arch 2022-02-01 11:42:55 +01:00
Sale Djenic f138fecdd2 refactor(online-users): adding online users for chat/channel 2022-02-01 11:38:07 +01:00
Sale Djenic bf651c093e refactor(fleet-configuration): fleet configuration added to `StatusFoundation` 2022-02-01 11:36:40 +01:00
Sale Djenic 7c36e98cf3 chore(general): necessary changes applied after rebasing 2022-02-01 11:35:51 +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 6e3b065d34 refactor(@desktop/general): app sections handled within main module 2022-02-01 11:32:28 +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
Pascal Precht 7aa777f2e3 feat: preserve app window size after resize
This adds the functionality that the application window size is saved in the
app settings, so that it restores the same size the next time the application
is started.

Closes #4120
2021-12-02 15:45:24 +01:00
Sale Djenic 484748314f fix(general): online/offline selector updated
Fixes: #4049
2021-11-24 13:15:15 +01:00
Khushboo Mehta 7ee7ba5ebe fix(@desktop/profile): Custom picture is not applied everywhere in the app without restart
fixes #4099
2021-11-24 13:15:15 +01:00
Sale Djenic 188d38be39 refactor(@desktop/general): identified user profile as new instance 2021-11-24 13:15:15 +01:00