Commit Graph

203 Commits

Author SHA1 Message Date
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
2021-11-29 17:40:46 +11:00
warrickct f17b923add Fixing rimraf transpile bug. Adding PR fixes - icon buttons. 2021-11-26 15:29:57 +11:00
Audric Ackermann 8df85441f7
fix video stream not displaying in draggable container 2021-11-05 13:30:18 +11:00
Audric Ackermann 945ecf34a1
Fix select colors for sent messages and link text not selectable (#1924)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent

* Allow scrolling in mentioning people in composition box

Relates #1849

* fix selection colors for sent messages and make link selectable

Relates #1922
2021-09-17 11:36:46 +10:00
Audric Ackermann c92baad736
Fix path building (#1903)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
2021-09-13 17:07:53 +10:00
audric bfc805c9d4 fix search logic and UI cosmetic fixes 2021-09-03 16:47:04 +10:00
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 2021-09-01 15:25:34 +10:00
audric bd7d88e170 remove theme from css and used variables instead 2021-09-01 14:29:04 +10:00
audric ec2eab6e23 do not trigger redux update if onion path did not change 2021-08-25 16:18:53 +10:00
audric f9988119f9 major UI rewrite of messages view with redux improvements 2021-08-25 15:01:19 +10:00
audric ee4ed2e075 fix attachment logic with ui redesign 2021-08-24 13:23:23 +10:00
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 2021-08-23 16:32:21 +10:00
Brice-W f6d3715dab add a link icon when there is no image available or when media download is not allowed 2021-08-16 14:46:31 +10:00
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-21 09:47:10 +10:00
Warrick Corfe-Tan 398e23256d minor style tweak. 2021-07-20 11:09:27 +10:00
Warrick Corfe-Tan ee7e6e47fe applying to outgoing messages 2021-07-20 10:50:06 +10:00
Warrick Corfe-Tan c944fac426 Transparent background for images. 2021-07-20 10:08:09 +10:00
Audric Ackermann 511adcf388
refactored right panel to hook 2021-07-14 13:56:13 +10:00
Audric Ackermann 68f81d387f
fixed mentions overlay with attachment on back 2021-05-26 15:17:54 +10:00
Audric Ackermann e41d182972
Fix fonts sans serif (#1619)
* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617
2021-05-12 10:35:05 +10:00
Audric Ackermann 720e229c95
do not put DM settings on multiple lines 2021-03-04 14:22:13 +11:00
Audric Ackermann 6edcb88788
remove resend as it does not make any sense with medium groups
and sendAnyway
2021-02-09 11:38:11 +11:00
Audric Ackermann d655c397e0
make the isAdmin coming from the convo props and not the messages 2021-01-22 11:09:34 +11:00
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann 1a128ab055
fix colors for caption editor 2021-01-06 10:02:08 +11:00
Audric Ackermann 766a9f9c45
fix theme for voice messages and recording 2020-12-14 14:39:39 +11:00
Audric Ackermann 4bab6cc8b4
fix typing bubbles on SessionConversation
for some reasons, they were sometimes not visible due to the message
list bottom padding
2020-12-09 14:19:24 +11:00
Audric Ackermann 46fa6e39f6 fix position of play button on right panel medias 2020-12-07 14:09:54 +11:00
Audric Ackermann cb2f90f7f7
make SessioNotificationCount a styled component 2020-12-04 18:01:51 +11:00
Audric Ackermann c128684ffe
cleanup unused svg files from Signal 2020-12-04 15:47:33 +11:00
Audric Ackermann 4c6a05c6d7
make timestamp a styled-component too 2020-12-04 15:01:50 +11:00
Audric Ackermann e1fbcade0f
move expiretimer bucket svg to ts & style them with styled-components 2020-12-04 14:48:11 +11:00
Audric Ackermann 15ae97e0a7
use OutgoingMessageStatus in ConversationListItem too
also, enable back the delivered/read status on message metadata
2020-12-04 10:53:28 +11:00
Audric Ackermann 0a6a49eda5 Add an Outgoing Message Status react component 2020-12-03 16:25:41 +11:00
Audric Ackermann e38be266c2 major rework of session icon => make them styled with styled-component 2020-12-03 12:09:39 +11:00
Audric Ackermann f0a58b01b0
remove calculatingPow animation on msg => use the one for sending 2020-12-02 17:48:43 +11:00
Audric Ackermann 4c0a988fe5
Move the metadata badges to use react functional components 2020-12-02 16:23:51 +11:00
Audric Ackermann 29eb528d1f
remove signal gear icon, and show back ours on calculatingPow
this is used for a message in the message list and in the conversation
list item
2020-12-02 11:27:15 +11:00
Audric Ackermann f9783be764
various UI fixes
* hide borders of images in bg when in the message details view
* force color of caption edits to white, as the background is grey and
it is more readable
* fix a bug preventing to quote the same message twice when switing
between two conversation after starting to quote one
2020-12-01 11:24:07 +11:00
Audric Ackermann 60a4fcbfcc
small UI fixes for caption editor 2020-11-26 15:53:52 +11:00
Audric Ackermann c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown 2020-11-26 14:24:29 +11:00
Audric Ackermann 22b4f39e52
MessageDetails: contact status fallbacks to message status
this is used for medium groups
2020-11-25 13:25:08 +11:00
Audric Ackermann 5c55a9411f
add first step to enable back MessageDetails.
Still not much the react way to do it for now
2020-11-25 11:52:20 +11:00
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 2020-11-24 16:12:28 +11:00
Audric Ackermann edd984e0f5
make quotes stay empty when there object isEmpty() 2020-11-19 11:56:34 +11:00
Audric Ackermann 051436339d
remove unused font 2020-11-09 11:12:01 +11:00
Audric Ackermann 7058bc0319
fix metadata styles for media message without body on light mode 2020-11-06 15:17:23 +11:00
Audric Ackermann 7ae79ee0a2
make timer notification work with empty profile name (display pubkey) 2020-11-04 13:44:37 +11:00
Audric Ackermann b865810cb0
fix expiretimer color for incoming message in light mode 2020-11-04 11:06:17 +11:00