Audric Ackermann
56cd42d34c
remove authorColor unused in Session
5 years ago
Audric Ackermann
1545256cbe
Merge pull request #1337 from Bilb/fix-ssk
5 years ago
Audric Ackermann
b845ba9642
use a HOC to fetch closed group conversations for avatar rendering
5 years ago
Audric Ackermann
ec64ad80b4
rename LOKI_FRIEND_REQUEST to FALLBACK_MESSAGE
5 years ago
Audric Ackermann
a0e437ab87
fix ordering of our own message on message pulled from server
5 years ago
Audric Ackermann
b96ddf4f07
drop duplicate message with a timestamp close to the sent one
5 years ago
Audric Ackermann
1e446b0a81
fix order for open groups message which are out of sync
5 years ago
Audric Ackermann
76664d9a11
use created_at for public group to order messages
5 years ago
Audric Ackermann
e9f1183178
remove export of getMessageCount
5 years ago
Audric Ackermann
c35e1008a5
remove getAllPrivateConversations
5 years ago
Audric Ackermann
cd686269cb
use server created_at timestamp to order messages
...
Also update the way we check for duplicated message to allow a 10s
window with the same body rather than an exact match of timestamp.
This is needed as the timestamp of the message pulled is now the one of
the creation of the server, and not the same we have locally (sent at).
5 years ago
Audric Ackermann
a03132f088
remove qrDialogView unused
5 years ago
Audric Ackermann
3945c6b208
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
Audric Ackermann
58dd064e93
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
5 years ago
Mikunj Varsani
fba84c0dbc
Merge pull request #1298 from Mikunj/disable-multi-device
...
Disable multi device
5 years ago
Audric Ackermann
3b01ada63a
fix multiple attachment signature in open group with mobile
5 years ago
Mikunj
49b994367d
Remove multi device data.
...
Force wipe secondary devices.
5 years ago
Audric Ackermann
933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
5 years ago
Audric Ackermann
c12c3b5f64
move stub of integration tests to typescript
5 years ago
Audric Ackermann
6d65c9cc0a
make sendMessage return -1 on fail rather than false
5 years ago
Audric Ackermann
44349079ab
fix delete of open group messages
5 years ago
Maxim Shishmarev
db05592400
Address review comments
5 years ago
Vincent
d7de09e475
linter-fixes
5 years ago
Maxim Shishmarev
cc43555cd2
Merge branch 'clearnet' into medium-group-fixes
5 years ago
Maxim Shishmarev
87144336b7
Large refactor of medium groups. Fixes them for multidevice
5 years ago
Vincent
28a0d82ea2
Updating message recieving
5 years ago
Maxim Shishmarev
8f0d59f9b8
Fix not shuffling nodes requested for pubkey
5 years ago
Vincent
707200718d
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react
5 years ago
Mikunj Varsani
5a3892c52b
Merge pull request #1255 from Mikunj/remove-rss-feed
...
Remove RSS Feeds
5 years ago
Mikunj
9e14615cd2
Remove RSS Feeds
5 years ago
Ryan Tharp
1cf90d9585
better detect when token is no longer valid (helps whitelist servers)
5 years ago
Vincent
54b7d9a21b
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react
5 years ago
Audric Ackermann
4e56ad2419
Merge pull request #1244 from Bilb/fix-sending-errors-handling
5 years ago
Maxim Shishmarev
c843da0e94
Merge pull request #1238 from msgmaxim/revive-medium-groups
...
Fix medium group sending for single device users; protocol changes
5 years ago
Audric Ackermann
f641b9436b
fix our handling of snode sending errors so we have a real error shown
...
when a message fails to send because of it.
Also, fix the retry logic on the corresponding message
5 years ago
Audric Ackermann
53433261d9
remove outgoing_message.js and everything related to it
5 years ago
Maxim Shishmarev
237bd84b35
Fix medium group sending for single device users; protocol changes
5 years ago
Vincent
83528f4b8d
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react
5 years ago
Maxim Shishmarev
12f73e23f2
Move onion requests to typescript
5 years ago
Maxim Shishmarev
d5a98b8b47
Remove swarm nodes from conversations
5 years ago
Maxim Shishmarev
514d60b1cf
Clean up dead code
5 years ago
Maxim Shishmarev
58e71243a4
Merge pull request #1204 from msgmaxim/refactor-polling
...
Refactor from message polling to content message handling
5 years ago
Audric Ackermann
14894a916e
fix device mapping upload format
5 years ago
Audric Ackermann
7c89b291de
Merge pull request #1205 from Bilb/handle-message-sending-events
5 years ago
Maxim Shishmarev
b31b6bb912
Lint
5 years ago
Maxim Shishmarev
255c7ada68
More clean up in message_receiver.js
5 years ago
Maxim Shishmarev
6fcc1f7ae4
Merge branch 'clearnet' into refactor-polling
5 years ago
Audric Ackermann
847db5b43a
fix typo
5 years ago
Vincent
7498a255a2
utils compatiblity merger
5 years ago
Maxim Shishmarev
0904e7a8ca
Refactor from message polling to content message handling
5 years ago
Mikunj
522e9fb4ec
Remove old functions
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
b69ad7db16
Add attachment util
5 years ago
Vincent
32015eeab6
ptests
5 years ago
Audric Ackermann
cae608fd01
drop typing message for public groups and fix opengroup sending
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
b0ed0207e0
fix one to one (session) chats with just the body set
5 years ago
Audric Ackermann
6380f7426f
fix pairing devices bugs since move to new pipeline
5 years ago
Mikunj
b85348569b
Merge branch 'clearnet' into folder-restructure
5 years ago
Vincent
58ab611c9e
pulled
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
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
28fb1dd12a
address PR reviews
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
Mikunj
ae44f0da0f
Remove old multi device functions
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
Mikunj
7a6ea97efb
Handle strings in MultiDeviceProtocol
5 years ago
Maxim Shishmarev
8ca7b8cfb4
Message receiving refactor: handleDataMessage onwards
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
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
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
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
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
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
Audric Ackermann
fa853538d0
LINT after prettier upgrade
5 years ago
Vincent
07e7afeb31
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into lns-map
5 years ago
Mikunj
85d3c35c0c
Fix types
5 years ago
Mikunj
729fa594b8
Updated window exports
5 years ago
Ryan Tharp
048b5558c1
lint
5 years ago
Ryan Tharp
06fb96ab07
lint
5 years ago
Audric Ackermann
03757ba2ca
lint
5 years ago
Ryan Tharp
51cd3bbe3b
more dead code cleanup
5 years ago
Ryan Tharp
ef92602615
dead code cleanup
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
78991416f1
put file server onion requests behind a feature flag
5 years ago
Ryan Tharp
2d715fdfed
getOnionRequestNumber=>assignOnionRequestNumber
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
Audric Ackermann
a5ff0f0c08
test: no need to stub fileserver. start it locally
5 years ago
Vincent
7a85d69970
Mostly strictly types Signal Data
5 years ago
Vincent
47a2ecdf95
LNS mapping finalise
5 years ago
Ryan Tharp
7d961ad40a
make sure OR is off and proxy is on to override file host
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
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
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
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
Maxim Shishmarev
8292775e96
Minor fix
5 years ago
Maxim Shishmarev
61d4c7c349
Encrypt source for medium groups
5 years ago
Maxim Shishmarev
debb922521
Medium groups with sender keys essentials
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
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
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
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