Commit Graph

164 Commits (4df8e06c3cb182a5c9971078188bfabaec0ab05d)

Author SHA1 Message Date
Audric Ackermann 0addf2146a
add some logs to attachment download 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 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 b5af8eb215
Add Mentions with react-mentions 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 221f264de6
rename all saveMessage to message.commit() 4 years ago
Audric Ackermann 209fe460e4
lint and fix toast blur when dialog shwon 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 e613613416
show toast with react-toastify and make them a styled-component 4 years ago
Audric Ackermann 6fd8ea20c7
fix restoring of session after restore from seed 4 years ago
Audric Ackermann dad9e5297c
make the last seen indicator work as expected 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 ef3f3d0af5
enable back link previews in sent message 5 years ago
Audric Ackermann 68e9376c5e
throw error on invalid response while downloading attachment 5 years ago
Audric Ackermann 17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 5 years ago
Maxim Shishmarev 5ecf43c124 Fix open group file uploads using incorrect server 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 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 c7e54c4257
make attachment download use onion routing 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 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 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 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 82be1ca60f
allow medium group updates from non admin 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 e5db9916a5
allow closed group updates from non-admin user 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 8326870b1a
use senderIdentity for incoming messages on mediumGroups 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