Commit Graph

525 Commits (ce186517a30dd1c2a8552c1fd074e4da300bd2d9)

Author SHA1 Message Date
Audric Ackermann 6896cffd75
Merge branch 'clearnet' into HEAD 4 years ago
Audric Ackermann b68338e26c
working get and post request with opengroup api v2 4 years ago
Audric Ackermann c07271109f
Add a ConversationType OPEN_GROUP 4 years ago
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 4 years ago
Audric Ackermann ccf8a31ae3
move Attachments and Attachments_test to typescript 4 years ago
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 4 years ago
Audric Ackermann 2132395afb
disable getVersion to snodes calls as we don't need it anymore 4 years ago
Audric Ackermann 53d16d7dac
remove fallback to node-fetch 4 years ago
Audric Ackermann f704708524
fix bug with extension not being send if we don't have contenttype set 4 years ago
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types 4 years ago
Audric Ackermann ad117fe4e5
uniformized redux convo type and getProps() of conversation 4 years ago
Audric Ackermann 4a794e90a0
signInWithRecovery = show full screen loader 4 years ago
Audric Ackermann 39f8ca293a
speedup tests 4 years ago
Audric Ackermann aac54e6045
Merge remote-tracking branch 'upstream/clearnet' into restore-handle-configuration 4 years ago
Audric Ackermann c656dd25cf move configMessage handling to a another file 4 years ago
Audric Ackermann fc24df00fb
always share our profileKey on outgoing messages 4 years ago
Audric Ackermann c55f204440
Merge branch 'clearnet' into restore-handle-configuration 4 years ago
Audric Ackermann e0c2cf8e9a
Force configuration message on avatar or display name update 4 years ago
Audric Ackermann a61f5e6814
add contacts to ConfigurationMessage 4 years ago
Audric Ackermann 0a82bf98fa
Add displayName and avatar pointer to ConfigurationMessage 4 years ago
Audric Ackermann d5c4108ed6 fix tests 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 01f834ae98
only handle the first ever configuration message incoming 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 8eb1507fcf fix tests with should() 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 ea2c4437a3
cleanup models with unused events
also, sort message from DB and on redux by sent_at or received_at when
not a public group
4 years ago
Audric Ackermann 267a3e6bf6
disable closedgroup update groups for now 4 years ago
Audric Ackermann 0fe026ab15
Fix the password length limit when not setting a new password
Relates #1446
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 2462e12a04
Merge pull request #1461 from Bilb/explicit-group-updates
Explicit group updates
4 years ago
Audric Ackermann 7048f81214
disable closedgroup update groups for now 4 years ago
Audric Ackermann 334da0a169
finish explicit group updates 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 02fb5783a4
remove regionCode and PhoneNumber.ts 4 years ago
Audric Ackermann 2b92386399 debounce calls to write to db last message 4 years ago
Audric Ackermann 273eedc6a9 remove hasSignalAccount and Sealed Sender unused 4 years ago
Audric Ackermann 43ec14e741 Fix the password length limit when not setting a new password
Relates #1446
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 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 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 eb9828a3b7 fix tests 4 years ago
Audric Ackermann 6856c0e748
remove updateTextInputState not needed and add left to menu tests 4 years ago
Audric Ackermann 6cf838ade8
disallow remove of an admin from a closed group 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 2fe6b11e89
move ConversationController to typescript 4 years ago
Audric Ackermann adf0d03d35
add test for the MessageEncrypter using Session protocol 4 years ago
Audric Ackermann 2af4938ff2
fix SessionProtocol decrypt of messages with Android
also disable the old SessionRequest logic
4 years ago
Audric Ackermann f28dfe5a94 use fallbacks for message even if we have a session with the device 4 years ago
Audric Ackermann 0eb730f1ba fix lint 4 years ago
Audric Ackermann 0714b73fe7 disable conversation and link preview test until fixed 4 years ago
Audric Ackermann 6afe893359
fix up a few test 4 years ago
Audric Ackermann 80523a9a3e
rename MessageQueue event to be more easily searchable
success -> sendSuccess
fail -> sendFail
4 years ago
Audric Ackermann f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 4 years ago
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 5 years ago
Audric Ackermann 55fa65fc31
override attachments name on upload 5 years ago
Audric Ackermann a7c4ce77a1
enable back attachments download on context menu 5 years ago
Audric Ackermann d283636fa3
fix tests 5 years ago
Audric Ackermann 28d2481389
fix tests 5 years ago
Audric Ackermann e6f367a61e
fix messagequeue test 5 years ago
Audric Ackermann 1e446b0a81
fix order for open groups message which are out of sync 5 years ago
Audric Ackermann ed9f4e713e
add type for mnemonic.js and replace some calls with recoveryPhrase 5 years ago
Audric Ackermann cf3352d0af
add a timeout function to promiseUtils for attemptConnection 5 years ago
Audric Ackermann d793220772
fix integration-tests with translation change 5 years ago
Audric Ackermann 6cffb3c31f
lint 5 years ago
Audric Ackermann 58dd064e93
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 5 years ago
Audric Ackermann 756f0d8ce5
fix delete can send attachment test 5 years ago
Audric Ackermann e24fc12b93
fix sender_keys itest 5 years ago
Mikunj 49b994367d Remove multi device data.
Force wipe secondary devices.
5 years ago
Audric Ackermann 10ea59246f
add back closed group tests 5 years ago
Audric Ackermann 878619a0bc
move integration tests to _itest.ts suffix 5 years ago
Audric Ackermann 38b9736314
skip linking test integration test 5 years ago
Audric Ackermann 933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 5 years ago
Audric Ackermann 80b0821781
move unit tests to sub folder 5 years ago
Audric Ackermann c12c3b5f64
move stub of integration tests to typescript 5 years ago
Audric Ackermann 6d65c9cc0a
make sendMessage return -1 on fail rather than false 5 years ago
Audric Ackermann 2637981fdb
fix tests 5 years ago
Audric Ackermann 44349079ab
fix delete of open group messages 5 years ago
Audric Ackermann fec0ead1de
fix link device test and lint 5 years ago
Audric Ackermann e2a42d1b61
add stubbing of messageQueue in window from ts tests 5 years ago
Maxim Shishmarev d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
Medium group protocol changes
5 years ago
Audric Ackermann 720bb54bc1
move add_contacts_test open_group_test and registration_test to ts 5 years ago
Audric Ackermann a983085cbd
move page-objects to .ts files 5 years ago
Audric Ackermann 394030b711
remove getDefaultTTL and use Constants values instead 5 years ago
Maxim Shishmarev cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 5 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 5 years ago
Audric Ackermann 1b35f132e3
fix test 5 years ago
Vincent 9d6a24d802 rm-uipolishmergre 5 years ago
Vincent 7896671df0 fixup-tests 5 years ago
Vincent 5216cc2c2e merge clearnet 5 years ago
Vincent c020eddef6 constants-to-ts 5 years ago
Maxim Shishmarev c843da0e94
Merge pull request #1238 from msgmaxim/revive-medium-groups
Fix medium group sending for single device users; protocol changes
5 years ago
Maxim Shishmarev 9b2f11b860 Use stub instead of replace 5 years ago
Audric Ackermann 53433261d9
remove outgoing_message.js and everything related to it 5 years ago
Maxim Shishmarev 3faa4f71f3 Fix unit tests 5 years ago
Vincent fd746a475a ui polished and ttl constants 5 years ago
Vincent 9b07c8fc8e outline-class 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 b502fcc3f9
clean code and add comments 5 years ago
Mikunj Varsani f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
Fix up Blocking
5 years ago
Mikunj f008a8b3ef Always block the primary device instead of all devices.
Added isBlockedAsync function.
5 years ago
Mikunj 95f1e34b6b Update tests 5 years ago
Mikunj 8c3943094d Add tests 5 years ago
Vincent 5a2b91d572 Merge branch 'various-closed-group-fixes' of https://github.com/Bilb/loki-messenger into closed-group-fixes 5 years ago
Mikunj 2ff177d814 Fix promise test 5 years ago
Audric Ackermann 14894a916e
fix device mapping upload format 5 years ago
Vincent e4cf21b2de ConversationAttributes typofix 5 years ago
Vincent 7498a255a2 utils compatiblity merger 5 years ago
Mikunj a972c328c7 Change how sync messages are handled 5 years ago
Mikunj fbbbadada5 Merge branch 'clearnet' into attachments 5 years ago
Vincent 2d0409f9c8 Merge branch 'gorup-tests' into utils-tests 5 years ago
Vincent e2e867d5c1 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into utils-tests 5 years ago
Vincent a6433fe5dd merge 5 years ago
Vincent a62a19145c group-tests 5 years ago
Vincent 5d8f9cf950 stratify-utils 5 years ago
Mikunj 13811233b6 Add session request expiry checks 5 years ago
Vincent c3af41cb80 merge 5 years ago
Vincent f4fdd42ef3 string-tests 5 years ago
Mikunj b69ad7db16 Add attachment util 5 years ago
Vincent 32015eeab6 ptests 5 years ago
Mikunj Varsani 006b5760c6
Merge pull request #1192 from Mikunj/send-to-group
Handle typing and expiration messages when sending to group
5 years ago
Mikunj c2c56bb9b0 Handle typing and expiration messages when sending to group 5 years ago
Mikunj d4ea483aa0 Filter invalid authorisations from the file server 5 years ago
vincent 152adbf4d5 syncMessage done 5 years ago
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Vincent f72423c2ba types-etc 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
Vincent 78b1ef4805 rm-electron-test 5 years ago
Vincent aa6ce0787b with-electron? 5 years ago
Mikunj b85348569b Merge branch 'clearnet' into folder-restructure 5 years ago
Mikunj 8f492f8e74 Review changes 5 years ago
Vincent 65148300e7 from-to-toSyncMessage 5 years ago
Vincent 58ab611c9e pulled 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 9ec0c8e6a8
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Mikunj cbc3518f04 Fixed file structure of test utils 5 years ago
Audric Ackermann d946678d59
fix encryption type for rawMessage 5 years ago
Vince fe7aaa0aaa
Merge pull request #1177 from vincentbavitz/message-queue-test
Message Queue Tests
5 years ago
Vincent 40368793fd rm-redundant-files 5 years ago
Vincent 99674ed2ba Fixup PubKey.isEqual 5 years ago
Vincent 20b2ba1c8a generateMemberList-compactify 5 years ago
Vincent 18af13d7d9 merge-fixups 5 years ago
Mikunj 3f93b25ac2 Added string utils 5 years ago
Vincent 42a788c8e3 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into message-queue-test 5 years ago
Vincent 0b623aa198 revert-tick-on-events 5 years ago
Vincent 2c2ed1b274 review-fixes 5 years ago
Vincent 211d4e1551 improve sendToGroup 5 years ago
Vincent 2edda7c9e5 hasSession checl 5 years ago
Vincent 3fa9eed90b stuck-w-events 5 years ago
Mikunj 0933cf8b02 Added multi device protocol tests 5 years ago
Vincent 33488a9520 final 5 years ago
Vincent 94f0fbb65a params-check 5 years ago
Vincent ac2bb65c2a isEqual on ChatMessages 5 years ago
Vincent e98f509304 resolves-on-ression-reset 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 e9cc824b0b open groups 5 years ago
Vincent 6afddf38df finalise 5 years ago
Vincent ae8226597b prototyped-stub 5 years ago
Vincent 73d44d60cf mostly-tests 5 years ago
Vincent 8417e3660d fixup-review 5 years ago
Vincent 2be1c2fd94 groups-test 5 years ago
Vincent bffb43dd19 review-fixes 5 years ago
Vincent 119ab83e85 tests-init 5 years ago
Vincent 48e3ded9d2 review changes 5 years ago
Vincent e09372eacf tightening up queue 5 years ago
Audric Ackermann 38f64cf172
Merge pull request #1172 from Bilb/message-sending-refactor 5 years ago
Vincent 00122333ff opengroupmessage 5 years ago
Vincent 6c35f3c773 optimized OpenGroup 5 years ago
Audric Ackermann d1518f8233
add new handling of session request message 5 years ago
Vincent 3140dee2b2 queue-utils 5 years ago
Vincent 83f70f1ff0 OpenGroup class and sending to Groups 5 years ago
Mikunj Varsani 542615961c
Merge pull request #1170 from Mikunj/message-sender-retry
Message sender retry
5 years ago
Mikunj 1c84fa6c02 Renamed retries to attempts 5 years ago
Mikunj 090f0e2c38 Add retrying and tests 5 years ago
Audric Ackermann f17ffd295a
Merge remote-tracking branch 'upstream/clearnet' into message-sending-refactor 5 years ago
Audric Ackermann 7a797737e0
rename SessionReset -> SessionRequest 5 years ago
Mikunj f279f47b35 Fix other declaration files 5 years ago
Audric Ackermann 2b58aff532
use pubkeys and toRawMessage() 5 years ago
Mikunj 653efaf9cf Fixed libsignal-protocol declaration 5 years ago
Audric Ackermann da1edab63d
Merge remote-tracking branch 'upstream/clearnet' into message-sending-refactor 5 years ago
Mikunj e1dc190ebf Merge branch 'clearnet' into type-fixes 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
Mikunj 9f27d62f76 Review fixes 5 years ago
Audric Ackermann 7031328eea
remove useless hasSession test 5 years ago
Vincent 20b193b1f6 rm protocol stub 5 years ago
Mikunj 4a5146025b Fix job queue test. 5 years ago
Mikunj 9b855a11e1 Added MessageSender tests 5 years ago
Audric Ackermann b9aa0ad8d5
Merge remote-tracking branch 'upstream/clearnet' into message-sending-refactor 5 years ago
Audric Ackermann dc00923f17
add SessionProtocol test 5 years ago
Mikunj e9983099a9 Fix tests 5 years ago
Vincent 728b43be9e cache-pull-from-db-finish 5 years ago
Vincent a2844b48f4 linted 5 years ago
Vincent 3a617934e2 Finalized cache 5 years ago
Vincent b203dc4493 Finalized cache 5 years ago
Mikunj 41fa167e79 Improve typings for LibsignalProtocol 5 years ago
Vincent afcbf7049e linted 5 years ago
Vincent bbfa6499e0 Stubbed cache 5 years ago
Vincent fb4c6fb387 testing stubs 5 years ago
Audric Ackermann 1c570e1c2f
Merge branch 'message-sending-refactor' of github.com:loki-project/loki-messenger into message-sending-refactor 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 4fd19126ec pulled from clearnet reversion 5 years ago
Mikunj Varsani 89c16b19b6 Merge pull request #1153 from Mikunj/message-encrypter
Message encrypter
5 years ago
Vincent dec7aa10c8 Revert pulls 5 years ago
Mikunj 863c6da772 Add util to wrap window stubs 5 years ago
Mikunj 21e2469b75 Add more tests 5 years ago
Mikunj 4704893649 Refactor 5 years ago
Mikunj 2e02e7d67b Linting 5 years ago
Mikunj cd58e9b86e Add utils for stubbing.
Added ImportMock for easier es6 stubbing.
5 years ago
Audric Ackermann 935ac8d8f9
lint 5 years ago
Audric Ackermann 1dec669d11
make sessionProtoco read and write to db 5 years ago
Audric Ackermann bfade45b00
add start of SessionProtocol 5 years ago
Mikunj 736cbc06da Add tests 5 years ago
Audric Ackermann 6faa764419
lint 5 years ago
Audric Ackermann ee6ee7ec4f
Merge remote-tracking branch 'upstream/message-sending-refactor' into audric/refactor-message-sending 5 years ago
Audric Ackermann 77552aa3b7
use toNumber from lodash to make testing of Long cleaner 5 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 5 years ago
Audric Ackermann 9fd929e812
lint 5 years ago
Audric Ackermann 3840d061c3
add test for closed group chat 5 years ago
Audric Ackermann 934838cc1c
add tests for opengroup message 5 years ago
Audric Ackermann 113cf8713b
remove Content.toObject() from tests and update them 5 years ago
Audric Ackermann 73dbcd890b
add test for ChatMessage 5 years ago
Audric Ackermann d1da0e581e
test message check for identifier set 5 years ago
Audric Ackermann e345f6a39f
fix typingMessage test 5 years ago