Mikunj
a03185248c
Fix check for valid sender when handling sync message
5 years ago
Mikunj
abf298ba25
Added sending of group sync message
5 years ago
Mikunj
fc6ca57e1e
Added support for group request info
5 years ago
Mikunj
6620092959
Wait for prekeys to be processed before sending a message on session reset.
...
Remove old code.
5 years ago
Mikunj Varsani
8ffb1a0a10
Refactor session reset handling
5 years ago
Ryan Tharp
fc19c2520d
Merge pull request #835 from neuroscr/opengrouppollfix
...
Open group polling fix
5 years ago
Ryan Tharp
031330154b
only bind open group events once, start open group polling on connect
5 years ago
Mikunj Varsani
a75ef365b8
Fix device unlinking.
...
Fix session request being sent even if we have keys to setup a session.
Fix minor crash.
5 years ago
Mikunj Varsani
746456200a
If we received a regular message and we're not friends with a user then check to see if we should auto accept the request
5 years ago
Mikunj
8ae793db19
Rename BACKGROUND_FRIEND_REQUEST to SESSION_REQUEST.
...
Don't trigger friend request logic if a message is aimed at a group.
5 years ago
Ryan Tharp
158b4fcb08
fix typo
5 years ago
Ryan Tharp
d69a0a9fd4
lint
5 years ago
Maxim Shishmarev
dadd4b97ad
Remove source field from envelope
5 years ago
Maxim Shishmarev
02320334f0
Remove P2P
5 years ago
Maxim Shishmarev
b7e93ab597
Support sealed sender for friend requests
5 years ago
Mikunj
84a8b0f0af
Merge branch 'clearnet' into bug-fix
5 years ago
Maxim Shishmarev
5123fa0409
Merge pull request #669 from msgmaxim/restoration
...
Prompting the user to reset session on invalid ciphertext
5 years ago
Mikunj
daf5da09c6
Fix minor profile picture bugs.
5 years ago
sachaaaaa
a29f0a4120
encrypted pictures for public chats
5 years ago
sachaaaaa
0122fb8603
handle SYNC messages
5 years ago
sachaaaaa
7c52a1d038
encrypt and decrypt images before upload and after download
5 years ago
Maxim Shishmarev
81bfa90943
Prompting the user to reset session on invalid ciphertext
5 years ago
sachaaaaa
3d22abc9cf
Ensure message is not FR
6 years ago
sachaaaaa
db0068b429
Sending and handling of special UNPAIRING_REQUEST message
6 years ago
Maxim Shishmarev
4dd314c18f
Enable profile pictures
6 years ago
Beaudan Brown
685ada5cc5
Merge branch 'clearnet' into prep-merge
6 years ago
Beaudan Brown
030264c689
Fix misuse of getAllDevicePubKeysForPrimaryPubKey and rename some vars
6 years ago
Beaudan Brown
bce18b7ae6
Revert change so we are always friends with our secondary devices, check validSyncSender from primary pubkey rather than ourNumber
6 years ago
Beaudan Campbell-Brown
6611a10855
Merge pull request #590 from BeaudanBrown/session-reset-on-fr
...
Session reset on fr
6 years ago
Beaudan Brown
370dee5abb
Ensure we have the correct apis and listeners during the pairing process. Catch upnp error. Remove redundant friend requests
6 years ago
Beaudan Brown
c31535edb4
Rename blockSync, only send contacts and profile if sending a GRANT request, do *not* always be friends with secondary devices because we still need to complete a friend request exchange
6 years ago
Beaudan Campbell-Brown
e88aca57f2
Merge pull request #603 from sachaaaaa/Fix_secondary_nickname
...
[multi-device] Fix secondary nickname
6 years ago
Beaudan Brown
41fdcef695
Ensure that we can't miss the apisReady event and only listen for single emit
6 years ago
sachaaaaa
dc626ec4d0
use primary device pubkey when setting nickname
6 years ago
Beaudan Brown
7e275ac266
Don't sync secondary devices and make sure initAPIs has been called before sending friend requests to synced contacts
6 years ago
Beaudan Brown
722c10dd70
Verify that incoming sync messages are from one of our devices, don't send messages to ourselves
6 years ago
Maxim Shishmarev
cf18572049
Adding new group members; establishing sessions between non-friends
6 years ago
Beaudan Brown
e9dc3b531e
Simplify auto accept check
6 years ago
Beaudan Campbell-Brown
8235662518
Merge pull request #589 from Mikunj/pairing-fix
...
Fix cross platform device linking
6 years ago
Beaudan Brown
8ccf62ed4e
Trigger endSession code if we receive a friend request from a friend
6 years ago
Mikunj
589b3f3233
Infer pairing message type from the content.
...
This should fix device pairing cross platform.
6 years ago
Beaudan Brown
883feb668d
The rest of my multidevice work, send messages to all the correct devices and automatic friend request if not friends with a device
6 years ago
Beaudan Campbell-Brown
aa66b28ffe
Merge pull request #579 from BeaudanBrown/friends-with-any
...
Add isFriendsWithAnyDevice and use it in relevant places
6 years ago
Beaudan Brown
76b36845bb
Add isFriendsWithAnyDevice and use it in relevant places
6 years ago
Beaudan Brown
08ad913105
Add explicit isSecondary flag to conversation list items so they can remain hidden in the menu after they become friends etc
6 years ago
Beaudan Brown
d97eced37b
Merge branch 'clearnet' into multi-device
6 years ago
Beaudan Brown
f0c198c7b7
Split uploadData to public and private
6 years ago
Beaudan Brown
5710c1268c
Revert id field and add new url field to be compatible with mobile
6 years ago
Beaudan Brown
4e85435bf7
Update attachment pipeline to upload and download from loki fileserver
6 years ago
sachaaaaa
73d90a5277
Merge pull request #537 from sachaaaaa/secondary_device_minimum_receiver
...
[multi-device] Start all the receivers only after the secondary registration is fini…
6 years ago
sachaaaaa
c38e145be7
lint
6 years ago
sachaaaaa
f268fbb552
Merge pull request #534 from sachaaaaa/use_file_server_device_mapping
...
[multi-device] Use file server device mapping
6 years ago
sachaaaaa
cc04bee38a
Start all the receivers only after the secondary registration is finished
6 years ago
sachaaaaa
91a79ea57c
Fetch device mapping from server when after receiving friend request
6 years ago
sachaaaaa
4929f8d8db
Move high-level authorisation from message_receivier to libloki.crypto
6 years ago
sachaaaaa
77bfee8892
No need to handle authorisations sent in friend requests
6 years ago
sachaaaaa
d3653e8665
lint after manual merge
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
d17f86679f
Merge pull request #495 from sachaaaaa/fix_unknown_signedkey
...
[multi-device] Ensure the latest contact signed prekey is used
6 years ago
sachaaaaa
712afef8e2
simplify
6 years ago
sachaaaaa
6de6b762e6
Ensure the latest contact signed prekey is used
6 years ago
sachaaaaa
cf0628a001
Secondary device to send friend request automatically to all sync contact received
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
Mikunj
831ae09576
Cherry pick "profile simplification" from Mik
6 years ago
sachaaaaa
9f8ee875b7
address review
6 years ago
sachaaaaa
97970ff465
Share primary device profile name upon secondary registration
6 years ago
Mikunj
c4dd10a5cd
Simplified profile setting. Renamed functions to be less confusing. Removed storing profile in local storage.
6 years ago
sachaaaaa
661b207245
Various fixes for bugs introduced during reviews
6 years ago
sachaaaaa
8ef54890b2
Update libtextsecure/message_receiver.js
...
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
6 years ago
sachaaaaa
c7dc79e7f9
Fix missing awaits!
6 years ago
sachaaaaa
6ab05e28df
Handle incoming pairing authorisation message
6 years ago
Beaudan Brown
895cedc801
Lint
6 years ago
Beaudan Brown
3f4b94ba74
Transition to initialising rss feeds in schema update
6 years ago
Ryan Tharp
48f2637ff9
lint
6 years ago
Ryan Tharp
0a1655b03d
poll all feeds
6 years ago
Ryan Tharp
c57571fdfd
loki.network rss feed
6 years ago
sachaaaaa
d208614909
Multi-device part 1: make primary account generate and send authorisation to secondary
6 years ago
Beaudan
014558d939
Squash and clean of old PRs, move towards sending cleartext again
6 years ago
Beaudan
7dd155eb16
Remove empty event trigger, doesn't seem to be required any more but could be wrong
6 years ago
Beaudan
63396669bc
Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore
6 years ago
Beaudan Campbell-Brown
c1efa93137
Merge pull request #349 from BeaudanBrown/fix-disappearing
...
Fix disappearing messages and deleting contact
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
6ef94fa43d
Start attempt at closing long polling connections when offline event is triggered
6 years ago
Beaudan
df2c4af67c
Run lint and check for ip or address when removing unreachable nodes
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
Mikunj
57195017f9
Linting
6 years ago
Mikunj
e343a04eea
Merge commit '18b5b7c046436f2defab2e20407e22da180bf97b' into signal-1.22
...
# Conflicts:
# app/sql.js
# background.html
# config/default.json
# js/background.js
# js/models/conversations.js
# js/models/messages.js
# js/modules/data.js
# js/signal_protocol_store.js
# js/views/conversation_search_view.js
# libtextsecure/message_receiver.js
# libtextsecure/sendmessage.js
# main.js
# package.json
# preload.js
# test/index.html
# ts/components/Avatar.tsx
# ts/components/conversation/ConversationHeader.md
# ts/components/conversation/ConversationHeader.tsx
6 years ago
Beaudan
620380d2d9
Move filter messages to message api and some other cleaning
6 years ago
Beaudan
e5449f56ee
Added success and failure callbacks when queueing envelope, now responding with 404 if we fail to decrypt a p2p message
6 years ago
Beaudan
5a23dbb687
Review comments and add local server listener before starting
6 years ago
Beaudan
8c20a31dd4
Review suggestions
6 years ago
Beaudan
eaea7d9b7d
Catch errors when starting local server and retry every 30 seconds
6 years ago
Mikunj
06be1da40d
Added p2p message styling
6 years ago
Beaudan
403df0806b
Update the production json to just use the defaults in preparation for having other people try the messenger. Also cleaned up a little log that was incorrect
6 years ago
Scott Nonnenberg
3fb6ab295f
Debug log optimizations and improvements
6 years ago
Scott Nonnenberg
77ae717b9b
Clean up shutdown handling - stop processing incoming messages
6 years ago
Scott Nonnenberg
7c4ba5446c
Throw error if incoming attachment has mismatched attachment size
6 years ago
Beaudan
dc67aaf9cc
Roll back change to ping more often again, ping our offline contacts every 2 mins to check if they have come back online
6 years ago