Commit Graph

2015 Commits

Author SHA1 Message Date
Patryk Osmaczko 7ede3389ff fix(chat): ensure messages ordering on model append/prepend
fixes: #8466
2022-12-21 10:32:46 +01:00
Patryk Osmaczko 3acf7dbebf chore: remove useless condition from `asyncLoadInitialMessagesForChat` 2022-12-21 10:32:46 +01:00
Pascal Precht 865ed32deb feat: introduce ability to @everyone
Closes #8479

This needs: status-im/status-go#3026
2022-12-21 10:19:48 +01:00
Patryk Osmaczko bf324f273a refactor: use service defined signals instead of SignalType 2022-12-21 09:27:32 +01:00
Patryk Osmaczko 9ce9598a83 chore: remove unused `loadingHistoryMessagesInProgress` property
`loadingHistoryMessagesInProgress` was moved to content module but the
property was never removed from the messages module view

see: fc24f16525
2022-12-21 09:27:32 +01:00
Dario Gabriel Lipicar 9feb6c29cf feat(@desktop/wallet): reworked collectibles backend
Fixes #8407
2022-12-19 08:07:04 -03:00
Patryk Osmaczko 87674064d0 feat(chat/messages): implement new messages marker
closes: #8572
iterates: #7488
2022-12-16 19:12:12 +01:00
mprakhov 27b8924c6d fix(@desktop/notifications): sent contact request accepted notification fix 2022-12-16 16:18:33 +02:00
Patryk Osmaczko e38d8c8490 fix(chat/groups): do not propagate empty members sequence
fixes: #8832
2022-12-16 14:11:31 +01:00
Dario Gabriel Lipicar f0744ed61d fix(@desktop/wallet) make collection expansion more responsive
Collection fetch is now non-blocking

Fixes #8406
2022-12-16 08:09:16 -03:00
Dario Gabriel Lipicar bd986a5b6b fix(@desktop/wallet): adjust collectible details screen to design 2022-12-15 11:18:29 -03:00
MishkaRogachev bc446f93b7 feat(Contacts): ContactVerificationRequestPopup reacts on model's update 2022-12-15 15:44:45 +04:00
MishkaRogachev ddf27d3038 feat(Contacts): Handle cancel identity verification on the reciever side
Close #8437
2022-12-15 15:44:45 +04:00
Igor Sirotin 50427390dd ens: Fix ens name inconsistency across app 2022-12-14 23:46:50 +03:00
Michal Iskierko 3f01af4446 fix(@desktop/chat): Fix user names propagation.
Add ProfileUtils for displaying correct name.
Set names in models correctly.
Fill names in qml correctly.

Fix #8343
2022-12-14 17:44:26 +01:00
Patryk Osmaczko c9b1082795 fix: prevent crash by ensuring there is active section on app start
If `activeSectionId` does point to section that is not restored
correctly (by any reason), then the app will crash. That's becasue code
assumes there is always an active section set and it will try to
reference null item in this case.

fixes: #8785
2022-12-14 17:16:36 +01:00
Anthony Laibe 9b0d9cf478 feat(@wallet): Display ens name in account view
fixes #8607
2022-12-14 16:04:58 +01:00
Sale Djenic 4b972acdd9 feature(@desktop/keycard): display keycards for the same keypair as a list in the keypair details view
Fixes: #8136
2022-12-14 08:22:12 +01:00
Alexandra Betouni 1c030b398c fix(StatusTextMessage): Handle quote formatting in QML
HTML doesn't know about TextEdit's wrapMode line count so
when text was a quote it was seeing it as single line thus
painting a singleline height quoteline.

Closes #8109
2022-12-13 17:13:16 +02:00
Lukáš Tinkl 73cc621f0c fix: Rename "Chat" tooltip to "Messages"
... and do it the proper way, ie. make the string translatable as we
can't handle translations coming from NIM files at the moment

Closes #8418
2022-12-13 03:46:25 +01:00
Jonathan Rainville 2b9c1f914d fix(badge): show badge when mentioned even if channel is muted
Fixes #8723
2022-12-12 13:40:07 -05:00
Jonathan Rainville 194e3048bc fix(messages): fix Resend btn not working and add Sending visual state
Fixes #7643

