Maxim Shishmarev
a91d925384
Merge pull request #1000 from msgmaxim/onion-requests
...
Client-side implementation for onion requests
2020-03-25 15:52:05 +11:00
Maxim Shishmarev
9e3f16301f
Add AES-GCM
2020-03-24 18:25:31 +11:00
Audric Ackermann
b3d895caf3
Toast on device pairing request received but in device pairing mode
2020-03-23 14:50:48 +11:00
Ryan Tharp
a00aa73715
disconnect even if it's been stopped before, logging improvements
2020-03-18 17:38:13 -07:00
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.
2020-03-06 13:38:18 +11:00
Mikunj
a09e370e1d
Added testing on pull request
...
Disable proxy in tests.
2020-02-28 14:51:09 +11:00
Ryan Tharp
20c7a42356
Merge pull request #915 from neuroscr/dupfix
...
Try to address duplicate open group message issues after sleep
2020-02-25 15:39:58 -08:00
Ryan Tharp
0c43c511d7
Merge pull request #868 from neuroscr/tls-fix
...
Snode communication retries and logging improvement
2020-02-25 15:37:23 -08:00
Ryan Tharp
d19be45685
add simple lock around lokiPublicChatAPI binding (on top of the clearing, only one is probably needed)
2020-02-23 18:17:17 -08:00
Audric Ackermann
6d03a63d4a
add sync of open groups on device link
2020-02-21 15:32:31 +11:00
Mikunj
d00abed7da
Linting
2020-02-19 13:30:10 +11:00
Mikunj
a03185248c
Fix check for valid sender when handling sync message
2020-02-19 13:28:26 +11:00
Mikunj
0eaebcbcac
Don't send contact sync message with pairing authorisation.
...
Don't send secondary devices in contact sync messages.
2020-02-19 13:08:12 +11:00
Mikunj
f35493ce9f
Linting
2020-02-19 10:39:30 +11:00
Mikunj
abf298ba25
Added sending of group sync message
2020-02-19 10:32:30 +11:00
Mikunj
fc6ca57e1e
Added support for group request info
2020-02-19 09:03:51 +11:00
Ryan Tharp
c404d1c729
log exception and when we exhausted long polling pool
2020-02-16 21:53:13 -08:00
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.
2020-02-17 15:31:35 +11:00
Mikunj
6620092959
Wait for prekeys to be processed before sending a message on session reset.
...
Remove old code.
2020-02-14 13:46:45 +11:00
Mikunj Varsani
ebfff824bd
Fix friend request logic triggerring on session requests
2020-02-13 13:44:53 +11:00
Mikunj Varsani
8ffb1a0a10
Refactor session reset handling
2020-02-13 13:05:20 +11:00
Mikunj Varsani
33aa190c5b
Fix friend request for background messages not triggering friend request logic
2020-02-12 14:45:34 +11:00
Ryan Tharp
fc19c2520d
Merge pull request #835 from neuroscr/opengrouppollfix
...
Open group polling fix
2020-02-10 17:56:02 -08:00
Ryan Tharp
031330154b
only bind open group events once, start open group polling on connect
2020-02-10 16:45:34 -08:00
Mikunj Varsani
4f6dd7a8d5
Rename functions to be less confusing
2020-02-11 11:02:06 +11:00
Mikunj Varsani
a75ef365b8
Fix device unlinking.
...
Fix session request being sent even if we have keys to setup a session.
Fix minor crash.
2020-02-11 10:18:41 +11:00
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
2020-02-11 08:40:37 +11:00
Mikunj Varsani
68f1ba543b
Fix closed group creation from secondary device
2020-02-10 19:55:49 +11:00
Mikunj Varsani
d9c521b09d
Fix message syncing in closed groups
2020-02-10 19:36:32 +11:00
Mikunj Varsani
054a523738
Fix linked device sending automatic friend request when it already has keys for a device
2020-02-10 18:42:00 +11:00
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
2020-02-10 15:03:34 +11:00
Mikunj
164303180f
Remove unneeded boolean condition.
2020-02-05 13:06:36 +11:00
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.
2020-02-05 13:00:19 +11:00
Mikunj
8ae793db19
Rename BACKGROUND_FRIEND_REQUEST to SESSION_REQUEST.
...
Don't trigger friend request logic if a message is aimed at a group.
2020-02-05 10:32:14 +11:00
Ryan Tharp
158b4fcb08
fix typo
2020-02-03 21:11:14 -08:00
Ryan Tharp
d69a0a9fd4
lint
2020-02-03 19:00:00 -08:00
Maxim Shishmarev
dadd4b97ad
Remove source field from envelope
2020-02-04 10:06:03 +11:00
Maxim Shishmarev
3f58dea035
Remove mixpanel
2020-01-31 10:14:30 +11:00
Vincent
9dcc851ebd
Updated all icon references
2020-01-30 14:19:07 +11:00
Maxim Shishmarev
02320334f0
Remove P2P
2020-01-30 11:47:37 +11:00
Maxim Shishmarev
3472a1a938
Remove unused destinationRegistrationId; lint
2020-01-29 12:11:15 +11:00
Maxim Shishmarev
b7e93ab597
Support sealed sender for friend requests
2020-01-29 11:08:43 +11:00
Maxim Shishmarev
b405b150cc
Sealed sender support
2020-01-29 11:08:13 +11:00
Audric Ackermann
293eca0509
Merge branch 'brand-redesign' into clearnet
2020-01-22 17:59:08 +11:00
Vincent
a1a582d7ea
Session branding fixes
2020-01-21 15:18:05 +11:00
Vincent
5fbbdc33c3
Signal branding
2020-01-21 14:59:18 +11:00
Ryan Tharp
2cf39cc1ed
Merge pull request #690 from neuroscr/multidevice-publicchat
...
Add/Remove Moderators interface
2019-12-11 22:30:58 -08:00
Ryan Tharp
6c9f14fc31
fix makeAttachmentPointer to make 3 parameter optional
2019-12-10 00:20:44 -08:00
Mikunj
84a8b0f0af
Merge branch 'clearnet' into bug-fix
2019-12-10 16:16:43 +11:00
Maxim Shishmarev
5123fa0409
Merge pull request #669 from msgmaxim/restoration
...
Prompting the user to reset session on invalid ciphertext
2019-12-05 10:06:48 +11:00