Commit Graph

281 Commits (3aa9ca785f230720ffc3ee90e6a0fa8fdf72e62d)

Author SHA1 Message Date
Audric Ackermann 7b81c4213a
Merge clearnet 4 years ago
Audric Ackermann 0c1343cad5
add a way to share currently distributing keypair to added members 4 years ago
Audric Ackermann 78e7255cb8
send the keypair to added members if we are admin
and remove request encryption keypair handling
4 years ago
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann df3ca5d38a
add a sql function to check if a keypair is already saved in db 4 years ago
Audric Ackermann a31c457c08
allow closedgroup new message to be sent to our other devices
also, do not drop it on the receiving side
4 years ago
Audric Ackermann 01f834ae98
only handle the first ever configuration message incoming 4 years ago
Audric Ackermann 6d28f343c9
try to decrypt unprocessed message when we get a new encryptionkeypair 4 years ago
Audric Ackermann ad06b94708 do not drop a message which was not decrypted for a medium group
Instead, trigger a request to the group to get the encryption keypair.
We will try to process those messages on an app restart
4 years ago
Audric Ackermann 375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 4 years ago
Audric Ackermann 850233bc9e review PR 4 years ago
Audric Ackermann ed84760f0e
add a tslint rule to forbid use of async without await 4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann c7fa765b65
be sure to have a conversationId on handleMessageEvent() 4 years ago
Audric Ackermann df0b44db4c
Merge remote-tracking branch 'upstream/clearnet' into multi-device-v2 4 years ago
Audric Ackermann 5ec9722e00
autobind typescript class methods with autobind 4 years ago
Audric Ackermann b76ce0f2ff
update models to TS part2 4 years ago
Audric Ackermann 65ed81e980
enable explicit group updates on the sending side 4 years ago
Audric Ackermann ebd94ce15c
fix order of added new group in leftPane 4 years ago
Audric Ackermann 3b3378a2ee
finish explicit group updates 4 years ago
Audric Ackermann 3342c7fd26
lint 4 years ago
Audric Ackermann 1d85a6dc5f
trigger new message onError while handling a request 4 years ago
Audric Ackermann a51f95d28c
move models to TS part1 4 years ago
Audric Ackermann aede96b69b
enable explicit group updates on the sending side 4 years ago
Audric Ackermann b88ea110e8
Add multi device v2 support 4 years ago
Audric Ackermann 64737a89d7
add ConfigurationMessage 4 years ago
Audric Ackermann 2462e12a04
Merge pull request #1461 from Bilb/explicit-group-updates
Explicit group updates
4 years ago
Audric Ackermann c06f710b3b
fix order of added new group in leftPane 4 years ago
Audric Ackermann 334da0a169
finish explicit group updates 4 years ago
Audric Ackermann 82a7ed73df
trigger new message onError while handling a request 4 years ago
Audric Ackermann 46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
Improve open group loading speed
4 years ago
Audric Ackermann 0e25ab2874
WIP 4 years ago
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 4 years ago
Audric Ackermann 999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage 4 years ago
Audric Ackermann 79028ebaeb
remove isUnidentifiedDelivery 4 years ago
Audric Ackermann c5ad206239
fix message added not shwon on SessionMessageList 4 years ago
Audric Ackermann 8b8fe66615 update profile of users when getting profile from opengroup message 4 years ago
Audric Ackermann 34e5648681 fix metadatabadges for closed group
do not show crown nor Mod badge
4 years ago
Audric Ackermann b218611831 remove contactCollection in convos. 4 years ago
Audric Ackermann 273eedc6a9 remove hasSignalAccount and Sealed Sender unused 4 years ago
Audric Ackermann e3a6e24898 remove body pending loading of message > 2000.
Also remove the limit when sending text messages
4 years ago
Audric Ackermann eadfbc9f6d
Merge remote-tracking branch 'upstream/clearnet' into clean-and-moderator-dialog-update 4 years ago
Audric Ackermann bb037f7edb
fix profile updates when flag is set (do not drop message) 4 years ago
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 4 years ago
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
Audric Ackermann fd18345c5a
remove handling of rss related things completely 4 years ago
Audric Ackermann 21c62c167e
remove typing indicator when we get a dataMessage 4 years ago
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
4 years ago
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 4 years ago
Audric Ackermann 75b7788fa9
remove stuff related to web api 4 years ago
Audric Ackermann f1d84177a0 fix expirationTimer updates closed group desktop to ios 4 years ago
Audric Ackermann 58be168227 drop groupUpdates which happened before we joined the group 4 years ago
Audric Ackermann 6856c0e748
remove updateTextInputState not needed and add left to menu tests 4 years ago
Audric Ackermann cbd0e63641
add admin dialog to warn him about leaving for v2 closed group 4 years ago
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