Commit Graph

1416 Commits (fd547941d66f09c2778c14afe6223ae5c724ff88)

Author SHA1 Message Date
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
Mikunj d671ce0055 Remove phone number libraries 5 years ago
Audric Ackermann 0d0439cacc
Merge pull request #1020 from Bilb/spell-check-fixes
fix spell checker using the electron one
5 years ago
Audric Ackermann 9afee14749
Merge pull request #1022 from vincentbavitz/notifications-icon-numeration
Notifications icon numeration
5 years ago
Audric Ackermann e48c7c2f3d
fix lint 5 years ago
Audric Ackermann 8f01d1dbb7
enable by default spell-check 5 years ago
Vincent 83acd2d38e undefined type on count 5 years ago
Vincent eeccc89bc9 undefined type on count 5 years ago
Vincent 85c9576b45 fractional centering 5 years ago
Vincent 0a26e09217 9+ on icons 5 years ago
Vincent 4dcfc17735 Electron upgrade 5 years ago
Vincent 1a3ecf10df Device pairing copy 5 years ago
Audric Ackermann fa2a17c09b
adress review 5 years ago
Audric Ackermann 71cf53af15
fix lint 5 years ago
Audric Ackermann c81fca5d90
disnle link option on secondary device 5 years ago
Vince 60d1c767d6
Merge pull request #1005 from vincentbavitz/password-len
Password paste control on MAX_PASSWORD_LEN
5 years ago
Vincent c7c72e50bb lint 5 years ago
Vincent d6a48b9f6d Password paste 5 years ago
Audric Ackermann 9ddda73ca2
Integration tests (#975)
* add first integration test Session

Checking window title
Checking window count
Can restore from seed

* FIXME torevert once found why this crash on app close

* [test] add join valid open group test

* [test] validate cannot join two times the same open group

* [test] move common things to common.js

* [test] move tests to separate files

* [test] clean

* [test] add send message to open group test

* [test] lint

* [test] rename hooks -> common

* [test] add 15s delay before considering test as slow

* upgrade electron 8.0.3 and spectron 10.0.0

* [test] signin from seed: validate pubkey

* Replace spellchecker in favor of typo-js

* [test] refactor common calls to common.js

* [test] add two different pubkey, mnemonic and displayname

* [test] FIXME unsafe eval needed for now

* [test] add: add friends test

* [test] working multi instance tests

* [test] FIXME disable snodeproxy

* [test] update yarn.lock

* [test] make tests more robust with restart from scratch each test

* [test] add link of two devices test and hard rm of apps before start (rm -r)

* remove unused file

* [test] lint

* [test] add registration from generated pubkey test

* [test] add beginning of network stub

* [test] stub "token" endpoint

* [test] add test of one message on pub group pull

* [test] add starting port randomize. looks to help for some bad start with multi instance

* [test] add stub for one to one chats (sessions)

* [test] clean code

* [test] finish add friend test and stub snode server

* [test] stub calls during link device test

* [test] add a flag to show some logs on stubbed snode

* [test] finish link of two device test. check both pubkey matches

* [test] add and use function to wrap erase+start+login+stub app

* [test] add method to login as friend and closed group test&messages

* Revert "[test] FIXME unsafe eval needed for now"

This reverts commit de5322fdae6cdab8e3b9bd9a52b7d172c9bc2d26.

* [test] apply review

* [test] fix lint

* [test] fix existing test with new spectron version

* [test] fix lint

* [test] refactor page objects

* [test] add delete account test

* [test] add unlink of two device test

* [test] make tiny waitForExists -> isExisting

* [test] add checks of link new device buttons

* upgrade fs-extra@9.0.0

* address pr review

* [test] fix spell_check test

Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
5 years ago
Vincent 6360b539a3 linting 5 years ago
Vincent 6135f4d334 Message selection correction 5 years ago
Vincent c27dd095fc Join open group on enter 5 years ago
Vincent 4ed1e42cae Message selection debug and onenter 5 years ago
Vincent 6d9bcc3079 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Mikunj a6e54d5c52 Minor fix for auto-updating 5 years ago
Vince 54c5f31433
Merge pull request #967 from Mikunj/auto-update-setting
Added setting to disable checking for auto updates.
5 years ago
Vince bed64b2ab8
Merge pull request #935 from Bilb/fix-contextmenu-cache-conversation-view
Fix menu cache conversation view
5 years ago
Vince 8fb092af21
Merge pull request #982 from konstantinullrich/#974-Match-styleguide-with-native-ContextMenus
Replace native Context Menu with a syleguided one in SearchInput
5 years ago
Vincent 09a18d1938 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Mikunj Varsani 66cec1f51e Review fix. 5 years ago
Konstantin Ullrich 447ba9d3aa Remove redundant code from SessionSearchInput 5 years ago
Mikunj Varsani f594a5e5cf
Merge pull request #978 from konstantinullrich/#901-TTL-Display-Clock-Alternative
Add a numeric TTL Countdown if the time left is under 1 minute
5 years ago
Konstantin Ullrich e9be9bcbc5 lint quotemark ` should be ' 5 years ago
Konstantin Ullrich de6dc26d6c Replace native Context Menu with a syleguided one in SearchInput 5 years ago
Vince fa41acc7ac
Merge pull request #962 from konstantinullrich/#889-Advanced-Search
#889 Advanced search
5 years ago