Commit Graph

1562 Commits (f4af41e07f7c11d19f905c938d05692199f582db)

Author SHA1 Message Date
Mikunj 7b7d8c0e2a Remove multi device from libloki 5 years ago
Mikunj 0275d43fa4 Merge branch 'clearnet' into multi-device-protocol 5 years ago
Vincent 14ca56581c Merge branch 'message-sending-refactor-queue' into message-queue-test 5 years ago
Mikunj 7942ba086f Fetch device mappings from server when needed 5 years ago
Maxim Shishmarev c19d81ade8
Merge pull request #1173 from msgmaxim/refactor-receiving
Receiving Refactor: handleDataMessage onwards
5 years ago
Maxim Shishmarev b98543a9fc Fix enum in a definition type 5 years ago
Audric Ackermann 68b119fb69
remove FR logic from receiver and background.js 5 years ago
Maxim Shishmarev eb280ec1e4 Move model definition files 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
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
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
Konstantin Ullrich 18a464fc58 Add a numeric TTL Countdown if the time left is under 1 minute 5 years ago
Konstantin Ullrich 20feb23017 small lint fix in search.ts 5 years ago
Konstantin Ullrich 366acae1cd Minor Fix check if from is invalid not just null 5 years ago
Konstantin Ullrich 87aee6286d Implement requested minor changes 5 years ago
Mikunj 86b427cc4d Lint 5 years ago
Mikunj d10a8f0a6f Added setting to disable checking for auto updates. 5 years ago
Mikunj Varsani d6c3f89fde
Merge pull request #965 from Mikunj/clean-settings
Clean settings
5 years ago
Mikunj 745e898bcc Remove more unused functions 5 years ago
Konstantin Ullrich 19b0bbdf8a Change onChange to onAfterchage 5 years ago
Konstantin Ullrich 048ca2d405 fix lint in search.ts 5 years ago
Konstantin Ullrich 3eca4025e7 Fix lint in search.ts 5 years ago
Konstantin Ullrich f770d4ed44 lint 5 years ago
Konstantin Ullrich 8f7083f5a2 Update Advanced Search by easier date formats 5 years ago
Konstantin Ullrich c11a96ad01 lint 5 years ago
Konstantin Ullrich 8c32bb93f7 Implement Advanced Search (from, before and after) 5 years ago
Mikunj 012575be35 Remove calling sc_reduce32 when deriving a keypair from a mnemonic seed.
This is the reason that seeds across desktop and mobile devices would never restore to the same keypair. This function was there from the initial messenger days and with further discussion with Maxim, we deemed calling this function an unnecessary step for generating a keypair. There are no security implications for this change as we generate keypairs the exact same way as Signal does.

The biggest downside to this change however is that if you try to restore a desktop device with a seed from before this change, that seed will generate a completely different key pair and thus a different session ID.
This will only affect users who plan to restore any device from the seed of a desktop device before this change.
5 years ago
Vince 62abcfcdc6
Prevent rendering double avatars 5 years ago
Mikunj aeb349ea64 Unrelated lint... 5 years ago
Mikunj 9e9b2a12d6 Fix translations 5 years ago
Mikunj 4eef73c0a2 Converted updating into a 2 step process.
First it will ask the user about downloading the new update.
Then it will download the update and ask the user to restart the application.

This was done so that if the company was forced to put out comprimised binaries, all our users won't be automatically updated to them.
5 years ago
Mikunj 8c071b2f11 Fix auto updating on all platforms.
Added instructions for release.
5 years ago
Ryan Tharp 178d788dca Enable auto-updating using electron-updater 5 years ago
Vince 06142c880a
Revert removal of header search icon
Rendering is still disabled.
5 years ago
Audric Ackermann 0779eb2890
Merge pull request #929 from Bilb/use-new-memberlist-updategroup-dialog
Use the new member list UI for the update group dialog (closed)
5 years ago
Audric Ackermann 1f74803e72
add key to group member list 5 years ago
Audric Ackermann 82b02f84ec
Merge pull request #930 from Bilb/include-friend-search-result
Include friend search result #928
5 years ago
Audric Ackermann 7a86a68c22
enable back note to self in search result 5 years ago
Ryan Tharp a53fcee1bd lint 5 years ago
Ryan Tharp 1792e2d952 add editGroupNameOrPicture to gear 5 years ago
Mikunj Varsani 053b31ad38
Merge pull request #938 from Mikunj/github-actions
GitHub actions Part 2
5 years ago
Vince 67e3846787
Merge pull request #905 from jian10au/scaleslider
Zoom factor slider
5 years ago
Brian Jian Zhao eff2eeb119 remove zoom factor text next to % 5 years ago
Brian Jian Zhao 634c6f7de0 lint the code again and ready for merge 5 years ago
Brian Jian Zhao d9dd1f4340 hard dots enabled as true 5 years ago
Mikunj a09e370e1d Added testing on pull request
Disable proxy in tests.
5 years ago
Brian Jian Zhao ed5533b21f lint the code again and ready for review 5 years ago
jian10au f92cb95f5c
Update ts/components/session/settings/SessionSettingListItem.tsx
Accept the change

Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Brian Jian Zhao ac8d0aa441 remove the global var setZoomFacotr 5 years ago
Brian Jian Zhao 70100a0ef5 remove value prop in slider and global var setZoomFactor 5 years ago
Brian Jian Zhao fd764a2aa7 match the slider value prop with currentSliderValue 5 years ago
Brian Jian Zhao 75f5d5743f remove all the conditional rendering logic to make code cleaner 5 years ago
Brian Jian Zhao 0daaa04596 fully working; all comments removed; put slider setting into content object 5 years ago
Audric Ackermann 370467a127
Merge pull request #878 from Bilb/group-profile-image
Group profile image upload
5 years ago
Audric Ackermann 2d1739a1e7
add key to a list of badges (cause error on console) 5 years ago
Audric Ackermann 84d5cf4541
fix contextmenu caching on Message right click 5 years ago
Audric Ackermann 0528a4c8ac
fix lint 5 years ago
Audric Ackermann 06aeb126c2
enable search by username in message view #928 5 years ago
Audric Ackermann 55c1410793
Merge pull request #919 from Bilb/fix-background-pill-divider
move pill divider in react and fix the bg
5 years ago
Audric Ackermann 8066cc0709
add link to explain tslint issue with sfc and props type 5 years ago
Brian Jian Zhao ccb470207a use storage instead of component state to store the zoom setting 5 years ago
Audric Ackermann 797ccdc125
Use the new member list UI for the update group dialog (closed) 5 years ago
Brian Jian Zhao 203d314254 fix the slider bug 5 years ago
Brian Jian Zhao 23da1831c2 removed unnecessary comments after review 5 years ago
Audric Ackermann 6b2afdf047
Merge pull request #923 from Bilb/fix-close-sessionmodal
fix catch of mouse events on forgotten modals
5 years ago