Commit Graph

2124 Commits (79028ebaeb6ade75492fb872429496117773f761)

Author SHA1 Message Date
Audric Ackermann 727261b36a
be sure to register outgoing message for medium groups when created 4 years ago
Audric Ackermann 184b1984c3
fix autoplay unmuted video when video attachment is added 4 years ago
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
4 years ago
Audric Ackermann 88cd58e7ff
trigger theme switch with user theme on app start 4 years ago
Audric Ackermann d729e49840
update to latest major version of react-contexify 4 years ago
Audric Ackermann e8677eef8c add back bump typing to CompositionBox 7 show bubbles on direct convo 4 years ago
Audric Ackermann 08d8b90aaa
add animation on click on quoted message just like on mobile 4 years ago
Audric Ackermann 9f0fd6fa8a
fix mentions shows display name in composition box but sends user id 4 years ago
Audric Ackermann 98e7d50b73
do not create the convo when fetching avatar.
if the convo is not here, it's likely it was removed by the user itself.
4 years ago
Audric Ackermann 1bb99ac3df
enable back media switch on lightbox opened from a message
with several attachments
4 years ago
Audric Ackermann 60a4fcbfcc
small UI fixes for caption editor 4 years ago
Audric Ackermann 82b59f808d
no confirmation on message delete from the message detail view 4 years ago
Audric Ackermann c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown 4 years ago
Audric Ackermann 20496c45d6
remove sendAnyWay and showSafetyNumber from props of MessageDetails 4 years ago
Audric Ackermann 5e43210493
Merge branch 'clearnet' of github.com:loki-project/loki-messenger into react-refactor 4 years ago
Audric Ackermann 465c9dfa77
remove dirty hack used before we use the notify on PN
this was used to not trigger events when sending a control message
4 years ago
Audric Ackermann 22b4f39e52
MessageDetails: contact status fallbacks to message status
this is used for medium groups
4 years ago
Audric Ackermann 80523a9a3e
rename MessageQueue event to be more easily searchable
success -> sendSuccess
fail -> sendFail
4 years ago
Audric Ackermann 5c55a9411f
add first step to enable back MessageDetails.
Still not much the react way to do it for now
4 years ago
Audric Ackermann 71e1f1e143
ignore ts generated files under subdirectory too 4 years ago
Audric Ackermann 8ac2011682
render triple dots menu on header only when not on default viewmode 4 years ago
Audric Ackermann 291d4682e4
fix some tests 4 years ago
Audric Ackermann 51ea762bce
enable save of attachments on click on single generic attachment 4 years ago
Audric Ackermann 0addf2146a
add some logs to attachment download 4 years ago
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 4 years ago
Audric Ackermann f673589c56
add types for blueimp-load-image 4 years ago
Audric Ackermann cc049065da
do not use v3 for live.apns.getsession.org PN calls 4 years ago
Audric Ackermann 9f14924e65
push toast if gif size is too big 4 years ago
Audric Ackermann da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 4 years ago
Audric Ackermann f2074f502a
Uniformize size of accepted attachment to 10MB
Some image files can be scaled automatically, so this size is not the
same for them, they will just be scaled down
4 years ago
Audric Ackermann 97ff60f3bb
reset input for selecting file on file choosen on CompositionBox 4 years ago
Audric Ackermann 380d296bb2
send session request if we get a message we cannot decode
This handle the case where we delete a contact from A, lets call him B
All message after that delete from B to A will be not decoded correctly.

The issue is that the record is existing, but there is no session in it.
The fix is that if we get a message and a record is found, but has not
session in it, we trigger a session request with that user
4 years ago
Audric Ackermann a1d4dea845
fix scrolling to unread and marking message as read on scrolling
we need to hit the bottom for the convo to update currently

