Beaudan Campbell-Brown
43bd167965
Merge pull request #463 from loki-project/public-chat
...
Public chat
2019-09-02 15:03:28 +10:00
Beaudan Brown
700ed5d2a8
Some refactoring from reviews, and include the token in the message pipeline instead of getting in message_api
2019-08-29 14:19:35 +10:00
Beaudan Brown
fc8aa0211d
Addressing reviews
2019-08-29 11:13:03 +10:00
Beaudan Brown
eec4f22b50
Add crypto helpers and public error
2019-08-28 17:08:32 +10:00
sachaaaaa
a7f999aeb1
Merge pull request #391 from sachaaaaa/show_seed_errors
...
Report mnemonic errors instead of silent failure
2019-08-09 17:13:10 +10:00
sachaaaaa
1f3f63dcc6
Report mnemonic error in a toast instead of silently fail
2019-08-09 16:08:22 +10:00
sachaaaaa
701f6be00c
Add missing mnemonic languages
2019-08-08 15:36:36 +10: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
96aaa7851d
Send broadcast message instead of empty message to trigger things like session reset and disappearing messages. Also fix small bug where deleting a contact kept the (now removed) conversation open
2019-07-18 13:28:36 +10:00
Beaudan
df2c4af67c
Run lint and check for ip or address when removing unreachable nodes
2019-07-04 10:20:16 +10:00
Beaudan
580931c4fb
Pass ourKey to message api, initialise these APIs after registration or when storage is ready so we always have ourKey
2019-07-02 16:23:30 +10:00
sachaaaaa
37e95cf7d2
remove unnecessary await
2019-07-02 14:29:46 +10:00
sachaaaaa
03e7fb82e6
Address reviews
2019-07-02 13:44:00 +10:00
sachaaaaa
6a06e05452
Fix missing await in periodic NAT hole punching
2019-07-02 09:18:08 +10:00
sachaaaaa
b6dc8b8a7e
Fix tests for https server
2019-07-01 11:45:12 +10:00
sachaaaaa
abdb232151
15min TTL and re-punch NAT periodically
2019-06-28 16:54:01 +10:00
sachaaaaa
57b7aaf195
better handling when upnp not enabled
2019-06-28 13:02:11 +10:00
sachaaaaa
beac7a02bb
send "unreachable" ping to allow half-p2p
2019-06-28 12:09:46 +10:00
sachaaaaa
c53633e367
Clearnet p2p with https (no verification yet)
2019-06-28 12:09:46 +10:00
sachaaaaa
e7b2448087
Prevent sending broadcast to ourselves at startup
2019-06-27 15:42:12 +10:00
Beaudan
96f7949ac8
Update endpoint for storage server and p2p
2019-06-26 14:27:42 +10:00
Beaudan
ca31649207
Trial value wasn't being initialised big enough for very low difficulty, also development should not have been there but I don't think it was doing anything
2019-06-12 17:26:08 +10:00
Beaudan
52c191fc94
Merge branch 'development' into clearnet
2019-06-11 16:23:31 +10:00
sachaaaaa
9d6c5bff36
make unverified https queries to the snodes
2019-06-07 16:12:25 +10:00
Beaudan
f01d8088b7
Remove development PoW
2019-06-03 13:38:15 +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 Campbell-Brown
ee813a1126
Update libloki/proof-of-work.js
2019-04-11 13:04:44 +10:00
Beaudan
b9c11a229b
Fix tests by handling millisecond ttl better
2019-04-11 12:14:01 +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 Campbell-Brown
338f4e3682
Merge pull request #255 from BeaudanBrown/better-logs
...
Improve sending/retrieving/swarm logs
2019-03-25 17:30:41 +11:00
Beaudan
c2226542a4
Fix tests
2019-03-14 10:40:30 +11:00
Beaudan
e5449f56ee
Added success and failure callbacks when queueing envelope, now responding with 404 if we fail to decrypt a p2p message
2019-03-14 10:02:38 +11:00
Beaudan
6656a89092
Cleaned up a lot of the logs, stop them from printing more than once etc
2019-03-13 12:05:47 +11:00
sachaaaaa
62889bbdd4
Add requestExpired state to Friend Request state machine
2019-03-05 17:42:54 +11:00
Beaudan
10ca7ee8d2
No longer removing listeners when closing local server
2019-03-05 14:04:06 +11:00
sachaaaaa
53b0574a1f
Merge branch 'development' into channel_encryption
...
* development:
Manually set the dns servers for windows
Refactor local_loki_server
Refactor rpc calls to its own function.
# Conflicts:
# js/modules/loki_message_api.js
2019-03-01 10:57:41 +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
sachaaaaa
aa722590fa
use channel encryption with storage server
2019-02-27 14:04:15 +11:00
Mikunj
429bdd6460
Refactor local_loki_server
2019-02-22 13:47:40 +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
Beaudan
b00a0cb699
Rename isOnline to isPing for clarity, and reduce the ttl for online broadcast messages to 1 min
2019-02-20 16:08:41 +11:00