Commit Graph

3208 Commits

Author SHA1 Message Date
Ivan Belyakov b9268d8f1e fix(wallet): fixed precision loss for balance amount in nimqml
fixed currency amount property type to be handled by QMetatype properly
2024-04-12 13:20:50 +02:00
Sale Djenic 42a60642e8 fix(wallet): user is unable to authenticate using biometrics
Fixes #14404
2024-04-12 07:46:00 +02:00
Mykhailo Prakhov f743d2f059
chore: do not show permissions change notifications if permission is private or we are not a community member (#14386) 2024-04-11 11:29:00 +02:00
Sale Djenic ced5a9bb4b feat(keycard): noticeable delay in starting flows
This is not an issue actually, instead a request was if the Keycard is present to display an
appropriate state based on the Keycard content, which requires the following steps when a user
clicks any flow to run:
- run appropriate keycard flow
- wait for a response from the keycard
- resolving state that needs to be displayed based on the response
- display appropriate state

This commit changes that to the following:
- display keycard reading state immediately after the user clicks any flow to run and then the rest as it was
- run appropriate keycard flow
- wait for a response from the keycard
- resolving state that needs to be displayed based on the response
- display appropriate state

With this change on OS' where communication between the app and keycard is slow it wouldn't look
like a delay in running flow, but instead, a user will be aware immediately that something is ongoing.

Closes #13242
2024-04-11 10:00:15 +02:00
Igor Sirotin 795b999ad8
chore: extract move gifs module (#14315) 2024-04-09 19:01:24 +01:00
Igor Sirotin e2eddc525c
fix: proper content for bridged messages in OS notifications (#14377) 2024-04-09 18:21:47 +01:00
Cuteivist 277dda7533
feat(wallet): Disable send for soulbound collectibles (#14327) 2024-04-09 16:16:03 +02:00
Stefan 473e2e273f feat(wallet) connect assets ordering with saving to DB backend
Also refactor the existing code based on the latest understanding.

Closes #13312
2024-04-09 09:34:52 +02:00
Sale Djenic 5bf8f5c456 feat: swap via paraswap backend implementation
Closes #14241
2024-04-08 11:00:19 +02:00
Michal Iskierko 62c48a0072 chore(desktop): upgrade status-go
Issue #14044
2024-04-08 11:22:51 +03:00
Michal Iskierko d41625932e fix(@desktop/chat): Fix displaying edits of bridge messages
Fix #14044
2024-04-08 08:01:37 +02:00
Michal Iskierko 5f2193b2c5 fix(@desktop/communitytokens): fix converting json to dto
Fix #14307
2024-04-07 21:46:02 +02:00
Alexandra Betouni 53db09412a feat(ProfileShowcasePopup): Adding interactions in delegates
Closes #13702
2024-04-05 12:31:11 +03:00
Jonathan Rainville 8f5efc6cb0 fix(permissions): fix view and post permission overwritten by view perm
Fixes #14209
2024-04-04 16:32:04 -04:00
Jonathan Rainville 5c75c265af fix(permissions): fix hang when all channel perm check return (#14259)
* fix(permissions): fix hang when all channel perm check return

Fixes #14234

The problem was that we updated **all** the models from **all** the channels of a community each time the channel requirement checks returned.

The fix is to first of all, make sure we don't call that check too often. It sometimes got called twice in a row by accident.

The other better fix is to check if anything actually changed before updating. This solves the issue almost entirely.  Since the permissions almost never change, the updates now take only a second.

* fix(permisisons): never run permission checks for privileged users

Also fixes #14234 but for admins, TMs and Owners.

Admins+ were still getting the hang, because the permission checks always returned something different than the models, because the models knew that admins have access to everything, but the permission check was running as if it were a normal user (I think, un-tested).

Anyway, the solution is more simple, we never need  to run the permission checks on admins+, because they always have access to everything!

* fix(Communities): prevent channels model from emitting unnecessary signals

Closes: #14274

* chore(Communities): improve channels metadata lookup performance

ChannelsSelectionModel is removed, replaced with plain LeftJoinModel.
Transformations of left-side model are done in a single place, not in
every delegate making the join.

* only call update functions when there is something to update + move permission model creation when needed

---------

Co-authored-by: Michał Cieślak <michalcieslak@status.im>
2024-04-04 12:14:39 -04:00
Mykhailo Prakhov 1e155046e7
fix(@desktop/communities): request to join fixes (#14287) 2024-04-04 18:03:10 +02:00
Mikhail Rogachev 6883db3b58
Fix: fix compilation warning (#14273) 2024-04-04 16:42:37 +02:00
Andrey Bocharnikov de74a6ce03
fix(Profile Flow): Marking as ID verified is not reflected in community member (#14269)
fixes #13772
2024-04-04 00:43:24 +04:00
Igor Sirotin 3750b9933e
chore: supress UnreachableCode check in keycard_popup/controller.nim (#14254) 2024-04-03 14:47:52 +01:00
Igor Sirotin 89408adc00
chore: fill holes in ChatType enum (#14257)
* chore: fill holes in ChatType enum
* chore: fix Spacing warning
2024-04-03 14:47:41 +01:00
Mikhail Rogachev d86be3a970
fix(Profile): Fix crashing when showcase collectible having disabled chainIds (#14252)
Close #14243
2024-04-03 11:51:15 +02:00
Stefan 65791a8e87 fix(wallet) sending community tokens doesn't work
The contract address is not resolved for the community tokens because
of symbol usage to identify assets. The symbol is not resolved by
`getTokenBySymbolByTokensKey`.
This fix changes from using symbol to always using assetKey to identify
the token for all non-native and non-collectibles transfers.

Closes #14074
2024-04-03 10:08:20 +02:00
Stefan fd964337a8 Remove relative imports and unused variable from transaction/service.nim 2024-04-03 10:08:20 +02:00
Stefan a2e8b6ebd7 fix(wallet) start a session in case of tmp activity models
Closes: #14250
2024-04-03 07:55:22 +02:00
Dario Gabriel Lipicar cd3a1180b0 fix(@desktop/wallet): properly handle collectible groups in send modal
Fixes #14080
2024-04-02 12:55:08 -03:00
Andrey Bocharnikov accd4da214
fix(Permissions): tokenOwner is present in the list of collectibles when adding a permission (#14236)
fixes #13561
2024-04-02 14:38:08 +04:00
Lukáš Tinkl b191caaec6 feat: Add missing eligible to join tag in CommunityMembershipSetupDialog
- implement the eligibility check in C++, returning the highest possible
role the user would be allowed to join under
- enable/disable the "Share" button based on the above permissions check
- remove all the locally placed components, access teh popup only via
Global/Popups
- calculate the `accessType` internally based on the permissions present
- update the eligibility as the async check for permissions is finished
- fix the permissions panel background color
- partially revert the share/finish/cancel buttons behavior; it must be
one button due to StatusStackModal limitations
- fix some other minor UI issues or differences to current Figma designs
- adjust SB, add the possibility to play around with different
permission models

Fixes #14100
2024-03-29 16:11:59 +01:00
Lukáš Tinkl 255f318627 fix: consider TM when evaluating permissions to join
seems like this check had gone missing
2024-03-29 16:11:59 +01:00
Mikhail Rogachev 839f2c6b21
Feat: New showcase models for a contact (#13998)
* Feat: New showcase models for a contact

* feat(ProfileShowcase): Integrate the new profile showcase backend

* fix(Storybook): Fix ProfileShowcaseModelsPage

* fix: fetch only requested profile showcase data

Support PR for https://github.com/status-im/status-go/pull/4982

* feat: Load and validate profile showcase for a contact in two steps

* fix: fetching criteria for profile showcase collectibles

* fix: review fixes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-03-29 12:43:49 +01:00
Khushboo Mehta c710f0e809 fix(@desktop/wallet): Remove profile section's networks submodule and udpate logic for combined networks 2024-03-28 17:08:49 +01:00
Mykhailo Prakhov 7804d4ca39 fix: set correct permision UI 2024-03-28 10:59:40 -04:00
Dario Gabriel Lipicar b5f2a11bc8 fix(@wallet): prevent collectibles error due to irrelevant chain state 2024-03-28 10:10:44 -03:00
Sale Djenic 7047ecf2b6 chore: move logic for resolving suggested derivation path to status-go
Closes #14188
2024-03-28 12:48:26 +01:00
Khushboo Mehta 5473e3b14e chore(@desktop/wallet): Simplify the wallet networks service
fixes #12717
2024-03-28 11:47:33 +01:00
Sale Djenic d9945b39dc fix(wallet): displaying L1 gas cost in UI
Fixes #13892
2024-03-28 10:36:09 +01:00
Sale Djenic 9b8401b641 fix(communities): keycard authentication marked automatically as authenticated
Closes #14174
2024-03-28 07:38:42 +01:00
Sale Djenic cbf0fd3d71 fix(general): when biometric is setup the authentication flow is not correct showing the password one instead
Closes #14173
2024-03-28 07:38:15 +01:00
Stefan b1f8c8efa2 fix(wallet) serializing type for collectibles settings to backend
It seems `%*` operator we use in the `rpc` generics doesn't use the
`serializedFieldName` marker and `type` was serialized as `itemType`
and value the enum name instead of `type` and integer value

Updates: #13971
2024-03-27 20:26:15 +01:00
Stefan 26542970ee feat(wallet) save/load collectibles user handled state in DB
Add a separation layer for save/load/clear to ManageTokensModel
so that we can save/load from external sources.
The separate layer is composed of JSON as protocol, a set of signals
and slots for interface. The implementation forwards data to current
QSettings for storybook and nim controllers for the app.

Updates #13313, #13312
2024-03-27 20:26:15 +01:00
Khushboo Mehta f45a39bfcf feat(@desktop/wallet): Link out from collectible details view to opensea
fixes #13918
2024-03-27 17:47:06 +01:00
Cuteivist fae7e82e0a
fix(@wallet): Copy viewed account details (#14161) 2024-03-26 16:49:12 +01:00
Jonathan Rainville e937dfb56c fix(main): set personnal chat as active if last active was profile
Fixes #14111
2024-03-26 11:03:27 -04:00
Andrey Bocharnikov c53e4aeb92
(Chat): Display system messages about adding/removing members immediately after an update is performed (#14146)
* (Chat): Display system add/remove messages immediately after update

fixes #9876

* (Chat): Display system "pinned" message immediately after update

fixes #10702

* fix issues from the PR
2024-03-26 18:13:22 +04:00
Stefan a066cbeecb chore(wallet) remove unused code 2024-03-26 11:24:08 +01:00
Stefan fb530a099a fix(wallet) counterparty loading forever in activity history
Closes: #14067
2024-03-26 11:24:08 +01:00
Cuteivist 1deb5e86e5
fix(wallet): Add token data when new token is added (#14061) 2024-03-25 18:31:01 +01:00
Sale Djenic 10a8469b9e fix(communities): deltas between designs and build for join token gated community flow
This commit:
- improves selection of addresses to reveal
- keeps the selection state for the popup lifetime
- brings higher granularity in terms of signed requests by keypairs
- meets new requirements from the latest related Figma
- merges edit shared addresses feature and request to join community features
into a single component, cause the flow is logically the same, with the only
difference that when editing revealed addresses we don't show the community
intro screen

Fixes at least points 3 and 4 from #13988
2024-03-25 14:16:32 +01:00
Lukáš Tinkl 9ef513b419 fix(TokenManagement): Asset balance threshold value not reflected in main wallet view
- take the balance threshold value into account when presenting the
assets in the main wallet view
- additional fix from Emil for storing the threshold value
- storybook fixes to display the correct `currentCurrencyBalance` values
based on the address/wallet filters and mocking the threshold values
using TransactionStore

Fixes: #14017
2024-03-23 11:37:37 +01:00
Jonathan Rainville e71d749ef2
fix(category): fix missing category when empty (#14086)
Fixes https://github.com/status-im/status-desktop/issues/14059
2024-03-22 12:55:40 -04:00
Godfrain Jacques af6dd257cc
(fix/desktop) fix sporadic empty community token hodler list (#14057)
This PR fixes #13650

- Reduces the timer for fetching the token hodlers to refresh cashe
- Check for temporary contract address before making requests
2024-03-21 16:49:34 -07:00
Mykhailo Prakhov 201a5bfdfc
fix: draw community select bubble after community create (#14108) 2024-03-21 22:02:46 +01:00
Jonathan Rainville 2b219627a5
fix(category): fix muted category and received messages (#14082) (#14087)
Fixes #14079
2024-03-21 13:51:01 -04:00
Mykhailo Prakhov 398a92b12e
fix: open activity center mentions messages (#14075) 2024-03-21 15:52:45 +01:00
Igor Sirotin a2af01bcda
chore: force some warnings as errors (#14068) 2024-03-20 20:08:43 +00:00
Jonathan Rainville 19c283be8b
fix: fix warning and inconsistencies with spectating (#14041)
Kinda fixes #13957
2024-03-20 13:58:46 -04:00
Mykhailo Prakhov a586c6d352
feat(desktop/communities): View community member messages functionality (#14002)
* feat(desktop/communities): View member messages functionality
2024-03-20 11:50:10 +01:00
Igor Sirotin 5ba0ad8ef4
fix: allow scrolling to ContactRequest message (#14045) 2024-03-19 22:17:00 +00:00
Igor Sirotin de4c20ea4f
upgrade Nim-build-system (#13979)
* chore: upgrade nimbus-build-system

* test UnusedImport warningAsError
2024-03-19 13:58:02 -04:00
Mykhailo Prakhov f3d2d0a809
feat(@desktop/community): add new CommunityMemberState - CommunityMemberBanWithAllMessagesDelete (#14028) 2024-03-19 16:17:02 +01:00
Andrey Bocharnikov 8e0f5f9487
fix(chat_section): fix changing active chat on leaving another group chat (#14020)
* fix(chat_section): fix changing active chat on leaving another group chat

Fixes #9147
2024-03-19 12:58:14 +04:00
Michał Iskierko 9ed38bddb7
13291 hide channels (#13876)
* feat(@desktop/communities): Hide channels if the user is not permitted to view and hideIfPermissionsNotMet is set

Extend chats model with channel permissions info and hideIfPermissionsNotMet.
Visibility of chat item is based on: member roles, channel permissions, hideIfPermissionsNotMet.
If all channels from category are hidden, category item is also hidden.
If all chats in community are hidden, infomration label is displayed.

Issue #13291

* chore(@desktop): Upgrade status-go

Issue #13291
2024-03-18 13:33:07 -04:00
Michal Iskierko 958274259f fix(@desktop/permissions): Fix multiple tokens on tokens list
Fix #13993
2024-03-18 16:08:07 +01:00
Michal Iskierko ce4996075c fix(@desktop/communities): Fix joining community
Unexpected exception broke handleCommunityUpdates

Fix #13958
2024-03-18 14:13:57 +01:00
MishkaRogachev b37f0f0fd8 feat: emit signals on saving profile identity 2024-03-15 10:22:55 +01:00
MishkaRogachev 8a5164db68 feat: emit signals on saving profile showcase preferences
Close #13968
2024-03-15 10:22:55 +01:00
Igor Sirotin 2f7572a3f4
chore: remove unused imports (#13961) 2024-03-13 21:55:15 +00:00
Jonathan Rainville 634591b69f
feat: hook reactions in read only channel and fix issues (#13913)
* feat: hook reactions in read only channel and fix issues

Fixes #13523

* fix crash and missing emoji popup on group chats

* code review fixes
2024-03-13 15:13:41 -04:00
Jacek Sieka fc16b81caf
chore(nim): use compile-time string formatting (#13945)
Nim 2.2 comes with compile-time string formatting that doesn't raise
exceptions if the format string is invalid - instead a compile-time
error is given.

This PR introduces a backport of that feature which improves performance
and reduces the risk that formatting causes the app to crash and will
help migrating the codebase to newer nim versions that track exceptions
more carefully.

There should be no change in runtime behavior (except formatting being a
bit faster)
2024-03-13 18:38:54 +01:00
Noelia 66c51ed777 feat(ProfileShowcase): Add network prefixes and filter watch only accounts
- Added network prefixes in profile showcase accounts delegate and included them in the searcher.
- Added filter to just display own accounts in profile showcase accounts tab.

Closes #13899
2024-03-13 14:37:03 +01:00
Cuteivist 8f2d023702
chore(wallet): Fix crash on changing networks (#13952) 2024-03-13 14:19:03 +01:00
Michal Iskierko 86907b170c feat(@desktop/communities): handling bridge message replies
Issue #13258
2024-03-13 13:39:28 +01:00
Michal Iskierko 211801afd3 fix(@desktop/tokens): Compute deployment fees dynamically
Issue #13646
2024-03-13 12:36:12 +01:00
Khushboo Mehta 2f0343f0e9 feat(@desktop/wallet): Main Collectible Detail View enhancements
fixes #13804
2024-03-13 11:46:49 +01:00
Mikhail Rogachev 611d70a3b2
feat: Save profile identity in one json (#13937) 2024-03-13 10:46:40 +01:00
Jacek Sieka 427297068d
chore: clean up exception specifiers (#13735)
Annotating functions explicitly with `{.raises: [Exception].}` prevents
Nim from performing compile-time exception checking and is almost never
desired - it does have a tendency to spread through the codebase
however, similar to sub-par const correctness in C++.

The reason these annotations might have seemed necessary can be traced
to missing exception specifiers in the go imports bumped in this PR.

See
https://status-im.github.io/nim-style-guide/interop.c.html#functions-and-types
for background on Nim-go interop and
https://status-im.github.io/nim-style-guide/errors.exceptions.html for
more information on how exception tracking can be leveraged to find
missing error handling at compile-time.

This change has no runtime effect - it merely makes compile-time error
messages more informative or avoids them entirely.
2024-03-12 16:20:02 +01:00
Igor Sirotin a6f5f0bc94
fix: prevent forever chat loading animation (#13929)
* prevent animation if loading not started

* prevent scrolling to verification/contact request messages

* fix ac click behaviour

* remove CURSOR_VALUE_IGNORE. cleanup logs
2024-03-12 14:24:55 +00:00
Alex Jbanca e7a1f5e831 feat(ProfileShowcase): Sync dirty state with the source model
Whenever the source model becomes identical to the showcase dirty model, the dirty flag is removed
2024-03-11 20:58:55 +02:00
Igor Sirotin 67b81e1953
chore: clean up build log (#13928)
* chore: clean up build log

* more cleanup

* typo fix
2024-03-11 17:08:09 +00:00
Michal Iskierko 5bfa1724c8 fix(@desktop/permissions): Fix displaying tokens in permissions
Fix #13773
2024-03-11 15:03:24 +01:00
Andrey Bocharnikov 832ed03ea3
fix(chat_section_module): Fix propagation of "muted" status in chat header (when handling chat_content details update) (#13904)
#13559
2024-03-11 17:02:00 +04:00
Dario Gabriel Lipicar af84d788ff feat(@desktop/wallet): display balance in collectibles view
Closes #12940
2024-03-11 09:10:01 -03:00
Anthony Laibe b37b46414d fix(@wallet): buy ens from sepolia 2024-03-11 12:03:43 +01:00
Stefan 9202cce3f5 feat(activity): add incremental updates to current activity filter
Switch the activity filter to use the new session-based API that
deliver incremental updates to the current filter.

Drop the old quick win listening for individual change events and
use the unified API instead.

The new transactions (on-top) trigger the old "new transactions" buttons
that trigger reset of the current filter and the top new transacitons
highlighted.

Highlight mixed changes (not new on top) as they come in

Highlight new changes on filter reset

Closes #12120
2024-03-11 11:39:59 +01:00
Mikhail Rogachev 74dfd181c3
feat: Add new simplified model for profile showcase preferences (#13708)
* feat: Add new simplified model for profile showcase preferences

Close #13688

* feat: Add new api for saving profile showcase preferences

* feat(ProfileShowase): Save action with the new backend

- Created JSON file according to new backend structure when saving.
- Updated `dirty state` to sync writable and movable models when position is changed to have a better internal models sync.
- Reenabled identity fields save.

Closes #13799

* feat(ProfileShowcase): Showcase limit values integration with backend

Updated showcase limits with values coming from backend.

---------

Co-authored-by: Noelia <noelia@status.im>
2024-03-08 21:11:48 +01:00
Lukáš Tinkl 29c61d8135 fix: Hide fleet selection from settings
- introduce `ENABLE_FLEET_SELECTION` desktop config entry to control the
Fleet selection UI availability
- UI can be enabled with envvar `STATUS_RUNTIME_ENABLE_FLEET_SELECTION=1`

Fixes #13848
2024-03-08 13:29:28 +01:00
Mykhailo Prakhov 49f7accbc2 chore: send emphemeral notification from QML side 2024-03-07 11:56:21 -05:00
Mykhailo Prakhov 9b8c6aa673 feat: ban/unban/kick system and ephemeral notifications 2024-03-07 11:56:21 -05:00
Michal Iskierko 33c3fcf582 fix(@desktop/chat): Fix referencing message nil pointer
Fix #13812
2024-03-07 09:50:17 -05:00
Cuteivist 3188250b1d
feat(wallet): Add asset sorting by 1 day fiat change (#13826) 2024-03-07 14:47:17 +01:00
Sale Djenic ccd5a416ce fix(wallet): erc20 transfer with multiple path
Fixes: #13759
2024-03-06 14:06:51 +01:00
Khushboo Mehta 3118931ab8 fest(@desktop/wallet): Update Desktop UI to correctly call the router and send
fixes #13797
2024-03-06 12:31:16 +01:00
Jonathan Rainville 5b8f37cba2 fix(community_tokens): ignore wallet events from watch only accounts
Fixes #13407
2024-03-05 13:28:03 -05:00
Lukáš Tinkl b623c8fb2b fix(chat input): should be disabled if user is not able to post
- extend `isUserAllowedToSendMessage` to also cover
`Constants.chatType.communityChat`
- let `admin` always satisfy the permissions
- hide the add emoji/reaction button instead of disabling it when the
permissions are not met
- adjust the error msg to better reflect the reality (tokens vs.
permissions)

Fixes #13777
2024-03-05 18:13:29 +01:00
Dario Gabriel Lipicar 96d9acf1f0 feat(@desktop/wallet): implement jump to activity details screen from collectible details activity tab
Fixes #13721
2024-03-05 07:41:20 -03:00
Sale Djenic cbfbce3f62 fix(wallet): naming of first and subsequent wallet accounts
Closes #12693
2024-03-04 13:31:25 +01:00
Noelia babedf4272 feat(ProfileShowcase) Web tab visual updates according to new design
- Updated `AddSocialLinkModal` according to new design.
- Modified main social links items according to new design.
- Updated edit modal according to new design.
- Some text validation updates.

Closes #13511
2024-03-04 10:54:12 +01:00
Ivan Belyakov 7cda470089 fix(wallet): fix colors for network prefixes
Updates #13762
2024-03-04 08:59:58 +01:00
Mikhail Rogachev 0455832f92
feat: Add `scanCommunitiesMembersForName` endpoint (#13789)
Close #13434
2024-03-01 22:12:19 +03:00
Khushboo Mehta 8b46810531 fix(@desktop/wallet): Syncing: Difference in decimal places in wallet between synced devices
fixes #13574
2024-03-01 10:44:25 +01:00
Godfrain Jacques 0fab8e3070
(fix/biometrics) Fix biometric authentication (#13793)
fixes #13051 User blocked in model when using biometrics to share
address when joining a community
2024-02-29 21:19:30 -08:00
Jonathan Rainville c9fd4ebcee feat(communities): hook promoteSelfToControlNode to UI
Fixes https://github.com/status-im/status-desktop/issues/13560
2024-02-29 12:29:39 -05:00
Mikhail Rogachev f934615752
feat: Add api for getting full pending CR object (#13749) 2024-02-29 12:49:37 +03:00
Ivan Belyakov 9faa5a5a3a fix(wallet): use default wallet config for login to avoid duplication 2024-02-29 07:52:16 +01:00
Jonathan Rainville ed6c2d9c46 fix(permissions): TMs can also bypass permission to join
Fixes #13644

reverted better
2024-02-28 13:58:42 -05:00
Dario Gabriel Lipicar 10c44b8038 feat(@desktop/wallet): implement collectible details activity tab
Fixes #12311
2024-02-28 13:07:48 -03:00
Mikhail Rogachev 6ac2f92200
feat: add `markAsTrusted` endpoint (#13751)
Close #13716
2024-02-28 16:50:40 +03:00
Mykhailo Prakhov eb50a424e4
fix: pending ban/unban state display (#13752) 2024-02-28 14:43:20 +01:00
Michal Iskierko 3b5d55090d fix(@desktop/permissions): Handle correct values in permissions
Add new field AmountInWeis to token criteria dto.
Keep strings instead of floats in token_criteria_item.
HoldingSelectionModel keeps amount in wei-like units but they are displayed in permissions as floats (divided by decimals).

Issue #11588
2024-02-27 19:33:27 +01:00
Mykhailo Prakhov 996199b910
feat(desktop@communities): change kicked/banned member behavior (#13706)
feat: change kicked/banned member behavior
2024-02-27 12:55:56 +01:00
Anthony Laibe 0927955154 chore: remove pokt goerli 2024-02-27 12:50:37 +01:00
Ivan Belyakov be218c22cd feat(wallet): Send modal community tokens always grouped and listview sections changed
Closes #13430
2024-02-26 17:21:52 +01:00
Dario Gabriel Lipicar d22ac0dfed fix(@desktop/wallet): properly handle tokenID 0 when filtering activity by collectibles
Fixes #13660
2024-02-26 07:55:05 -03:00
Noelia 3386ce74e7 feat(ProfileShowcase): Created first info popup
- Created `ProfileShowcaseInfoPopup` component.
- Added storybook support for the new popup component.
- Added new popup into the application flow.
- New property stored in local account settings file.

Closes #13338
2024-02-26 10:08:52 +01:00
Khushboo Mehta 085bf762a5 feat(@desktop/wallet): Update token details view
closes #12373
2024-02-23 13:03:28 +01:00
Anthony Laibe aed61b68b1 feat(@wallet): sepolia default 2024-02-23 11:52:40 +01:00
Igor Sirotin 28d8145136
fix: use `fleetFromString` function to prevent panic for unknown values (#13699) 2024-02-23 10:14:42 +00:00
Godfrain Jacques 7313e224ae
(desktop/fix) Fix missing crown after ownership transfer (#13587)
This PR solves the missing crown problem after an ownership transfer

fixes #13218 https://github.com/status-im/status-desktop/issues/13218
2024-02-23 01:09:33 -08:00
Michal Iskierko 4031778c7c fix(@desktop/permissions): Use correct chains when creating permissions: testnet or mainnet
Fix #18896
2024-02-22 10:53:44 -05:00
Jonathan Rainville d6e13d709f fix(async_tasks): add try catch to getChannelGroups async task
Kind of fixes #13640

The issue itself was no reproducible even after dozens of restarts and following of the repro steps.
It seems like this was an unfortunate DB close event that caused the app to close.

Adding a try catch won't actually fix that, since the DB is closed and also the `communtiies`already had a try/catch, but it will help for later.
2024-02-22 10:09:02 -05:00
Cuteivist fae86bcb8d
feat(@wallet): Show community activity (#13627) 2024-02-22 15:41:19 +01:00
Cuteivist 3126973cfc
feat(activity): Add navigation to tx details (#13634) 2024-02-22 15:41:13 +01:00
Mykhailo Prakhov 12569d795f
feat(@desktop/community): allow owner delete all messages during the ban and ban/unban AC notifications (#13653) 2024-02-22 12:01:01 +01:00
Sale Djenic a3923461e8 fix(savedaddresses): saved addresses should be displayed in mixed cases format
Fixes #13665
2024-02-22 10:05:26 +01:00
Godfrain Jacques f236782490
(feat/desktop) Add toggle for mainnet transaction validation with nimbus (#13227)
- Adds the View for the toogle button
2024-02-20 11:07:22 -08:00
Cuteivist 7dedb223a2
feat(@desktop/activity): Handle token received notification (#13447) 2024-02-19 14:58:20 +01:00
Dario Gabriel Lipicar 28101f354a fix(@desktop/Wallet): Fix ERC721 sending 2024-02-19 10:35:10 -03:00
Cuteivist 2e6af7aa51
feat(@desktop/settings): Integrate token advanced settings with backend (#13487) 2024-02-19 13:09:07 +01:00
Dario Gabriel Lipicar 48f8fb3e55 feat(@wallet): update collectibles model only with changes
Fixes #13254
2024-02-16 15:40:40 -03:00
Alex Jbanca e805dd0b9c fix: Multiple permission update toasts are spawned
The permissions updates are done twice. Once when the permission update is called to the backend and the second time when the event for the new community description is received.
The permissions are not updated anymore when the backend rpc is called. The update happens only when the community description signal is received
2024-02-16 13:25:21 +02:00
Patryk Osmaczko a2b8c3d35c fix(communities): evaluate chatIDs changes in token permissions 2024-02-16 10:35:42 +01:00
Patryk Osmaczko b99db4193e fix(communities): propagate collectibles model for all communities
fixes part of: #13385
2024-02-16 10:35:42 +01:00
Patryk Osmaczko d6ed85c67f fix(communities): ensure permissions are rebuilt upon joining
fixes: #13385
2024-02-16 10:35:42 +01:00
Dario Gabriel Lipicar 1860aa8240 fix(wallet): implement sort collectibles by date
Fixes #13550
2024-02-15 14:09:04 -03:00
Jacek Sieka 1315911587 maintenance bumps
Maintenance bumps of several dependencies - broadly address security
issues, 1.6+ compatibility, bugfixes etc to catch up with Nimbus'
development

The extra try/catch is due to increased exception safety requirements in
`chronicles`, where `fmt` allows dynamic format strings and therefore
may raise `ValueError` in theory.
2024-02-15 11:28:34 -05:00
Mikhail Rogachev 6d9be9b49d
fix(Profile): fix requesting empty profile showcase (#13564) 2024-02-15 14:28:20 +03:00
Anthony Laibe 40e00c0602 fix(@wallet): Sepolia toggle 2024-02-15 11:53:22 +01:00
Sale Djenic dbd7937d8b feat(savedaddresses): add save receiver address to the context menu in tx details view
This commit handles saved addresses changes and reflect them to the history view
and tx details view. In this context it handles the same way changes coming from sync
devices.

Also fix the issue when switching network mode.

Closes: #13095
2024-02-15 10:07:48 +01:00
Sale Djenic 3e3452c8db fix(savedaddresses): saved addresses are not in sync between devices
Closes: #9567
2024-02-14 12:19:34 +01:00
Khushboo Mehta d970e7c3f2 fix(@desktop/wallet): Fix issues in adding minted collectible as permision in a community 2024-02-13 16:45:48 +01:00
Michal Iskierko 46c69cf0a8 fix(@desktop/permissions): Hide permissions list in sharing addresses dialog if only base permissions are set
Fix #12884
2024-02-13 12:09:26 +01:00
Jonathan Rainville d41affabb9 fix(discord_import): fix community not cleaned up when it fails
Fixes #12724

The actual issue wasn't reproducible, even if I removed the guards against duplicate names.
But I did find that the community wasn't cleaned up correctly, so I fixed it in this PR. It should limit the confusion and possible issues that could arise.
2024-02-12 16:43:16 -05:00
Mikhail Rogachev a463c335ae
feat(Profile): add hiddenCount property for profile showcase models (#13491) 2024-02-12 17:27:15 +03:00
Khushboo Mehta 8c939ad3a3 fix(@desktop/wallet): Replace existing model used in Community / Permissions and do the needed cleanups
fixes #12513
2024-02-12 14:26:13 +01:00
Alexandra Betouni 480985ca4e
[Settings]: Added change password view (#13284)
* [Settings]: Added change password view

Closes #10037

Adding configuration options to PasswordView

* feat(ChangePassword): Integrate ConfirmChangePasswordModal

1. Integrate with backend
2. Clean unused components

* feat: Add support to restart application

1. Adding restart app support in DOtherSide
2. Integrating nimqml
3. Expose in qml in Utils

* chore: Move changeDatabasePassword call to threadpool

* chore(squish): Fix failing tests due to settings index changes

---------

Co-authored-by: Alex Jbanca <alexjb@status.im>
2024-02-09 13:31:37 +02:00
Ivan Belyakov 1ac52f5d38 feat: Add RPC statistics screen to settings' advanced view
Closes #13264
2024-02-08 17:10:53 +01:00
Dario Gabriel Lipicar 8b7efa3122 feat(wallet): simplify loading items mechanism for collectibles model
Fixes #11802
2024-02-08 11:08:21 -03:00
Khushboo Mehta 3865c68737 fix(@desktop/wallet): fixing crash on switching testnet model from on to off 2024-02-08 11:26:50 +01:00
Roman Volosovskyi 3d1c98717a
Replace getWalletTokenBalances with fetchOrGetCachedWalletBalances (#13403) 2024-02-07 11:18:59 +01:00
Jonathan Rainville 7b302c07ef feat(chat): preserve 1-1 chat history when closing it + rename copy
Fixes #12754
2024-02-06 12:30:57 -05:00
Anton Iakimov a5b87314f7
chore: go-waku fleets cleanup 2024-02-06 12:39:05 +01:00