Audric Ackermann
182635e267
trigger sync with primary when we are friend with their secondary
5 years ago
Maxim Shishmarev
ec3c03dbd4
Address review comments
5 years ago
Maxim Shishmarev
abde96bc1e
Fix medium group updates
5 years ago
Maxim Shishmarev
2a0130ff04
Multidevice support for medium groups
5 years ago
Maxim Shishmarev
3a1f071177
Medium group messages show correct sender
5 years ago
Audric Ackermann
fa853538d0
LINT after prettier upgrade
5 years ago
Mikunj
8512c2307b
Linting
5 years ago
Vince
50d111f538
Merge branch 'clearnet' into linked-devs-fixes
5 years ago
Audric Ackermann
03757ba2ca
lint
5 years ago
Audric Ackermann
12b396ce7e
add option to send a message to a single device, or to all device except one
5 years ago
Audric Ackermann
e399b9b65b
lint
5 years ago
Audric Ackermann
8d99d22ec6
link: send contacts after closed groups to minimize visible afr
5 years ago
Audric Ackermann
308e06b2cd
fix bug since refactor: autoFR and session request message were mixed
5 years ago
Audric Ackermann
03c14859b7
fix last polling of http-resources after timeout bug
5 years ago
Audric Ackermann
5b79f715ba
integration-test fix some tests add tests of logs
5 years ago
Audric Ackermann
1144609c2a
test-integration make all calls stubbed by default. fix a few bugs with stubbed server
5 years ago
Audric Ackermann
a543421cdf
log when no contact so sync, and do not include ourself as contact
5 years ago
Mikunj
3dc8ba2f02
Minor fix
5 years ago
Mikunj
a1f2b38325
Merge changes
5 years ago
Mikunj
e666c3c97d
Add comments
5 years ago
Mikunj
a497871ea3
Made changes for new protocol
5 years ago
Audric Ackermann
eb894a9b66
lint
5 years ago
Audric Ackermann
f46c885fdf
merge fix-closed-group to clearnet
5 years ago
Ryan Tharp
ead2f62b6d
Merge branch 'clearnet' into sender-keys
5 years ago
Mikunj
873dadef48
Lint
5 years ago
Mikunj
13832f83bb
Stop processing message when it is empty
5 years ago
Vincent
3cbb90516f
Remove clgs
5 years ago
Vincent
4e6e573f18
Testing w clg
5 years ago
Vincent
69e28e28aa
working with syncs
5 years ago
Vincent
72c5db52aa
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into linked-devs-fixes
5 years ago
Maxim Shishmarev
61d4c7c349
Encrypt source for medium groups
5 years ago
Vincent
1abf032418
revert auto-execute
5 years ago
Maxim Shishmarev
dd6b91bb36
Minor clean-up
5 years ago
Maxim Shishmarev
debb922521
Medium groups with sender keys essentials
5 years ago
Vincent
861719c269
remove redundant dewvprod profile
5 years ago
Vincent
5f7c82d41d
Cleanup
5 years ago
Vincent
e7e62b2479
Conditional retry for slave fail
5 years ago
Vincent
a708ce56ad
checkout outgoing
5 years ago
Vincent
3de82cd292
rm
5 years ago
Vincent
b5f0f552a7
Changes
5 years ago
Vincent
3c571770ed
Useful comments
5 years ago
Mikunj
2f04a4cf69
Ignore multi device logic when sending background message
5 years ago
Audric Ackermann
875c128d2a
remove useSealedSender feature as this is default now
5 years ago
Audric Ackermann
edbe79486c
split doSendMessage in sub methods
5 years ago
Mikunj Varsani
24a3e05154
Revert "Revert "Clean up unused dependencies.""
5 years ago
Vince
5ff7476359
Revert "Clean up unused dependencies."
5 years ago
Mikunj
b16da2c5f5
Linting
5 years ago
Mikunj
9d2417c2f6
Removed proxy-agent and web-socket.
...
Trimmed down web_api.js to most basic functions we are using. This needs to be completely removed in the future.
5 years ago
Mikunj Varsani
71caa49a84
Merge pull request #1003 from Mikunj/rollback
...
Rollback pairing authorisation upload on failure
5 years ago
Maxim Shishmarev
a91d925384
Merge pull request #1000 from msgmaxim/onion-requests
...
Client-side implementation for onion requests
5 years ago
Mikunj
000f95a430
Rollback any changes to file server if pairing authorisation failed to send
5 years ago
Maxim Shishmarev
9e3f16301f
Add AES-GCM
5 years ago
Audric Ackermann
b3d895caf3
Toast on device pairing request received but in device pairing mode
5 years ago
Ryan Tharp
a00aa73715
disconnect even if it's been stopped before, logging improvements
5 years ago
Mikunj
012575be35
Remove calling sc_reduce32 when deriving a keypair from a mnemonic seed.
...
This is the reason that seeds across desktop and mobile devices would never restore to the same keypair. This function was there from the initial messenger days and with further discussion with Maxim, we deemed calling this function an unnecessary step for generating a keypair. There are no security implications for this change as we generate keypairs the exact same way as Signal does.
The biggest downside to this change however is that if you try to restore a desktop device with a seed from before this change, that seed will generate a completely different key pair and thus a different session ID.
This will only affect users who plan to restore any device from the seed of a desktop device before this change.
5 years ago
Mikunj
a09e370e1d
Added testing on pull request
...
Disable proxy in tests.
5 years ago
Ryan Tharp
20c7a42356
Merge pull request #915 from neuroscr/dupfix
...
Try to address duplicate open group message issues after sleep
5 years ago
Ryan Tharp
0c43c511d7
Merge pull request #868 from neuroscr/tls-fix
...
Snode communication retries and logging improvement
5 years ago
Ryan Tharp
d19be45685
add simple lock around lokiPublicChatAPI binding (on top of the clearing, only one is probably needed)
5 years ago
Audric Ackermann
6d03a63d4a
add sync of open groups on device link
5 years ago
Mikunj
d00abed7da
Linting
5 years ago
Mikunj
a03185248c
Fix check for valid sender when handling sync message
5 years ago
Mikunj
0eaebcbcac
Don't send contact sync message with pairing authorisation.
...
Don't send secondary devices in contact sync messages.
5 years ago
Mikunj
f35493ce9f
Linting
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
Ryan Tharp
c404d1c729
log exception and when we exhausted long polling pool
5 years ago
Mikunj
38182efe01
Fix check to see if we have keys or not.
...
The previous check was also forcing the keys to be processed, which we don't want.
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
ebfff824bd
Fix friend request logic triggerring on session requests
5 years ago
Mikunj Varsani
8ffb1a0a10
Refactor session reset handling
5 years ago
Mikunj Varsani
33aa190c5b
Fix friend request for background messages not triggering friend request logic
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
4f6dd7a8d5
Rename functions to be less confusing
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 Varsani
68f1ba543b
Fix closed group creation from secondary device
5 years ago
Mikunj Varsani
d9c521b09d
Fix message syncing in closed groups
5 years ago
Mikunj Varsani
054a523738
Fix linked device sending automatic friend request when it already has keys for a device
5 years ago
Mikunj Varsani
beb4cdbed8
Closed group fixes. ( #816 )
...
* Fix group updates not syning
* Fix leaving closed groups
* Fix incorrect members being shown on create group dialog
* Linting
* Fix create closed group showing our own conversation
5 years ago
Mikunj
164303180f
Remove unneeded boolean condition.
5 years ago
Mikunj
c9f60826b4
Fix friend request messages being sent to users you don't have a session in closed groups.
...
Disable typing messages and read receipts in groups.
Send out session request messages if you don't have a session with a member in the group.
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
3f58dea035
Remove mixpanel
5 years ago
Vincent
9dcc851ebd
Updated all icon references
5 years ago
Maxim Shishmarev
02320334f0
Remove P2P
5 years ago
Maxim Shishmarev
3472a1a938
Remove unused destinationRegistrationId; lint
5 years ago
Maxim Shishmarev
b7e93ab597
Support sealed sender for friend requests
5 years ago
Maxim Shishmarev
b405b150cc
Sealed sender support
5 years ago
Audric Ackermann
293eca0509
Merge branch 'brand-redesign' into clearnet
5 years ago
Vincent
a1a582d7ea
Session branding fixes
5 years ago
Vincent
5fbbdc33c3
Signal branding
5 years ago
Ryan Tharp
2cf39cc1ed
Merge pull request #690 from neuroscr/multidevice-publicchat
...
Add/Remove Moderators interface
5 years ago
Ryan Tharp
6c9f14fc31
fix makeAttachmentPointer to make 3 parameter optional
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
b0122b6ce6
Ensure the primary profile is used on secondary devices
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
Maxim Shishmarev
2ab0d084f1
Merge pull request #645 from msgmaxim/group-invites
...
Public chat invitations
5 years ago
sachaaaaa
516b463d2e
Merge pull request #641 from sachaaaaa/pairing_revocation
...
Sending and handling of special UNPAIRING_REQUEST message
5 years ago
Maxim Shishmarev
8ea82b14e3
Add channel id field to invitations
5 years ago
Maxim Shishmarev
a5fce17d8c
public chat invitations
5 years ago
sachaaaaa
3d22abc9cf
Ensure message is not FR
5 years ago
sachaaaaa
e0dc04cba5
Merge pull request #639 from sachaaaaa/fix_prekey_id_not_found
...
Prevent prekeys to be deleted when re-sending pairing request
5 years ago
sachaaaaa
db0068b429
Sending and handling of special UNPAIRING_REQUEST message
5 years ago
sachaaaaa
3d7548729f
Prevent prekeys to be deleted when re-sending pairing request
5 years ago
Maxim Shishmarev
5a08ac9cc1
Use avatar specific endpoint
5 years ago
Maxim Shishmarev
4dd314c18f
Enable profile pictures
5 years ago
Beaudan Brown
56a1c31bf4
Ensure we can still send messages to ourselves (sync) and disable group chats
5 years ago
Beaudan Brown
685ada5cc5
Merge branch 'clearnet' into prep-merge
5 years ago
Beaudan Brown
030264c689
Fix misuse of getAllDevicePubKeysForPrimaryPubKey and rename some vars
5 years ago
Beaudan Brown
bce18b7ae6
Revert change so we are always friends with our secondary devices, check validSyncSender from primary pubkey rather than ourNumber
5 years ago
Beaudan Brown
74045d58d7
Use Int32 for the contact list buffer
5 years ago
Beaudan Campbell-Brown
6611a10855
Merge pull request #590 from BeaudanBrown/session-reset-on-fr
...
Session reset on fr
5 years ago
Beaudan Brown
1c022856b1
Address review
5 years ago
Beaudan Brown
370dee5abb
Ensure we have the correct apis and listeners during the pairing process. Catch upnp error. Remove redundant friend requests
5 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
5 years ago
Beaudan Brown
332cd30052
Send contact sync message when becoming friends with contact and auto accept/send friend requests when receiving contact sync
5 years ago
Beaudan Campbell-Brown
e88aca57f2
Merge pull request #603 from sachaaaaa/Fix_secondary_nickname
...
[multi-device] Fix secondary nickname
5 years ago
Beaudan Campbell-Brown
0f74a002df
Merge pull request #601 from BeaudanBrown/sync-messages
...
[multi-device] Sync messages
5 years ago
Beaudan Brown
accd16cae1
Trigger friend request received update for the correct device conversation, throttle the sending of automated friend requests and don't send them to devices which sent *us* a friend request
5 years ago
Beaudan Brown
41fdcef695
Ensure that we can't miss the apisReady event and only listen for single emit
5 years ago
sachaaaaa
dc626ec4d0
use primary device pubkey when setting nickname
5 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
f16b032056
Handle sync messages properly for some edge cases, ensure we always have a primaryDevicePubKey, send contact sync message
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
Beaudan Brown
4aaa9ba26d
Update sendSyncMessage to use primary pubkey and don't send to itsself, don't send typing messages for primary conversation (note to self)
6 years ago
Maxim Shishmarev
7c05939f55
Add group admins and the ability to remove members from private groups
6 years ago
Maxim Shishmarev
cf18572049
Adding new group members; establishing sessions between non-friends
6 years ago
Maxim Shishmarev
0d19b708f9
Creating private group chats between 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
72b60077c7
Give a simple error instead of logging a failed null check
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
638f1c0e6c
Bringing together all the stuff for attachments and link previews
6 years ago
Beaudan Brown
f0c198c7b7
Split uploadData to public and private
6 years ago
Beaudan Brown
a1921cfff3
Enable link previews to be sent as attachments, might need some more tweaking
6 years ago
Beaudan Brown
c7a91686a8
Update proto id and use the server id as the attachmentpointer id
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
a314721cce
Both devices to update their mapping after secondary registration
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
d5ddc1c536
No need to attach authorisation with every friend request
6 years ago
sachaaaaa
b63d8ec84f
Merge branch 'clearnet' into multi-device
...
* clearnet: (35 commits)
yarn lint
return early if signature is not a string
lint pass 2
lint pass 1
make sure versioning on write can't get out of sync
Update js/modules/loki_public_chat_api.js
Handle annotations omit correctly
fix typo CI found
refactor
pollOnceForMessages() move lastGot up, address Sacha's review
Update js/modules/loki_public_chat_api.js
address review
address reviews
Custom message rendering of mentions
fix method
separate out new/open, more lint/cleanup
separate out note to self
create window.mixpanel here
use window.mixpanel, remove eventEmitter
lint and remove unneeded params
...
6 years ago
Ryan Tharp
c921d3e3b3
allow mixpanel to be already set up elsewhere
6 years ago
Ryan Tharp
88b44390bf
Desktop Analytics
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
Beaudan Campbell-Brown
a6abcaf826
Merge pull request #453 from Mikunj/profile-simplification
...
Profile simplification
6 years ago
Beaudan Campbell-Brown
43bd167965
Merge pull request #463 from loki-project/public-chat
...
Public chat
6 years ago
Mikunj
831ae09576
Cherry pick "profile simplification" from Mik
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
9f8ee875b7
address review
6 years ago
sachaaaaa
97970ff465
Share primary device profile name upon secondary registration
6 years ago
sachaaaaa
7b9e578d8a
lint
6 years ago
sachaaaaa
aa2438ad00
Shorter TTL for pairing requests
6 years ago
Mikunj
c4dd10a5cd
Simplified profile setting. Renamed functions to be less confusing. Removed storing profile in local storage.
6 years ago
Beaudan Brown
700ed5d2a8
Some refactoring from reviews, and include the token in the message pipeline instead of getting in message_api
6 years ago
Beaudan Brown
b5fd01a468
Add required metadata to sending pipeline and send to public channels
6 years ago
sachaaaaa
1d4c98adf0
Merge pull request #444 from sachaaaaa/logic_fixes
...
[multi-device] Fix bugs revealed during reviews
6 years ago
Beaudan Brown
eec4f22b50
Add crypto helpers and public error
6 years ago
sachaaaaa
bb0150624f
Address reviews
6 years ago
sachaaaaa
661b207245
Various fixes for bugs introduced during reviews
6 years ago
sachaaaaa
53b974d63f
Send messages to every devices linked to a primary device
6 years ago
sachaaaaa
5eab2098b6
Merge pull request #430 from sachaaaaa/handle_incoming_authorisation
...
[multi-device] Handle incoming pairing authorisation message
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
sachaaaaa
794e6416c8
Add requestPairing high-level function
6 years ago
Beaudan Brown
895cedc801
Lint
6 years ago
sachaaaaa
713e9a3acf
Fix pubkey validation
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