Audric Ackermann
2ae7a6dfe5
cleanup message.js and conversation_view.js
5 years ago
Audric Ackermann
d94d2819ce
use placeholder when convo blocked in composition box
5 years ago
Audric Ackermann
f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages
5 years ago
Audric Ackermann
e45ce43e01
store messages currently loaded in convo on redux
5 years ago
Audric Ackermann
221f264de6
rename all saveMessage to message.commit()
5 years ago
Audric Ackermann
5122433eb4
remove message_list_view.js and replace saveMessage with a commit()
5 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
Maxim Shishmarev
27859b13aa
Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses
5 years ago
Audric Ackermann
8710b7a9e8
medium group: send existing expiretimer to joining members if set
5 years ago
Audric Ackermann
545eef4edb
include expireTimer in group invitation message so it does not reset it
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
d218e00bd3
scale down avatars before upload to 512x512
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
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
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
c7e54c4257
make attachment download use onion routing
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
1a5a0786a1
fix new medium group mark as unread then as read on opened
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
7a8a22701b
Merge pull request #1370 from Bilb/fix-medium-groups
5 years ago
Audric Ackermann
a1c58044d3
Merge pull request #1371 from Bilb/drop-admin-medium-groups
...
require admin for editing a closed group, but not a medium one
5 years ago
Audric Ackermann
2f8f79c5d2
make message clearer when we try to reuse a keyIdx in the ratchet
5 years ago
Audric Ackermann
99608440d0
Merge pull request #1358 from Bilb/generate-own-sender-key-not-found
...
Generate our own senderkey if it does not exist
5 years ago
Audric Ackermann
4215aa1e3b
require admin for editing a closed group, but not a medium one
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
97eaf68085
clean getExistingSenderKeysForGroup as we don't need the diff anymore
5 years ago
Audric Ackermann
c0497e3df1
trigger senderKeyRequest if we get a DOMException on decryptGCM()
5 years ago
Audric Ackermann
05e682cdc2
enable back swarm polling when we get added back to a group
5 years ago
Audric Ackermann
3fa1a8f2b5
mark medium group as not left if we get a message INFO adding us back
5 years ago
Audric Ackermann
cfb9e65f30
trigger new ratchet send on message sent success
...
send our new ratchet to all new members when we just sent a message
containing no senderKey in it.
an set but empty senderKey array should only be sent when a user left or
was removed.
5 years ago
Audric Ackermann
a05b6556b0
remove unused handleQuit for medium groups
5 years ago
Audric Ackermann
e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members
5 years ago
Audric Ackermann
5d7d66f65a
fix bug making session request being sent for medium group create
5 years ago
Audric Ackermann
a80f9a5965
fix medium group to match mobile way
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
06d0683ce5
WIP
5 years ago
Audric Ackermann
22afe50c05
make messageQueue handle medium group message in sendToGroup
5 years ago
Audric Ackermann
d4e9b43f0c
remove QUIT type of mediumgroupupdate
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
82be1ca60f
allow medium group updates from non admin
5 years ago
Audric Ackermann
53a14a0b60
add prefix to ExpirationTimerUpdateMessage for closed group too
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
c01cd634e4
Generate our own senderkey if it does not exist
...
This case can happen on restore from seed
5 years ago
Audric Ackermann
c3e2397b0a
Merge pull request #1353 from Bilb/bad-snode-difficulty-100
...
mark node as bad if it returns difficulty 100
5 years ago
Audric Ackermann
e5db9916a5
allow closed group updates from non-admin user
5 years ago
Audric Ackermann
d12e0500af
mark node as bad if it returns difficulty 100
5 years ago
Audric Ackermann
bfcbf4fe08
Merge pull request #1347 from Bilb/avatar-add-animation-clickable
5 years ago
Audric Ackermann
4505bed61b
add migration to drop existing textsecure prefix from group convo ids
5 years ago
Audric Ackermann
86b15328c1
drop the prefix for group on the incoming message object
5 years ago
Audric Ackermann
9295fe7c58
add opacity change on hovered clickable avatar
5 years ago
Audric Ackermann
92cc9a7cdd
Merge pull request #1346 from Bilb/add-pn-notify
...
add notify to PN server on message sent
5 years ago
Audric Ackermann
3a876c7322
add notify to PN server on message sent
5 years ago
Audric Ackermann
8326870b1a
use senderIdentity for incoming messages on mediumGroups
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
d283636fa3
fix tests
5 years ago
Audric Ackermann
58d85c0f8e
fix methods order
5 years ago
Audric Ackermann
514eb9ba98
fix pubkey regex for mobile medium groups
5 years ago
Audric Ackermann
215c964fab
fix padding for medium group
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