231 Commits

Author SHA1 Message Date
Richard Ramos
e91cd9e610 fix: validate mnemonic format when importing a existing key 2020-07-28 22:22:50 +02:00
Richard Ramos
83d2e274ff fix: show disconnected/connected banner on load 2020-07-24 11:04:47 -04:00
Pascal Precht
e18188514a feat(profile): implement contact management
This introduces the ability to:

- list search existing contacts
- block contacts
- unblock contacts
- list blocked contacts
- remove contacts
- search and add contacts

Closes #608
2020-07-24 09:37:32 -04:00
Jonathan Rainville
9604faff08 feat: add New messages box in chat when scrolling up 2020-07-23 17:01:04 -04:00
Jonathan Rainville
c73da6accf fix: fix chat list scrolling down when user was looking up the chats 2020-07-23 17:00:41 -04:00
Richard Ramos
90236e89e9 fix: set initial disconnected status 2020-07-23 15:59:55 -04:00
Jonathan Rainville
145519719b fix: fix MyProfile not having the right data 2020-07-23 15:59:18 -04:00
Richard Ramos
e8d08e08cc fix: mark messages as read only if there are unviewed messages 2020-07-23 15:55:26 -04:00
Richard Ramos
9151cbe849 fix: avoid moving the channel to top when switching a channel or marking it as read 2020-07-23 15:55:26 -04:00
Richard Ramos
4b558c8c72 feat: show unread messages badge 2020-07-23 15:55:26 -04:00
Jonathan Rainville
e176443ceb fix: fix chat not scrolling to bottom on load 2020-07-23 15:44:59 -04:00
Richard Ramos
7ca512661b fix: load messages on scroll up, scroll down when sending messages and hide sending status for expired messages 2020-07-22 15:58:31 -04:00
emizzle
d4d532691e feat: get current network details
Adds settings API for getting current network details.

Uses the current network details to display the correct etherscan link in QML (etherscan URL is a setting in the current network settings).
2020-07-21 15:12:48 -04:00
Michael Bradley, Jr
e334e80774 fix: add missing comma in src/app/chat/views/message_list.nim 2020-07-21 14:38:33 -04:00
Richard Ramos
6829a24986 fix: create images in a tmp dir 2020-07-21 14:26:20 -04:00
Richard Ramos
7115a1bed6 feat: resize images and remove EXIF data - UNSAFE 2020-07-21 14:26:20 -04:00
Richard Ramos
a32a156651 feat: send images - UNSAFE -
Sends images but does not clean metadata nor limits file size
2020-07-21 14:26:20 -04:00
Richard Ramos
5351fb62dc feat: display messages with an image contenttype 2020-07-21 13:15:22 -04:00
Jonathan Rainville
a9cddde37e fix: fix text selection by putting mouseArea under text
And put link click handling by the TextField itself
2020-07-21 12:00:24 -04:00
Jonathan Rainville
489ad7052f feat: add changeTranslation function 2020-07-21 11:09:00 -04:00
Richard Ramos
0278379495 fix: allow resending older expired messages 2020-07-21 10:19:12 -04:00
Richard Ramos
f9335c0969 feat: retry sending messages 2020-07-21 10:19:12 -04:00
Richard Ramos
449b8c0454 fix: open first chat on load 2020-07-17 13:23:18 -04:00
Pascal Precht
1e39cf4821 feat(chat): implement mention auto complete
Closes #515
2020-07-17 12:31:20 -04:00
Richard Ramos
fd88fd19d0 feat: display connected/disconnected status in the chat module 2020-07-16 11:38:00 -04:00
emizzle
15a860b2bb feat: Enable switching to testnet
Allow switching to Ropsten by flipping a toggle switch in Profile > Advanced settings.

When switching networks, note that installed stickers will be uninstalled, and recent stickers will be removed. Sticker packs can be reinstalled after login. Purchased sticker packs will not need to be re-purchased, but will need to be re-installed.