This adds the backend to resend. It then hooks the button to it.
This also adds a visual state for when we are sending. This gives a good indication that a message was sent.
2022-12-12 11:56:21 -05:00
Jonathan Rainville 59a05243af fix(community): fix messages being gone when we re-join a community
Fixes #7512

The problem was twofold.
1. We didn't try to fetch the messages when we re-joined, since the cursor was not reseted
2. The messages are not longer in the DB since they get deleted on joining.

I fixed 1. by reseting the cursor on leave and calling fetch on spectate
I fixed 2. in the status-go PR so that we no longer delete the messages when leaving.
2022-12-12 10:47:17 -05:00
Jonathan Rainville 9067cc408c fix(badge): show badge when mentioned even if channel is muted
Fixes #8723
2022-12-12 10:47:17 -05:00
Khushboo Mehta 9825a48eec fix(@desktop/wallet): Fix for wrong link is generated when transaction is done on testnet
fixes #8681
2022-12-12 15:23:52 +01:00
Igor Sirotin e436d6937d fix: Removing and releasing ENS names 2022-12-09 18:56:33 +03:00
Anthony Laibe 1b81490c55 fix(@wallet): remove uneeded log
fixes #8623
2022-12-09 13:20:03 +01:00
Anthony Laibe 56bd8c74b8 feat(@wallet): speed up add account
fixes #8571
2022-12-08 11:21:50 +01:00
Anthony Laibe f7704c719a fix(@wallet): fix token list
there is 2 type of token list, the whole list for send modal and the
list for asset view
2022-12-07 17:02:05 +01:00
Pascal Precht 40eead1c8f refactor(communities): use ImportingHistoryArchiveMessages signal for
banner

@John-44 requested that we show the banner only for when messages are indeed
imported into the database, not necessarily already when the torrent data is being downloaded.

This commit ensures Desktop processes the newly introduced
`ImportingHistoryArchiveMessages` signal to render the banner introduced
in d5db1e6356

This needs: https://github.com/status-im/status-go/pull/2998
2022-12-07 14:29:35 +01:00
Sale Djenic 7bae51335b fix(@desktop/onboarding): `Onboarding -> Generate keys for a new keycard` - display name is not set
Fixes: #8671
2022-12-07 14:22:38 +01:00
Pascal Precht b510b33730 feat(communities): allow community import via public key
Status allows for importing communities via their private keys.

There's a requested feature that users should be able to import a community via
its public key as well.

This will behave differently as private keys won't give users ownership
of the communities. When importing via a (compressed) public key, Status
will try to fetch information about the community from the network. If it
finds such information, it'll load it into the app and create
a communitiy view from which users can then request access.

If it can't find a community or community information in the network,
the user will get a dedicated error message.

This commit also refactors the `ImportCommunityPopup` such that it uses
`StatusDialog` and updates the copy accordingly since importing via
public key is now possible as well.

Closes #8339
2022-12-07 14:18:08 +01:00
Lukáš Tinkl e13726e4af feat(SocialLinkPreview): links are too short to display even short urls
- rework the way social links are displayed/editted; we now only allow to
enter a so called "handle" and then substitute that in the final URL
template
- move the "icon" model role to NIM backend

This has several advantages:
- we display only the "handle" and don't have to elide some long URL
- we won't let users enter random URLs into their profile and spoof the
viewing part into clicking it

Additionally, make the social link "button" clickable -> navigate to the
target URL, and make the tooltip behave as "usual" (on mouse hover).
2022-12-07 12:40:58 +01:00
Patryk Osmaczko 07523d2c85 chore(chat/messages): extract MessageCursor 2022-12-07 00:23:25 +01:00
Patryk Osmaczko c4525778a8 fix(chat/messages): prevent multiple same cursor fetches
It may happen `asyncLoadMoreMessagesForChat` is called many times in a
row. Previously it did not check whether there is any pending fetch for
a given chat, which resulted in many same cursors fetches from status-go.
Furthermore, in this case, `lastUsedMsgCursor` ended up with the same
value as `msgCursor` resulting in wrong state where there are no more
messages to fetch.

