Commit Graph

32 Commits (b10835ffc7adcd97b3a0a8b21aefe8950f5631b1)

Author SHA1 Message Date
sachaaaaa b10835ffc7 Share contact upon authorising secondary device 6 years ago
sachaaaaa ef6b22f6b9 Simplify and lint 6 years ago
sachaaaaa 1ea934d69c
Merge pull request #457 from sachaaaaa/share_profile_name
[multi-device] Share primary device profile name upon secondary registration
6 years ago
sachaaaaa 97970ff465 Share primary device profile name upon secondary registration 6 years ago
sachaaaaa aa2438ad00 Shorter TTL for pairing requests 6 years ago
sachaaaaa a2463f74c3 Improve object validation in createPairingAuthorisationProtoMessage 6 years ago
sachaaaaa a4411007b0 Pairing authorisations: refactor proto, change sql table, add getters 6 years ago
sachaaaaa bf8bb23683 remove stale comment and simplify conversation creation 6 years ago
sachaaaaa d208614909 Multi-device part 1: make primary account generate and send authorisation to secondary 6 years ago
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 6 years ago
Beaudan df2c4af67c Run lint and check for ip or address when removing unreachable nodes 6 years ago
Beaudan 580931c4fb Pass ourKey to message api, initialise these APIs after registration or when storage is ready so we always have ourKey 6 years ago
sachaaaaa beac7a02bb send "unreachable" ping to allow half-p2p 6 years ago
sachaaaaa c53633e367 Clearnet p2p with https (no verification yet) 6 years ago
sachaaaaa e7b2448087 Prevent sending broadcast to ourselves at startup 6 years ago
Beaudan 6656a89092 Cleaned up a lot of the logs, stop them from printing more than once etc 6 years ago
Beaudan b00a0cb699 Rename isOnline to isPing for clarity, and reduce the ttl for online broadcast messages to 1 min 6 years ago
Beaudan 2fd746821a Added function for getting your loki IP and bind the local server 6 years ago
Beaudan 6426a5eb9b Added ability to look up our .loki address and now send that with our LokiAddress messages 6 years ago
sachaaaaa 9ae85a3408 Add missing argument when calling sendMessage in sendEmptyMessage 6 years ago
Beaudan a40a3d164f Lots of logic for establishing a p2p connection, managing when the other user is online vs offline etc. Will always try to use P2P messaging when it can and fall back to storage server otherwise 6 years ago
Beaudan 6ba7fb20b8 Fixed UI blocking when creating conversation, more review comments 6 years ago
Beaudan e735b3ca41 Review comments, moved swarmNodes database stuff to just be in data.js 6 years ago
Beaudan 9ff96a0250 Fixed tests and moved friend request status enum to new friends file 6 years ago
Beaudan 38ff70e2ec Fixed some little redundant stuff in the message and snode api 6 years ago
Beaudan 2bae6b5eed Removed online broadcast message type, changed ttl logic a little, add p2p address and port to the window object when recieve message 6 years ago
Beaudan 07076c27ae Moved friend status to window, added start of p2p api stuff 6 years ago
Beaudan b417edfc9b Added new protos for online broadcast messages, added db hits for getting friends, local server now instantiated on the window, now sending online broadcast messages when the local server starts 6 years ago
sachaaaaa adfb4ab371 work with session reset 6 years ago
sachaaaaa 1238cbc4e6 Send profile along with friend request accept message 6 years ago
Mikunj 6bd2d3962e Linted files 6 years ago
Mikunj 982f10a505 Split libloki logic.
Added to gruntfile.
6 years ago