Commit graph

72 commits

Author SHA1 Message Date
audric b6fcd59ec4 fix notification open the correct conversation 2021-08-09 11:52:00 +10:00
audric e9412df60e fix lint and steal autofocus on registration to seed 2021-08-06 15:59:38 +10:00
audric 2ebae9a746 fix tests for variable swarm polling 2021-08-06 14:04:21 +10:00
Warrick Corfe-Tan ec447b2e2e network clear all WIP 2021-07-30 10:08:26 +10:00
Audric Ackermann 0c0da48150
remove pow 2021-04-28 15:24:45 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann 6dd166d7d4
remove unused service_node.js and test for it 2021-03-05 15:40:15 +11:00
Audric Ackermann d3b9e56c92
remove unused templates and css 2021-03-05 15:39:56 +11:00
Audric Ackermann 4f7cb04552 remove completely SignalProtocolStore 2021-02-22 14:10:26 +11:00
Audric Ackermann 21c62c167e
remove typing indicator when we get a dataMessage 2021-01-18 11:53:35 +11:00
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann 75b7788fa9
remove stuff related to web api 2021-01-15 10:56:49 +11:00
Audric Ackermann 53433261d9
remove outgoing_message.js and everything related to it 2020-07-13 17:10:20 +10:00
Mikunj 646973e330 Made changes to how messages are sent.
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.

This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
2020-07-10 10:00:21 +10:00
Audric Ackermann 1fe0e3a815
remove sendBackgroundMessage 2020-06-19 14:54:56 +10:00
Audric Ackermann 66de8d9648
remove plenty of the friend logic 2020-06-15 18:05:14 +10:00
Audric Ackermann f500fed69c
rename missing envelope type FR to SESSION_REQUEST 2020-06-12 11:15:32 +10:00
Mikunj 50ff635673 Fix fallback session cipher test 2020-06-09 09:33:11 +10:00
Audric Ackermann fa853538d0
LINT after prettier upgrade 2020-05-29 16:25:15 +10:00
Audric Ackermann eb894a9b66
lint 2020-05-15 12:57:23 +10:00
Audric Ackermann f46c885fdf
merge fix-closed-group to clearnet 2020-05-15 12:53:49 +10:00
Mikunj 496afa85cb Remove libsodium-wrapper.
Remove LokiSnodeChannel as we weren't using it.
2020-03-27 15:51:03 +11:00
Mikunj a09e370e1d Added testing on pull request
Disable proxy in tests.
2020-02-28 14:51:09 +11:00
Vincent 9dcc851ebd Updated all icon references 2020-01-30 14:19:07 +11:00
Maxim Shishmarev 02320334f0 Remove P2P 2020-01-30 11:47:37 +11:00
Vincent a1a582d7ea Session branding fixes 2020-01-21 15:18:05 +11:00
Vincent 5fbbdc33c3 Signal branding 2020-01-21 14:59:18 +11:00
Beaudan 63396669bc Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore 2019-08-01 12:54:48 +10:00
Beaudan df2c4af67c Run lint and check for ip or address when removing unreachable nodes 2019-07-04 10:20:16 +10:00
sachaaaaa b6dc8b8a7e Fix tests for https server 2019-07-01 11:45:12 +10:00
Beaudan 96f7949ac8 Update endpoint for storage server and p2p 2019-06-26 14:27:42 +10:00
Beaudan e520bf109a Persist PoW difficulty and update if get response from snodes 2019-06-03 13:37:34 +10:00
Mikunj bc6586e5ce Removed duplicated function. 2019-05-27 09:46:02 +10:00
Mikunj 582298d9e4 Remove test which was causing hang. 2019-05-24 13:41:47 +10:00
Mikunj 7acce268cd linting. 2019-05-24 12:43:41 +10:00
Mikunj f77b67d358 Updated tests.
Fix some minor logic.
2019-05-24 12:41:00 +10:00
Beaudan db8f8ba36f Multiple all ttl values by 1000 and stop dividing timestamp by 1000 so they are both milliseconds 2019-04-11 10:56:17 +10:00
Beaudan c2226542a4 Fix tests 2019-03-14 10:40:30 +11:00
sachaaaaa ad5efc9ba3 lint 2019-02-27 14:07:02 +11:00
sachaaaaa 3285b2d1b9 Update snode channel tests 2019-02-27 14:04:15 +11:00
Mikunj 75d0894104 Fixed files not included in release.
Moved node relevant stuff in libloki into its own modules folder.
2019-02-22 12:00:04 +11:00
sachaaaaa 3f755123e7
Merge pull request #207 from BeaudanBrown/p2p-json-rpc
P2p using rpc endpoint
2019-02-22 10:04:05 +11:00
Beaudan Campbell-Brown 7e2a409c43
Merge pull request #198 from sachaaaaa/channel-encryption
Add channel encryption library with tests
2019-02-21 14:48:15 +11:00
Beaudan c0a6ba25bc Update p2p messages to follow the same endpoint format as storage server. Clean up message_api a lil bit and updated tests 2019-02-21 14:37:37 +11:00
Beaudan 0516e69ff7 Fix tests 2019-02-20 16:08:41 +11:00
sachaaaaa e2abc0d510 Add channel encryption library with tests (not in used so far) 2019-02-15 16:09:02 +11:00
Beaudan 25a3129e37 Reworked p2p tests to be sensible and use the built in timeout/done system instead of hacky promise thing 2019-02-06 12:01:59 +11:00
Beaudan cde7bbf3c3 Removed forceP2p as argument for the pingContact event and enforced it on the other side 2019-02-06 11:49:46 +11:00
Beaudan 02d6920ade Tests for loki_p2p_api, added yarn command to generate coverage html, instantiating loki_p2p_api in the test preload 2019-02-06 10:26:25 +11:00
Mikunj 3c07d99a89 Fix variable names.
Fix module export to be more consistent.
2019-01-31 11:30:26 +11:00