Commit Graph

2139 Commits

Author SHA1 Message Date
Alex Jbanca 03d80ea9fc fix(LinksMessageView): Remove HEAD validation for image urls 2023-02-14 08:55:24 +02:00
Alex Jbanca f9f860a215 fix(LinksMessageView): Refactor LinksMessageView to remove business logic from qml
LinksMessageView component will receive the urls from nim as string and it will only forward the string to getLinkPreviewData slot implemented in nim together with some settings (supported img extensions and unfurling preferences)
On nim side the urls will be parsed and validated using the settings received from qml.
Images are now validated before sending them to the UI using the HEAD request.
2023-02-14 08:55:24 +02:00
Michal Iskierko b6f5c558a9 feat(@desktop:communities): Minting functionality with dummy data
Add Community Tokens testing UI with minting button, enabled by a Advanced Settings toggle.
Add minting module,view and needed models.
Add community_tokens service to call collectibles smart contract functions.

Issue #8921
2023-02-13 13:42:29 +01:00
Sale Djenic a12e599be2 feat(@desktop/wallet): adding wallet derivation path updates
Check box added to warn user if they want to add a path out of the
default Status' wallet derivation path. In case they do that, they are
not able to migrate such keypair to a Keycard.

Closes: #9118
2023-02-13 10:41:53 +01:00
Anthony Laibe a5194e094f feat(@wallet): move query async 2023-02-10 13:00:47 +01:00
Stefan 505f6d59bf fix(wallet) SendModal layout
StatusScrollView was missing a height hint so even that it was expanding
the parent layout didn't know how much to allow it.
2023-02-10 10:15:53 +01:00
Pascal Precht 182a189818 fix(community): ensure chats are reordered when cateories have changed
We were not reordering chats when their category IDs have changed,
this resulted in missing updates in community member's UIs

Closes #9329
2023-02-09 15:57:27 -05:00
Khushboo Mehta 2004adafba fix(@deaktop/wallet): Fix transfer function amount
fixes #8813
2023-02-09 15:40:52 +01:00
Lukáš Tinkl 4cefd4af2a fix: unbreak chat categories height and highlight
- fix chat category/section height not being (re)set to 0 properly and
  hidden
- restore the chat category header highlighting when it contains new
  messages/mentions after the new flattened chat model refactoring

Fixes #9493
2023-02-09 12:02:35 +01:00
Jonathan Rainville f8ecd9dbce refactor(chat): make getChats async to speed up start time
Fixes #9340
2023-02-08 16:18:44 -05:00
Anthony Laibe 8ba10ce6b0 fix(@wallet): display network short name for collectible
fixes #8850
2023-02-08 09:26:59 +01:00
Anthony Laibe 36f562243c fix(@wallet): add data field in tx event 2023-02-08 09:23:34 +01:00
Anthony Laibe bc353a1ccc chores(@wallet): remove revert reason
It is never being used + couldn't get it from our node
2023-02-07 09:09:35 +01:00
Anthony Laibe 5cc6ad194f fix(@wallet): no tx found
fixes #9320
2023-02-03 15:33:13 +01:00
Sale Djenic 224fd3f42d fix(@desktop/general): invalid pin saved to keychain when enabling biometrics on account using keycard
Fixes: #7729
2023-02-03 10:55:22 +01:00
Sale Djenic ca3f82848b chore:(@desktop/general): storing to keychain logic simplified, improved 2023-02-03 10:55:22 +01:00
Lukáš Tinkl 1cc1b8a1b7 fix: '@everyone' in the pinned messages leads to 'qrc:/app/mainui/1'
- make the `href` point to `#` to prevent Qt from resolving the empty URL
as if it were a relative link
- prepend the at sign (`@`) to the mention tag, just like Discord and
`@everyone` else :)

Fixes #9364
2023-02-02 18:30:33 +02:00
Sale Djenic 1818347da3 fix(@desktop/wallet): migrate non profile keypair and delete account fix
Due to changes done in https://github.com/status-im/status-go/pull/3133
we had to update procedure for adding migration keypair (which includes
local keystor files deletion for the accounts being migrated) and procedure
for account deletion, cause in order to delete local keystore file for the
acount which is being deleted, we have to provide a password now (states
only for non keycard accounts, keycard accounts use empty password).
2023-02-02 17:00:54 +01:00
Richard Ramos fb526840a4 feat: waku2 store
- add toggle to enable store functionality
- output messages to csv
- add custom waku2 nodes
2023-02-01 15:35:36 -05:00
Richard Ramos 810a6bb5f5 chore: remove bloom filter usage 2023-02-01 14:05:00 -05:00
Lukáš Tinkl 34686226d7 chore: point VERSION of source dev/builds to GH repo
For these source/dev builds:
- display "git master SHA" as the version number
- disable the "Check for updates" button
- use APP_VERSION in nim

Rationale: instead of updating git master VERSION text file manually each
time an official version is released, we will now mark source/dev builds
with the corresponding git commit hash and display that in the
Settings/About section
2023-02-01 16:55:30 +01:00
mprakhov c2c9ede0f3 fix(@desktop/community): do not create a separate community module after we join opened spectated community 2023-02-01 13:09:53 +02:00
mprakhov b7c4c7b582 refactor(@desktop/members): do not request members list each time chat/channel changed or member added/removed 2023-02-01 13:09:53 +02:00
Igor Sirotin 1523c9f2a0 feat: Added `chainId` to ens usernames 2023-02-01 08:23:14 +03:00
Khushboo Mehta 169de5b5e1 feat(@desktop/wallet): Add loading State for Assets view and Wallet main navigation page 2023-01-31 07:57:37 +01:00
Jonathan Rainville baea10cacf refactor(chat-model): flatten chat model to only have chat items
Fixes #5286
2023-01-30 15:36:48 -05:00
Lukáš Tinkl 3c4d97248e fix: "Cannot connect to store node" banner never disappears
connect to the correct signal