add smooth scrolling on click on quoted message
4 years ago
Audric Ackermann d0043ca245
use react-intersection to accurately mark messages as read 4 years ago
Audric Ackermann d533a3aca5
fix unread message banner for MessagesList 4 years ago
Audric Ackermann 535b1d59ef
add a reset conversation action type and call it on message destroyed 4 years ago
Audric Ackermann bb87eb0f52
fix timer expiring sometimes missing a sec 4 years ago
Audric Ackermann 1fd15ac977
Make SettingsView refresh on conversation change 4 years ago
Audric Ackermann a695528d09
focus composition box on attachment added 4 years ago
Audric Ackermann 7a81c78382
focus composition box on conversation change 4 years ago
Audric Ackermann 4d9371dfe7
fix SessionRegistrationView missing from signal.js 4 years ago
Audric Ackermann 7b3981207e
fix password dialog 4 years ago
Audric Ackermann f8f15cb9f7
fix remove message for public groups 4 years ago
Audric Ackermann edd984e0f5
make quotes stay empty when there object isEmpty() 4 years ago
Audric Ackermann 531b227ae4
clean unused files and fix recovery dialog showing 4 years ago
Audric Ackermann 1503d83f3a
add ourPrimary convo to redux and update the actionPanel with it 4 years ago
Audric Ackermann c203303c71
rename SessionConversationMessagesList to SessionMessagesList 4 years ago
Audric Ackermann 935f00934b
add a key to all messages printed in SessionMessagesList 4 years ago
Audric Ackermann c9e81454fb
make mentions work in react when emoji inserted inside at a rand pos 4 years ago
Audric Ackermann b5af8eb215
Add Mentions with react-mentions 4 years ago
Audric Ackermann b2e362a36b
add a useInterval hook and move useNetwork hook to the hook folder 4 years ago
Audric Ackermann 828aa4413f
remove unused group_member_list component 4 years ago
Audric Ackermann 531e7bab46
print error if we get a 178 attachment size.
This is a dirty hack until the root cause is fixed.
4 years ago
Audric Ackermann 81196b793e
prevent 'now ago' from appearing with capitalize 4 years ago
Audric Ackermann 0beb47e597
add messageDeleted redux action 4 years ago
Audric Ackermann e1548b66e4
enable back drag events as now the SessionConversation updates only 4 years ago
Audric Ackermann d2ada105ed
make session dropdown use hooks 4 years ago
Audric Ackermann c8e8d851f9
fix verified change saving of messages, and ctx menu for header 4 years ago
Audric Ackermann 2fc61d2c96
cleanup expired template from html files 4 years ago
Audric Ackermann 6e14718a32
reactity the expired Session version warning 4 years ago
Audric Ackermann 977569cde0
move offline network view to react 4 years ago
Audric Ackermann f9ab90fb71
link backbone message added to redux 4 years ago
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 4 years ago
Audric Ackermann 918eeae275
move InboxView to react 4 years ago
Audric Ackermann 2ae7a6dfe5
cleanup message.js and conversation_view.js 4 years ago
Audric Ackermann d94d2819ce
use placeholder when convo blocked in composition box 4 years ago
Audric Ackermann f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 4 years ago
Audric Ackermann e45ce43e01
store messages currently loaded in convo on redux 4 years ago
Audric Ackermann 221f264de6
rename all saveMessage to message.commit() 4 years ago
Audric Ackermann 5122433eb4
remove message_list_view.js and replace saveMessage with a commit() 4 years ago
Audric Ackermann 30f93b2ad3
remove conversation stack 4 years ago
Audric Ackermann b9c4394b27
SessionConversation, render MessageView if no conversationModel found 4 years ago
Audric Ackermann 190d597814
only trigger new msg on open group if we are still running 4 years ago
Audric Ackermann c039c89a26
remove resetMessageSelection() as unused and cleanup toast 4 years ago
Audric Ackermann 209fe460e4
lint and fix toast blur when dialog shwon 4 years ago
Audric Ackermann a5a7b38da9
add autoFocus feature to SessionInput 4 years ago
Audric Ackermann 357421f161
rename window.console.log to window.log.info 4 years ago
Maxim Shishmarev 27859b13aa Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses 4 years ago
Audric Ackermann 8710b7a9e8
medium group: send existing expiretimer to joining members if set 4 years ago
Audric Ackermann 545eef4edb
include expireTimer in group invitation message so it does not reset it 4 years ago
Audric Ackermann 21a97ba0ec
fix deleteMessages from headermenu and load unread_count message on show 4 years ago
Audric Ackermann e613613416
show toast with react-toastify and make them a styled-component 4 years ago
Audric Ackermann 72b6538679
render unreadBanner at top of the message list if unread is not found 4 years ago
Audric Ackermann 9192c7b7d3
auto close session seed modal on copy 4 years ago
Audric Ackermann 6fd8ea20c7
fix restoring of session after restore from seed 4 years ago
Audric Ackermann 3d11271471
fix position of unread banner on conversation (search for first read) 4 years ago
Audric Ackermann d218e00bd3
scale down avatars before upload to 512x512 4 years ago
Audric Ackermann c0cf53cdfa
enable back the logic of displaying avatar for first message in serie 4 years ago
Audric Ackermann 0b4400837b
fix scroll to quoted message and contact display name of group updates 4 years ago
Audric Ackermann 7ae79ee0a2
make timer notification work with empty profile name (display pubkey) 4 years ago
Audric Ackermann dfbcf3ac9b
do not remove convo when removing only message
use the user pubkey if group update notification with an unknown user
make GroupNotification a function component
4 years ago
Audric Ackermann 95101bfd3c
allow overlay message section to switch between join to newmessage 4 years ago
Audric Ackermann 113e91aa4b
contact section updates on menu right click block 4 years ago
Audric Ackermann b9dbef86a5
click on image message in convo while selection mode, selects message 4 years ago
Audric Ackermann d0bf8d54bc
fix theme of unlock settings with password 4 years ago
Audric Ackermann 94b445983d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 4 years ago
Audric Ackermann aad2d3232a
be able to show right panel for users too (and display convo medias) 4 years ago
Audric Ackermann 3f538b9be1
render Session Verification Messages 4 years ago
Audric Ackermann dad9e5297c
make the last seen indicator work as expected 4 years ago
Audric Ackermann 35ad4cba24
add a react component to display last read message 4 years ago
Audric Ackermann 940ad57f83
rework the way unread count works
we no longer refresh on each message read, only once the whole
conversation is read.
5 years ago
Audric Ackermann 5a5d1d60c6
fix scroll hanging when scroll all the way up 5 years ago
Audric Ackermann dd93a849d7
cleanup duplicated code between Conversation and ConversationList 5 years ago
Audric Ackermann 07c384aa0d
render GroupNotification messages 5 years ago
Audric Ackermann b42e96c31b
store the ed25519KeyPair temp key too on storage under 'identityKey' 5 years ago
Audric Ackermann 96263b4d25
WIP 5 years ago
Audric Ackermann ea617cbc57
remove stuff related to archived state for convo 5 years ago
Audric Ackermann 387f8ff391
Update props of SessionConversation to only get the currently selected convo 5 years ago
Audric Ackermann a30ae8903b
remove bulk edit view and related stuff unused 5 years ago
Audric Ackermann e0fd910fa4
move a part of SessionSrollButton to styled component 5 years ago
Audric Ackermann 1f2c01722a
move to new identity key mechanism
now we do as followed:
• Generate 16 bytes of random data
• Add 16 bytes of zeros
• Use the 16 bytes of random + 16 bytes of zeros to generate an ED25519 key pair
• Convert the ED25519 key pair to an X25519 key pair

