Audric Ackermann
f1d84177a0
fix expirationTimer updates closed group desktop to ios
4 years ago
Audric Ackermann
58be168227
drop groupUpdates which happened before we joined the group
4 years ago
Audric Ackermann
6856c0e748
remove updateTextInputState not needed and add left to menu tests
4 years ago
Audric Ackermann
cbd0e63641
add admin dialog to warn him about leaving for v2 closed group
4 years ago
Audric Ackermann
d43ae09eb0
first working version of closed group v2
4 years ago
Audric Ackermann
2fe6b11e89
move ConversationController to typescript
4 years ago
Audric Ackermann
adf0d03d35
add test for the MessageEncrypter using Session protocol
4 years ago
Audric Ackermann
0a4cae4183
fix duplicates message for open groups
4 years ago
Audric Ackermann
2af4938ff2
fix SessionProtocol decrypt of messages with Android
...
also disable the old SessionRequest logic
4 years ago
Audric Ackermann
b0a229bf13
add Dialog on app start to ask to update SessionID
4 years ago
Audric Ackermann
1045bfeba8
add SessionProtocol wip
4 years ago
Audric Ackermann
6b56f1174e
search for duplicates using the sent_at timestamp to speedup db call
4 years ago
Audric Ackermann
cd3ec67099
add the encryptWithSessionProtocol method
4 years ago
Audric Ackermann
cf25e89a14
cleanup unused code
4 years ago
Audric Ackermann
4026e0162e
fix a bug preventing fitlering of duplicates for open group messages
4 years ago
Audric Ackermann
228e4ed662
move MessageController to typescript
4 years ago
Audric Ackermann
184b1984c3
fix autoplay unmuted video when video attachment is added
4 years ago
Audric Ackermann
0addf2146a
add some logs to attachment download
4 years ago
Audric Ackermann
9f14924e65
push toast if gif size is too big
4 years ago
Audric Ackermann
da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
4 years ago
Audric Ackermann
97ff60f3bb
reset input for selecting file on file choosen on CompositionBox
4 years ago
Audric Ackermann
380d296bb2
send session request if we get a message we cannot decode
...
This handle the case where we delete a contact from A, lets call him B
All message after that delete from B to A will be not decoded correctly.
The issue is that the record is existing, but there is no session in it.
The fix is that if we get a message and a record is found, but has not
session in it, we trigger a session request with that user
4 years ago
Audric Ackermann
b5af8eb215
Add Mentions with react-mentions
4 years ago
Audric Ackermann
531e7bab46
print error if we get a 178 attachment size.
...
This is a dirty hack until the root cause is fixed.
4 years ago
Audric Ackermann
221f264de6
rename all saveMessage to message.commit()
4 years ago
Audric Ackermann
209fe460e4
lint and fix toast blur when dialog shwon
4 years ago
Audric Ackermann
357421f161
rename window.console.log to window.log.info
4 years ago
Maxim Shishmarev
27859b13aa
Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses
4 years ago
Audric Ackermann
e613613416
show toast with react-toastify and make them a styled-component
4 years ago
Audric Ackermann
6fd8ea20c7
fix restoring of session after restore from seed
5 years ago
Audric Ackermann
dad9e5297c
make the last seen indicator work as expected
5 years ago
Audric Ackermann
940ad57f83
rework the way unread count works
...
we no longer refresh on each message read, only once the whole
conversation is read.
5 years ago
Audric Ackermann
ef3f3d0af5
enable back link previews in sent message
5 years ago
Audric Ackermann
68e9376c5e
throw error on invalid response while downloading attachment
5 years ago
Audric Ackermann
17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
Maxim Shishmarev
5ecf43c124
Fix open group file uploads using incorrect server
5 years ago
Audric Ackermann
3998bbc97d
fix more typing errors of conversation object
5 years ago
Audric Ackermann
c41eaada25
move display of message list to a subcomponent
5 years ago
Audric Ackermann
026a1930ed
add a getOrThrow to ConversationController when we expect this convo
5 years ago
Audric Ackermann
144ae41529
add type for ConversationController, remove showStartConversation
...
and cleanup scss
5 years ago
Audric Ackermann
c7e54c4257
make attachment download use onion routing
5 years ago
Audric Ackermann
b050a3740d
clean all updateConversation calls to convo.commit()
5 years ago
Audric Ackermann
1a5a0786a1
fix new medium group mark as unread then as read on opened
5 years ago
Audric Ackermann
7a8a22701b
Merge pull request #1370 from Bilb/fix-medium-groups
5 years ago
Audric Ackermann
a1c58044d3
Merge pull request #1371 from Bilb/drop-admin-medium-groups
...
require admin for editing a closed group, but not a medium one
5 years ago
Audric Ackermann
2f8f79c5d2
make message clearer when we try to reuse a keyIdx in the ratchet
5 years ago
Audric Ackermann
99608440d0
Merge pull request #1358 from Bilb/generate-own-sender-key-not-found
...
Generate our own senderkey if it does not exist
5 years ago
Audric Ackermann
4215aa1e3b
require admin for editing a closed group, but not a medium one
5 years ago
Audric Ackermann
05e682cdc2
enable back swarm polling when we get added back to a group
5 years ago
Audric Ackermann
3fa1a8f2b5
mark medium group as not left if we get a message INFO adding us back
5 years ago
Audric Ackermann
cfb9e65f30
trigger new ratchet send on message sent success
...
send our new ratchet to all new members when we just sent a message
containing no senderKey in it.
an set but empty senderKey array should only be sent when a user left or
was removed.
5 years ago
Audric Ackermann
a05b6556b0
remove unused handleQuit for medium groups
5 years ago
Audric Ackermann
e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members
5 years ago
Audric Ackermann
5d7d66f65a
fix bug making session request being sent for medium group create
5 years ago
Audric Ackermann
a80f9a5965
fix medium group to match mobile way
5 years ago
Audric Ackermann
06d0683ce5
WIP
5 years ago
Audric Ackermann
22afe50c05
make messageQueue handle medium group message in sendToGroup
5 years ago
Audric Ackermann
d4e9b43f0c
remove QUIT type of mediumgroupupdate
5 years ago
Audric Ackermann
82be1ca60f
allow medium group updates from non admin
5 years ago
Audric Ackermann
c01cd634e4
Generate our own senderkey if it does not exist
...
This case can happen on restore from seed
5 years ago
Audric Ackermann
e5db9916a5
allow closed group updates from non-admin user
5 years ago
Audric Ackermann
4505bed61b
add migration to drop existing textsecure prefix from group convo ids
5 years ago
Audric Ackermann
86b15328c1
drop the prefix for group on the incoming message object
5 years ago
Audric Ackermann
8326870b1a
use senderIdentity for incoming messages on mediumGroups
5 years ago
Audric Ackermann
514eb9ba98
fix pubkey regex for mobile medium groups
5 years ago
Audric Ackermann
215c964fab
fix padding for medium group
5 years ago
Audric Ackermann
8123508b51
fix avatar closed group and pubkey for medium mobile groups
5 years ago
Audric Ackermann
1545256cbe
Merge pull request #1337 from Bilb/fix-ssk
5 years ago
Audric Ackermann
56a81ccc93
Merge pull request #1336 from Bilb/remove-jazzicon
5 years ago
Audric Ackermann
04063cd0fb
make medium group pubkey be in bytes rather than str
5 years ago
Audric Ackermann
7054268b14
use source from decoded content and not envelope on ssk
5 years ago
Audric Ackermann
9576944191
fix download of attachments on open group
5 years ago
Audric Ackermann
1da4ae69c2
render NoteToSelf list item as a normal conversation
5 years ago
Audric Ackermann
c34edee180
Merge pull request #1321 from Bilb/use-created-at-server-timestamp
...
Fixes #1249
5 years ago
Audric Ackermann
a0e437ab87
fix ordering of our own message on message pulled from server
5 years ago
Audric Ackermann
7501d71542
fix polling logic on network errors #995
5 years ago
Audric Ackermann
76664d9a11
use created_at for public group to order messages
5 years ago
Audric Ackermann
adfaa8861f
fix build
5 years ago
Audric Ackermann
cd686269cb
use server created_at timestamp to order messages
...
Also update the way we check for duplicated message to allow a 10s
window with the same body rather than an exact match of timestamp.
This is needed as the timestamp of the message pulled is now the one of
the creation of the server, and not the same we have locally (sent at).
5 years ago
Audric Ackermann
dafe8a80ab
shortcut newReceiver when calling dataMessage exported functions
5 years ago
Mikunj
22c64395d9
Remove multi-device warnings
5 years ago
Mikunj
c0fca99485
Disable multi device
5 years ago
Audric Ackermann
89579ebd35
refactor SessionPasswordModal to handle errors on length
5 years ago
Audric Ackermann
582499be25
do not drop group control message from blocked user
5 years ago
Maxim Shishmarev
d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
...
Medium group protocol changes
5 years ago
Audric Ackermann
5f47c42038
when pulling public message, use the MultiDeviceProtocol to check
...
if this message is coming from us rather than checking the cached values
5 years ago
Maxim Shishmarev
db05592400
Address review comments
5 years ago
Audric Ackermann
cd516aab64
lint
5 years ago
Audric Ackermann
3e23039adb
do not sync blocked closed group as mobile is not ready yet
5 years ago
Maxim Shishmarev
cc43555cd2
Merge branch 'clearnet' into medium-group-fixes
5 years ago
Audric Ackermann
d2a4757061
trigger and handle blocked contacts/groups as a list on block/unblock
5 years ago
Maxim Shishmarev
87144336b7
Large refactor of medium groups. Fixes them for multidevice
5 years ago
Audric Ackermann
ae6db8640a
Merge pull request #1273 from Bilb/fix-showing-secondary-conversation-sync
5 years ago
Audric Ackermann
dd3080d9fe
mark conversation as secondary on message synced when needed
5 years ago
Audric Ackermann
a17edd0ce9
enable back delivery Receipt and read receipt message
5 years ago
Audric Ackermann
b04a64da8c
mark secondary devices as secondary from the right primary key
5 years ago
Audric Ackermann
9a5c73af3c
do not update loki display name is given string is '' onContactSync
5 years ago
Audric Ackermann
ba7241b2cb
contactSync: mark conversation as secondary when they are
5 years ago
Audric Ackermann
3775a9ef05
drop empty synced message (or autoFR)
5 years ago
Audric Ackermann
9df0a79fb9
remove blockedNumber.js
5 years ago
Audric Ackermann
e6e179b45b
Merge branch 'clearnet' into drop-auto-fr-messages
5 years ago
Audric Ackermann
0c8e34a78e
remove envelope from cache if sentMessage is empty
5 years ago
Audric Ackermann
17cae3937d
drop synced message with the autoFR content
5 years ago
Audric Ackermann
598d6d1010
drop auto fr messages 'Please Accept... '
5 years ago
Audric Ackermann
45cdbcbb2f
handle sync of blocked contact/groups as sync events
5 years ago
Audric Ackermann
66697bc235
remove unused addBlockedGroup function since we moved to controller
...
for blocked group
5 years ago
Maxim Shishmarev
237bd84b35
Fix medium group sending for single device users; protocol changes
5 years ago
Mikunj
646973e330
Made changes to how messages are sent.
...
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.
This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
5 years ago
Audric Ackermann
d92bf6febf
Merge pull request #1229 from Bilb/fix-open-groups-ui
...
* fix sync of closed groups
* fix showing of contacts and closed groups after sync
* create closed group: only show direct conversations
* handle message sending events for open groups
5 years ago
Audric Ackermann
f03d66de38
use active_at to show and sync real contacts from contact list
5 years ago
Mikunj
f48e10fccd
Fix profile keys not being decoded properly
5 years ago
Audric Ackermann
880e039652
handle grantSignature undefined
5 years ago
Audric Ackermann
d8df91fa15
use the groupId as conversation id to create a conversation when this is a group
5 years ago
Audric Ackermann
3fa54c3ef9
Merge pull request #1226 from Bilb/various-closed-group-fixes
5 years ago
Audric Ackermann
db1a133c25
drop an expiretimer message with the same timer already on use
5 years ago
Audric Ackermann
d5cfcf9edc
Merge pull request #1223 from Bilb/various-closed-group-fixes
...
* fix display name and avatar to be shown when message is coming from a secondary device
* fix show of expiretimer in the group conversation when it is for it.
* fix a bug creating empty conversation when sync closed group message is received on secondary device
* trigger an expiretimer update message to all members when updating a group.
* trigger an expiretimer update message when sending back group details (after a requestGroupInfo)
5 years ago
Audric Ackermann
696fbd8d7a
address review
5 years ago
Maxim Shishmarev
a2b80a5e68
Address review comments
5 years ago
Audric Ackermann
bd67040086
handle empty group id after decoding and set it to null
5 years ago
Maxim Shishmarev
ae35626b35
Merge pull request #1221 from msgmaxim/ts-onion-requests
...
Move onion requests to typescript
5 years ago
Mikunj Varsani
f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
...
Fix up Blocking
5 years ago
Maxim Shishmarev
ccc487528d
Fix edkey extraction
5 years ago
Mikunj
f008a8b3ef
Always block the primary device instead of all devices.
...
Added isBlockedAsync function.
5 years ago
Mikunj
2a1afa9fe7
Forgot checking for our own devices
5 years ago
Mikunj
3159baebfa
Fix case where blocked user adds a new linked device.
5 years ago
Audric Ackermann
0366f29473
fix expiretimer on closed groups message showing on session conversation
5 years ago
Audric Ackermann
a02aa75f1f
Merge remote-tracking branch 'upstream/clearnet' into various-closed-group-fixes
5 years ago
Audric Ackermann
bfd19af04d
use MultiDeviceProtocol.isOurDevice when possible
5 years ago
Audric Ackermann
15b8600e25
fix display name and avatar not being updated when message from secondary
5 years ago
Mikunj
aa75205bbd
Move BlockedNumberController to ts
5 years ago
Audric Ackermann
235ab0bfb3
create convo for both primary and secondary in receivemessage
5 years ago
Audric Ackermann
2257420523
ignore other empty buffers which should be null after protobuf decode
5 years ago
Mikunj Varsani
26e3eca1a2
Merge pull request #1215 from Mikunj/session-restoration
...
Automatically restore session on no record error
5 years ago
Mikunj
8f82e7a442
Fix multi device pairing
5 years ago
Mikunj
f33897abe2
Automatically restore session on no record error
5 years ago
Mikunj
2d5230715f
Merge branch 'clearnet' into closed-group-fixes
5 years ago
Mikunj
c422c9e2ad
Lint
5 years ago
Mikunj
269c87a42e
Fix closed group issues
5 years ago
Mikunj
8d11660b13
Fix attachments
5 years ago
Maxim Shishmarev
7e737a3ccd
Merge branch 'clearnet' into refactor-polling
5 years ago
Maxim Shishmarev
7dd9469074
Further improve imports
5 years ago
Audric Ackermann
7c89b291de
Merge pull request #1205 from Bilb/handle-message-sending-events
5 years ago
Maxim Shishmarev
b31b6bb912
Lint
5 years ago
Maxim Shishmarev
255c7ada68
More clean up in message_receiver.js
5 years ago
Maxim Shishmarev
6fcc1f7ae4
Merge branch 'clearnet' into refactor-polling
5 years ago
Audric Ackermann
bbebfa4c7e
remove fixed comments
5 years ago
Audric Ackermann
f3ae798b12
remove SESSION_REQUEST flag from DataMessage. now in envelope
5 years ago
Maxim Shishmarev
468ad9f71d
Add more type annotations
5 years ago
Mikunj
23b05107fb
Fix closed group infinite request loop
5 years ago
Maxim Shishmarev
e2b5b6654b
Clean up more imports
5 years ago