Vincent
83528f4b8d
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react
5 years ago
Vincent
6cb05c3677
review-fixes
5 years ago
Audric Ackermann
db1a133c25
drop an expiretimer message with the same timer already on use
5 years ago
Vincent
4a13b1e6bb
attemptConnection-complete
5 years ago
Audric Ackermann
dca4b9ef6d
remove unused GroupUpdateView
5 years ago
Audric Ackermann
797802885c
include joined and kicked members on local groupUpdate
...
also only print name update if the name changed
5 years ago
Vincent
b05d2e6725
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into https-open-group
5 years ago
Audric Ackermann
d5cfcf9edc
Merge pull request #1223 from Bilb/various-closed-group-fixes
...
* fix display name and avatar to be shown when message is coming from a secondary device
* fix show of expiretimer in the group conversation when it is for it.
* fix a bug creating empty conversation when sync closed group message is received on secondary device
* trigger an expiretimer update message to all members when updating a group.
* trigger an expiretimer update message when sending back group details (after a requestGroupInfo)
5 years ago
Audric Ackermann
696fbd8d7a
address review
5 years ago
Vincent
f6ae5386e9
getting opengroup conversation
5 years ago
Audric Ackermann
2a26f4af50
trigger send of expiretimer message ongroupupdate or groupInfo
5 years ago
Vincent
39b41cb222
joining-open-groups
5 years ago
Maxim Shishmarev
ae35626b35
Merge pull request #1221 from msgmaxim/ts-onion-requests
...
Move onion requests to typescript
5 years ago
Mikunj Varsani
f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
...
Fix up Blocking
5 years ago
Mikunj
f008a8b3ef
Always block the primary device instead of all devices.
...
Added isBlockedAsync function.
5 years ago
Mikunj
2a1afa9fe7
Forgot checking for our own devices
5 years ago
Mikunj
3159baebfa
Fix case where blocked user adds a new linked device.
5 years ago
Audric Ackermann
a02aa75f1f
Merge remote-tracking branch 'upstream/clearnet' into various-closed-group-fixes
5 years ago
Audric Ackermann
15b8600e25
fix display name and avatar not being updated when message from secondary
5 years ago
Vincent
bcad497c7f
regex-for-http
5 years ago
Mikunj
8c3943094d
Add tests
5 years ago
Mikunj
aa75205bbd
Move BlockedNumberController to ts
5 years ago
Maxim Shishmarev
12f73e23f2
Move onion requests to typescript
5 years ago
Vincent
4c48c9f6d6
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into closed-group-fixes
5 years ago
Vincent
600653d3d6
allow cancel linking
5 years ago
Audric Ackermann
ed48818867
include old avatar and expireTimer on groupUpdate
5 years ago
Vincent
0386259fce
cancelling linked
5 years ago
Maxim Shishmarev
d5a98b8b47
Remove swarm nodes from conversations
5 years ago
Vincent
6e1f3fdc75
linked-devices-limit
5 years ago
Mikunj
669648d9cb
Fix expire timer
5 years ago
Maxim Shishmarev
cf8ff24535
Merge pull request #1212 from msgmaxim/remove-dead-code
...
Clean up dead code
5 years ago
Maxim Shishmarev
514d60b1cf
Clean up dead code
5 years ago
Mikunj
2d5230715f
Merge branch 'clearnet' into closed-group-fixes
5 years ago
Mikunj
c422c9e2ad
Lint
5 years ago
Mikunj
fd547941d6
Fix sync message issue
5 years ago
Mikunj Varsani
81c2c892ef
Merge pull request #1209 from Mikunj/fix-attachments
...
Fix attachments
5 years ago
Mikunj
269c87a42e
Fix closed group issues
5 years ago
Mikunj Varsani
f5bc1efc3a
Merge pull request #1208 from vincentbavitz/fix-group-name
...
Fix Group Names
5 years ago
Mikunj
7665ecacfb
Fix incorrect sent timestamps
5 years ago
Vincent
a5f5b898f6
fix-group-names
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
Maxim Shishmarev
7e737a3ccd
Merge branch 'clearnet' into refactor-polling
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
Audric Ackermann
af7f73073b
address review
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
bbebfa4c7e
remove fixed comments
5 years ago
Audric Ackermann
1413b98749
create a conversation with member of a closedgroup we receive
5 years ago
Audric Ackermann
105acd63d8
reenable isVerifier on contactCollection
5 years ago
Audric Ackermann
5610ec5a9f
move handling of message event sending to message.js
5 years ago
Audric Ackermann
1a09ba0b35
remove identifier from message to disable syncing of them on events callback
5 years ago
Audric Ackermann
0474e84b19
fix profileKey sharing and avatar
5 years ago
Vince
cef647f110
Merge pull request #1199 from vincentbavitz/utils-tests
...
Utils Tests
5 years ago
Audric Ackermann
847db5b43a
fix typo
5 years ago
Mikunj
23b05107fb
Fix closed group infinite request loop
5 years ago
Vincent
7498a255a2
utils compatiblity merger
5 years ago
Audric Ackermann
63c6f12a66
send sync message when a message was sent to someone
5 years ago
Audric Ackermann
c95bf57b28
Merge remote-tracking branch 'upstream/clearnet' into handle-message-sending-events
5 years ago
Audric Ackermann
2a3b82ed9c
retrySend: handle public groups
5 years ago
Audric Ackermann
4c890482f7
handle sending events on messages (sent/error)
5 years ago
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