Commit Graph

1450 Commits (f11e0f2cd05e096fb49e3244200f0abb45eb8d17)

Author SHA1 Message Date
Mikunj 7a6ea97efb Handle strings in MultiDeviceProtocol 5 years ago
Vincent 35665f3cb6 is-medium-group 5 years ago
Vincent bffb43dd19 review-fixes 5 years ago
Vincent 119ab83e85 tests-init 5 years ago
Maxim Shishmarev 8ca7b8cfb4 Message receiving refactor: handleDataMessage onwards 5 years ago
Mikunj b36b3e7725 Slowly replace old multi device functions 5 years ago
Vincent d0c9f8b773 review-fixes 5 years ago
Mikunj c8414fdce6 Simplify sql and data files 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
Audric Ackermann 38f64cf172
Merge pull request #1172 from Bilb/message-sending-refactor 5 years ago
Audric Ackermann 492cc96ad2
updateSessionTimestamp: return false if no write to DB needed 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 a76a0bed00 sync proto 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 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 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
Audric Ackermann f17ffd295a
Merge remote-tracking branch 'upstream/clearnet' into message-sending-refactor 5 years ago
Audric Ackermann 4c07bc06fd
address reviews 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
Audric Ackermann 73c4020daf
throw error on sendSessionRequest and log it in sendSessionRequestIfNeeded 5 years ago
Vincent eb116e587e simplified conversion to buffer 5 years ago
Vincent fb903daf20 sync msgs 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 886f279540
hide errors of sendSessionRequest message.send() 5 years ago
Audric Ackermann dc00923f17
add SessionProtocol test 5 years ago
Vincent f0ba4fa276 partial raw messages 5 years ago
Vincent 86cbc07855 linted 5 years ago
Vincent 80bc3520bd queue 5 years ago
Mikunj e9983099a9 Fix tests 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 3a617934e2 Finalized cache 5 years ago
Vincent b203dc4493 Finalized cache 5 years ago
Mikunj 41fa167e79 Improve typings for LibsignalProtocol 5 years ago
Mikunj 1dad49057b Implement MessageSender 5 years ago
Mikunj cbc32b9989 Disable no-unused-variable for session related ts files. 5 years ago
Mikunj d1bfcd340b Fix imports.
Fix closed group messages.
5 years ago
Mikunj 3ea0689d2f Linting 5 years ago
Mikunj e6139a5463 Merge branch 'clearnet' into message-sending-refactor 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 15f71cb9c8
move sessionprotocol to a full static class 5 years ago
Vincent 734debe841 PendingMessageCache Done 5 years ago
Audric Ackermann a92f4ab8da
address reviews 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 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 c3f3f30911 Tighten merge 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
Audric Ackermann 73e15250d7
Merge remote-tracking branch 'upstream/clearnet' into integration-test-logs-rebased 5 years ago
Audric Ackermann e9e5a1508d
exclude secondary FR from FR results 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 a7572470df
fix some ts errors on sending files 5 years ago
Audric Ackermann 101fbedf0a
update SessionProtocol. need merge to go further 5 years ago
Audric Ackermann bfade45b00
add start of SessionProtocol 5 years ago
Mikunj 736cbc06da Add tests 5 years ago
Mikunj b644e2a05f Added more types.
Finalise MessageEncrypter.
5 years ago
Mikunj 36762dbbf2 Added libsignal-protocol typings.
Added MessageEncrypter.
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
Maxim Shishmarev 2fdca61257 Lint 5 years ago
Maxim Shishmarev ab2aa7669f Add sender key feature flag 5 years ago
Maxim Shishmarev abde96bc1e Fix medium group updates 5 years ago
Maxim Shishmarev fcadcd780e More integration tests for medium groups 5 years ago
Maxim Shishmarev 3561ac49c0 UI and some integrations tests for sender keys 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 1f2f0535a1
prekeybundle fields are not optional 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
Vince 53f26d588a
Merge pull request #1122 from vincentbavitz/contacts-sorting
Reorganise Contacts Panel
5 years ago
Audric Ackermann 5cec07ef16
add ChatMessage with quotes and attachments 5 years ago
Vincent fe7b22dbc3 Groups not friends 5 years ago
Vince 50d111f538
Merge branch 'clearnet' into linked-devs-fixes 5 years ago
Vincent 07e7afeb31 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into lns-map 5 years ago
Vincent adb96fe4ce Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into fr-fixes 5 years ago
Mikunj Varsani 571169dcf3
Merge pull request #1141 from vincentbavitz/ts-globals
[Sending Refactor] Strictly Typing Signal Data
5 years ago
Mikunj 729fa594b8 Updated window exports 5 years ago
Audric Ackermann e345f6a39f
fix typingMessage test 5 years ago
Audric Ackermann f9f3117101
Merge remote-tracking branch 'vinc/fr-fixes' into integration-test-logs-rebased 5 years ago
Mikunj 0f6053ce08 Add events to MessageQueueInterface.
Added strict typings for events.
5 years ago
Vincent 1cd716d053 Removed comments 5 years ago
Audric Ackermann 779be1213e
fix delete message test by making it independant 5 years ago
Audric Ackermann 8606280080
add key for SessioNotificationCount component 5 years ago
Audric Ackermann 6860875477
remove setIdentifier and make identifier optional in constructor 5 years ago
Audric Ackermann da8999263b
make identifier a uuid 5 years ago
Mikunj bf4557fbe8 Fix styling on registration page 5 years ago
Audric Ackermann 2acba52933
use undefined or ? rather than null 5 years ago
Audric Ackermann cb74c9fe1d
use extends to extends typescript constructor parameters 5 years ago
Vincent 7a85d69970 Mostly strictly types Signal Data 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 601d978883
make OutgoingMessage interface an abstract class and add setIdentifier 5 years ago
Audric Ackermann 4d6ceac0f2
typo 5 years ago
Audric Ackermann 798efd8e00
use export* syntax to clean ts index.ts 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 956491ec82
session established message with ttl of 5 minutes 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
Audric Ackermann 81cb1122f8
remove window.getMessageTTL 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
Audric Ackermann 443f177daa
ContentMessage remove auto padding 5 years ago
Mikunj e7826cfb34 linting 5 years ago
Mikunj e0f27ba712 basic classes for message sending 5 years ago
Audric Ackermann 892b2f8474
add ttl as abstract method so each message can define its own 5 years ago
Audric Ackermann f4a24c5c98
add empty messages ts files 5 years ago
Mikunj 15560a4cb5 Linting and comments 5 years ago
Mikunj 46b3032a05 Remove MessageCategory.
We don't need this as we can infer the encryption type from the message.
5 years ago
Mikunj 9bd08ba930 Initial barebone commit for messages refactor 5 years ago
Vincent 34ecc5a751 Finalisation; working FRs from secondary; 5 years ago
Vincent 19cf4fa54b Set profile name 5 years ago
Vincent 60ddaa14be Prevent multiple FR conversations 5 years ago
Audric Ackermann eb894a9b66
lint 5 years ago
Audric Ackermann f46c885fdf
merge fix-closed-group to clearnet 5 years ago
Mikunj Varsani e9fea782b9
Merge pull request #1129 from vincentbavitz/fr-fixes
FR Duplication Fixes | Patch for #1118
5 years ago
Vincent a668be33d7 remove lodash 5 years ago
Vincent ca910be1ef removed comments 5 years ago
Vincent 08e223e96e final w comments 5 years ago
Vincent 2b0ea5bcc5 simplificaiton 5 years ago
Vincent 3cb38de29c renderRow filter 5 years ago
Vincent 400e1ee0a8 rm forced leave 5 years ago
Audric Ackermann 13329c0b2a
Merge pull request #1118 from vincentbavitz/fr-fixes 5 years ago
Vincent 9778d8f793 remove-comments 5 years ago
Vincent 21a95ce587 Closable overlay finished 5 years ago
Vincent 5c02dc9371 sorting-tinkers 5 years ago
Vincent 235d4200bd rm archive 5 years ago
Vincent af48865c92 remove getconvs 5 years ago
Vincent 843be3921e finalised 5 years ago
Vincent 10ccea5ec8 tight filtering 5 years ago
Vincent 7d803280e8 halfway 5 years ago
Vincent 2b7df8e40b Filtering groups fromstate 5 years ago
Vincent 8a80ccc044 Merge branch 'contacts-sorting' of https://github.com/vincentbavitz/session-desktop into contacts-sorting 5 years ago
Vincent 711112d076 Remove channels 5 years ago
Vincent 3ab2b550e4 Remove archive conversation 5 years ago
Vincent a429771b92 Linted 5 years ago
Vincent 3c2320635a Filter secondaries 5 years ago
Vincent a5b1101216 Slave unlinking & FR dup fix 5 years ago
Vince f9c13e4018
Merge pull request #1112 from vincentbavitz/slave-unlink
Slave Unlink
5 years ago
Vincent a0cec3f0fd notification count positioning 5 years ago
Vincent 1fa7ee25f7 leftpane settings 5 years ago
Audric Ackermann 5564bfa134
Merge pull request #1105 from Mikunj/fix-reset-registration
Fix corner cases for registration reset
5 years ago
Vince cdc88f3cd1
Merge pull request #1077 from vincentbavitz/integration-test-vince
Message & Settings Tests
5 years ago
Audric Ackermann 5d9c334809
Merge pull request #1099 from Bilb/fix-enter-create-private-group 5 years ago
Mikunj a2b60cdd2a Remove token data upon registration reset 5 years ago
Audric Ackermann 14ba0aeb65
fix lint 5 years ago
Mikunj Varsani 1a0b760fa1
Merge pull request #1093 from Bilb/fix-various-closed-group
Fix various closed group
5 years ago
Mikunj Varsani 3e3df7717f
Merge pull request #1094 from Bilb/link-device-fixes
Link device fixes
5 years ago
Audric Ackermann 73bc9e1204
reset registration on excepion got 5 years ago
Audric Ackermann 2a9a2f7fb9
show closed group in channels list 5 years ago
Audric Ackermann caace04c32
fix enter press to create a closed group 5 years ago
Audric Ackermann 3c2746d910
fix group update notifcation when we are added to the group 5 years ago
Audric Ackermann 6f8affe5c9
add spinner while unlinking device 5 years ago
Audric Ackermann b60188331a
do not trigger closed group update on unchanged member list 5 years ago
Vincent 4033b70f5c Refined error reporting 5 years ago
Mikunj Varsani 035daffe2b
Merge pull request #1074 from Bilb/various-group-fixes
Various group fixes
5 years ago
Ryan Tharp c36d071859
Merge pull request #1076 from konstantinullrich/#1059-Mentions-display-the-username-instead-of-SessionID
Enable Mention Rendering in sidepanel
5 years ago
Audric Ackermann 026844e40b
fix slaveMessages shown as someone else messages pubchats
When sending a message from a secondary device to a pubchat the
primary device would display this message on the left side on the
conversation view. It was due to the fact that the slaveDevices was not
built correctly.
5 years ago
Audric Ackermann 4e1e7132d4
fix bug registration done after link device cancelled
to reproduce before this fix:
- start link process of second device to first desktop device
- quit or refresh the second device window without updating any fields
- quit or refresh (a second time) the second device window without
updating any fields
- the second device window is now considered logged in (as a new device,
not linked with the first one)

