Commit Graph

6092 Commits

Author SHA1 Message Date
Jonathan Rainville 4c1370f7ef test(Settings): adds a test that sends a contact request with chat key 2022-11-29 15:51:29 -05:00
mprakhov e8e2c022ca fix(@desktop/chat): Hide quick actions panel in non-joined chats 2022-11-29 19:56:04 +02:00
Jonathan Rainville dd1caf7a48 hotfix(wallet): comment out history timer to fix app hanging on close
Fixes #8401

Threads in Nim are very bad and when the app closes, the thread doesn't close until it is done. That means that the 20 minute timer needs to finish before it can be closed.
2022-11-29 10:37:35 -05:00
Patryk Osmaczko 316372b469 chore: remove StatusAppNavBarFilterModel 2022-11-29 16:06:33 +01:00
Patryk Osmaczko 5d305a5221 refactor(StatusAppNavBar): simplify navbar
- removed imperative filtering
- removed imperative size calculation
- removed all ugly hacks

fixes: #7167
fixes: #8463
2022-11-29 16:06:33 +01:00
Boris Melnik 87d51ab039 feat(ActivityCenter): Click on reply message jumps to message in chat log
Fixes: #8121
2022-11-29 16:42:37 +03:00
MishkaRogachev 726ae26128 hotfix(ActivityCenter): Fix AC timestamps and binding loop for previousMessageIndex
Close #8434
2022-11-29 16:49:36 +04:00
Pascal Precht 213924f6e9 feat(chat): support copy & pasting images into chat input
This adds support for receiving copied images from the clipboard
and pasting it into the chat input.

After pasting, chat input will recognize the image and render a preview
similar to how it would do it when selecting images via the file dialog.

**Also important to note**:

At the time of this PR, it seems that desktop only supports sending
jpegs to status-go. I'm not sure if this was deliberately done this way
because the protocol says it supports jpg, png, webp and gif.

