emizzle
6a0a75888b
feat: whitelist gifs (no url extension needed)
...
Fixes #1377 .
Fixes #1479 .
Two sites have been added to the whitelist: giphy.com and tenor.com.
`imageUrls` in its entirety has been removed and instead all links are being handle through the message `linkUrls`. This prevents double-handling of urls that may or may not be images.
The logic to automatically show links previews works like this:
1. If the setting "display chat images" is enabled, all links that *contain* ".png", ".jpg", ".jpeg", ".svg", ".gif" will be automatically shown. If the URL doesn't contain the extension, we are not downloading it. This was meant to be somewhat of a security compromise as we do not want to download each and every link posted in a message just to find out its true content type.
2. If the above setting is *disabled*, then we follow the whitelist settings for tenor and giphy. This allows us to preview gifs that do not have a file extension in their url.
feat: bump status-go to the commit that supports the new whitelist (https://github.com/status-im/status-go/pull/2094 ), and also lets us get link preview data from urls in the whitelist. NOTE: this commit was branched off status-go `develop`, so once it is merged, and we update this PR to the new commit, we will effectively be getting status-go develop changes. We *could* base that status-go PR off of master if it makes things easier.
fix: height on settings update issue
feat: move date/time of message below links
fix: layout issues when changing setting `neverAskAboutUnfurlingAgain`
feat: Add MessageBorder component to aid in showing rounded corners with different radius
2020-12-21 14:14:32 -05:00
Jonathan Rainville
4f2a1b5e73
fix: fix scroll going back down when hitting images
2020-12-18 15:39:16 -05:00
Jonathan Rainville
d01c9fef79
feat: add profile pic support
2020-12-17 16:44:25 -05:00
Pascal Precht
8cd95d5bfd
feat: introduce StatusUpdate component
...
This is a new MessageComponent type that will be used in the timeline status updates
view.
2020-12-14 12:36:49 +01:00
emizzle
5953031bfc
fix: YouTube unfurling
...
YouTube link unfurling was not working for a couple reasons.
There were two main parts fixed:
1. QML context for messages pertaining to linkUrls and imageUrls was changed from implicit to explicit. By this, I mean that any time we referenced linkUrls/imageUrls, we were relying on the knowledge that those values would be populated by some parent context several levels up. Now, we are referring to properties that have been explicitly defined on the components. This offers the ability to reuse components, and makes reading the code and debugging much easier.
2. Error handling has been added to getting link preview data. An unhandled "error" was thrown each time a link that wasn't whitelisted was passed in, causing the app to crash. For example, when a link to a tenor gif was posted in the chat, that URL was not whitelisted, causing the app to crash.
2020-12-10 14:45:48 -05:00
Pascal Precht
e11139df12
feat: make `UserNameLabel` render local nick names and ENS names
...
In timeline status update messages we want to render the ENS name next to a
local nickname in case it exists. This commit extends the `UsernameLabel` to do
just that.
Closes #1488
2020-12-10 12:30:31 +01:00
Pascal Precht
066fd9f7e5
feat: allow message context menu to render emojis only
...
Closes #1492
2020-12-10 12:30:31 +01:00
Richard Ramos
ae30d04010
refactor: ProfileView
2020-12-08 17:01:22 -05:00
Pascal Precht
8b74141b99
feat: allow users to change font size for chat messages
...
Closes #737
2020-11-25 14:41:29 +01:00
Pascal Precht
1277395431
chore: expose linkUrls property on Message QML type
2020-11-25 14:41:29 +01:00
Pascal Precht
8bf82e1dd6
feat: allow for fetching messages older than 24 hours
2020-10-16 10:43:38 -04:00
Pascal Precht
ec22de8c24
uiux(Chat): add margin between group header messages and fetch-more button
...
Closes #1087
2020-10-07 11:22:04 -04:00
Richard Ramos
2fb9d569f7
refactor: open profile popup
2020-10-02 12:48:58 -04:00
Richard Ramos
ca0416dd30
fix: code review and style changes
2020-09-21 15:03:17 -04:00
Richard Ramos
2fb8f2ea55
fix: join/decline group
2020-09-21 15:03:17 -04:00
Jonathan Rainville
6e357cb5e2
feat: show nickname in the modal from the contact list
2020-09-21 12:52:05 -04:00
Pascal Precht
e0adc3056e
chore: update translations
...
Closes #801 #841
2020-09-17 15:16:09 -04:00
Jonathan Rainville
23ca5f9930
feat: make settings user dependant and clean settings uses
2020-09-16 16:58:55 -04:00
hydr063n
b479dba001
feat: open modal when user left clicks on message containing image
2020-09-14 14:38:41 -04:00
Jonathan Rainville
60492b4db1
feat: add chat command bubbles for received txs
2020-09-09 15:03:45 -04:00
Pascal Precht
4bea011417
uiux(Chat): show loading indicator when fetching more messages
2020-09-08 14:09:09 -04:00
Pascal Precht
1481f2648f
feat: introduce "fetch more messages" button to request old messages
...
Closes #149
2020-09-07 10:20:17 -04:00
Richard Ramos
1d0e4fe2cf
feat: disable reply on stickers and make sticker images smooth
2020-08-28 11:11:08 -04:00
Jonathan Rainville
72af6adb69
feat: get and display emoji reactions in chat
2020-08-27 16:34:35 -04:00
Jonathan Rainville
3cb88d0cfa
feat: add profile section to the context menu
2020-08-05 12:14:46 +02:00
Richard Ramos
5ab1088f7c
feat: play audio messages
2020-07-30 13:49:50 -04:00
Richard Ramos
3140d76a5c
fix: group status messages were not being displayed
...
Fixes #610
2020-07-22 10:22:10 -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
a31610742c
fix: code review
2020-07-21 13:15:22 -04:00
Richard Ramos
5351fb62dc
feat: display messages with an image contenttype
2020-07-21 13:15:22 -04:00
Jonathan Rainville
15cc48c6f8
feat: add mock emoji menu in popup menu for chat
2020-07-21 11:41:19 -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
Jonathan Rainville
851eb82026
feat: make channel list compact in compact mode
2020-07-16 10:32:27 -04:00
Jonathan Rainville
36f230e03d
feat: add saved setting for Compact mode
2020-07-16 10:29:29 -04:00
Jonathan Rainville
5951fcf131
feat: refactor Message and add Compact message type
2020-07-16 10:29:29 -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
Dean Eigenmann
6521573b51
Update Message.qml
2020-07-15 16:02:30 +02:00
decanus
c840c7374c
fixes some color errors
2020-07-15 11:46:12 +02: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
Jonathan Rainville
92f5a9ca5c
feat: add dark theme colors and new properties for it
2020-07-14 12:37:17 -04: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
bcee0079e5
fix: change sticker background to white
2020-07-10 15:39:56 -04: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
75e3e10f58
feat(chat): open user profile from mentions
...
Closes #455
2020-07-08 13:12:31 -04:00
Jonathan Rainville
1eb1d3d41c
chore: run transform script to change qstr to qstrid
2020-07-08 12:37:41 -04:00
Richard Ramos
3072ec83f9
fix: remove animation causing CPU usage to increase
2020-07-03 14:03:57 -04:00
Jonathan Rainville
a529d729ea
feat: change Theme to Style to enable changing Theme
2020-07-03 09:59:14 -04:00
Richard Ramos
5b3f077fa9
feat: bundle resources
...
- Update linux build to package resources
- Refactor macOS packaging re: resources.rcc
2020-07-03 09:59:00 -04:00
Richard Ramos
64452e71b9
feat: Determine if a message was sent
2020-07-02 11:57:48 -04:00
Richard Ramos
a63da4889b
fix: hour format and show timestamp on messages
2020-07-02 10:47:08 -04:00
Richard Ramos
f191f7fe8b
feat: Support status-tag to join a public channel if mentioned in the message list
2020-07-02 10:33:33 -04:00
Richard Ramos
bbd51cdcfe
Use twemoji.js
2020-06-30 14:35:14 -04:00
Richard Ramos
2af0b0bc6a
feat: adds emoji contentType support
2020-06-30 14:35:14 -04:00
Iuri Matias
7440b5beb1
add missing var
2020-06-30 12:30:40 -04:00
Iuri Matias
716258156e
feat(Chat): display clickable links, sanitize them and XSS protect
...
Closes #458
2020-06-30 12:30:40 -04:00
Richard Ramos
8e21a1b8b3
fix: word wrap + breaklines
2020-06-25 16:33:16 -04:00
Iuri Matias
e859250501
fix other blurry images on hdpi screens
...
fix other blurry images on hdpi screens
fix image size
ensure plist has high res directive
addd directive to info runner
2020-06-25 16:13:17 -04:00
Richard Ramos
e8858f25ba
feat: Replace pubkeys by alias/ens in group system message
2020-06-25 10:33:43 -04:00
Richard Ramos
21af287654
feat: support message formatting
2020-06-25 10:29:44 -04:00
Richard Ramos
55fbd4b0fe
fix: make the identicons sharp
2020-06-23 14:45:21 -04:00
Jonathan Rainville
7e96a17f3b
fix: add StyledTextEdit and TextField to use the font
2020-06-19 14:53:45 -04:00
Jonathan Rainville
8755c901de
fix: fix font loading issue and create a text component to use that font
2020-06-19 14:53:45 -04:00
Jonathan Rainville
bae8e44f37
fix: fix long texts to wrap correctly in chat bubble
2020-06-18 17:09:56 -04:00
Iuri Matias
0ad64cc5de
update qml imports
2020-06-18 11:02:11 -04:00
Iuri Matias
e7e77f58dc
make profile popup reusable
2020-06-18 08:13:45 -04:00
Richard Ramos
0971b5928d
feat: Support ENS usernames in messages
2020-06-17 13:09:31 -04:00
Richard Ramos
88bf4fca66
feat: add id to profile object and verify membership on groups
2020-06-16 12:46:40 -04:00
Richard Ramos
78e8e6be93
feat: group information
2020-06-13 09:56:58 -04:00
Richard Ramos
9a2144fe75
feat: leave private chat groups
2020-06-11 10:29:15 -04:00
Richard Ramos
761be22bfa
feat: Join private groups
2020-06-10 15:54:56 -04:00
Richard Ramos
8cca18d7f9
Display group chat message types and react to chat updates
2020-06-10 15:21:15 -04:00
Richard Ramos
39c494f9d5
refactor: Remove ChatItem object
2020-06-10 15:08:55 -04:00
Richard Ramos
afc247be23
Various fixes
...
- Make the topbar channel identifier color match the channel list color
- Display private groups on the channel list
- Reduce chat identifier height
2020-06-09 18:13:53 -04:00
Richard Ramos
40a523851d
fix: chat identifier position
2020-06-09 11:49:23 -04:00
Richard Ramos
b5b02cfd57
show identifier as the first message of chat view
2020-06-08 15:27:30 -04:00
Richard Ramos
9d75f6f552
Use section identifiers as a way to identify if messages have been sent by the current user (no need to modify the model with `repeatMessageInfo`)
2020-06-08 13:24:46 -04:00
Pascal Precht
ffd356d182
feat(Chat): introduce Profile Popup
...
This is a simple profile popup that will get more functionality in future commits.
Closes #126
2020-06-04 08:47:44 -04:00
Iuri Matias
98d2c1df68
display a sticker when a content type sticker message is received
...
display a sticker when a content type sticker message is received
display a sticker when a content type sticker message is received
display a sticker when a content type sticker message is received
display sticker
fix height and default value
cleanup
cleanup
cleanup
use constants for the content type
2020-05-29 09:52:20 -04:00
Jonathan Rainville
4fa3c34199
feat: new design for the chat bubble
2020-05-28 17:35:38 -04:00
Iuri Matias
2f428ef41d
add default properties to message component
2020-05-28 13:49:53 -04:00
Pascal Precht
37cce5b9f3
ui(chat): don't repeat user info for the same user
...
Closes #129
2020-05-28 08:10:15 -04:00
Iuri Matias
de9d5ad63f
extract ChatMessages into its own files
2020-05-28 06:28:18 -04:00