All of this is happening with libsodiumm called over IPC
5 years ago
Audric Ackermann 857bea50ea
enable back keyboard navigation on message list 5 years ago
Audric Ackermann 6edadaf3e9
message container use column reverse to order messages from bottom to
top
5 years ago
Audric Ackermann ef3f3d0af5
enable back link previews in sent message 5 years ago
Audric Ackermann 1541b47f13
throw an error rather than returning null on link preview failure
so that it is handled in the catch() block
5 years ago
Audric Ackermann ba959f3379
link preview state moved to SessionCompositionBox 5 years ago
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 5 years ago
Audric Ackermann f5818817e9
remove references to old emoji-panel package 5 years ago
Audric Ackermann 8f92ae7812
fix tiny UI glitches 5 years ago
Audric Ackermann 12bf46e09e
use pushToast through ToastUtils when it's a static toast content 5 years ago
Audric Ackermann a0e5c7386f
delete messages needs to be called once the message is selected 5 years ago
Audric Ackermann 68e9376c5e
throw error on invalid response while downloading attachment 5 years ago
Audric Ackermann 7c47150194
fix attachments download with already set url 5 years ago
Audric Ackermann 79eae4838d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 5 years ago
Audric Ackermann 21a88644b4
Merge pull request #1383 from Bilb/remove-proxy-fetch 5 years ago
Audric Ackermann 17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 5 years ago
Audric Ackermann 55fa65fc31
override attachments name on upload 5 years ago
Audric Ackermann 8abd6a0e21
fix issue with contextmenu on scroll causing UI to break 5 years ago
Audric Ackermann a7c4ce77a1
enable back attachments download on context menu 5 years ago
Audric Ackermann 5de2dea407
use .ok field on serverRequest to check for request success 5 years ago
Audric Ackermann f166ec814e
pass selectiomMode without selectedMessage props to ConversationHEader 5 years ago
Maxim Shishmarev 5ecf43c124 Fix open group file uploads using incorrect server 5 years ago
Audric Ackermann fe3cfb9e82
move all menu to react-contexify 5 years ago
Audric Ackermann 2b13321c23
remove completely send to proxy 5 years ago
Audric Ackermann 4c91d977ca
move token and submit challenge call to onion request 5 years ago
Maxim Shishmarev 61897df7dd Lint 5 years ago
Audric Ackermann 700a93362e
move drop file logic to SessionConversation component
Having it in another component was causing issues like not being able to
scroll on the conversation list even if the component was not shown
5 years ago
Maxim Shishmarev c5b2b64d7f Add onions-v2 support for fileserver requests 5 years ago
Maxim Shishmarev 692a0e8cff Optionally use v2 onions for snode requests 5 years ago
Audric Ackermann a7bdc93ca8
working drag and drop, but no scrolling on the conversation messages 5 years ago
Audric Ackermann b46ed237b3
allow empty message when they have attachments 5 years ago
Audric Ackermann c5927cfc4b
focus composition box after adding an attachment 5 years ago
Audric Ackermann 363da7aa80
add back toast on attachment adding error 5 years ago
Audric Ackermann 6cf69a1337
make adding of attachment work on react conversation 5 years ago
Audric Ackermann 2a155a0f43
fix lightbox for single attachment display and download 5 years ago
Audric Ackermann fcf13c7467
relink lightbox from signal to our app 5 years ago
Audric Ackermann 42369cb8f2
add redux action to change section of UI 5 years ago
Audric Ackermann ddf41de3fb
add csp for image load from blob so attachments are loaded correctly 5 years ago
Audric Ackermann b1cac5f01b
fix ordering of message with more recent at bottom of the view 5 years ago
Audric Ackermann 3998bbc97d
fix more typing errors of conversation object 5 years ago