Commit Graph

5059 Commits (03483c93f5fdbb422fa760e8315d656be9daaaf4)

Author SHA1 Message Date
Mikunj 6851416d14 Fix note to self 5 years ago
Maxim Shishmarev 0904e7a8ca Refactor from message polling to content message handling 5 years ago
Audric Ackermann fb7e13acb0
lint 5 years ago
Audric Ackermann 8e0a466996
basic message sending event handling 5 years ago
Audric Ackermann 6a91d44e08
pass the db id to our messagesender message and clean a few files 5 years ago
Mikunj 4a3188bbf9 minor fixes 5 years ago
Mikunj 1bd1548172 Add sendSyncMessageOnly 5 years ago
Mikunj d4dc8aa2ed remove SyncMessageUtils.from 5 years ago
Mikunj a972c328c7 Change how sync messages are handled 5 years ago
Mikunj 225d7f84e4 Fix declaration file names 5 years ago
Mikunj 522e9fb4ec Remove old functions 5 years ago
Mikunj 347a1e5582 Add avatar uploading to attachment utils 5 years ago
Audric Ackermann c419ff9cd2
include display name in outgoing messages 5 years ago
Mikunj be4e540c62 Remove duplicate logs 5 years ago
Mikunj c589f4a4af Finish hooking up attachments 5 years ago
Mikunj fbbbadada5 Merge branch 'clearnet' into attachments 5 years ago
Vincent fadbb37022 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into utils-tests 5 years ago
Audric Ackermann 5f2990d088
Merge pull request #1197 from Bilb/other-messages-new-sending 5 years ago
Audric Ackermann 24f86de087
use SyncMessage when we are only sending a syncMessage 5 years ago
Audric Ackermann 8b4e69739d
adress review 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
Mikunj 13811233b6 Add session request expiry checks 5 years ago
Audric Ackermann 1650d758a5
fix calls with NoteToSelf case -> morph the message to a syncMessage 5 years ago
Audric Ackermann 67a9fcaa46
remove calls to message.sendSyncMessage() 5 years ago
Audric Ackermann 9941c12586
finish adding mediumGroupUpdates 5 years ago
Mikunj b69ad7db16 Add attachment util 5 years ago
Audric Ackermann 39bad87a18
updateMediumGroup replaced with new pipeline 5 years ago
Vincent 32015eeab6 ptests 5 years ago
Audric Ackermann df028b7ac6
remove sendMessage() 5 years ago
Audric Ackermann c5cf7f395f
remove sendMessageToNumber and sendMessageToGroup 5 years ago
Audric Ackermann 11c5061dce
update retrySend() and resend() to new pipeline 5 years ago
Audric Ackermann cfd76587f6
remove getSendOptions and getNumberInfo() 5 years ago
Audric Ackermann cae608fd01
drop typing message for public groups and fix opengroup sending 5 years ago
Audric Ackermann b07b195102
Merge remote-tracking branch 'upstream/clearnet' into other-messages-new-sending 5 years ago
Audric Ackermann 3067dd58aa
adress reviews 5 years ago
Audric Ackermann cd79b5051c
move more logic to build sync message in ts for ContactSync and GroupSync 5 years ago
Audric Ackermann fea75de3fe
make the sessionEstablishedMessage nullMessage have some random content 5 years ago
Audric Ackermann d114b6c130
add verifierSyncMesage and syncReadMessages 5 years ago
Audric Ackermann e38ea17e21
paste sessionEstablishedMessage whenever needed 5 years ago
Audric Ackermann aee7428282
remove non used function in session from sendMessage.js 5 years ago
Mikunj c2c56bb9b0 Handle typing and expiration messages when sending to group 5 years ago
Audric Ackermann b9c1bd7089
remove checkForSignalAccount() 5 years ago
Audric Ackermann 6a13839d9d
address reviews 5 years ago
Audric Ackermann cadc92ee7a
lint 5 years ago
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Audric Ackermann aa797f6670
various changes to be reverted. kind of working session chats only. 5 years ago
Ryan Tharp 9c1d2fad78 scope buildNewOnionPathsWorker call properly 5 years ago
Audric Ackermann a67fa54587
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Ryan Tharp 5678f40b9e additional clean up lint found, converting let => direct return 5 years ago
Ryan Tharp f6525862d4 remove rethrows and seemingly uneeded configure 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
Audric Ackermann 77025d1afd
adress review 5 years ago
Audric Ackermann bd940a9f79
add groupUpdate message and groupInfo to new pipeline 5 years ago
Audric Ackermann b0ed0207e0
fix one to one (session) chats with just the body set 5 years ago
Audric Ackermann c783e14a86
move sync request messages types to new pipeline 5 years ago
Audric Ackermann 6380f7426f
fix pairing devices bugs since move to new pipeline 5 years ago
Audric Ackermann 029851400d
include endSession message with new pipeline 5 years ago
Mikunj b85348569b Merge branch 'clearnet' into folder-restructure 5 years ago
Audric Ackermann 908316f00d
update ReadReceiptMessage and DeliveryReceiptMessage to new pipeline 5 years ago
Vincent 58ab611c9e pulled 5 years ago
Audric Ackermann fbba5575ba
remove buildSessionRequest message 5 years ago
Audric Ackermann 1fe0e3a815
remove sendBackgroundMessage 5 years ago
Audric Ackermann 6e1258e3d1
expirationTimerUpdate uses new sending pipeline 5 years ago
Audric Ackermann ff7ca5a0d5
add leave of closed group to new sending pipeline 5 years ago
Audric Ackermann 439ea09027
lint 5 years ago
Audric Ackermann a351ef86dd
remove getSendOptions as this is now fetch on encrypt() of a message 5 years ago
Audric Ackermann e43dc734de
TypingMessage sent with new sending pipeline 5 years ago
Audric Ackermann 9ec0c8e6a8
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Ryan Tharp a905703cb4 move internal buildNewOnionPaths function into buildNewOnionPathsWorker per review 5 years ago
Ryan Tharp db36067503 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into fileonion 5 years ago
Audric Ackermann cf94961736
throw an error if getSwarmNodes cannot find the conversation 5 years ago
Audric Ackermann c947d99369
getMessageQueue() rather than .messageQueue to avoid startup issue 5 years ago
Audric Ackermann b42bc05270
replace unlink message 5 years ago
Audric Ackermann 2e78f755b4
replace sending of established, grant and link request messages 5 years ago
Mikunj 4747c5f0db Merge branch 'clearnet' into multi-device-protocol-test 5 years ago
Mikunj 0933cf8b02 Added multi device protocol tests 5 years ago
Audric Ackermann 4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Audric Ackermann a2909c0b58
remove unless comments 5 years ago
Audric Ackermann 28fb1dd12a
address PR reviews 5 years ago
Mikunj f681fd619d Added small helper functions 5 years ago
Mikunj a83ce4ee16 Review fixes 5 years ago
Mikunj c027490d2f Merge fixes 5 years ago
Audric Ackermann eb9a838af1
remove friends from UI logic 5 years ago
Audric Ackermann 66de8d9648
remove plenty of the friend logic 5 years ago
Audric Ackermann bccdc3cf34
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic 5 years ago
Mikunj ae44f0da0f Remove old multi device functions 5 years ago
Mikunj 7b7d8c0e2a Remove multi device from libloki 5 years ago
Mikunj 0275d43fa4 Merge branch 'clearnet' into multi-device-protocol 5 years ago
Mikunj 7942ba086f Fetch device mappings from server when needed 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
Mikunj 7a6ea97efb Handle strings in MultiDeviceProtocol 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
Mikunj c8414fdce6 Simplify sql and data files 5 years ago
Ryan Tharp cec5866c22 Merge branch 'fileonion' of https://github.com/neuroscr/loki-messenger into fileonion 5 years ago
Ryan Tharp e2d5d9e793 put lock around buildNewOnionPaths since it's called multiple times 5 years ago
Mikunj f279f47b35 Fix other declaration files 5 years ago
Ryan Tharp 6fd0183d11 lint/window.log 5 years ago
Ryan Tharp 5a54eaa79a
use window.setClockParams 5 years ago
Ryan Tharp f28508b849
expose window.setClockParams 5 years ago
Mikunj Varsani 2d0c3eb896
Merge branch 'clearnet' into message-sender 5 years ago
Ryan Tharp 9e4e524807 lint 5 years ago
Mikunj 2f5fd5d835 Revert loki modules to commonjs export 5 years ago
Ryan Tharp a22dbbc37e
Merge branch 'clearnet' into fileonion 5 years ago
Mikunj 1dad49057b Implement MessageSender 5 years ago
Mikunj 3ea0689d2f Linting 5 years ago
Mikunj e6139a5463 Merge branch 'clearnet' into message-sending-refactor 5 years ago
Mikunj Varsani 35ee455bbe
Merge pull request #1137 from Bilb/integration-test-logs-rebased
Integration test logs
5 years ago
Audric Ackermann 626a108a64
do not update a group by default as a medium group 5 years ago
Maxim Shishmarev 149f179214
Merge pull request #1156 from msgmaxim/fix-guard-selection
More robust guard node selection
5 years ago
Maxim Shishmarev ecde5c235a More robust guard node selection 5 years ago
Audric Ackermann 47c3bf1449
fix makeOnionRequest out of bound index 5 years ago
Audric Ackermann 73e15250d7
Merge remote-tracking branch 'upstream/clearnet' into integration-test-logs-rebased 5 years ago
Audric Ackermann d48063dc82
lint 5 years ago
Audric Ackermann a8a4c4995a
handle double AFR in conversation onAccept 5 years ago
Audric Ackermann 2d26479177
lint 5 years ago
Audric Ackermann 3c9bf34648
use conversation and conversationOrigin instead sendingConversation in message.js 5 years ago
Audric Ackermann 93581874b8
trigger afr to all users devices if needed on contactSync\ 5 years ago
Ryan Tharp 8c3e601198
Merge pull request #1144 from loki-project/neuroscr-pubkeys-dont-matter
Pubkeys don't matter if proxy/onion are off
5 years ago
Ryan Tharp b749afb761 Pubkeys don't matter if proxy/onion are off 5 years ago
Audric Ackermann a857406728
rename respondToAll.. FR to updateAll...Messages at is does not send any messages 5 years ago
Mikunj cd58e9b86e Add utils for stubbing.
Added ImportMock for easier es6 stubbing.
5 years ago
Mikunj 736cbc06da Add tests 5 years ago
Mikunj b644e2a05f Added more types.
Finalise MessageEncrypter.
5 years ago
Audric Ackermann ee6ee7ec4f
Merge remote-tracking branch 'upstream/message-sending-refactor' into audric/refactor-message-sending 5 years ago
Maxim Shishmarev 13c41f83fe Address more review comments 5 years ago
Maxim Shishmarev ec3c03dbd4 Address review comments 5 years ago
Maxim Shishmarev abde96bc1e Fix medium group updates 5 years ago
Maxim Shishmarev 2a0130ff04 Multidevice support 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
Mikunj 8512c2307b Linting 5 years ago
Mikunj df44e5afca Fix FR logic 5 years ago
Vince 53f26d588a
Merge pull request #1122 from vincentbavitz/contacts-sorting
Reorganise Contacts Panel
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
Audric Ackermann 13a783bd4a
fix multi device fr 5 years ago
Mikunj 85d3c35c0c Fix types 5 years ago
Mikunj 729fa594b8 Updated window exports 5 years ago
Ryan Tharp 54ee9e3ad4 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into fileonion 5 years ago
Ryan Tharp 048b5558c1 lint 5 years ago
Ryan Tharp 06fb96ab07 lint 5 years ago
Ryan Tharp 291ae531d9 lint 5 years ago
Audric Ackermann 03757ba2ca
lint 5 years ago
Audric Ackermann d695c57805
wait to delete secondaryDevice conversation after unpairing 5 years ago
Ryan Tharp 51cd3bbe3b more dead code cleanup 5 years ago
Ryan Tharp ef92602615 dead code cleanup 5 years ago
Ryan Tharp 3c6e58e54b build paths if useFileOnionRequests is on and useOnionRequests is not 5 years ago
Ryan Tharp bb963b77f1 expose serverRequest/sendViaOnion, sendViaOnion fix querystring/bad path response handling/handle text responses, getPubKeyForUrl check window.lokiPublicChatAPI.openGroupPubKeys for this.baseServerUrl 5 years ago
Ryan Tharp b8fb24853d move out clock stuff, validOpenGroupServer() checks for lsrpc/pubkey and make private, findOrCreateServer sets pubkeys (enabled OR) if we have one 5 years ago
Ryan Tharp 355005b0c1 buildNewOnionPaths() refresh if too few nodes, mark markPathAsBad as non-async, getOnionPath() retry until good paths, logging adjustment, guards 5 years ago
Audric Ackermann 64fca28aa8
Merge remote-tracking branch 'upstream/clearnet' into integration-test-logs-rebased 5 years ago
Ryan Tharp ba87eeecda fix logging variable, expose BAD_PATH 5 years ago
Ryan Tharp 9ecdcbf581 use tokenlessFileServerAdnAPI for RSS requests 5 years ago
Ryan Tharp c8d1ef17e5 setClockParams(), getTimeDifferential(), getServerTime(), and call it 5 years ago
Ryan Tharp e5e71c4577 move window.LokiPublicChatAPI.setClockParams() out 5 years ago
Audric Ackermann 255616ff8f
fix integration-tests 5 years ago
Audric Ackermann 12b396ce7e
add option to send a message to a single device, or to all device except one 5 years ago
Audric Ackermann f9f3117101
Merge remote-tracking branch 'vinc/fr-fixes' into integration-test-logs-rebased 5 years ago
Vincent f5bdcca569 pending request filters 5 years ago
Ryan Tharp e69828d490
Merge pull request #1100 from neuroscr/fileonion
File server onion routing support
5 years ago
Ryan Tharp 78991416f1 put file server onion requests behind a feature flag 5 years ago
Vincent 2378574519 Testing 5 years ago
Ryan Tharp 2d715fdfed getOnionRequestNumber=>assignOnionRequestNumber 5 years ago
Vincent 307fdd1bd6 Finalisation 5 years ago
Vincent 1b345bce42 Simplification 5 years ago
Ryan Tharp 4b6aaeab56 use window.lokiSnodeAPI.getOnionRequestNumber, catch lokiSnodeAPI.getOnionPath exceptions, remove dead code, lint 5 years ago
Ryan Tharp 1f9df11a0e better seedNode error handling, getOnionRequestNumber(), getOnionPath() fixes 5 years ago
Ryan Tharp b8ed019534 remove stale comment, use window.lokiSnodeAPI.getOnionRequestNumber 5 years ago
Vincent 1f9b3ce5ea Updated comments 5 years ago
Vincent 1cd716d053 Removed comments 5 years ago
Audric Ackermann 7c87519048
send syncMessage when we just created a closed group 5 years ago
Audric Ackermann 632de4e9c7
handleDataMessage: handle messages as coming from primaryDevice 5 years ago
Audric Ackermann e399b9b65b
lint 5 years ago
Audric Ackermann aa6371b6b0
fix bug friend request being auto accepted by unknown user from their secondary device 5 years ago
Audric Ackermann a5ff0f0c08
test: no need to stub fileserver. start it locally 5 years ago
Audric Ackermann 308e06b2cd
fix bug since refactor: autoFR and session request message were mixed 5 years ago
Audric Ackermann 5b79f715ba
integration-test fix some tests add tests of logs 5 years ago
Vincent 7a85d69970 Mostly strictly types Signal Data 5 years ago
Vincent 47a2ecdf95 LNS mapping finalise 5 years ago
Vincent 19cf4fa54b Set profile name 5 years ago
Vincent 9c7f5b2c09 Accepting FR from each conv 5 years ago
Vincent 8f08c2aabf Accept FRs from all Devices 5 years ago
Vincent e8e7b2121e Message FR accept fiddling 5 years ago
Vincent 5db9795076 Accepting FRs to all devices 5 years ago
Ryan Tharp 7d961ad40a
make sure OR is off and proxy is on to override file host 5 years ago
Vincent 60ddaa14be Prevent multiple FR conversations 5 years ago
Ryan Tharp e71672ef70
remove dead debug 5 years ago
Ryan Tharp 0d40ee7ae6
Don't allow file-dev in proxy mode 5 years ago
Ryan Tharp f134c6ae48
Revert libloki.crypto.generateEphemeralKeyPair, use ... for OR retries 5 years ago
Ryan Tharp 80a3eb0521
cannot use libloki.crypto.generateEphemeralKeyPair() because it removes the 05 prefix 5 years ago
Mikunj ec3132afc9 Fix auto accepting friend requests 5 years ago
Mikunj a1f2b38325 Merge changes 5 years ago
Audric Ackermann 14594f5762
Merge pull request #1110 from Bilb/fix-various-closed-group 5 years ago
Mikunj e666c3c97d Add comments 5 years ago
Mikunj a497871ea3 Made changes for new protocol 5 years ago
Ryan Tharp 6887526ccd prefer libloki over window.libloki (it's more precise), encryptForPubKey() refactor to use libloki.crypto helper function, ephemeral_key => ephemeralKey, encryptForRelay take hex and pass hex key instead of AB now, makeOnionRequest/sendOnionRequest correct parameters for encryptForRelay 5 years ago
Ryan Tharp 0936c6e04c use .getPubKeyForUrl() to set up window.tokenlessFileServerAdnAPI 5 years ago
Ryan Tharp fd4d52ac97 remove LokiFileServerFactoryAPI.secureRpcPubKey, remove pubkeys calculation from here and put into adn class 5 years ago
Ryan Tharp 97de1eb6ec getPubKeyForUrl() from file_server_api, remove success logging 5 years ago
Ryan Tharp 7afaa47de9 expose less, logging/dead code clean up 5 years ago
Ryan Tharp 34f1d1fc3f Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into fileonion 5 years ago
Ryan Tharp d4011aaf6d add adnOnionRequestCounter for sendViaOnion, use lokiRpcUtils.sendOnionRequestLsrpcDest 5 years ago
Ryan Tharp 2a889f5d99 sendOnionRequestLsrpcDest() refactor, log WRONG POW, makeGuardPayload(), makeOnionRequest(), sendOnionRequest => sendOnionRequestSnodeDest 5 years ago
Ryan Tharp ae210c4312 urlPubkeyMap to allow LOKIFOUNDATION_DEVFILESERVER_PUBKEY to work seemlessly (while hardcoding), set this._server.pubKeyHex 5 years ago
Ryan Tharp a5c61b7a9d
fix snodes retrieval from seed 5 years ago
Ryan Tharp 5b6d805340 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into fileonion 5 years ago
Audric Ackermann eb894a9b66
lint 5 years ago
Audric Ackermann f46c885fdf
merge fix-closed-group to clearnet 5 years ago
Ryan Tharp ead2f62b6d
Merge branch 'clearnet' into sender-keys 5 years ago
Ryan Tharp 7baf69ae00 update seedNode format in config, try ip_url as fallback 5 years ago
Vincent 477e9b6ef0 lodah-w-xor 5 years ago
Vincent 400e1ee0a8 rm forced leave 5 years ago
Vincent 5c02dc9371 sorting-tinkers 5 years ago
Vincent 3cbb90516f Remove clgs 5 years ago
Vincent 9f2688561a kick all devices finished 5 years ago
Vincent 52de32e65d filtering w comments 5 years ago
Vincent 4e6e573f18 Testing w clg 5 years ago
Vincent 7d803280e8 halfway 5 years ago
Vincent 2b7df8e40b Filtering groups fromstate 5 years ago
Maxim Shishmarev 8292775e96 Minor fix 5 years ago
Vincent 3c977747a6 tinkering 5 years ago
Vincent 69e28e28aa working with syncs 5 years ago
Vincent 3ab2b550e4 Remove archive conversation 5 years ago
Maxim Shishmarev 61d4c7c349 Encrypt source for medium groups 5 years ago
Vincent a5b1101216 Slave unlinking & FR dup fix 5 years ago
Maxim Shishmarev debb922521 Medium groups with sender keys essentials 5 years ago
Vincent 3f650a1d15 prevent note to self on unlink from slave 5 years ago
Vincent 5f7c82d41d Cleanup 5 years ago
Vincent e7e62b2479 Conditional retry for slave fail 5 years ago
Vincent 3de82cd292 rm 5 years ago
Vincent b5f0f552a7 Changes 5 years ago
Vincent 3c571770ed Useful comments 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
Ryan Tharp 74c41ded87 sendViaOnion(), useOnionRequests feature flag support 5 years ago
Ryan Tharp 627c4b2462 encryptForNode=>encryptForPubKey, refactor makeOnionRequest() out of sendOnionRequest, some logging style 5 years ago
Vincent cf05d4ff6c revivify 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
Vincent 345c7b12d9 lint 5 years ago
Vincent cd5a2f75de Fix MAX_SAFE_INTEGER on timeout 5 years ago
Vincent d78a49d689 Constants 5 years ago
Vincent 8992234dd7 lns mapping method rewrite 5 years ago
Mikunj 96d42e24d2 Made calculateAgreement async 5 years ago
Mikunj d8ed1258e1 Made key generation async 5 years ago
Mikunj Varsani 035daffe2b
Merge pull request #1074 from Bilb/various-group-fixes
Various group fixes
5 years ago
Mikunj Varsani 2015ee7647
Merge pull request #1086 from Mikunj/cpu-fix
Fix unnecessary db calls
5 years ago
Ryan Tharp e38dff5448 make getPathString functional 5 years ago
Ryan Tharp 06e1a0eec3 window.lokiFeatureFlags.onionRequestPaths => onionRequestHops, needPaths => nodesNeededPerPaths 5 years ago
Ryan Tharp 2907f3d154 remove dead code 5 years ago
Ryan Tharp cd8f67a93a refactor getPathString() out, clean up if result branching 5 years ago
Ryan Tharp 5ef17375c1 sendOnionRequest() now uses onionRequestPaths control, lokiFetch checkResponse() so we handle wrong PoW/Timestamp/Swarm in proxy and onion requests 5 years ago
Ryan Tharp cc4664e27f buildNewOnionPaths() now uses onionRequestPaths control, include count of paths in log 5 years ago
Ryan Tharp a3f51648a5 dead code lint 5 years ago
Ryan Tharp 0bbd265d52 log any sendMessage exceptions, other notes 5 years ago
Mikunj 8f453bc12e Fix unnecessary db calls 5 years ago
Ryan Tharp 167ae0e0bd
Merge pull request #1061 from neuroscr/patchopensnapps
snode communication refactor part 4
5 years ago
Ryan Tharp 058cd32746 Merge branch 'patchopensnapps' of https://github.com/neuroscr/loki-messenger into patchopensnapps 5 years ago
Ryan Tharp 158d6a2a2e fix logging, allowOnlyOneAtATime fix timeout clearing 5 years ago
Ryan Tharp 43b8b779f2 add note 5 years ago
Ryan Tharp b119a1d0d4 findMatchingSnode => compareSnodes 5 years ago
Ryan Tharp 2be1a0850c remove 2nd param from Math.floor, refreshSendingSwarm fix refreshSwarmNodesForPubKey pubkey 5 years ago
Ryan Tharp 9e584b64aa
Update js/modules/loki_app_dot_net_api.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Ryan Tharp 078e95f8c9 use meta.code to emulate proper http response from proxy, logging style updates 5 years ago
Ryan Tharp f6233b91a9 getSwarmNodesForPubKey make fetching hashes optional and off by default, get version summary when all downloaded, _getVersion retry bug fix, other notes 5 years ago
Ryan Tharp 40ebc508fc only show devs the token 5 years ago
Ryan Tharp 6dca83a972 return which snode was used to send/storage message, pass fetchHashes to getSwarmNodesForPubKey, indicate if we were requested to be stopped or not, log level adjustments 5 years ago
Ryan Tharp b3278a4edf handle timestamp errors better 5 years ago
Ryan Tharp adcc1e186a firstTrue return the return truish value given otherwise false 5 years ago
Ryan Tharp 60abea1454 typo and validAuthorisations bug fix 5 years ago
Audric Ackermann 6848eb975a
fix tests 5 years ago
Audric Ackermann 6d6f4a00e4
address review: remove code duplication 5 years ago
Audric Ackermann a3575c0295
showtoast on invite accept from already member open-group 5 years ago
Audric Ackermann 0d0a0a1eb5
remove unused file connecting_to_server_dialog_view.js 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
Audric Ackermann 28597e3539
filter out already members in invite dialog for closed groups 5 years ago
Mikunj 18851c3f87 Move builing paths after storage becomes ready.
We do this so it doesn't block any of the other communication apis from being initialized.
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
Ryan Tharp 73b6401097 additional lint-full 5 years ago
Ryan Tharp 3f5a667989 remove separate version pool vars, loki_primitive refactor, make sure _getAllVerionsForRandomSnodePool can't stack, exception clean up, findMatchingSnode refactor, getSwarmNodesForPubKey() now loads the lasthash, getNodesMinVersion is no longer async, _getSnodesForPubkey no longer takes a snode 5 years ago
Ryan Tharp 9927eab539 more loki_primitive unification, remove unneeded trace 5 years ago
Ryan Tharp e1ff1c709b lint 5 years ago
Ryan Tharp 6c48ee7e6d lint 5 years ago
Ryan Tharp 53a624ff1d loki_primitives refactor, pass swarmPool into _openRetrieveConnection, _openSendConnection now returns the snode it used, refreshSendingSwarm() now uses lokiSnodeAPI.refreshSwarmNodesForPubKey, bump MAX_ACCEPTABLE_FAILURES from 1 to 10 to make sure we retry 5 years ago
Ryan Tharp bee436ebbb 2.0.2-3 loki-storage support: handle 504, adjust log level/logging/notes 5 years ago
Vincent 6cda163b27 upgrade typescript 5 years ago
Mikunj 663d2b0bc6 Merge branch 'clearnet' into revert-1051-revert-1033-package-cleanup 5 years ago
Ryan Tharp f9baac91a1 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into patchopensnapps 5 years ago
Ryan Tharp f632a87b05
Merge pull request #1057 from loki-project/neuroscr-patch-2
open group api - put integration code under guard
5 years ago
Ryan Tharp 3553edcefc
lint 5 years ago
Ryan Tharp 70c4b9b3c7
lint 5 years ago
Ryan Tharp b517ad5286
put integration code under guard 5 years ago
Ryan Tharp 1ee2088343
Fix integration tests slipping into release
Per Mikunj
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
Ryan Tharp 90d2bbb338 refactor refreshRandomPool into small functions, exception clean up 5 years ago
Maxim Shishmarev 804b4e54ac
Merge pull request #1041 from msgmaxim/lns
API implementation for LNS
5 years ago
Maxim Shishmarev 932ea23ceb API implementation for LNS 5 years ago
Mikunj Varsani c5ffcf1c3b
Merge branch 'clearnet' into package-cleanup 5 years ago
Ryan Tharp 9ade8cbb1e using undefined instead of false 5 years ago
Ryan Tharp 55acf4c24f make log less confusing 5 years ago
Ryan Tharp 6d7197a371 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into patchopensnapps 5 years ago
Ryan Tharp 62169e74f6 clear refreshRandomPoolPromise lock so you can refresh your randomPool, handle edge case if not enough snodes in randomPool for guards 5 years ago
Ryan Tharp c5573cc422 handle edgecase where there's less than 2 snodes in the randomPool (and it wouldn't trigger a refresh), log style, better warning if sendToProxy returns false 5 years ago
Ryan Tharp a2b1c2e8f6 lint 5 years ago
Ryan Tharp 4384229b4c log when _retrieveNextMessages's call to lokiRpc fails 5 years ago
Ryan Tharp 2a7ebe6696 don't say it's sent when it's not 5 years ago
Ryan Tharp 4c870d4b74 improve loki tld host checking, fix proxyFetch calling sendToProxy so tokens can be fetched 5 years ago
Mikunj b16da2c5f5 Linting 5 years ago
Vincent 513fe8f977 Updated nulled modal buttons 5 years ago
Mikunj 9d2417c2f6 Removed proxy-agent and web-socket.
Trimmed down web_api.js to most basic functions we are using. This needs to be completely removed in the future.
5 years ago
Mikunj 828444aadc Linting 5 years ago
Mikunj e875ba2527 remove got.
Fix session IDs not being redacted in logs.
5 years ago
Mikunj d671ce0055 Remove phone number libraries 5 years ago
Audric Ackermann 24114bab8d
Merge pull request #1024 from Bilb/fix-pre-approved-friend-request
fix pre approved friend requests
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 e48c7c2f3d
fix lint 5 years ago
Audric Ackermann 473c4d817b
fix bug with accept/reject buttons on friend request #914 5 years ago
Audric Ackermann 8f01d1dbb7
enable by default spell-check 5 years ago
Audric Ackermann e64ae7db5f
fixes #989 pre approved friend requests 5 years ago
Audric Ackermann 9ff16d7e60
move to electron spellchecker 5 years ago
Audric Ackermann bf0785f6b6
Revert "default to en_US if locale dictionnary is not found"
This reverts commit 2f3f3b8294.
5 years ago
Mikunj a9555e8439 Linting 5 years ago
Mikunj 496afa85cb Remove libsodium-wrapper.
Remove LokiSnodeChannel as we weren't using it.
5 years ago
Ryan Tharp 75ef07048a make sure retries is set 5 years ago
Ryan Tharp dcfae3bedc improve user UX since we shouldn't have to wait on startup 5 years ago
Ryan Tharp 0336b09fd4 tweak expire delay 5 years ago
Ryan Tharp a7981b1645 add some notes 5 years ago
Ryan Tharp 6fdde32948 convert reduce back to for...of loop per Maxim, markRandomNodeUnreachable() make handle edge removal cases and optimize snode lookup 5 years ago
Ryan Tharp 055ba2aa66 fix bug with missing ciphertext in log msg, remove unneeded space from log messages 5 years ago
Ryan Tharp ae9bcd45c2 only be picky about file uploads 5 years ago
Ryan Tharp 2acc839aa5 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into ssvertriage 5 years ago
Audric Ackermann 2f3f3b8294
default to en_US if locale dictionnary is not found 5 years ago
Ryan Tharp 8ceb47823f fix logging style 5 years ago
Ryan Tharp 40951f0579 this.versionsRetrieved, handle ECONNREFUSED as bad otherwise retry in 1s, randomize list of snodes, only report status every 10% 5 years ago
Ryan Tharp c8b097c60e clean up logging a bit 5 years ago
Ryan Tharp 586aa877da change delay to 10s retry 5 years ago
Ryan Tharp cf5e186bcd change delay to 10s for initial retries, also remove space between time and units 5 years ago
Ryan Tharp 91b254d355 versionMap reverse lookup, markRandomNodeUnreachable removes from versionPools now, lint 5 years ago
Ryan Tharp 330b2b1b16 sort random pool into versions, getRandomProxySnodeAddress to use 2.0.2 or newer versions 5 years ago
Ryan Tharp fea679fe79 sendToProxy use getRandomProxySnodeAddress, retry with options 5 years ago
Maxim Shishmarev a91d925384
Merge pull request #1000 from msgmaxim/onion-requests
Client-side implementation for onion requests
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
Maxim Shishmarev d9759bb40a Explicitly throw on error 5 years ago
Vincent d8a12aab0f conv tinkering 5 years ago
Audric Ackermann 3800ca2050
Merge pull request #999 from Bilb/notify-user-link-invalid-screen
Toast on device pairing request received but in device pairing mode
5 years ago
Maxim Shishmarev 0221e7b8c0 fix linter warnings 5 years ago
Maxim Shishmarev f2ef69f00d Handle timeouts in guard testing; address some review comments 5 years ago
Maxim Shishmarev b786df8045 Remove limit on requested nodes 5 years ago
Maxim Shishmarev 3a746109ea Path building for onion requests 5 years ago
Maxim Shishmarev a9e6d863c3 Disable long-polling 5 years ago
Vince 5c117072ff
Merge pull request #1002 from vincentbavitz/messages-open-groups
Messages open groups
5 years ago
Vincent 6360b539a3 linting 5 years ago
Ryan Tharp a9da21a807
Merge pull request #1001 from neuroscr/patchopensnapps
Fix serverRequest retry
5 years ago
Ryan Tharp 57b2840ed8 serverRequest: fix retry, fix note 5 years ago
Audric Ackermann b3d895caf3
Toast on device pairing request received but in device pairing mode 5 years ago
Vincent 6d9bcc3079 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Vincent 99a5766592 session nomenclature updates 5 years ago
Vince 78ba6f03e1
Merge pull request #988 from neuroscr/patchopensnapps
snode communication and logging clean up #2 & AppDotNot minor refactor
5 years ago
Ryan Tharp 7a0e972ca4 refactor getRandomPoolLength out of markRandomNodeUnreachable 5 years ago
Ryan Tharp 8bf77ce44f collapse difficulty branching 5 years ago
Ryan Tharp d15445a1e0 don't create unneeded variables 5 years ago
Ryan Tharp 4bb2e83cb3 lint 5 years ago
Ryan Tharp bb7d4820a5
Merge pull request #959 from neuroscr/opengroupordering
open group avatar redo conversion properly
5 years ago
Ryan Tharp 99679741c1 some renames, improve refresh random pool failures better 5 years ago
Ryan Tharp 6bdc269081 include function name in log message 5 years ago
Ryan Tharp e4d762a358 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into patchopensnapps 5 years ago
Vince 0f06046247
Merge pull request #987 from loki-project/open-group-fix
Fix messages not being created properly in open groups
5 years ago
Vince bed64b2ab8
Merge pull request #935 from Bilb/fix-contextmenu-cache-conversation-view
Fix menu cache conversation view
5 years ago
Ryan Tharp 8d4be4cb0b lint 5 years ago
Ryan Tharp e66e30bb0b URL for lint 5 years ago
Ryan Tharp 07ce97aa56 serverRequest/sendToProxy refactor, start messagesPollLock implementation, improve logging 5 years ago
Ryan Tharp 2d76b1eda9 .loki support improvement 5 years ago
Ryan Tharp 9a01317e96 log error 5 years ago
Ryan Tharp 455bfa4ab7 result guard, mark internal-only intended functions with _ prefix and simplify parameters, logging improvements 5 years ago
Ryan Tharp 241e64b94b lint 5 years ago
Ryan Tharp e3545fa338 change unreachableNode 2nd param to object, put lock around getRandomSnodeAddress so they can't stack, markRandomNodeUnreachable returns remaining count, adjust logging 5 years ago
Ryan Tharp 1c78e1a701 sendToProxy use agent, handle 401/500s, retry system 5 years ago
Vincent f599c28470 organisation 5 years ago
Mikunj 33925d69e9 Cleanup 5 years ago
Mikunj Varsani d8b982e194 Fix messages not being created properly in open groups 5 years ago
Vincent 1d289c04ed Message reading instantaneous completed 5 years ago
Mikunj Varsani ba48028375
Merge pull request #977 from konstantinullrich/#631-Keyboard-selection-via-Shift-not-working-when-starting-a-selection-from-the-right
Implement Blib's change
5 years ago
Mikunj Varsani d120cbb55d
Merge pull request #966 from majestrate/loki-tld-hack-2020-03-10
make session "work" with .loki tld
5 years ago
Vincent 9a6aafe99c Pull from clearnet 5 years ago
Vincent 7235ccff88 Emoji quick styling 5 years ago
Vincent 19a5571536 Protobuf init for attachments 5 years ago
Konstantin Ullrich c410ef5354 Remove Debuglog 5 years ago
Konstantin Ullrich 2ed7ed5de5 Implement Blib's change 5 years ago
Mikunj 8c91aa04f1 Speed up message creation.
We were fetching all of our devices everytime a new message was received.
This was only used for when the message was a public chat message, so i moved it into the relevant if statement.

