Commit Graph

1407 Commits (f41bf3151507b4a7f57fb2ac83f85107606be80d)

Author SHA1 Message Date
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 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 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 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 9f14924e65
push toast if gif size is too big 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 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 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 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 5 years ago
Audric Ackermann b9c4394b27
SessionConversation, render MessageView if no conversationModel found 5 years ago
Audric Ackermann 190d597814
only trigger new msg on open group if we are still running 5 years ago
Audric Ackermann c039c89a26
remove resetMessageSelection() as unused and cleanup toast 5 years ago
Audric Ackermann 209fe460e4
lint and fix toast blur when dialog shwon 5 years ago
Audric Ackermann a5a7b38da9
add autoFocus feature to SessionInput 5 years ago
Audric Ackermann 357421f161
rename window.console.log to window.log.info 5 years ago
Audric Ackermann 21a97ba0ec
fix deleteMessages from headermenu and load unread_count message on show 5 years ago
Audric Ackermann e613613416
show toast with react-toastify and make them a styled-component 5 years ago
Audric Ackermann 72b6538679
render unreadBanner at top of the message list if unread is not found 5 years ago
Audric Ackermann 9192c7b7d3
auto close session seed modal on copy 5 years ago
Audric Ackermann 6fd8ea20c7
fix restoring of session after restore from seed 5 years ago
Audric Ackermann 3d11271471
fix position of unread banner on conversation (search for first read) 5 years ago
Audric Ackermann c0cf53cdfa
enable back the logic of displaying avatar for first message in serie 5 years ago
Audric Ackermann 0b4400837b
fix scroll to quoted message and contact display name of group updates 5 years ago
Audric Ackermann 7ae79ee0a2
make timer notification work with empty profile name (display pubkey) 5 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
5 years ago
Audric Ackermann 95101bfd3c
allow overlay message section to switch between join to newmessage 5 years ago
Audric Ackermann 113e91aa4b
contact section updates on menu right click block 5 years ago
Audric Ackermann b9dbef86a5
click on image message in convo while selection mode, selects message 5 years ago
Audric Ackermann d0bf8d54bc
fix theme of unlock settings with password 5 years ago
Audric Ackermann 94b445983d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 5 years ago
Audric Ackermann aad2d3232a
be able to show right panel for users too (and display convo medias) 5 years ago
Audric Ackermann 3f538b9be1
render Session Verification Messages 5 years ago
Audric Ackermann dad9e5297c
make the last seen indicator work as expected 5 years ago
Audric Ackermann 35ad4cba24
add a react component to display last read message 5 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 96263b4d25
WIP 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 7c47150194
fix attachments download with already set url 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 f166ec814e
pass selectiomMode without selectedMessage props to ConversationHEader 5 years ago
Audric Ackermann fe3cfb9e82
move all menu to react-contexify 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
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
Audric Ackermann c41eaada25
move display of message list to a subcomponent 5 years ago
Audric Ackermann f117a083c1
remove i18n requirement in props for message 5 years ago
Audric Ackermann 026a1930ed
add a getOrThrow to ConversationController when we expect this convo 5 years ago
Audric Ackermann 144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
5 years ago
Audric Ackermann b7f5a32570
add reply to message UI logic 5 years ago
Audric Ackermann 1a379d2466
add theme logic to switch between dark/light theme based on redux store 5 years ago
Audric Ackermann 6c7f1598b7
add a flex component using styled 5 years ago
Audric Ackermann 6e07ee42f5
cleanup network status view and some UI constants 5 years ago
Audric Ackermann a652ec3b61
fix light theme in react refactor 5 years ago
Audric Ackermann 4d991d3992
Merge branch 'clearnet' into react-refactor 5 years ago
Audric Ackermann dfff6c2149
Merge pull request #1374 from Bilb/hide-shorten-pubkey-except-public 5 years ago
Audric Ackermann 37dd7b87cc
remove right buttons on Message. use right click instead 5 years ago
Audric Ackermann b050a3740d
clean all updateConversation calls to convo.commit() 5 years ago
Audric Ackermann f57c85dc0d
hide pubkey when not needed on conversationHeader and listItem 5 years ago
Audric Ackermann 16b8fc8620
hide shortened pubkey except for public groups 5 years ago
Audric Ackermann 232b1a416a
do not refresh group panel media if length of media did not change 5 years ago
Audric Ackermann 85fd481ff3
Merge pull request #1362 from Bilb/f-xtyping-bubble-theme
Fix typing bubble theme
5 years ago
Audric Ackermann 68a1091e99
Merge pull request #1361 from Bilb/fix-mention-@-with-long-title
render @ mention correctly with long title on ConversationListItem
5 years ago
Audric Ackermann e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members 5 years ago
Audric Ackermann baaca1a29f
switch medium or closed group deeper in code 5 years ago
Audric Ackermann 82bc050ddd
always create a closed group the type set in the feature flag
speaking about enableSenderKeys
5 years ago
Audric Ackermann 4a86c81edf
themify the typing bubble 5 years ago
Audric Ackermann 4578c635a6
render @ mention correctly with long title on ConversationListItem 5 years ago
Audric Ackermann c052b1a2ec
update group size limit to 20 now that those are ssk groups
Also removed removed description while creating a medium group as it was
removed on mobile
5 years ago
Audric Ackermann e5db9916a5
allow closed group updates from non-admin user 5 years ago
Audric Ackermann 9295fe7c58
add opacity change on hovered clickable avatar 5 years ago
Audric Ackermann cd44143eaf
Merge pull request #1344 from Bilb/fix-avatar-closed 5 years ago
Audric Ackermann d6ad2a1911
select message on click on message directly 5 years ago
Audric Ackermann e83912e449
avatar placeholder skip first 05 for initial from pubkey 5 years ago
Audric Ackermann 58d85c0f8e
fix methods order 5 years ago
Audric Ackermann 8123508b51
fix avatar closed group and pubkey for medium mobile groups 5 years ago
Audric Ackermann f11cb7744d
fix round avatars with border top and bottom width 5 years ago
Audric Ackermann ceab8228fc
close leftpane overlay on message sent to that conversation 5 years ago
Audric Ackermann 4d801fd8e5
check for changes on member avatars only on re rendering 5 years ago
Audric Ackermann 76dc5960dd
render grey Icon if no pubkey or avatarPath on Avatar 5 years ago
Audric Ackermann 56cd42d34c
remove authorColor unused in Session 5 years ago
Audric Ackermann 6eb13e43e3
simplify a lot avatar props 5 years ago
Audric Ackermann 30416d98ab
show our avatar on a group if less than 2 members 5 years ago