Commit Graph

135 Commits (e41d1829725ab875992c63f486087619498bbeee)

Author SHA1 Message Date
Audric Ackermann 58abd08e6d
Get snode from snode (#1614)
* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo
4 years ago
Audric Ackermann c063848167
pad and unpad message everywhere
attachment not padded for opengroup only
4 years ago
Audric Ackermann 7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2) 4 years ago
Audric Ackermann 0c0da48150
remove pow 4 years ago
Audric Ackermann 98b69c17f0
add userblocking opengroupv2 and quoting back of messages 4 years ago
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 4 years ago
Audric Ackermann f7e163c142
add sending of message for opengroupv2` 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann ec6a5995db
sync expire timer updates 4 years ago
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types 4 years ago
Audric Ackermann 39f8ca293a
speedup tests 4 years ago
Audric Ackermann ca22b4635f fixup some building of sync message issues 4 years ago
Audric Ackermann 8716fbf495 improve sent message handling by setting the correct convoId at start 4 years ago
Audric Ackermann 8a800cf58c move the logic of handling when a message is sent to MessageSentHandler 4 years ago
Audric Ackermann 25e03eba35 fix lint 4 years ago
Audric Ackermann 370158951a move events from MessageQueue to MessageSentHandler 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann ebf9714e49
remove MessageQueueInterface 4 years ago
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 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 375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann a51f95d28c
move models to TS part1 4 years ago
Audric Ackermann b88ea110e8
Add multi device v2 support 4 years ago
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 4 years ago
Audric Ackermann 5c3cb0a165
make moderator dialogs the Session way 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 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 f1d84177a0 fix expirationTimer updates closed group desktop to ios 4 years ago
Audric Ackermann eb9828a3b7 fix tests 4 years ago
Audric Ackermann 19f59ca41e
add some logs for message sending 4 years ago
Audric Ackermann d43ae09eb0
first working version of closed group v2 4 years ago
Audric Ackermann 80523a9a3e
rename MessageQueue event to be more easily searchable
success -> sendSuccess
fail -> sendFail
4 years ago
Audric Ackermann a80f9a5965
fix medium group to match mobile way 5 years ago
Audric Ackermann 22afe50c05
make messageQueue handle medium group message in sendToGroup 5 years ago
Audric Ackermann 3a876c7322
add notify to PN server on message sent 5 years ago
Audric Ackermann 7054268b14
use source from decoded content and not envelope on ssk 5 years ago
Audric Ackermann 1e446b0a81
fix order for open groups message which are out of sync 5 years ago
Audric Ackermann 6d65c9cc0a
make sendMessage return -1 on fail rather than false 5 years ago
Audric Ackermann 44349079ab
fix delete of open group messages 5 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 5 years ago
Vincent ca96992a44 Pukbeyified 5 years ago
Vincent 68f2a90f7c pubkeys-in-message-encryptor-init 5 years ago
Mikunj 646973e330 Made changes to how messages are sent.
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.

This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
5 years ago
Audric Ackermann f8aa50546b
include verb and path on outgoing websocket message 5 years ago
Maxim Shishmarev 255c7ada68 More clean up in message_receiver.js 5 years ago
Mikunj a972c328c7 Change how sync messages are handled 5 years ago
Mikunj b69ad7db16 Add attachment util 5 years ago
Audric Ackermann cae608fd01
drop typing message for public groups and fix opengroup sending 5 years ago