In the future if we increase the device link limit, we'll need to fetch all our devices on application launch or something.
5 years ago
Mikunj 26140e0ed0 Send delivery receipts asynchronously 5 years ago
Jeff Becker 8d684f7b1b
make .loki public chats "work"
passing number zero to environmental variables UNSETS the variable, pass "0" instead.
this commit makes it "work" but is probably not the right fix, that comes later. (tm)
5 years ago
Mikunj 745e898bcc Remove more unused functions 5 years ago
Mikunj d5bb069207 Cleanup unused functions 5 years ago
Mikunj eeb6257526 Remove settings view 5 years ago
Ryan Tharp 738057587d open group avatar redo conversion properly 5 years ago
Vince 868ad39e88
Merge pull request #932 from neuroscr/fixconvview
Fix message still loading exception
5 years ago
Vincent 2dc5885c88 Microphone timer 5 years ago
Mikunj Varsani 64778d15d7
Merge pull request #948 from konstantinullrich/#893-Unhandled-Promise-Rejection-error-when-updating
Move cleanupOrphanedAttachments before restart
5 years ago
Konstantin Ullrich 9cc9d61fcd Remove a redundant restart call 5 years ago
Konstantin Ullrich 1ea0edafa9 Remove redundant if statement to avoid future bugs 5 years ago
Konstantin Ullrich f7d562eafe lint remove empty line after newVersion if 5 years ago
Konstantin Ullrich 1a9206fdbe Move cleanupOrphanedAttachments before restart 5 years ago
Ryan Tharp 91ad732549
Merge pull request #934 from neuroscr/opengroupordering
Fix message order when mix multidevice messages come in AND default avatars
5 years ago
Ryan Tharp ce876a8024 not meant to include this 5 years ago
Ryan Tharp 2b29b76d66 lint 5 years ago
Ryan Tharp 3038a8c7d2 use lodash to reduce confusion 5 years ago
Ryan Tharp 1792e2d952 add editGroupNameOrPicture to gear 5 years ago
Vincent 74142fab28 Waveform dividing across fullwidth 5 years ago
Ryan Tharp 81d43ba5ab lint 5 years ago
Ryan Tharp 56d5bb5b33
fix lint 5 years ago
Audric Ackermann 488c0b4e08
Merge pull request #917 from Bilb/closed-group-contact-panel
Make closed groups show up in contacts left panel
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
Mikunj a09e370e1d Added testing on pull request
Disable proxy in tests.
5 years ago
Vincent 548db7150d Start message selection reactification 5 years ago
Ryan Tharp c36fd8ae62 handle image/ avatar paths 5 years ago
Ryan Tharp 46d401ecbf Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into opengroupordering 5 years ago
Vincent ab414ca10e Microphone 5 years ago
Audric Ackermann 370467a127
Merge pull request #878 from Bilb/group-profile-image
Group profile image upload
5 years ago
Audric Ackermann a52127de5d
do not trigger change of unchanged messages on conversation reset 5 years ago
Ryan Tharp 97393ef25d fix message order when mix multidevice messages, improve error logging 5 years ago
Ryan Tharp 5b412f74ad Revert "lint"
This reverts commit c6b6ab8be6.
5 years ago
Ryan Tharp c6b6ab8be6 lint 5 years ago
Ryan Tharp 4254f15b44 fix message still loading issue 5 years ago
Ryan Tharp 845fc34964
Fix my typo 5 years ago
Vincent 5d11ef1457 Header props 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
Ryan Tharp 0c43c511d7
Merge pull request #868 from neuroscr/tls-fix
Snode communication retries and logging improvement
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
Audric Ackermann ff8c2fc050
debounce notifications update to 2sec 5 years ago
Audric Ackermann f5b3eb394c
enable notifications after 10seconds of start or reconnect 5 years ago
Vincent 752ee8a614 Message conditional rendering 5 years ago
Audric Ackermann d6a9038198
enable back notifications 5 years ago
Audric Ackermann daec39b94d
fix catch of mouse events on forgotten modals 5 years ago
Audric Ackermann f0760b22ea
Make closed groups show up in contacts left panel 5 years ago
Vincent af29113fab Initialised message array in redux store 5 years ago
Vincent 1689bc617e Message loading with redux 5 years ago
Audric Ackermann 7eab7fbcf4
Merge pull request #869 from Bilb/dialog-exit-esc-click-outside
Dialog exit esc click outside
5 years ago
Vincent cdd19037ba Got it working 5 years ago
Vincent bb0279983d Partially rendered message success and root store manipulation 5 years ago
Mikunj Varsani adbc791dcb
Merge pull request #877 from loki-project/group-sync
Closed group syncing
5 years ago
Vincent a90cae4ac4 Started boilerplate getSessionConversationInfo 5 years ago
Vincent e34ed37cdb SessionConversation namespace remapping initialisation 5 years ago
Vincent bf5badda3b Working conversation openning 5 years ago
Brian Jian Zhao b2322bae02 check to whether the zoomFactor is shown in preload.js 5 years ago
Audric Ackermann 15738c3525
display continue session signin with seed 5 years ago
Audric Ackermann e0ff1755ac
lint 5 years ago
Brian 96e9a68abd add zoomfactor to main 5 years ago
Audric Ackermann 790085bea1
disable profile image upload for closed group 5 years ago
Audric Ackermann 1428cfe1dd
fix download profile image open groups 5 years ago
Audric Ackermann b756332f89
fix group member dialog and refresh right after group avatar update 5 years ago
Audric Ackermann 60ed8f2972
make download of group avatar work 5 years ago
Mikunj 0eaebcbcac Don't send contact sync message with pairing authorisation.
Don't send secondary devices in contact sync messages.
5 years ago
Vincent ea4dc05009 Upgrade typescript, finding messaages 5 years ago
Audric Ackermann 6d5aed7de8
make upload of group picture work 5 years ago
Mikunj f35493ce9f Linting 5 years ago
Mikunj b61dd6a839 Don't send groups in contact sync message 5 years ago
Mikunj 62825faa61 Don't perform admin check if it's a new group that we are creating 5 years ago
Mikunj fc6ca57e1e Added support for group request info 5 years ago
Mikunj d20d31b574 Linting 5 years ago
Mikunj c6be289092 Fix leaving closed groups 5 years ago
Ryan Tharp a85fc9d0ba loki-messenger => session-desktop 5 years ago
Ryan Tharp a02fe95556 detect not ready through statusCode instead of string, log any non-200 statusCode, warn if no reply at all, try to debug iv errors, don't call .json() on falsish values 5 years ago
Ryan Tharp 4a55040688 improve code quality 5 years ago
Audric Ackermann 1f411df0ce
lint 5 years ago
Audric Ackermann 99133437d6
close all dialogs on ESC or click outside 5 years ago
Ryan Tharp 4ba4b8bb54 improve logging, add one retry if not enough snodes in the swarm on long poll start 5 years ago
Ryan Tharp 69dcfa2845 getSwarmNodes refactor to include results from RANDOM_SNODES_TO_USE nodes, make refreshSwarmNodesForPubKey return filteredNodes, initialiseRandomPool() retries 3 times with delays 5 years ago
Ryan Tharp 774c468c39 handle non-base64 responses appropriately, include which server failed in logs 5 years ago
Vincent 2c5e2df817 reactification conversationview bottombar initial 5 years ago
Vincent 481315c100 Initiating new conversationVew 5 years ago
Audric Ackermann b4f1afe720
do not add new members if closed group size >= 10 5 years ago
Vincent 7a7104dfa5 Roation fix of groupsettings chevron 5 years ago
Vince e2f74b0701
Merge pull request #853 from vincentbavitz/clearnet
More animations
5 years ago
Audric Ackermann f47d1fd9ef
Merge pull request #850 from Bilb/communicate-file-size-limit-user
show error when user try to add file >10mb as attachment
5 years ago
Vincent ad48730300 More animations 5 years ago
Mikunj Varsani cea5acf62e
Merge pull request #843 from loki-project/session-reset-cleanup
Refactor session reset handling
5 years ago
Audric Ackermann 61a243efbd
show errors when user try to add file >10mb as attachment 5 years ago
Audric Ackermann ff10637a5a
separate update group name and group members dialog
(add and remove members are separated)
5 years ago
Vincent 30ccb81d3d Disappearing messages in Channel Settings panel 5 years ago
Mikunj Varsani 8ffb1a0a10 Refactor session reset handling 5 years ago
Vincent cf0b9e45fa Emoji spacing & message highlight formatting 5 years ago
Vincent 2101abb911 Modal blurs and stylistic simplifications 5 years ago
Ryan Tharp 0667269690 remove unneeded async 5 years ago
Ryan Tharp 4210e4d14a fix no token detection conditions 5 years ago
Ryan Tharp 930bc2d094
Merge pull request #827 from neuroscr/tls-fix
improve multidevice profile name handling in open groups
5 years ago
Ryan Tharp e6f5f4e718
Merge pull request #829 from neuroscr/file-notoken
Make private attachments use generic token
5 years ago
Ryan Tharp fc19c2520d
Merge pull request #835 from neuroscr/opengrouppollfix
Open group polling fix
5 years ago
Ryan Tharp 846228ce26 Merge branch 'tls-fix' of https://github.com/neuroscr/loki-messenger into tls-fix 5 years ago
Ryan Tharp 5feee5dd5f handle profile properly if primaryDevicePubKey is not set 5 years ago
Ryan Tharp d0f0cac31e lint 5 years ago
Mikunj Varsani 13634a42c6
Merge pull request #834 from loki-project/multi-device-fix
Multi device fixes
5 years ago
Ryan Tharp dc14eb9ca7 open(), logging, stop() clears timers 5 years ago
Mikunj Varsani cc85de5250 Optimisation and lint fixes 5 years ago
Ryan Tharp eb263a9ee7 open() 5 years ago
Mikunj Varsani 4f6dd7a8d5 Rename functions to be less confusing 5 years ago
Mikunj Varsani a75ef365b8 Fix device unlinking.
Fix session request being sent even if we have keys to setup a session.
Fix minor crash.
5 years ago
Ryan Tharp c521497f90
lint 5 years ago
Ryan Tharp 14f64e3769
Remove unneeded branch 5 years ago
Ryan Tharp 6faa15d5b4
Update js/modules/loki_app_dot_net_api.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Mikunj Varsani e1d06fc9be Fix messages from secondary device not being mapped correctly to their primary device.
Fix creating closed groups from secondary device.
Fix primary device showing up in create group dialog.
5 years ago
Mikunj Varsani d9c521b09d Fix message syncing in closed groups 5 years ago
Ryan Tharp bd4600f6c4 fix spelling and log url on serverRequest with non-json response 5 years ago
Ryan Tharp 277e2e5340 make uploadPrivateAttachment static and use window.tokenlessFileServerAdnAPI, warn if no token yet 5 years ago
Ryan Tharp 9826cf0545 use now static version of uploadPrivateAttachment 5 years ago
Ryan Tharp c83201ee9c set a default token 5 years ago
Ryan Tharp 0bf7dfab6a log.verbose isn't a thing 5 years ago
Mikunj Varsani 054a523738 Fix linked device sending automatic friend request when it already has keys for a device 5 years ago
Ryan Tharp 60259ab0bb handle clearing profileName correctly, support multidevice profiles better, use getLokiProfile() 5 years ago
Ryan Tharp 9a31e3703c make sure sendToProxy get the textResponse option from submit_challenge, improve logging 5 years ago
Ryan Tharp 8363548f01 Merge pull request #823 from neuroscr/tls-fix
Some snode JSON parsing/keypair loading from storage guards, RSS case fix, lint
5 years ago
Mikunj Varsani beb4cdbed8 Closed group fixes. (#816)
* Fix group updates not syning

* Fix leaving closed groups

* Fix incorrect members being shown on create group dialog

* Linting

* Fix create closed group showing our own conversation
5 years ago
Ryan Tharp 926a245bf6 lint and note 5 years ago
Ryan Tharp 0223f40de2 lint 5 years ago
Ryan Tharp 3ebb308175 lint 5 years ago
Ryan Tharp 145cfd762d handle inner JSON parsing errors 5 years ago
Ryan Tharp 4a65a5aa12 handle JSON parsing error 5 years ago
Ryan Tharp 78244d9ef8 file proxy is json encoded 5 years ago
Ryan Tharp b9ab28e2fc inform that we expect a non-json repsonse 5 years ago
Ryan Tharp 4d027909c6 more text response fixes, better snode not ready detection 5 years ago
Ryan Tharp df1d032d96 headers protection, textResponse support, improve logging 5 years ago
Ryan Tharp 47e87a4720 add note 5 years ago
Mikunj Varsani c37650c45d Don't wait for file server to return tokens when establishing home connection. 5 years ago
Mikunj Varsani 8b1e24fc44 Clean 5 years ago
Mikunj Varsani 75660c7269 fixed file server holding up message sender init.
fix joining closed groups.
5 years ago
Ryan Tharp 69fe066bcc guards incase there are no members yet, fixes dialog not showing up 5 years ago
Mikunj Varsani 21e982e5c2 Fix open group joining. 5 years ago
Ryan Tharp 4c44265909 no need to validate empty token, support lokinet/getession file domains, mark broken snodes as bad, improve logging 5 years ago
Ryan Tharp ede5258dd3 improve logging 5 years ago
Ryan Tharp 99afd33fb4 improve logging 5 years ago
Ryan Tharp 3bba0571a0 markRandomNodeUnreachable() refactor, notes/logging 5 years ago
Ryan Tharp 156c11d30f allowing sending of messages if we're still waiting to hear back 5 years ago
Ryan Tharp 6c73fa99e2 extension.expiredStatus(), adjustable timers, improve guards 5 years ago
Ryan Tharp 5a440941ea squelch RSS duplicate messages 5 years ago
Ryan Tharp 8f77c2e00b expose isRss, don't close uncloseable Rss conversation on deleteMessages 5 years ago
Ryan Tharp 2c4facc694 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into tls-fix 5 years ago
Vincent c5ff70c970 Message deletion fix 5 years ago
Vincent 799fcb80f4 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 5 years ago
Vincent 821cf00b65 Closed group update message stylgin 5 years ago
Mikunj c9f60826b4 Fix friend request messages being sent to users you don't have a session in closed groups.
Disable typing messages and read receipts in groups.
Send out session request messages if you don't have a session with a member in the group.
5 years ago
Vincent 78e2491de0 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into clearnet 5 years ago
Vincent b341ceaf76 Closed group joining completed w/o backend 5 years ago
Mikunj d7f71650ea Linting 5 years ago
Mikunj 8ae793db19 Rename BACKGROUND_FRIEND_REQUEST to SESSION_REQUEST.
Don't trigger friend request logic if a message is aimed at a group.
5 years ago
Ryan Tharp 09e133743d lint caught typo 5 years ago
Ryan Tharp 3abb691e2c lint 5 years ago
Ryan Tharp 90de43e6ff refactor out validServer() 5 years ago
Ryan Tharp eecf2252d7 use attempt from window object to reduce code duplication 5 years ago
Ryan Tharp 83e2404d89 move comments from connecting_to_server_dialog_view 5 years ago
Vincent 4fd2126fbe Fileserver update 5 years ago
Ryan Tharp 8767a57ddd actually validate URL before starting up a bunch of timers 5 years ago
Ryan Tharp 739ac4ce4e include useful info on error 5 years ago
Ryan Tharp c1cea3ca04 turn off snode proxy logging 5 years ago
Ryan Tharp d7a1fbab22 make sure TLS is forced on open groups, improve serverRequest error message 5 years ago
Ryan Tharp 3a0b3dddfd lint 5 years ago
Ryan Tharp e6ab3d55ae fix querystring in file-proxy 5 years ago
Ryan Tharp 569485f42a put back seemingly now required process.env.NODE_TLS_REJECT_UNAUTHORIZED 5 years ago
Ryan Tharp c864f00697 lint 5 years ago
Ryan Tharp 3abfd7833c fix typo 5 years ago
Ryan Tharp 260e494aee use promise version to see if we're expired 5 years ago
Ryan Tharp 058d294eb0 better error checking 5 years ago
Ryan Tharp 8e92f22974 window.extension.expiredPromise version 5 years ago
Ryan Tharp d69a0a9fd4 lint 5 years ago
Ryan Tharp aee63c3eae
file proxy needs to be able to talk to snode
- disable TLS check for fileProxy
- lokiHttpsAgent => snodeHttpsAgent (since we use for two different things now)
5 years ago
Ryan Tharp 3964e9acf0
Merge branch 'clearnet' into tls-fix 5 years ago
Ryan Tharp 1c7067a957
Merge pull request #774 from neuroscr/groupavatar
Token handling over snodeProxy
5 years ago
Vincent de4edf9252 CLosed groups ui initial listprops 5 years ago
Maxim Shishmarev 71e19c18d6
Merge pull request #778 from msgmaxim/remove-sender
Remove source field from envelope
5 years ago
Maxim Shishmarev dadd4b97ad Remove source field from envelope 5 years ago
Vince 5bbd136493
Merge pull request #758 from neuroscr/version-check
Version check, de-signal.org-ification
5 years ago
Vincent 5527cf7ed2 Localise global vars 5 years ago
Vincent 4350b73724 Messages.json amendments 5 years ago
Vincent cb417d3665 Link preview warning on setting toggle 5 years ago
Vincent 2d4bf2b3e2 Complete conditional message onboarding 5 years ago
Vincent 31af2b60f1 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into clearnet 5 years ago
Vincent 156f0d4127 various touchups 5 years ago
Vincent bd034df8db linter 5 years ago
Vincent aeb04a3a44 onboarding messageview 5 years ago
Ryan Tharp 18065c101b minor refactor 5 years ago
Ryan Tharp daa21c1265 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into groupavatar 5 years ago
Vince b3fca524b2
Merge pull request #773 from Bilb/fix-open-conversation-accepted-friend-request
open the conversation when accepting a friend request
5 years ago
Ryan Tharp 3d70a6dc66 make sure token comms are done over fileProxy, other notes, logging adjustment 5 years ago
Audric Ackermann b9da721faa
open the conversation when accepting a friend request
also, it does what is needed to show the new friend in the friend list
5 years ago
Maxim Shishmarev 3f58dea035 Remove mixpanel 5 years ago
Ryan Tharp 24b37b93c6 add .loki to have a self-signed cert 5 years ago
Ryan Tharp 615a41fa21
Merge branch 'clearnet' into tls-fix 5 years ago
Vince c95c83ab6b
Merge pull request #769 from Bilb/fix-registration-pubkey-scramble
fix text scramble animation on registration
5 years ago
Vince 7debb1a3de
Merge pull request #764 from Bilb/fix-refresh-group-panel-files
refresh files in group in group panel
5 years ago
Audric Ackermann e2921103bd
fix lint and clean code 5 years ago
Audric Ackermann d411465a6c
fix text scramble animation on registration 5 years ago
Vincent 9dcc851ebd Updated all icon references 5 years ago
Vincent 4f881ab9a3 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into clearnet 5 years ago
Vincent f55e20d8ac Cleanup media view formatting 5 years ago
Maxim Shishmarev 02320334f0 Remove P2P 5 years ago
Vincent ae01b11478 Looking into keyboard navigation 5 years ago
Audric Ackermann 2721b2a477
refresh files in group in group panel 5 years ago
Ryan Tharp 19b007696c
address missing comma for lint 5 years ago
Ryan Tharp 646c3b2f26 disable unauthorization rejection when making https requests limited to lokiRpc 5 years ago
Ryan Tharp c80098ab2e update note 5 years ago
Ryan Tharp a0599d27bc get latest version through snode proxy, remove clearfix from ExpiredAlertBanner 5 years ago
Ryan Tharp 3797a2169c add skipToken to establishConnection options, smuggle out secureRpcPubKey 5 years ago
Audric Ackermann 48b5e53e26
fix the textscramble for sessionID on registration 5 years ago
Audric Ackermann 5360ab6150
fix unit tests: remove not used count in scrolldown view and ass… (#750)
fix unit tests: remove not used count in scrolldown view and assert svg present
5 years ago
Audric Ackermann 225dabf4f2
Make the SessionIDEditable component a textarea rather than a co… (#751)
Make the SessionIDEditable component a textarea rather than a content editable div
5 years ago
Maxim Shishmarev 3418fff2d3
Merge pull request #749 from neuroscr/rss-proxy
pull RSS through file proxy
5 years ago
Maxim Shishmarev d910633422
Merge pull request #746 from msgmaxim/no-autojoin-loki-chats
Disable auto-joining default loki open groups
5 years ago
Audric Ackermann 736cd0f652
session-id-editable-textarea 5 years ago
Maxim Shishmarev cf10a19b34 Disable auto-joining default loki open groups 5 years ago
Audric Ackermann 6c2aefbe11
fix unit tests: remove not used count in scrolldown view and assert svg
present
5 years ago
Vince 310038ec31
Merge pull request #748 from loki-project/brand-redesign
Brand redesign
5 years ago
Ryan Tharp 8fc5b6769a pull RSS through file proxy 5 years ago
Maxim Shishmarev 3472a1a938 Remove unused destinationRegistrationId; lint 5 years ago
Audric Ackermann e946721a8d
fix lint 5 years ago
Audric Ackermann d68aeb947e
Merge branch 'clearnet' into brand-redesign 5 years ago
Audric Ackermann 7867f4dceb
Merge branch 'clearnet' into brand-redesign 5 years ago
Maxim Shishmarev b7e93ab597 Support sealed sender for friend requests 5 years ago
Maxim Shishmarev b405b150cc Sealed sender support 5 years ago
Maxim Shishmarev dc0571137c
Merge pull request #734 from neuroscr/fileproxy
ephemeral layering file proxy
5 years ago
Maxim Shishmarev 09bfd9e4ed
Merge pull request #719 from msgmaxim/private-groups
Fix not showing non-friend members in update group dialog
5 years ago
Audric Ackermann 3b24714f3e
Sort messages by sent_at (#718)
Sort messages by sent_at
5 years ago
Audric Ackermann a39881ff1a
Display subscriber count for open groups (#741)
Display subscriber count for open groups
5 years ago
Ryan Tharp 758a936e8f include IV in server response 5 years ago
Ryan Tharp ab83f89142 _sendToProxy pass headers/handle response refactor, lint 5 years ago
Ryan Tharp f2233c20c7 add missing semicolon 5 years ago
Ryan Tharp 56648a6e30 remove date, we have git 5 years ago
Ryan Tharp c065927148 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into fileproxy 5 years ago
Ryan Tharp 419dd09c03
Disable link previews as default per Kee on signup 5 years ago
Ryan Tharp 11359fc037
Merge branch 'clearnet' into fileproxy 5 years ago
Vincent 4a7e2dece7 Password lock screen and delete data screen 5 years ago
Audric Ackermann c92d22fece
allow space inside a display name but not at start or end 5 years ago
Vincent ff7d2468ca Delete channel / group merge 5 years ago
Maxim Shishmarev c1a55848b8
Merge pull request #739 from msgmaxim/secondary-device-fix
Fix not showing messages from secondary devices
5 years ago