Beaudan Brown
9002c344e3
TEMPORARY: Disabled sending of contact list sync message to have consistent experience across platforms
6 years ago
sachaaaaa
0426d85e7a
Merge branch 'clearnet' into multi-device
...
* clearnet: (136 commits)
Fix more check on deletion.
Only shorten pubkeys if name is present
Shorten pubkeys in quotations too
better guard
pass serverId back to the server
Bump version.
Purge cache on failure.
Fix unnecessary link preview fetches.
Review changes. Increase mod time to 30 seconds.
Undo defaultPublicChatServer change,
Modified colour of dark mod badge
Linting.
Updated design
Show crown icon for moderators
Fix last hash all being NULL in database
Poll for moderators, store them on the conversation and use the list to determine our own mod status
Make sure we are always updating the last deleted id
Update ts/components/conversation/FriendRequest.md
Fix #355 Display timestamp for friend requests
Fix duplicate detection for sent messages in public chat
...
# Conflicts:
# app/sql.js
# js/background.js
# js/models/messages.js
# js/views/app_view.js
# libloki/crypto.js
# libtextsecure/message_receiver.js
6 years ago
sachaaaaa
b10835ffc7
Share contact upon authorising secondary device
6 years ago
Beaudan Brown
9beea2cbd3
Enforce curlies completely and lint with new settings
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