- Simplified message loading code by introducing MessageCursor helper
  type
- Ensured messages are not loaded twice for the same cursor

fixes: #8602
2022-12-07 00:23:25 +01:00
Jonathan Rainville 2f338ecb09 fix(windows): use QML's OS notification for Windows
Fixes #4943

The custom OS notifications we have in place make it possible to click
the notification and go to the right place in the app, but it causes a
big issue in Windows; it breaks the tray icon, it becomes no longer
clickable.
The easy fix I did here is the go back to using the QML sendMessage
function. It works fine to send the notif and the tray icon keeps
working. The only downside is we lose context when clicking on the
notification, so it doesn't navigate to the chat.
IMO, this is a good tradeoff.
2022-12-06 10:04:56 -05:00
Jonathan Rainville a94750fb2d refactor(settings): make calling settings_getSocialLinks only once
Fixes #8549

That status-go call was done A LOT because we try to access our own data often and we didn't use to cache it.
2022-12-06 10:02:17 -05:00
Boris Melnik c801c869e6 fix(communities): Break loop when cancel request was sent
Fixes: #8539
2022-12-06 15:01:08 +03:00
Michal Iskierko 0a4f5fa27c fix(@desktop/chat): Fix updating channel color after admin updated it.
Issue #7414
2022-12-06 11:14:23 +01:00
Khushboo Mehta 779df7628b fix(@desktop/wallet): Remove gas selector for slow, optimal and fast
fixes #8516
2022-12-05 14:51:39 +01:00
Dario Gabriel Lipicar 8fd5e9d1af fix(@desktop/wallet): fix wallet account item balances
Fixes: #8582
2022-12-05 10:23:44 -03:00
Khushboo Mehta 0c7442d696 fix(@desktop/wallet): Wrong Password error should not be handled in the SendModal
fixes #8527
2022-12-05 13:59:06 +01:00
Khushboo Mehta 26fcb8b99f fix(@desktop/wallet): Implement missing unprefered chains
fixes #8530
2022-12-05 12:18:10 +01:00
Richard Ramos 97190ce716 fix: read fleet from nodeconfig if not available in settings 2022-12-05 11:11:30 +01:00
Boris Melnik 5c7dc4c330 feat(messaging): Skip deleted and deletedForMe messages
Fixes: #8369
2022-12-03 21:06:58 +03:00
Sale Djenic 8aa36068a0 fix(@desktop/keycard): modal title edits and migrate flow
- 01: Keycard settings menu labelling - fixed in this commit
- 02: Modal title renaming - not developed yet
- 03: Additional decision diamond and flow - not developed yet
- 04: Modal title renaming - not developed yet
- 05: Modal title renaming - done in issue #7035
- 06: Copy change - fixed in this commit

Fixes: #8458
2022-12-02 19:04:24 +01:00
Jonathan Rainville 2276706fd8 fix(network_constants): fix torrent port clash by adding PORT_SHIFT
Fixes #8553

The torrent port was clashing with the release app since both of them have it on by default now. That was causing the messenger to fail on start.
This new PORT_SHIFT env var can be used to shift the port of the torrent service and wakuV2. No more need to use WAKUV2_PORT.
we can also add more ports that need shifting.
This enables opening multiple instances of the app very easily. Just increase PORT_SHIFT by one
2022-12-02 11:47:58 -05:00
Sale Djenic 49da859947 feat(@desktop/keycard): create a backup copy of a Keycard
Fixes: #7035
2022-12-02 17:26:06 +01:00
Sale Djenic c64d5560a6 refactor(@desktop/keycard): `remainingAttempts` introduced as new prop, instead of using `keycardData` prop 2022-12-02 17:26:06 +01:00
Sale Djenic 192b5426b2 refactor(@desktop/keycard): `state_factory` splitted in two more files
Old `state_factory` logic is splitted in two more files. Now it represents only
an interface, but implementation logic is placed in the following two files:
- `state_factory_general_implementation.nim`
- `state_factory_state_implementation.nim`
2022-12-02 17:26:06 +01:00