Commit Graph

401 Commits (d50d7eb8035bf006eaf46eeba04bf2132ba91862)

Author SHA1 Message Date
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
Audric Ackermann da8999263b
make identifier a uuid 5 years ago
Audric Ackermann 2acba52933
use undefined or ? rather than null 5 years ago
Audric Ackermann 7191038f21
add SessioNEstablishedMessage and tests 5 years ago
Audric Ackermann 46a48406c7
add EndSession and SessionReset messages & tests 5 years ago
Audric Ackermann 4d6ceac0f2
typo 5 years ago
Audric Ackermann 823bc4216e
ReceiptMessage test: toNumber() for long values 5 years ago
Audric Ackermann 9ea95e59fa
add GroupInvitationMessage and tests 5 years ago
Audric Ackermann 56d744fda9
add TypingMessage and tests 5 years ago
Audric Ackermann fa26ff9e32
pass args by {} and add deviceLink tests 5 years ago
Audric Ackermann f1244f3031
add device unlink and receiptMessage class and tests 5 years ago
Mikunj 21586f8e14 Linting + Improve tslint rules in tests 5 years ago
Mikunj 956dea8a1f Use correcy syntax for async asserts 5 years ago
Mikunj 6557d7bcb3 Updated JobQueue tests 5 years ago
Mikunj 3dfc1ca213 Improved JobQueue.
Added tests.
5 years ago
Audric Ackermann e45ef6f291
add test for unpairing request message 5 years ago
Vincent 7d803280e8 halfway 5 years ago
Vincent 2b7df8e40b Filtering groups fromstate 5 years ago
Ryan Tharp 178d788dca Enable auto-updating using electron-updater 5 years ago
Audric Ackermann 319fcb6a6d rename saved attachment to session-... rather than signal- 5 years ago
Maxim Shishmarev 8be1c61f4c Highlight conversations with unread mentions of the user 6 years ago
Mikunj a8a959b326 Merge branch 'development' into signal-1.24 6 years ago
sachaaaaa ce4105f529 Fix node tests 6 years ago
Mikunj 8808100796 Merge signal-1.24.0
# Conflicts:
#	.github/PULL_REQUEST_TEMPLATE.md
#	background.html
#	config/default.json
#	config/production.json
#	js/models/conversations.js
#	js/models/messages.js
#	js/views/conversation_view.js
#	js/views/inbox_view.js
#	js/views/settings_view.js
#	main.js
#	package.json
#	test/index.html
#	ts/components/conversation/ContactName.tsx
#	yarn.lock
6 years ago
Mikunj 1f03e04d8c Merge commit 'c75a756b2a58bd4a79890e34673d95d9f17f3f01' into signal-1.23
# Conflicts:
#	js/views/conversation_view.js
#	package.json
#	ts/components/ConversationListItem.tsx
#	ts/components/conversation/ConversationHeader.tsx
6 years ago