Commit Graph

267 Commits (feature/update-crowdin-translations)

Author SHA1 Message Date
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
Mikunj fb53f9ff36 Fix message queue 5 years ago
Mikunj b52544e6ba Fix imports 5 years ago
Mikunj c2c56bb9b0 Handle typing and expiration messages when sending to group 5 years ago
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Audric Ackermann cf7635428a
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Mikunj 4d0d2727bd Added strict type checking to group id 5 years ago
Mikunj 8f492f8e74 Review changes 5 years ago
Mikunj 3bf5796cd5 Modify periodic check implementation 5 years ago
Mikunj d862269f8d Update tests 5 years ago
Audric Ackermann 439ea09027
lint 5 years ago
Audric Ackermann 4867a560d0
trigger send for all devices of a closed group message 5 years ago
Audric Ackermann 9ec0c8e6a8
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Mikunj ef76972ccb Allow passing a cache to the queue 5 years ago
Audric Ackermann 12bb6673ea
fix session requests 5 years ago
Audric Ackermann 0a2af13cb1
start of fix of session-request processing 5 years ago
Audric Ackermann ae67f424a3
move instance of MessageQueue export to ts/session folder 5 years ago
Audric Ackermann c947d99369
getMessageQueue() rather than .messageQueue to avoid startup issue 5 years ago
Audric Ackermann 457a94790c
fix await of promises in if statements 5 years ago
Vincent 42a788c8e3 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into message-queue-test 5 years ago
Vincent 2c2ed1b274 review-fixes 5 years ago
Audric Ackermann 2e78f755b4
replace sending of established, grant and link request messages 5 years ago
Vincent 211d4e1551 improve sendToGroup 5 years ago
Audric Ackermann 4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Vincent ac2bb65c2a isEqual on ChatMessages 5 years ago
Audric Ackermann 10e095ba9d
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Mikunj 27f4378de8 Merge branch 'clearnet' into multi-device-protocol 5 years ago
Vincent fde52e7b7f splitting 5 years ago
Mikunj 93c19395c1 Change back to old window syntax and allow stubbing of it 5 years ago
Vincent dbc44cb78b Merge branch 'open-group-class' into message-queue-test 5 years ago
Vincent 6afddf38df finalise 5 years ago
Vincent 73d44d60cf mostly-tests 5 years ago
Audric Ackermann 66de8d9648
remove plenty of the friend logic 5 years ago
Mikunj ae44f0da0f Remove old multi device functions 5 years ago
Vincent 14ca56581c Merge branch 'message-sending-refactor-queue' into message-queue-test 5 years ago
Vincent 8417e3660d fixup-review 5 years ago
Vincent fc45f1c438 Merge branch 'message-sending-refactor-queue' into message-queue-test 5 years ago
Vincent 0f2d24fa11 fixup-review 5 years ago
Vincent 2be1c2fd94 groups-test 5 years ago
Vincent 35665f3cb6 is-medium-group 5 years ago
Vincent bffb43dd19 review-fixes 5 years ago
Vincent d0c9f8b773 review-fixes 5 years ago
Vincent 48e3ded9d2 review changes 5 years ago
Vincent affba056d2 just-cache 5 years ago
Vincent e09372eacf tightening up queue 5 years ago
Vincent 6c35f3c773 optimized OpenGroup 5 years ago
Vincent 3140dee2b2 queue-utils 5 years ago
Vincent 0d45ed4d68 OpenGroup class and sending to Groups 5 years ago
Vincent 83f70f1ff0 OpenGroup class and sending to Groups 5 years ago
Vincent 8d0829e8e4 pulled 5 years ago
Mikunj 1c84fa6c02 Renamed retries to attempts 5 years ago
Mikunj Varsani 88f87c0a70
Update ts/session/sending/MessageSender.ts
Co-authored-by: Audric Ackermann <audric.bilb@gmail.com>
5 years ago
Mikunj 3b8b9f7306 Added comments 5 years ago
Mikunj 090f0e2c38 Add retrying and tests 5 years ago
Mikunj Varsani 9b93e247eb
Merge pull request #1167 from Mikunj/message-sender-test
Added Message Sender tests
5 years ago
Vincent 2095c63a57 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into message-sending-rafactor__cache 5 years ago
Vincent eb116e587e simplified conversion to buffer 5 years ago
Vincent fb903daf20 sync msgs 5 years ago
Mikunj 9b855a11e1 Added MessageSender tests 5 years ago
Vincent f0ba4fa276 partial raw messages 5 years ago
Vincent 86cbc07855 linted 5 years ago
Vincent 80bc3520bd queue 5 years ago
Vincent ef65e47819 Merge branch 'message-sender' of https://github.com/Mikunj/session-desktop into message-sending-rafactor__queue 5 years ago
Vincent 392c201a13 linted 5 years ago
Vincent 5f38e216a5 merge w cache 5 years ago
Vincent 728b43be9e cache-pull-from-db-finish 5 years ago
Vincent d0005205a4 queue-st 5 years ago
Vincent a2844b48f4 linted 5 years ago
Vincent d9bb7451a3 linted 5 years ago
Vincent b203dc4493 Finalized cache 5 years ago
Mikunj 1dad49057b Implement MessageSender 5 years ago
Mikunj d1bfcd340b Fix imports.
Fix closed group messages.
5 years ago
Vincent bbfa6499e0 Stubbed cache 5 years ago
Vincent fb4c6fb387 testing stubs 5 years ago
Vincent 734debe841 PendingMessageCache Done 5 years ago
Vincent 193573aa67 getFromStorage complete 5 years ago
Vincent b8ec9bd995 Typify PubKey 5 years ago
Vincent 372754e360 Pulled from audric 5 years ago
Vincent a9d9303449 Prep for pull 5 years ago
Vincent a5cfbd584b linted 5 years ago
Vincent dec7aa10c8 Revert pulls 5 years ago
Audric Ackermann 935ac8d8f9
lint 5 years ago
Audric Ackermann a7572470df
fix some ts errors on sending files 5 years ago
Mikunj 0f6053ce08 Add events to MessageQueueInterface.
Added strict typings for events.
5 years ago
Mikunj e7826cfb34 linting 5 years ago
Mikunj e0f27ba712 basic classes for message sending 5 years ago