Audric Ackermann
77acd1396b
feat: add support for blinded25 receipt of messages for later impl
2 years ago
Audric Ackermann
0fa58a5654
chore: fix compilation issues after conflicts resolution
2 years ago
Audric Ackermann
4637f4609a
Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
2068737cdd
fix: break down deleteContact based on convo type
2 years ago
Audric Ackermann
7b42c64cf3
fix: make sure to include the associatedWith to handle 421
2 years ago
Audric Ackermann
2a4bbbd587
feat: add the deleteContact and deleteConversation only menu items
2 years ago
Audric Ackermann
6f6620f622
fix: skip new group messages when receved after group was removed
2 years ago
William Grant
f9c9702d12
fix: clean disable-next-line on handleMessageSentSuccess
2 years ago
William Grant
afaaedac3e
feat: added proper note to self support
...
note to self is always delete after send
2 years ago
William Grant
7d9945911c
fix: expire all outbound disapparing messages as soon as they are sent to match other platforms
2 years ago
William Grant
2221d81a23
fix: reverted setToExpire timer,
...
fixed incorrect expirationLength value in getPropsForExpiringMessage
2 years ago
William Grant
6a38e09f4f
feat: moved setToExpire calls to the correct locations within the message pipeline depending on the expirationType of a message model
2 years ago
William Grant
e5ecff7ec3
fix: fixed legacy disappearing messages on call notifications and others
2 years ago
William Grant
a3a0c3f9de
feat: fixed closed groups legacy mode
2 years ago
William Grant
8117e631d0
feat: legacy mode now works for 1-1 chats
2 years ago
William Grant
d698f66d50
feat: updated clients can send ExpirationTimerUpdateMessages to older clients
...
fixed syncing of ExpirationTimerUpdateMessages
2 years ago
William Grant
255b6225c9
feat: block sending disappearing messages of the wrong type in different conversations,
...
improved disappear after send or read logic, disable legacy sending for now
2 years ago
William Grant
446752cf54
feat: DataExtractionNotifications now expire
...
MessageRequestResponses should not expire, pass yarn ready
2 years ago
William Grant
5c697572a7
feat: Call Notifications now expire properlly
...
include the direction in the expiration props, setting the start timer doesnt directly update the model
2 years ago
William Grant
307fefcedc
feat: improved sender disappear after reading time
2 years ago
William Grant
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
2 years ago
William Grant
f36bbb9c7c
feat: group invitiations now disappear
2 years ago
William Grant
e34e3d4a4b
fix: resolved some yarn ready issues
2 years ago
William Grant
f825b74895
feat: disappearing messages are now correctly deleted from the swarm after they expire
2 years ago
William Grant
d358ab2fb1
feat: fixed closed groups
...
improved setExpirationStartTimestamp logic
2 years ago
William Grant
996d204dc8
feat: improved syncing of timers for disappear after send
2 years ago
William Grant
6febf2859e
feat: disappear after reading now works
2 years ago
William Grant
4ee440304c
feat: attempted to improve the accuracy of the start timer for disappear after send
2 years ago
William Grant
22e02633a9
feat: started consolidating send and receive dm logic.
...
updated in parts but haven't test what happens
2 years ago
Audric Ackermann
0e286142f1
chore: add a redux settings slice, currently outdated banner inc
2 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
2 years ago
Audric Ackermann
c623e2e49e
fix: make the ConfSyncJob fetch be per destination
2 years ago
Audric Ackermann
c4e17d0825
fix: add mgmt of members in user groups wrapper
2 years ago
Audric Ackermann
bc905bdba1
feat: start of community handling in libsession util
...
also remove tracking of hashes for config namespaces
2 years ago
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
2 years ago
Audric Ackermann
22329bc745
chore: cleanup FIXMEs and remove sig_timestamp as we cannot rely on it
...
we use timestamp instead of sig_timestamp for store requests
2 years ago
Audric Ackermann
f870eff45b
fix: make syncJob throttled every 3s and start right away if possible
...
also enable sig_timestamp on mainnet use as every node should have
upgraded now
2 years ago
Audric Ackermann
6bbb16b46d
feat: track and delete configMessageHashes
2 years ago
Audric Ackermann
7c56310e69
feat: addConfSyncJob start
2 years ago
Audric Ackermann
4bfcf91193
fix: add return types for libsession wrapper functions
2 years ago
Audric Ackermann
9cf1419ca5
feat: add first try to build SharedConfigMessages
2 years ago
Audric Ackermann
68852a9e63
chore: move syncUtils to its own folder
2 years ago
Audric Ackermann
c8e76b17de
chore: refactor db instance to outside its sql.ts file
2 years ago
Audric Ackermann
58edbf44ee
add SharedConfig message and signing it when sending them
2 years ago
Audric Ackermann
6d1b406c85
fix: add namespace to all sending message calls
2 years ago
Audric Ackermann
d7bcf1026f
fix: refactor snodeRPC to use snode batching
2 years ago
Audric Ackermann
3915e946b4
Merge branch 'clearnet' into settings-redesign
3 years ago
Audric Ackermann
55365f817d
Merge remote-tracking branch 'upstream/clearnet' into settings-redesign
3 years ago
Audric Ackermann
9ffa529c30
fix: set flags to VOICE_MESSAGE when sending attachment with voice msg
3 years ago
William Grant
d77c9fa824
fix: sogs reactions work again and added rate limiting
3 years ago
Audric Ackermann
81fa09b8ee
Merge branch 'menu-redesign' into settings-redesign
3 years ago
Will G
267f49ff1e
Emoji Reacts ( #2320 )
...
Add support for emoji reacts in conversations
Resolves #2375 and #1577
3 years ago
Audric Ackermann
cfbb58aa7f
fix: remove logs of HF 19.0 and 19.1 values
3 years ago
Audric Ackermann
242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver ( #2347 )
...
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
3 years ago
Audric Ackermann
26187da521
force duplicates to -10 and 0 for closed groups between HF
3 years ago
Audric Ackermann
9bd8b73a0c
fix testnet
3 years ago
Audric Ackermann
d948045e6a
added hf switching of poll&store requests + tests
3 years ago
Audric Ackermann
475c92eeb4
migrate about_start to not use jquery
3 years ago
Audric Ackermann
261940e978
fix tests
3 years ago
Audric Ackermann
6e8e8eaa9a
move errors.js to ts
3 years ago
Audric Ackermann
9d4989b66d
cleanup constants.tsx file
...
and fixup commit id showing at the bottom in settings
3 years ago
Audric Ackermann
5afbd9c19e
cleanup creation of opengroup message on sync
3 years ago
Audric Ackermann
5e314e4dcc
remove 'recipients' message field and 'destination'
...
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey
we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
3 years ago
audric
fc916ce94c
Fix attachments duplication on message syncing with current device
3 years ago
Audric Ackermann
28c7445dce
refactor most of the components to outside of their Session folder ( #2072 )
...
* refactor most of the components to outside of their Session folder
* finish moving overlay and memberListItem to react hook
* fix bug with kicked member len >2 not being displayed
also sort admins first in UpdateGroupMembers dialog
* fix admin leaving text of groupNotification
* add a useFocusMount hook to focus input fields on mount
* make click avatar convo item open only user dialog
* cleanup config default.json
* make sure to use convoController to build sync message
* disable showing pubkey on opengroups
* add a pause on audio playback
Fixes #2079
3 years ago
Audric Ackermann
1dff310820
no video track by default and will be turn ON if asked to
4 years ago
Audric Ackermann
6f3625f99c
move the state of calling to its own slice
4 years ago
Audric Ackermann
c1471426ac
dismiss a call when answered from another of our devices
4 years ago
Audric Ackermann
ce16066313
do not try to do an unsend request on a group swarm
4 years ago
Audric Ackermann
bb26680b75
unsend for me only on a closed group only deletes locally
...
also do not await request to PN server
4 years ago
Audric Ackermann
5d9565a559
fix menu action for unsending messages
4 years ago
Warrick Corfe-Tan
6743201cc4
added perfect negotiation
...
Adding toast for cam and audio permission when making a call.
adding missed call message and toast when a call is received while mid-call.
background call message work
4 years ago
Audric Ackermann
8b611a2867
make call UI react to incoming and ongoing calls
4 years ago
Audric Ackermann
d55c96cb67
setup webrtc between two pubkey
4 years ago
Audric Ackermann
4e30614077
disable unsend request on the UI for now ( #1934 )
...
* disable unsend request on the UI too
* do not stop propagation of events for message ctx menu
4 years ago
Warrick
1d459ba533
Unsend messages (only message hashes saving for now is enabled) ( #1891 )
...
* WIP unsending message.
* retrieving message with hash from db on receiving unsend request.
* outgoing messages hashes updated on message sent success
* unsend messaging
* unsend message - deleting messages and marking as isDeleted.
* add msg hash to unprocessed records.
* Message unsending working for closed groups provided the message has been updated with a hash from server.
* adding 2-stage confirmation modal for message deletion
* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.
* Adding logging
* debugging.
* outgoing only saved for sync message instead of regular message.
* deleting locally
* adding post unsend deletioncode.
* starting adding feature flag.
* Added feature flag.
* addding mandatory messageHash pollling pipeline methods swarm polling.
* Conversation list item message preview showing deletion placeholder text if deleted.
* add condition to drop unsend requests not send by message author
* refactoring deleteMessage. Saving response hash for closed group message sending
* running yarn ready
* removing logging.
* Adding PR fixes
* Minor changes and running yarn ready
* fix typo
* Moved feature flag to lokiFeatureFlags. Fixing linting errors
Co-authored-by: Audric Ackermann <audric@loki.network>
4 years ago
Audric Ackermann
e9dfa0704f
do not overwrite sent_at with network time for synced messages ( #1921 )
...
* do not update sent_at for synced messages
* reply to message context menu only visible if msg sent
4 years ago
Audric Ackermann
b45109985c
use timestamp offset in for messages storage requests ( #1892 )
...
* add using timestamp offset from network for sending part1
* remove MessageController as we now rely on the database
* fix tests for message sending overriding timestamp
4 years ago
audric
68330b42bf
Add logs of PN server notify fails
4 years ago
audric
215f2227c1
move what is used only for PN server api call to pnserver.ts
4 years ago
Audric Ackermann
9a302fb5ff
add a cache of the keypairs for a closed group
4 years ago
Audric Ackermann
504a9afc0a
fix up handling of clock out of sync
4 years ago
Audric Ackermann
e9e718bfcb
remove getInstance on MessageController=> getMessageController
4 years ago
Audric Ackermann
01fd927070
match envelope type with ios protos
4 years ago
Audric Ackermann
f3768a674a
short error on no network for retry sending message
4 years ago
Audric Ackermann
0192f295f2
move the user fetch for mentions to redux
4 years ago
Audric Ackermann
744be229b7
move the PN server notify() to not use dot_net_api
4 years ago
Audric Ackermann
3456162402
Moved opengroupv1 test to opengroupv2 tests
4 years ago
Audric Ackermann
a2ea02960e
add some retries for not already retries requests
4 years ago
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding
4 years ago
Audric Ackermann
c2298c4c30
Merge branch 'clearnet' into scoring-system
4 years ago
Audric Ackermann
ed53ab43e6
WIP
4 years ago
Warrick
3854d0e10d
WIP: Closed group reliability ( #1630 )
...
* WIP: added non-durable messaging function.
* WIP: Non-durable sending
* WIP: adding dialog box.
* Creating dialog if group invite message promises don't return true.
* removed console log
* applied PR changes, linting and formatting.
* WIP: allowing resend invite to failures.
* using lookup.
* WIP: recursively opening dialog.
* WIP: debugging reject triggering on confirmation modal.
* register events fix.
* Closed group invite retry dialog working.
* Added english text to messages.
* Prevent saving of hexkey pair if it already exists.
* Fixed nickname edit
input trimming end letter.
* Don't show closed group invite dialog unless it has failed at least once.
* Fix linting error.
* Fix plurality.
* Ensure admin members are included in all invite reattempts, mixed plurality.
4 years ago
Audric Ackermann
a83a2afa4f
scoring system kind of working
4 years ago
Audric Ackermann
c63d5a4581
rename serviceNodeApi to SNodeApi
4 years ago
Audric Ackermann
8cb50ebc91
move onionPath building to outside of index.ts
4 years ago
Audric Ackermann
58abd08e6d
Get snode from snode ( #1614 )
...
* force deleteAccount after 10sec timeout waiting for configMessage
* move some constants to file where they are used
* add a way to fetch snodes from snodes
* remove a snode from a pubkey's swarm if we get 421 without valid content
* remove getVersion from snodes
* hide groupMembers in right panel for non-group convo
4 years ago
Audric Ackermann
c063848167
pad and unpad message everywhere
...
attachment not padded for opengroup only
4 years ago
Audric Ackermann
7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2)
4 years ago
Audric Ackermann
0c0da48150
remove pow
4 years ago
Audric Ackermann
98b69c17f0
add userblocking opengroupv2 and quoting back of messages
4 years ago
Audric Ackermann
34148e67ec
add return of url after v2 attachment upload
4 years ago
Audric Ackermann
f7e163c142
add sending of message for opengroupv2`
4 years ago
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100
4 years ago
Audric Ackermann
ec6a5995db
sync expire timer updates
4 years ago
Audric Ackermann
79193ee7be
refactor to Visible and ControlMessage types
4 years ago
Audric Ackermann
39f8ca293a
speedup tests
4 years ago
Audric Ackermann
ca22b4635f
fixup some building of sync message issues
4 years ago
Audric Ackermann
8716fbf495
improve sent message handling by setting the correct convoId at start
4 years ago
Audric Ackermann
8a800cf58c
move the logic of handling when a message is sent to MessageSentHandler
4 years ago
Audric Ackermann
25e03eba35
fix lint
4 years ago
Audric Ackermann
370158951a
move events from MessageQueue to MessageSentHandler
4 years ago
Audric Ackermann
8ea9f02cec
Move data.js to data.ts
4 years ago
Audric Ackermann
ebf9714e49
remove MessageQueueInterface
4 years ago
Audric Ackermann
2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
a31c457c08
allow closedgroup new message to be sent to our other devices
...
also, do not drop it on the receiving side
4 years ago
Audric Ackermann
375c5ba1a8
add the request and reply of an encryptionKeyPair if needed
4 years ago
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
a51f95d28c
move models to TS part1
4 years ago
Audric Ackermann
b88ea110e8
Add multi device v2 support
4 years ago
Audric Ackermann
6e11c6db2e
remove all reference to closed group update v2
4 years ago
Audric Ackermann
5c3cb0a165
make moderator dialogs the Session way
4 years ago
Audric Ackermann
a0703bc2f9
remove primary and secondary device separate status
4 years ago
Audric Ackermann
135fc3b366
remove prekeys
4 years ago
Audric Ackermann
72c96ea998
remove most of the SessionProtocol unused stuff
...
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
4 years ago
Audric Ackermann
f1d84177a0
fix expirationTimer updates closed group desktop to ios
4 years ago
Audric Ackermann
eb9828a3b7
fix tests
4 years ago
Audric Ackermann
19f59ca41e
add some logs for message sending
4 years ago
Audric Ackermann
d43ae09eb0
first working version of closed group v2
4 years ago
Audric Ackermann
80523a9a3e
rename MessageQueue event to be more easily searchable
...
success -> sendSuccess
fail -> sendFail
5 years ago
Audric Ackermann
a80f9a5965
fix medium group to match mobile way
5 years ago
Audric Ackermann
22afe50c05
make messageQueue handle medium group message in sendToGroup
5 years ago
Audric Ackermann
3a876c7322
add notify to PN server on message sent
5 years ago
Audric Ackermann
7054268b14
use source from decoded content and not envelope on ssk
5 years ago
Audric Ackermann
1e446b0a81
fix order for open groups message which are out of sync
5 years ago
Audric Ackermann
6d65c9cc0a
make sendMessage return -1 on fail rather than false
5 years ago
Audric Ackermann
44349079ab
fix delete of open group messages
5 years ago
Maxim Shishmarev
87144336b7
Large refactor of medium groups. Fixes them for multidevice
5 years ago
Vincent
ca96992a44
Pukbeyified
5 years ago
Vincent
68f2a90f7c
pubkeys-in-message-encryptor-init
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
f8aa50546b
include verb and path on outgoing websocket message
5 years ago
Maxim Shishmarev
255c7ada68
More clean up in message_receiver.js
5 years ago
Mikunj
a972c328c7
Change how sync messages are handled
5 years ago
Mikunj
b69ad7db16
Add attachment util
5 years ago
Audric Ackermann
cae608fd01
drop typing message for public groups and fix opengroup sending
5 years ago
Mikunj
fb53f9ff36
Fix message queue
5 years ago
Mikunj
b52544e6ba
Fix imports
5 years ago
Mikunj
c2c56bb9b0
Handle typing and expiration messages when sending to group
5 years ago
Audric Ackermann
0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending
5 years ago