Commit graph

5749 commits

Author SHA1 Message Date
Beaudan
3bb9d888dc Initialise conversation with ourselves as friends and don't allow it to be changed to anything else 2019-06-14 17:30:43 +10:00
Beaudan
47ac247f83 Comment out the show all media button 2019-06-14 15:32:09 +10:00
Beaudan
94b125f2cf Consider friend requests that are still being sent as sent 2019-06-14 14:09:48 +10:00
Beaudan Campbell-Brown
bea2e58679
Merge pull request #300 from BeaudanBrown/pow-bug
Fix PoW for very low difficulty
2019-06-12 17:28:56 +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 Campbell-Brown
971aef0c1b
Merge pull request #296 from BeaudanBrown/clearnet-seeds
Clearnet seeds
2019-06-12 11:19:34 +10:00
Beaudan
0948a344d2 Review refactor 2019-06-11 17:27:27 +10:00
Beaudan Campbell-Brown
5c5155899e
Merge pull request #298 from BeaudanBrown/tls-fix
Have to put the tls setting here for some reason
2019-06-11 16:41:53 +10:00
Beaudan
d5546b9473 Lint 2019-06-11 16:30:45 +10:00
Beaudan
b6b0248e9d Retrieve from seed 2019-06-11 16:30:02 +10:00
Beaudan
1f74088586 Send to IP 2019-06-11 16:30:01 +10:00
Beaudan
6b2b9ce926 Remove default port and use port from storage server responses 2019-06-11 16:30:01 +10:00
Beaudan
eea2b8e6a7 Do port null check inside rpc call 2019-06-11 16:29:04 +10:00
Beaudan
52c191fc94 Merge branch 'development' into clearnet 2019-06-11 16:23:31 +10:00
Beaudan
8d4bfc27c9 Have to put the tls setting here for some reason 2019-06-11 14:59:23 +10:00
Beaudan Campbell-Brown
be32d364b5
Merge pull request #297 from sachaaaaa/https_queries
Make unverified https queries to the snodes
2019-06-11 12:37:31 +10:00
sachaaaaa
9d6c5bff36 make unverified https queries to the snodes 2019-06-07 16:12:25 +10:00
Beaudan Campbell-Brown
2198e66f1c
Merge pull request #294 from BeaudanBrown/dynamic-pow
Dynamic pow
2019-06-07 12:16:04 +10:00
Beaudan
7141847dfb Restart sendMessage logic if PoW changed an dfix NaN bug 2019-06-03 13:48:01 +10:00
Beaudan
f01d8088b7 Remove development PoW 2019-06-03 13:38:15 +10:00
Beaudan
dad52a784d Change wrong pow http response 2019-06-03 13:37:34 +10:00
Beaudan
dbcaaf98dc Lint 2019-06-03 13:37:34 +10:00
Beaudan
c27d1ef69a Clean some stuff in loki_rpc and get new difficulty from successful requests 2019-06-03 13:37:34 +10:00
Beaudan
e520bf109a Persist PoW difficulty and update if get response from snodes 2019-06-03 13:37:34 +10:00
Beaudan Campbell-Brown
e9b1359bab
Merge pull request #295 from BeaudanBrown/refactor-sendmessage
Refactor sendmessage
2019-06-03 13:37:00 +10:00
Beaudan
18a87d5463 Review changes 2019-06-03 13:35:58 +10:00
Beaudan Campbell-Brown
fd6f6c6a8c
Merge pull request #290 from Mikunj/loki-profile
Convert profile field in DataMessage to use LokiProfile
2019-06-03 13:09:33 +10:00
Beaudan
c02d5d4053 Lint 2019-06-03 10:42:18 +10:00
Beaudan
709db4bf54 Make sendMessage take options, remove redundant retrieve function and get constant 2019-06-03 10:26:42 +10:00
Beaudan
b43978ece1 Initial refactoring of sendmessage 2019-05-31 13:58:01 +10:00
Beaudan Campbell-Brown
1e11a6527c
Merge pull request #289 from Mikunj/p2p-ping
Updated pinging logic.
2019-05-31 11:18:20 +10:00
Beaudan Campbell-Brown
50c7da4432
Merge pull request #280 from Mikunj/fix-friend-request-logic
Fix friend request logic.
2019-05-31 11:17:20 +10:00
Beaudan Campbell-Brown
fbcd49ac5d
Merge pull request #270 from sachaaaaa/concurrent_polling
Refactor long polling for better concurrent requests
2019-05-31 11:06:24 +10:00
Mikunj
2c12c8a1d8 Convert profile field in data message to use LokiProfile instead of signal Contact. 2019-05-29 09:26:16 +10:00
Mikunj
53cbfb1f5c Merge branch 'development' into fix-friend-request-logic 2019-05-29 09:08:22 +10:00
sachaaaaa
1b1c18b928 Patch from Beau 2019-05-27 12:09:11 +10:00
Mikunj
147861790b Always send application/json as content type in rpc. 2019-05-27 11:27:52 +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
Mikunj
986d34bbd9 linting 2019-05-24 11:07:58 +10:00
Mikunj
d4de4b13dd Fix incorrect import. 2019-05-24 11:07:13 +10:00
Mikunj
b4390a8c95 Updated pinging logic. 2019-05-24 10:57:30 +10:00
Beaudan Campbell-Brown
fdabfc0066
Merge pull request #285 from BeaudanBrown/old-log
Remove old log
2019-05-22 16:20:56 +10:00
sachaaaaa
edd5915bf2 Fix use .length on object 2019-05-22 15:14:58 +10:00
sachaaaaa
5f77f751d9 Replace generator function and other various fixes 2019-05-22 15:14:58 +10:00
sachaaaaa
09a9cfbf37 Refactor long polling for better concurrent requests 2019-05-22 15:14:58 +10:00
Beaudan
91e218766c Remove old log 2019-05-22 15:06:17 +10:00
Beaudan Campbell-Brown
e99cec9c09
Merge pull request #272 from Mikunj/signal-1.24
Signal 1.24
2019-05-22 14:56:37 +10:00