the store node (aka mailserver) is no longer a dialog that would let the
user select a new available mailserver; we care about a working and
_active_ mailserver here

Fixes #9358
2023-01-30 10:31:07 -05:00
Dario Gabriel Lipicar 20733272f2 feat(@desktop/wallet): implement new collectibles view
Fixes #8810
2023-01-30 15:30:11 +01:00
Sale Djenic bc7a4b94f7 feat(@desktop/keycard): `unlocking` screen for unlock flow
Closes: #9259
2023-01-30 13:43:10 +01:00
Sale Djenic 841a37e930 feat(@desktop/onboarding): `Lost Keycard` - start using account without keycard
This commit introduces:
- `Start using account without keycard` flow

Closes: #7642
2023-01-30 13:43:10 +01:00
Pascal Precht b00f0a80b5 Adjust import tool front-end to latest refactor
This adjust the front-end for the import tool by handling new
properties that have been added to the discord import progress signals.

Namely, the import is now done in chunks, so the progress signal
contains information about how many chunks have been processed.

This needs: https://github.com/status-im/status-go/pull/3134

Closes #9262 #9261
2023-01-30 13:28:06 +01:00
Igor Sirotin 470200a477 fix: Fixed tokens initialization. Fixed SendModal for ENS. 2023-01-30 13:52:54 +03:00
MishkaRogachev b474ef0024 feat(appMain): Hide mailserver banner on SIGNAL_MAILSERVER_AVAILABLE 2023-01-30 12:40:31 +04:00
MishkaRogachev 128ac8dbd8 feat(ActivityCenter): Move AC notifications counting to status-go
Close #8074
2023-01-30 11:24:50 +04:00
Jonathan Rainville 7a3a984fa4 test(env-var): add TEST_ENVIRONMENT env var for test specific changes
Fixes #9210

Adds the `TEST_ENVIRONMENT` that stops banners from showing and touch id to be activated (needs to be tested by someone on Mac).

Also improves the waiting time on verifying screens. Will undo that change if it becomes flaky.

To make sure your local tests still work well and hide the banner as well, make sure to put `TEST_ENVIRONMENT=1` in the suite settings' env vars
2023-01-27 11:26:41 -05:00
Jonathan Rainville 6c1e16b72e fix(message-service): fix receiving messages from channels not loaded 2023-01-27 10:51:21 -05:00
Alexandra Betouni 8bb9da6fcc Revert "fix(StatusMessage): stickers were not aligned correctly"
This reverts commit 0fb954b640.
2023-01-27 09:50:16 -05:00
Anthony Laibe 7744d20eb5 fix(@wallet): Fix event for transaction 2023-01-27 14:21:51 +01:00
Sale Djenic 52597472ed fix(@desktop/keycard): keycard may be factory reseted during unlock flow in some scenarios (shared module part)
- Unexpected wiping out the data during the unlock flow handled (shared module part)

Fixes: #9183
2023-01-26 09:05:57 +01:00
Sale Djenic b44fc7a842 fix(@desktop/keycard): keycard may be factory reseted during unlock flow in some scenarios (onboarding part)
- Unexpected wiping out the data during the unlock flow handled (onboarding part)
- Back button actions fixed part 2/2 (onboarding part)

Fixes: #9183
2023-01-26 09:05:57 +01:00
Sale Djenic bf34239813 fix(@desktop/general): crash during profile keypair migration
Happens occasionally that the app crashes during the profile keypair migration flow.
It happens cause during that flow in one moment the app gets locked, cause encryption
gets changed, but some parts of the app may still try to get some data from the db (as an
action for some async event or so). That action results as the app crash. In such cases
an exception will be thrown, but it needs to be handled in functions which are doing a call.

`fetchAccounts` is guarded in this commit, cause crash was initiated there, cause it didn't
handle a call appropriately using try/catch block.
2023-01-26 09:05:57 +01:00
Sale Djenic 6936782736 chore(@desktop/onboarding): state factory related files of the startup module are renamed 2023-01-26 09:05:57 +01:00
Sale Djenic c43b665db3 chore(@desktop/general): map `defined(macosx)` to custom constant
A custom `IS_MACOS` constant introduced which represents os defined
macosx, cause for devs working on macos is easier to change a single constant
in a single place to simulate some how the app would behave in some cases on
other platforms.

For example if the dev is working on macos, it's not possible to simulate linux only or
win only features that way, but it's definitely possible to check if mac only features are
not visible on other platforms.
2023-01-26 09:05:57 +01:00
Lukáš Tinkl 8569ea5b41 chore: Optimize StatusMessageReply using more Loaders
also fix the sender display name to respect ensName/nickname

Fixes: #9016
2023-01-25 19:58:19 +01:00
Lukáš Tinkl a55a207bb2 fix: user display name discrepancies
restore taking local nickname into account in various places
2023-01-25 19:58:19 +01:00
Alexandra Betouni 0fb954b640 fix(StatusMessage): stickers were not aligned correctly
Closes #8944
2023-01-25 11:42:19 -05:00
mprakhov 763041dab5 refactor(@desktop/channel): refactor members list to only have one list per community 2023-01-25 11:28:36 -05:00
Jonathan Rainville fdc0dce782 chore: remove public chat functionnalities
Fixes #8504

Removes the ability to create public chats, see public chats and even leaves previously active public chats
2023-01-25 10:05:55 -05:00
Richard Ramos 519f08241e fix: call logout on exit 2023-01-25 09:08:32 -05:00
Richard Ramos 8d75e7dced fix: cancel mailserver requests on shutdown 2023-01-25 09:08:32 -05:00