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
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
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
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