Commit Graph

9928 Commits

Author SHA1 Message Date
Anastasiya Semenkevich 5f7ac07157 test: enable back account reordering 2024-04-10 10:07:36 +03: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
Lukáš Tinkl b84c1f20df fix[Shared Addresses] Can't edit shared address while the join request is pending
- disallow changing the Shared addresses while our request to join
community is still pending

Fixes #14292
2024-04-09 13:11:39 +02:00
Lukáš Tinkl 50c2d33f64 chore(CommunityColumnView): fix typo 2024-04-09 13:11:39 +02:00
Anastasiya Semenkevich 721eabeab1 chore: bump status-go in master 2024-04-09 13:28:50 +03:00
Sale Djenic d4fa715c7e fix(wallet): changes in account order in settings are not applied in wallet
Fixed an issue with dropping a draggable item outside the bounds of the DropArea.

Fixes #13836
2024-04-09 11:27:15 +02:00
Anastasiya Semenkevich 16b2976da4 chore: create, update and delete all permissions at 1 go 2024-04-09 12:20:17 +03:00
Anastasiya Semenkevich c0ea22ede0 chore: introduce new mark 2024-04-09 12:20:17 +03:00
Valentina Novgorodtceva 531abf4cb5 chore: fix for 1-1 chat test 2024-04-09 11:10:55 +03:00
Valentina Novgorodtceva a78381bf9e chore: refactored method of getting chat names 2024-04-09 11:10:55 +03:00
Valentina Novgorodtceva 70d82ee124 chore: fix for permissions test 2024-04-09 11:10:55 +03: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
Valentina Novgorodtceva 956f86fced test: admin can kick a member and delete message 2024-04-09 10:07:56 +03:00
Anastasiya Semenkevich 25906ffa34 chore(@ui/app/AppLayouts/Communities/popups/InDropdown): add object name 2024-04-09 09:50:44 +03: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
Anastasiya Semenkevich 9de9f2b6e8 test: fix send asset test and enable other tests 2024-04-08 10:03:18 +03:00
Michal Iskierko 9b162276fd chore(desktop): upgrade status-go
Issue #14044
2024-04-08 08:01:37 +02: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 28f09eeb82 chore(@desktop): upgrade status-go
Issue #14307
2024-04-07 21:46:02 +02:00
Michal Iskierko 5f2193b2c5 fix(@desktop/communitytokens): fix converting json to dto
Fix #14307
2024-04-07 21:46:02 +02:00
Stefan ff79646dd3 fix(wallet): activity duplicate in case of non-native transfer
Bumps status-go to include the fix

Closes: #14071
2024-04-05 20:18:15 +02:00
Stefan 1d0643e926 tests(integration) add integration test to debug MTID transfer
Updates #14071
2024-04-05 20:18:15 +02:00
Anastasiya Semenkevich a8a943bec9 chore: add object name for TokenBalancePerChainDelegate 2024-04-05 16:39:49 +03:00
Valentina Novgorodtceva 970c650576 chore: user data removed and pin unpin test fixed 2024-04-05 16:26:00 +03:00
Valentina Novgorodtceva 14b80d4bb7 chore: fixed not working asserts, added waitFor for changed group name 2024-04-05 16:26:00 +03:00
Michał Cieślak a83f1114e2 chore(Communities/InDropdown): performance improved
- removed multiple filtering separately for each category
- no instantiation of all delegates up front (regular ListView approach
  used)
- fixed category selection when filtering - selecting/deselecting only
  items fulfilling search criteria
- significant simplification of the code

Closes: #14275
2024-04-05 14:58:06 +02:00
Michał Cieślak 0b47e6ff8a feat(StatusQ/LeftJoinModel): Add init check on componentComplete
Earier attempts to initialize proxy may fail bc left/right models
may be not ready when they are set. It may lead to a situation where
the model remains uninitialized and reporint 0 row count.
2024-04-05 14:58:06 +02:00
Michał Cieślak 0c34325841 feat(StatusQ/LeftJoinModel): Add possibility to explicitly define roles to be joined
The new property is added to allow indicating which roles from the right
model should be used. It prevents from unnecessary renamings.

Closes: #14298
2024-04-05 14:58:06 +02:00
Alexandra Betouni 53db09412a feat(ProfileShowcasePopup): Adding interactions in delegates
Closes #13702
2024-04-05 12:31:11 +03:00
Anastasiya Semenkevich 3cf0bfdec8 chore: fix data type in public key assertion 2024-04-05 11:46:19 +03:00
Anastasiya Semenkevich d5b857da69 chore: remove attempts to connect to non-existing context and remove useless cycles 2024-04-05 11:02:55 +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 3a4ebd52fc chore(status-go): up status-go to get RAM fix 2024-04-04 12:14:39 -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
Stefan 6762630e51 fix(SendModal): fix not showing tokens in the holding selector
The previous attempt to control the order of delegate intantiation
and avoid qml warnings didn't work for this case (Loader with injected
properties). Therefore, I reverted to the last working version.
2024-04-04 17:25:30 +02:00
Anastasiya Semenkevich bf8a86d4af chore: bump status-go in master 2024-04-04 18:10:14 +03:00
Lukáš Tinkl 375de59cfa chore(SharedAddressesPermissionsPanel): optimize the speed
- don't use the expensive `ExpressionFoo` in SFPM, just use
`AnyOf/AllOf` combinations where possible
- in HoldingsSelectionModel, don't call the `getTokenByKey` twice to
construct the `text`, once is enough
- lastly, rewrite the JS helper `PermissionsHelpers.getTokenByKey` to
C++; this method gets called recursively way too often from many places

In the longterm, we should provide a specific C++ transformation model
for SharedAddressesPermissionsPanel to follow the UI requirements more
closely; that way we'd be able to fix the issues here for good

Fixes #14276
2024-04-04 16:59:26 +02:00
Lukáš Tinkl 795718b39f chore: fix double permissionsModel preparation
we already build it anyway in the Popups.qml when opening the community
intro dialog in all the flows
2024-04-04 16:59:26 +02:00
Mikhail Rogachev 6883db3b58
Fix: fix compilation warning (#14273) 2024-04-04 16:42:37 +02:00
Anastasiya Semenkevich 50cb471e3c test: check member role permission limit added 2024-04-04 14:05:48 +03:00
Igor Sirotin 8d6454367a
fix: permissions with value>1000 (#14249) 2024-04-04 09:45:25 +01: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
Khushboo Mehta 2d20a2e1b7 feat(@desktop/wallet): Collectible Details balance tag
fixes #13809
2024-04-03 20:37:45 +02:00
Stefan 21b884e5ed fix(wallet) fix erc721 transfer router
Bump status-go to fix collectible transfer router

Closes #14212
2024-04-03 16:23:32 +02:00
Stefan 7e146d662d test(wallet) add dev integration tests for ERC1155 route estimator
Used for debugging ERC1155 route estimation issues

Updates: #14212
2024-04-03 16:23:32 +02:00
Stefan ad0a7d3ba4 test(wallet) add dev integration tests for ERC721 route estimator
Used for debugging ERC721 route estimation issues

Updates: #14212
2024-04-03 16:23:32 +02:00