This forces a full reset of the registration state when the registration
components are loaded, which are loaded only if the registration is not
done as required.
5 years ago
Audric Ackermann cd143d8758
remove useless code and make sha commit selectable 5 years ago
Audric Ackermann ab22db246b
Merge pull request #1064 from msgmaxim/add-key 5 years ago
Vincent 958a4c8594 Linted 5 years ago
Vincent c1dcac1b84 Message & settings tests 5 years ago
Mikunj 229f289d12 Fix auto update not running correctly 5 years ago
Audric Ackermann 645b2d55fc
invite friends to closed group: hide already members 5 years ago
Audric Ackermann ab77b0f9a5
disable message contextmenu on group chats when kicked 5 years ago
Audric Ackermann f48136678e
use isKickedFromGroup to disable ui components 5 years ago
Vincent d2364ba529 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into integration-test-vince 5 years ago
Vincent f7f4cc5218 reverted_ looking for settings_text 5 years ago
Konstantin Ullrich fadbc03576 Enable Mention Rendering in sidepanel 5 years ago
Maxim Shishmarev 6c186690e8 add missing key prop to SessionMemberListItem 5 years ago
Vincent 9c9b8e08ef Remove redundant bool casting 5 years ago
Vincent 9229ee7482 Linted 5 years ago
Vincent 99200bb725 Message unsendability 5 years ago
Vincent f66bc782da Remove debugging logs 5 years ago
Vincent 94be443822 Message deletion cleanup 5 years ago
Vincent c4816dc86b Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Vincent dd04f650f8 changes 5 years ago
Mikunj Varsani 24a3e05154
Revert "Revert "Clean up unused dependencies."" 5 years ago
Vince 5ff7476359
Revert "Clean up unused dependencies." 5 years ago
Vince 6d591d956d
Merge pull request #1033 from Mikunj/package-cleanup
Clean up unused dependencies.
5 years ago
Audric Ackermann 7081c20e85
Merge pull request #1039 from Bilb/disable-disappearing-message-set-before-friend
Disable disappearing message before friend request accepted
5 years ago
Audric Ackermann 796a37189a
Disable disappearing message before friend request accepted
Hide nickname option fron menu in ConversationHeader for now
5 years ago
Ryan Tharp 34a1fdbfec add onBlur incase onChange doesn't fire 5 years ago
Ryan Tharp e78426de99 just in case onChange isnt triggered 5 years ago
Vince 9dbfac3c55
Merge pull request #1035 from vincentbavitz/password-whitespace
Password Whitespace Elimation
5 years ago
Vincent f76b12b814 Split typescript upgrade to new pr 5 years ago
Vincent 5eec031803 Revert fancy code 5 years ago
Mikunj Varsani c5ffcf1c3b
Merge branch 'clearnet' into package-cleanup 5 years ago
Vincent 9349ebd37a fancy syntax 5 years ago
Vincent 3793c0feca upgrade tslint 5 years ago
Audric Ackermann 8dccd1db2a
Merge pull request #1031 from Bilb/registration-add-debug-logs
add logs to registration process
5 years ago
Vincent b4cb6e1087 Typescript 3.7 5 years ago
Vincent 640999ab61 Password whitespace trim on set 5 years ago
Vincent 86bcee58ce lint 5 years ago
Vincent a75e0a9429 Password prompt fixes 5 years ago
Audric Ackermann cd507b4352
add logs to registration process
toast on exception
use a separate mnemonicSeed for signup (generated )and signin (entered by user)
5 years ago
Vincent 0b16f5965b replace jQuery selectors with Refs 5 years ago
Vincent 1fd0c8168f Memberlist modal strict styling 5 years ago
Vincent e5390d54f4 memberlist item alignment 5 years ago
Mikunj eed0ea058c Removed other dependencies 5 years ago
Mikunj 1cadb01e8d Remove intl-tel-input 5 years ago