Because of this, pasting for example pngs will work, however
transparency will be lost (which is also most likely the cause of #8820)

This PR operates on that assumption. So while it adds support for
copy/pasting images, it does not address the lack of file type support.

Closes #3395
2022-11-29 12:31:18 +01:00
Michał Cieślak 5dcd3dde23 chore(Storybook): CMakeLists - common lib for app and tests defined 2022-11-29 11:30:13 +01:00
Michał Cieślak 8e39d761dc feat(Storybook): Figma links loaded from json file
Closes: #8187
2022-11-29 11:30:13 +01:00
Jonathan Rainville 10684c22a0 fix(chat): dont notify or show badge on muted channels
Fixes #6184 and fixes #8370
2022-11-28 13:40:11 -05:00
Michał Cieślak f934eeebb3 feat(Storybook): Prevent building for desktop using Storybook.pro
Closes #8451
2022-11-28 17:28:56 +01:00
Richard Ramos e2f157018c chore(storenode): bump status-go, and log result of each storenode requests 2022-11-28 10:07:20 -04:00
Richard Ramos 3516e1d341 fix: allow copying the results of callPrivateRPC 2022-11-28 10:06:41 -04:00
Michał Cieślak a998f654a2 fix(Storybook): linking WebEngine causes errors on Linux
Linking to WE is not needed. Setting Qt::AA_ShareOpenGLContexts
attribute is sufficient to make QWebEngine working properly.

Closes: #8454
2022-11-28 15:04:31 +01:00
Richard Ramos c207ee126f feat: show peer multiaddresses with wakuext_peers 2022-11-28 09:27:57 -04:00
mprakhov 8f13ad8f93 test(@desktop/chat): Can reply to a message in a community channel 2022-11-28 14:19:00 +02:00
Lukáš Tinkl 6b7eea8db9 fix: unbreak suggestions for emojis containing an underscore
- don't consider `_` as a "punct" or invalid character, some emojis like
flags do contain it in their name

Fixes: #8446
2022-11-28 12:11:23 +01:00
Michal Iskierko 48b2b978e4 fix(@desktop/test): Fixing chat flow test
Fixing hover menu problems: reply, edit, delete message.

Fix #7911
2022-11-28 11:17:00 +01:00
MishkaRogachev 8b9b399077 fix(Contacts): Add self id for identity verification requests
Close #8277
2022-11-28 14:14:04 +04:00
Michal Iskierko 9ca058c6ef chore(@desktop): Update DOtherside
Fix #6179
2022-11-28 10:41:27 +01:00
Michal Iskierko 995c77bcaa chore(@desktop): Update nimqml
Issue #6179
2022-11-28 10:41:27 +01:00
Patryk Osmaczko d0725d451e fix(ui-test/ChatFlow): retry to load stickers
For some reason stickers are not loaded for the first time. User has now
the ability to retry the loading procedure. Retry action loads stickers
successfully in most cases.

fixes: #7995
2022-11-25 17:06:59 +01:00
Patryk Osmaczko 56fc768d6f refactor(StatusStickersPopup): do general popup refactor
- remove imperative state assignments, rely on bidings
- move private stuff to QtObject{id: d}
- restructure object attributes to follow QML Coding Conventions
2022-11-25 17:06:59 +01:00
Patryk Osmaczko 4917f46785 chore(chat/stickers): expose `loadStickers` to the view 2022-11-25 17:06:59 +01:00
Patryk Osmaczko 8b4d527651 chore(chat/stickers): propagate stickers loading failure 2022-11-25 17:06:59 +01:00
Lukáš Tinkl d5478babfb fix: unbreak the image context menu
- don't reference non-existent code
- positioning it manually is wrong anyway

Fixes: #8447
2022-11-25 16:15:29 +01:00
Michal Iskierko a46206e4fd fix(@desktop/chat): Hide create chat panel when some other menu items are selected
Fix #7675
2022-11-25 14:17:23 +01:00
Pascal Precht d8bda2490a fix(communities): handle removed community chats properly
We were ignoring the `removedChats` in the messenger response and
therefore never processed deleted community chats in the client.

This commit adds `removedChats` to `handleCommunityUpdates()` and
ensures that the community channel's ID is used when emitting a signal
to the app.

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

Closes #8000
2022-11-25 09:21:50 +01:00
Lukáš Tinkl c1fd4cc680 fix(StatusEmojiSuggestionPopup): emoji is blurry in the suggestions popup
use an SVG icon instead of a potentially lowres PNG

Fixes #8409
2022-11-24 14:35:54 +01:00
mprakhov 92da7ee9a3 fix(@desktop/test): [suite_communities / tst_communityFlows] - 'The admin changes the emoji of a channel' 2022-11-24 14:50:43 +02:00
Jakub Sokołowski 5f36d4f99f
ci: fix name of e2e test jobs in gh comments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-23 20:04:25 +01:00
Dario Gabriel Lipicar 4907f52b46 refactor(@desktop/wallet): remove unused 'collectible' module 2022-11-23 15:29:19 -03:00
Dario Gabriel Lipicar ecd799c209 fix(@desktop/wallet): fix switch accounts after opening collectible details
Moved logic for CollectibleDetailView to Nim module.
2022-11-23 15:29:19 -03:00
Lukáš Tinkl 2bf2861631 fix: reactions distance to message content is inconsistent
- harmonize the margins/spacings in other message components
- fix warnings
- cleanup/remove some dead code

Fixes #8295
2022-11-23 17:42:11 +01:00
Jakub Sokołowski 7ab06c6060
ci: clarify why we ignore UNSTABLE squish state
I tried using `--exitCodeOnFail` but it didn't work.
https://doc.qt.io/squish/cli-squishrunner.html#playback-option-op-op-op-op-exitcodeonfail

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-23 15:37:38 +01:00
alexjba f8293a12f4 StatusChatInput.qml - Fixing emoij suggestion keyNav
Fixing up/down key handler when emojiSuggestions are visible
2022-11-23 16:21:31 +02:00
alexjba 1b2fd40b20 Adding qmake project file for wasm
This changeset contains the prerequisites required to compile StoryBook on wasm_32 and the README file with instructions
2022-11-23 16:20:37 +02:00
Pascal Precht ba4c4b3e93 fix(Settings): better error handling for toggling archive protocol
Enabling the community archive protocol could fail when another app is
using the same port that is specified as torrent client port.

This would cause the app to crash.

With these changes we:

1. No longer crash the app but output an error in the logs
2. We popup a dialog telling the user that the specified pord is in use

Closes #7328
2022-11-23 14:56:08 +01:00
alexjba 98d3073a61 Update min text length in password 2022-11-23 15:21:21 +02:00
MishkaRogachev fee883b650 Fix(ActivityCenter): Hotfix for activity center ui issues 2022-11-23 12:22:12 +01:00
Lukáš Tinkl 7fa05c655a fix(AboutView): Version text is still black on dark mode
use the default (existing) color for the text

Fixes #8374
2022-11-23 10:46:19 +01:00
Lukáš Tinkl 8767f37bad fix(PinnedMessagesPopup): Pinned messages cover rounded corners of modal
similar to the profile dialog, we need to add an opacity mask in front of
the contentItem to ensure the rounded corners at the bottom are preserved
when we have no margins/padding inside the popup

Fixes #7759
2022-11-23 09:59:21 +01:00
Pascal Precht 6acd816381 fix(Onboarding): ignore seed phrase capitalization
As requested in #8336

Closes #8336
2022-11-23 09:58:44 +01:00
Jakub Sokołowski 9f076ed70c
ci: refactor uitests to use multiple stages
Please do not run 20 different things in a single stage.
It makes debugging much harder than it needs to be, since now you can
see at a glance the startup of which container fails easily.

Changes:
- Starting of Ganache and Nim-Waku containers extracted to separate stages
- Cleanup of containers moved to `cleanup` step after tests are executed
- Many variables moved to `enrivonment` section for job and some stages
- The `throttle` effect narrowed down just to the `Tests` stage and not whole job
- RPC API is used to get the Multiaddress of Nim-Waku node instead of hardcoding key
- Removed no longer necessary `status-go` history node related files
- `Jenkinsfile.uitests` was renamed to `Jenkinsfile.e2e` to match CI job names

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-23 00:19:06 +01:00
Jakub Sokołowski f3ccc2422c
ci: fix github comment, add upload to imports
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-23 00:18:58 +01:00
Boris Melnik f6458facfc fix(messaging): Fix processing successfuly sent messages and remove @mayfail from relevant ui test
Fixes: #7961
2022-11-22 14:19:08 -05:00
Noelia 2d204c99d8 test(suite_settings/tst_signUpAndQuit): Disabled bc it is unstable
It fails sometimes reporting a FATAL error in CI execution: "The AUT did not respond to network communication".
2022-11-22 18:55:02 +01:00
Noelia b9fd986c56 fix(suite_messaging): Solved incorrect import
Replaced `steps.startupSteps` to `steps.commonInitSteps`
2022-11-22 18:55:02 +01:00
Noelia 78d23ccde8 test(chore): Add Automatic Screenshots on Test Failures and Errors
Set `logScreenshotOnFail` property.

Closes #8330
2022-11-22 18:55:02 +01:00