William Grant
b8ab952c33
fix: explicitly set expirationType to undefined if sending a legacy message
2 years ago
William Grant
2f4c0114aa
feat: tested new expiration modes with legacy and new clients
...
fixed banner logic
2 years ago
William Grant
93cb972514
feat: updated hasOutdatedClient to track last user to send a legacy message
...
this makes the banner work properlly in closed groups
2 years ago
William Grant
84dec94450
fix: cleanup logging
2 years ago
William Grant
dc57454911
feat: ignore conversation settings when new modes are unlocked
2 years ago
William Grant
6de7c5c405
fix: legacy message checks must look for the ExpirationTimerUpdate flag explicitly
...
use correct model for a message in a closed group
2 years ago
William Grant
854742c0b1
fix: improved logic for turning off disappearing messages
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
bd900128f4
feat: added hasOutdated Client to convo model, use feature release check to process disappearing messages
...
trigger banner when receiving a legacy disappearing message via hasOutdatedClient
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
7d0673f7f2
wip: added new legacy mode to panel, improved backwards compatibility
...
legacy mode support in conversation header, added typing for the expireUpdate, next is sending support
2 years ago
William Grant
42356b0d60
fix: duplicate timer update messages
2 years ago
William Grant
97ecc9e521
feat: fixed double expiration update message issue
...
started creating an inheritable expiration message class, improved start triggering logic
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
f122c206da
fix: improved backwards compatibility
2 years ago
William Grant
ac844af691
feat: updated timer notification design and copy
2 years ago
William Grant
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
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
b4fc33c8fa
fix: prevent duplicate expire timer updates while keeping backwards compatibility
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
ee4aa333fc
feat: disappearing after send is not working correctly
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
William Grant
8dc7dac55e
feat: control available modes depending on the conversation
2 years ago
William Grant
2745571790
fix: correctly write to db when setting changes
2 years ago
William Grant
ee6607b96a
feat: added expirationType and expireTimer to content message and updated message pipeline
...
this includes sync messages and updating the protobuf, haven't tested closed groups
2 years ago
William Grant
b12d086b22
feat: DisappearingMessageType -> DisappearingMessageConversationType
...
this is more explicit and allows use to use DisappearingMessageType in the message model
2 years ago
William Grant
30196a131a
feat: added basic support for different disappearing message modes
...
added expirationType and lastDisappearingMessageChangeTimestamp to conversations table, left a few comments for future work
2 years ago
Audric Ackermann
0e286142f1
chore: add a redux settings slice, currently outdated banner inc
2 years ago
Audric Ackermann
0080254286
fix: add NoticeBanner showing when legacy config message received
2 years ago
Audric Ackermann
cbffc29950
fix: run tests for libsession-util integration and fix issue
2 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
2 years ago
Audric Ackermann
55a2767fce
feat: do not approve a convo before sending the first message
...
but still sync it's state through the createdAt with libsession util
2 years ago
Audric Ackermann
760642e149
feat: use the lastJoinedAt and createdAt from the wrapper
2 years ago
Audric Ackermann
b843d66084
feat: add the lastJoined and createdAt timestamp from wrapper logic
2 years ago
Audric Ackermann
f3975b545a
feat: use priority for hidden and pinned conversation
2 years ago
Audric Ackermann
027bd46ff7
fix: allow legacy config message during linking
...
We only handle handlethem after the new config message ones, so if there is a
shared config message on the network we will use it for the linking
process instead. The legacy one this commit is about is bound to be
removed completely and will only be used until our users have updated to
the new ones for some time.
2 years ago
Audric Ackermann
fe5eea4c8d
chore: fix critical yarn audit issues
2 years ago
Audric Ackermann
796ccf0582
feat: add handling and setting of the expireTimer for contacts
2 years ago
Audric Ackermann
554b445a3e
feat: lookup for shared config message on link device
2 years ago
Audric Ackermann
0050352470
chore: move selected convo selectors to another file
2 years ago
Audric Ackermann
c3e9d503e4
fix: unread count and forced unread is synced
2 years ago
Audric Ackermann
1c50aacc34
chore: remove groupModerators sogs from the db, store in redux only
2 years ago
Audric Ackermann
bf2456df8e
chore: do not store mentionedUs and unreadCount as attribute in convo
2 years ago
Audric Ackermann
f5efb52fea
feat: remove closedgroupv3 uneeded stuff for now
...
also move the room stuff which can be kept in memory into another redux
slice
2 years ago
Audric Ackermann
21d8151b8b
feat: add convo volatile info mgmt
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
Audric Ackermann
3c58f9c1e4
feat: add a hidden flag for convos and use it with the contactswrapper
2 years ago
Audric Ackermann
c4217cb564
feat: sync nickname, blocked and approved status for contacts
2 years ago
Audric Ackermann
f88acdb567
feat: remove blocked group tracking separately from the pubkeys
2 years ago
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
2 years ago
Audric Ackermann
b2237efe51
feat: insert all contacts into wrapper before syncing it
2 years ago
Audric Ackermann
f215535f75
fix: set and get profile picture from libsession
2 years ago
Audric Ackermann
6bbb16b46d
feat: track and delete configMessageHashes
2 years ago
Audric Ackermann
d2d2a418eb
fix: use envelope time when dont have msg request response timestamp
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
08a15b210a
feat: move avatar downloading to JobRunner
2 years ago
Audric Ackermann
9cf1419ca5
feat: add first try to build SharedConfigMessages
2 years ago
Audric Ackermann
d1cefd4729
feat: add contacts & user profile handling of incoming messages
2 years ago
William Grant
504f60cb97
fix: resolved missing reactions in open groups, fixed mutation cache logic
2 years ago
Audric Ackermann
6d1b406c85
fix: add namespace to all sending message calls
2 years ago
Audric Ackermann
0f58e11a17
chore: update with latest libsession wrapper
2 years ago
Audric Ackermann
1a65b7a7f2
feat: working calls to node module from renderer through worker
2 years ago
Audric Ackermann
bace70c6bc
chore: move util worker to its own folder
2 years ago
Audric Ackermann
2a8d764bfb
fix tests
2 years ago
Audric Ackermann
d7bcf1026f
fix: refactor snodeRPC to use snode batching
2 years ago
William Grant
367c0c94d0
Merge branch 'clearnet' into theming
3 years ago
Audric Ackermann
12161a1fde
fix: INVALID_DATE (-Infinity) when merging two conversations inactive
3 years ago
Audric Ackermann
3788f5a4d5
Merge pull request #2488 from Bilb/message-request-include-profile
...
Profile in messageRequest
3 years ago
Audric Ackermann
84f2ce777a
fix: include profile in message request response
3 years ago
Audric Ackermann
67817c516f
fix: typing message trigger ui refresh
...
also do not mark a conversation as trusted for attachment when getting
messagerequest response
3 years ago
Audric Ackermann
4ff0b63e36
fix: drop .group from incoming messages & exclude it from visible check
3 years ago
William Grant
3060ffd25a
test: added tests for adding and updating sogs cache entries
...
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
William Grant
b33ea096b4
fix: speed up reaction UI update for opengroups
3 years ago
William Grant
f309bf40f8
fix: repaired reaction notifications for 1-1s
3 years ago
William Grant
5d6dd048ab
fix: use isUsFromCache instead of getOurPubKeyStrFromCache
3 years ago
William Grant
07c56e79f2
fix: make reaction UI updates when reacting faster in 1-1 and closed groups
3 years ago
William Grant
8b8be7a45d
Merge branch 'clearnet' into reactions_fixes
3 years ago
Audric Ackermann
8649483503
fix: add comments to isMessageEmptyExceptReaction and isMessageEmpty
3 years ago
William Grant
4889cb5b32
fix: ReactionList Senders is now an array since we want to handle opengroup reactions separately
...
we no longer need the messagehash and server id for rendering reactions in the UI, ignore reactions using the outdated type
3 years ago
Audric Ackermann
4a3d970a35
fix: make sure we drop empty messages from the main sogs pipeline
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
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
Emily
775ddfda12
fixing the saved media read receipt
3 years ago
Audric Ackermann
d5e3f73035
fix: read receipts handling for private chats
3 years ago
Audric Ackermann
ec76057c5e
Merge integration test ( #2313 )
...
* Testing playwright for Desktop automation
* add more data-testid field
* remove commited test-results
* test: skip group upkeep for now
* test: mention test create group instead of restoring from seed
* test: run on testnet
* fix: revert messagebanner unread count changes
from commit 8107d75e89
Co-authored-by: Emily <emily@oxen.io>
3 years ago
Audric Ackermann
368c0cd01b
drop sourceDevice and other unused json fields from msg table
3 years ago
Audric Ackermann
13e2f81f26
Merge remote-tracking branch 'upstream/clearnet' into node-side-in-ts
3 years ago
Audric Ackermann
e11775a2e0
fix color of opengroup invitation
3 years ago
Audric Ackermann
6001da5ac8
add some [perf] duration measurement
3 years ago
Audric Ackermann
323b7ec45c
cleanup >2 months old messages in opengroups
3 years ago
Audric Ackermann
01bb200b24
reduce number of commits during opengroup handling of message
3 years ago
Audric Ackermann
0158fd5ebb
filter duplicates on opengroup poll in a single sql call
3 years ago
Audric Ackermann
00d70db0be
queue user profile avatars update
...
also add some tests for the promise utils
3 years ago
Audric Ackermann
475c92eeb4
migrate about_start to not use jquery
3 years ago
Audric Ackermann
0ebc1d7e92
split attachmnent logic between what is used on main and renderer
3 years ago
Audric Ackermann
9f8920ef2c
mostly working but need to improve perfs
3 years ago
Audric Ackermann
fe57531797
Sesion 1.8.4 with calls enabled
3 years ago
Audric Ackermann
79bf0c53ee
move libtextsecure/crypto.js to ts
...
used mostly for attachments encrypting before upload/decrypt and profile
encrypt/derypt
3 years ago
Audric Ackermann
5bc576249b
move signal.js to TS
3 years ago
Audric Ackermann
12d9a8db78
electron-renderer webpack seems to be generating main_renderer.js
3 years ago
Audric Ackermann
d99cdc48f4
rename background.js to main_start.js
3 years ago
Audric Ackermann
7d570fec52
move linkPreviews.js to ts
3 years ago
Audric Ackermann
6bd835dfc3
move storage.js to ts
3 years ago
Audric Ackermann
0d4059ccb1
move read_receipts to ts
3 years ago
Audric Ackermann
0b814d4d16
remove read sync as we do not care about them on Session
3 years ago
Audric Ackermann
2f02d3e21c
use source instead of senderIdentity to check for approved new group
3 years ago
Audric Ackermann
74cf88cf81
create closed group mark as approved
...
also, do not filter closed group based on the isApproved field in redux
3 years ago
Audric Ackermann
ad653e4aac
change sent background and text color for light mode
...
use black text on green instead of white on darker green
3 years ago
Audric Ackermann
602a287263
join closed groups from config only on the first config message
3 years ago
warrickct
3424fa88e8
Remove typing for blocklist on window. Minor formatting
3 years ago
warrickct
b166a0483a
Adding logging output for dropping outdated config messages. Removing libsodium-wrapper usage as we use sumo version now. Making target for linux build on one line.
3 years ago
warrickct
b79be5b502
adding linting fixes.
3 years ago
warrickct
5adca482bd
Fix open groups not being restored when restoring device from recovery phrase.
3 years ago
warrickct
821f4d73ff
Merge branch 'clearnet' into msg-request-ui-2
3 years ago
warrickct
0f7bf5d2d1
Remove unnecessary conditional
3 years ago
warrickct
451fb351a3
removing comments
3 years ago
warrickct
e4f4328232
rename request evaluating function for clarity. Prevent disappearing messsages from being activated by request recipient before the request has been accepted.
3 years ago
warrickct
1ca66e6bcf
Fix read receipts being considered as inferred request approvals. Fix preventing subsequent request messages from reactivating the request banner.
3 years ago
warrickct
c2722ed87f
fixing linting errors.
3 years ago
warrickct
08ba24c3c9
refactoring
3 years ago
warrickct
2b42290bca
Fixing case where restoring device restores declined message requests.
3 years ago
warrickct
9338f2fc20
Fixed issue preventing approval message being shown as approval was set before handling config messages ending the handling early.
3 years ago
warrickct
ba30dc57c2
Adding conditional to prevent adding multiple approval sync messages for the acceptor of the request.
3 years ago
warrickct
2957c131c0
removing blocked convos no longer appear in regular inbox and using processing of polled swarm messages to infer approval.
3 years ago
warrickct
a90960c502
Fix conditional for config message to avoid false negatives.
3 years ago
warrickct
539458fe8a
Adding setting of approval fields on message processing.
3 years ago
warrickct
e5ecb9c106
Adding checks for potentially undefined fields on config messages to prevent false negatives.
3 years ago
Audric Ackermann
3fed22048b
rename a few loki to session
3 years ago
warrickct
f5972a5d1c
Calling setting convo isApproved. Removing some unnecessary conditionals.
3 years ago
warrickct
abc188e889
Additional PR changes
3 years ago
warrickct
efa482b002
adding pr changes
3 years ago
warrickct
0db3c76756
Fixing linting errors
3 years ago
warrickct
893f7e99b8
Merge branch 'clearnet' into message-request-ui
3 years ago
warrickct
c3d9912572
Adding handling of edge case for messaging clients without request approval update.
3 years ago
warrickct
6a02846829
Correcting merge errors.
3 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
3 years ago
warrickct
8ebfa4b7a3
Move message receival UI toggling to event.
3 years ago
warrickct
bc6edd7774
Adding unhiding of message request banner when receiving a new convo request.
3 years ago
warrickct
ac8c4ac2eb
Removing msg req feature flag.
3 years ago
warrickct
8a8a5ca82c
removing pubkey from message request response.
3 years ago
warrickct
f93a2e5fad
Adding more PR review changes.
3 years ago
warrickct
36ca2a767c
Adding PR changes
3 years ago
warrickct
0461454e27
Removing toast on request accept
3 years ago
warrickct
11e6d80419
minor renaming.
3 years ago
warrickct
d627b8e11d
Requesting flow working with sending message as acceptance.
3 years ago
Audric Ackermann
a3eb80abcf
fix group updates outgoing message status in left pane
3 years ago
Audric Ackermann
1eba9dce30
merge messagesChanged and messagesAdded to a single redux event
3 years ago
Audric Ackermann
949c36a42f
merge fetching more messages for top and bottom in the same flag
3 years ago
Audric Ackermann
9000c649f8
remove optional setToExpire and UnreadMessageIsAbove indicator
3 years ago
Audric Ackermann
4e638d162d
fix the scroll to bottom with button and on send message
3 years ago
Audric Ackermann
7d9f970b2c
remove decrypted_at field from saving message models as unused
3 years ago
Audric Ackermann
b3a8692240
cleanup incoming message creation for displaying messageresult
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 Ackermann
00d2bbc63d
cleanup MessageSearchResults
3 years ago
Audric Ackermann
792c23da87
cleanup scroll to unread of quote or search result on open
3 years ago
Audric Ackermann
a3be2c347d
fixup open convo on search, quote click or hit the bottom
3 years ago
audric
a21751c611
open convo on last unread, and can scroll up
3 years ago
audric
fc916ce94c
Fix attachments duplication on message syncing with current device
3 years ago
audric
e97ac5d7c7
make the DL spinner a styled component
3 years ago
audric
4b39b46b6a
replace invalid unicode in filename
3 years ago
audric
fe269a0cfe
make sure to update displayName even if avatar failed to DL
3 years ago
Audric Ackermann
c7565fe7b3
Move scale/resize and attachment logic to typescript
3 years ago
Audric Ackermann
4349b699cb
remove schemaVersion field and logic from message object
3 years ago
Audric Ackermann
28892ce8cc
remove the deduplication by hash for opengroup messages
...
Relates #2069
3 years ago
Audric Ackermann
6e102644c3
update english translations
3 years ago
Audric Ackermann
dd52ad336f
use variables for common settings key
...
also turn off typing message by default
3 years ago
Audric Ackermann
e17b5e0671
Fix attachment dl freeze ( #2086 )
...
* fix attachment download freezing app for some opengroups
* make registration page work with smaller height
3 years ago
Audric Ackermann
58dc3e26ca
reactify group updates text bubble from redux store ( #2083 )
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
48e7a0e25f
Various UI fixes ( #2070 )
...
* cleanup unused convo json fields in db
* display a toast if the user is not approved yet on call OFFER received
* enable CBR for calls
* do not update active_at on configMessage if !!active_at
* remove mkdirp dependency
* disable call button if focused convo is blocked
* quote: do not include the full body in quote, but just the first 100
* click on the edit profile qr code padding
* Allow longer input for opengroup join overlay
Fixes #2068
* Fix overlay feature for start new session button
* make ringing depend on redux CALL status
* turn ON read-receipt by default
3 years ago
Audric Ackermann
cf44896a03
Minor call tweaks ( #2051 )
...
* show missed-call,started-call and answered call notification in chat
* fix types for createLastMessageUpdate
* show incoming dialog if we have a pending call when enable call receptio
* simplify a bit the avatar component
* move disableDrag to a custom hook
* speed up hash colors of avatarPlaceHolders
* fixup text selection and double click reply on message
* keep avatar decoded items longer before releasing memory
* add incoming/outgoing/missed call notification
also, merge that notification with the timer and group notification
component
* hangup call if no answer after 30sec
* refactor SessionInput using hook + add testid field for recovery
* disable message request feature flag for now
* fix merge issue
* force loading screen to be black instead of white
for our dark theme user's eyes safety
3 years ago
warrickct
e32f20d8bc
PR changes
3 years ago
warrickct
4576f3cb32
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
f91e2c4edd
Minor PR fixes
3 years ago
warrickct
97fe0c7a7a
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
b5df47c2b8
Addressing PR comments
3 years ago
warrickct
726418887c
Addressing PR comments
3 years ago
warrickct
2d664a2df7
Applying PR changes.
3 years ago
warrickct
3602b51986
Fixing up block all logic.
3 years ago
Audric Ackermann
af75b6f0e2
disable deduplication based serverId+sender
...
only use the serverTimestamp+sender for searching because
serverId+sender might have false positive
3 years ago
warrickct
ac8dbb341b
linting and formatting changes
3 years ago
warrickct
86a9253144
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
2144a3980f
Linting and formatting.
3 years ago
warrickct
23ca19b125
Only updating approval when it is a true value as we consider a block a decline.
3 years ago
warrickct
9c9a43ee97
Adding improvements to message request handling.
3 years ago
Audric Ackermann
1dff310820
no video track by default and will be turn ON if asked to
3 years ago
Audric Ackermann
6f3625f99c
move the state of calling to its own slice
3 years ago
Audric Ackermann
c1471426ac
dismiss a call when answered from another of our devices
3 years ago
Audric Ackermann
22e4c9d850
fix archlinux pw unused issue
...
on archlinux, the appimage links to the system sqlite by default which
does not support sqlcipher
3 years ago
warrickct
40396224dc
adding feature flag for config message receiving
3 years ago
warrickct
2eab74246b
PR changes. Disabling message requests behind feature flags.
3 years ago