Commit Graph

177 Commits (d43ae09eb0a1cee939737f9899f8dc7959c7ab39)

Author SHA1 Message Date
Audric Ackermann d43ae09eb0
first working version of closed group v2 4 years ago
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 4 years ago
Audric Ackermann adf0d03d35
add test for the MessageEncrypter using Session protocol 4 years ago
Audric Ackermann 0a4cae4183
fix duplicates message for open groups 4 years ago
Audric Ackermann 2af4938ff2
fix SessionProtocol decrypt of messages with Android
also disable the old SessionRequest logic
4 years ago
Audric Ackermann b0a229bf13 add Dialog on app start to ask to update SessionID 4 years ago
Audric Ackermann 1045bfeba8 add SessionProtocol wip 4 years ago
Audric Ackermann 6b56f1174e search for duplicates using the sent_at timestamp to speedup db call 4 years ago
Audric Ackermann cd3ec67099 add the encryptWithSessionProtocol method 4 years ago
Audric Ackermann cf25e89a14 cleanup unused code 4 years ago
Audric Ackermann 4026e0162e fix a bug preventing fitlering of duplicates for open group messages 4 years ago
Audric Ackermann 228e4ed662
move MessageController to typescript 4 years ago
Audric Ackermann 184b1984c3
fix autoplay unmuted video when video attachment is added 4 years ago
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 5 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