Commit Graph

9939 Commits

Author SHA1 Message Date
Lukáš Tinkl 5d064368cf chore(ui): visually align different combo box instances
- extract common background and indicator subcomponents into
StatusQ.Components.private, and reuse it

Fixes #14121
2024-04-11 21:48:16 +02:00
Lukáš Tinkl e363dd1109 fix(SortOrderComboBox): do not display icons or bold(er) font in delegates
- cleanup indentation (older QtC versions don't like the nullish
coalescing operator `??`)
- fixup SB pages
2024-04-11 21:48:16 +02:00
Lukáš Tinkl 14138d5ff5 fix(NetworkFilter): display correct cursor
- since we override the `control.background` from `StatusComboBox`, need
to specify the `cursorShape` again
2024-04-11 21:48:16 +02:00
Lukáš Tinkl fb2d1ad0f0 fix(NetworkFilter): fixup allSelected/noneSelected
- there's no `len` property in `SFPM`; fixes correctly displaying "All
networks" when all are selected
2024-04-11 21:48:16 +02:00
Lukáš Tinkl 3e051fd79c chore(ModelUtils): small optimization for `get`
- do not call `roleByName` twice
2024-04-11 21:48:16 +02:00
Jakub Sokołowski efd831eb08
feat(ci): add Nix 2.19.3 for status-go builds (#14398)
Otherwise it fails with:
```
performing a single-user installation of Nix...
directory /nix does not exist; creating it by running 'mkdir -m 0755 /nix && chown jenkins /nix' using sudo
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
/tmp/nix-binary-tarball-unpack.roliyEDk9X/unpack/nix-2.19.3-x86_64-linux/install: please manually run 'mkdir -m 0755 /nix && chown jenkins /nix' as root to create /nix
```
Related to:
https://github.com/status-im/status-go/pull/4388

Signed-off-by: Alexis Pentori <alexis@status.im>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-11 17:14:47 +03: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
Valentina Novgorodtceva 0d8db92300 test: test_wallet_send_nft added 2024-04-11 11:43:30 +03: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
Valentina Novgorodtceva 3b5f0d792a chore: fixed community admin kik member and also changed timeouts in several places 2024-04-10 13:55:14 +03:00
Anthony Laibe da7f419f57 fix: repeat tx open the send modal
fixes #14357
2024-04-10 10:31:58 +02:00
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