Mailserver fleet information will **not** be updated. This can be controlled by a separate (undeveloped yet) setting.
2020-07-16 10:59:31 -04:00
Iuri Matias
0aed036fa1 Update src/app/chat/view.nim
Co-authored-by: Eric Mastro <eric.mastro@gmail.com>
2020-07-16 10:55:42 -04:00
Iuri Matias
054d3579d7 only show notifications for new messages 2020-07-16 10:55:42 -04:00
Jonathan Rainville
7d178b355e feat(chat): add image support
This commit adds support for rendering images by detecting
image URLs inside of a message and attaching them to their
corresponding message bubble.
2020-07-15 16:05:35 -04:00
emizzle
69ba3c4468 feat: add support for purchased sticker packs 2020-07-15 15:53:48 -04:00
emizzle
ac7deb3af0 feat: Un/install free sticker packs in sticker market
Sticker pack details retreived from contract:
 - pack data decoded from contract response
 - data contains contentHash which, once decoded, contains an IPFS identifier
 - futher pack data in EDN format is downloaded from IPFS
 - the EDN info is decoded in to a StickerPack

List of available packs from contract are obtained separately from list of installed contracts (stored as a setting in Status-go).

Sticker market contains dynamic list of sticker packs. The sticker button shown for each pack has all states defined (in the design) for all UI states (ie bought, free, installed, pending, etc)

Add modal popup showing sticker pack details and list of stickers to be un/installed. Contains a "larger" version of the sticker pack button with many differnt UI states defined.

Uninstallation of a sticker pack removes those sticker pack's stickers from the recent sticker list and persists the list

Simplify the view model by including stickers, instead of setting an "activeStickerPackId" property. This allowed for display of sticker pack stickers to be displayed in the modal popup separately from the sticker packs shown in the market.
2020-07-15 15:53:48 -04:00
Iuri Matias
7d7bac5fb6 add notifications support
first attempt

attempt 2

working notifications

add notification sound

cleanup

remove unneeded imports

remove unneded imports
2020-07-14 14:23:40 -04:00
Richard Ramos
19f358ef9c fix: md format 2020-07-14 13:30:40 -04:00
Richard Ramos
ceb5873272 show date headers, and fix sending replies only when they are enabled 2020-07-14 13:10:14 -04:00
decanus
10918acb5c adds ens in header 2020-07-14 16:04:57 +02:00
Richard Ramos
a342192f43 fix: code review 2020-07-10 20:09:15 -04:00
Richard Ramos
649023bacf feat: support message replies 2020-07-10 20:09:15 -04:00
Jonathan Rainville
25ac69b37c fix: fix message width by using the plainText 2020-07-10 15:54:48 -04:00
Jonathan Rainville
29b2bbf13e fix: show a channel by default if there is at least one 2020-07-10 15:39:56 -04:00
Jonathan Rainville
3d19e9ed74 feat: add profile popup for the empty chat view 2020-07-10 15:39:56 -04:00
decanus
2221f1c8e3 fiox 2020-07-09 18:22:00 +02:00
decanus
d45e78b3e0 fixed 2020-07-09 18:22:00 +02:00
Richard Ramos
7b82f52fac fix: show replies and do not trigger an activeChannelChanged event on init 2020-07-09 12:01:32 -04:00
Pascal Precht
17db2f4056 feat(chat): show "@" when logged in user has been mentioned in channel
Closes #516
2020-07-09 11:12:26 -04:00
Richard Ramos
abb9a25f53 fix: display mentions in channel list 2020-07-09 10:42:32 -04:00
Richard Ramos
2183cabad5 fix: remove messages when leaving a channel to avoid duplication when rejoining a chat 2020-07-09 10:36:23 -04:00
Richard Ramos
fb894880bb
fix: undeclared identifier - setDeviceName 2020-07-08 14:01:10 -04:00
Richard Ramos
4ee0d78cb6 feat: using threads for resolving ENS usernames 2020-07-08 13:53:21 -04:00
Richard Ramos
93d420758f feat: device pairing 2020-07-08 13:53:04 -04:00
Pascal Precht
75e3e10f58 feat(chat): open user profile from mentions
Closes #455
2020-07-08 13:12:31 -04:00