Audric Ackermann
98fd834367
fix: already read DaR messages start with right time left on receive
1 year ago
Audric Ackermann
543c80bbe3
fix: add most of new designs (own setting) for disappear v2 messages
1 year ago
Audric Ackermann
ad9fa6dbee
chore: remove lastChangetimestmap and add explciit expiretype and type
...
on the messages creation
1 year ago
Audric Ackermann
08c5f76a15
fix: store envelopetimestamp in cache, and make sure we use network one
...
everywhere
1 year ago
Audric Ackermann
93d87d82ae
chore: renamed getnowwithnetworkoffset to now()
1 year ago
Audric Ackermann
9595f09085
fix: add setadmin on promote accepts
...
also sign/verify group update messages
1 year ago
Audric Ackermann
6e4052c4ab
fix: fix typo pushing new messages to redux store
2 years ago
Audric Ackermann
dbe94f2293
feat: added strings for groupv2 control message and components for them
2 years ago
William Grant
0bb72fc1a1
feat: updated getPropsForMessageDetail
...
attachments now have fileSize, url and screenshots and removed contacts
2 years ago
William Grant
1f52b9620b
feat: wip work
2 years ago
William Grant
04c3f69398
refactor: export functions from an object for stubbing
...
for disappearing messages index file
2 years ago
William Grant
bb6e09de0a
feat: cleaned up wip logs
2 years ago
William Grant
40014544d1
fix: closed group groupId is now PubKey only
2 years ago
William Grant
a459bff86c
fix: more comment cleanup
2 years ago
William Grant
1d7380a254
refactor: rename expirationLength
...
to expirationDurationMs
2 years ago
William Grant
8d9fc33180
fix: remove unnecessary async on markReadNoCommit
2 years ago
William Grant
5f3a0899f5
feat: moved remaining code into feature folder
...
also separated out legacy functions
2 years ago
William Grant
0212166fcc
feat: moved disappearing logic to a feature folder
...
only moved types and timerOptions so far
2 years ago
William Grant
37bdd08aca
fix: correct getter region comments
2 years ago
William Grant
bb646ed3b9
refactor: replaced get expirationTimerUpdate calls
...
with getExpirationTimerUpdate
2 years ago
William Grant
0dcf48be16
refactor: replaced get expires_at calls
...
with getExpiresAt
2 years ago
William Grant
61eccb8d0f
refactor: replaced get expirationStartTimestamp calls
...
with getExpirationStartTimestamp
2 years ago
William Grant
777584945d
refactor: replaced get expireTimer calls
...
with getExpireTimer
2 years ago
William Grant
ebaedb2e4c
feat: created getters in message model
...
replaced all expirationType calls with getExpirationType
2 years ago
William Grant
a484011acb
refactor: changetodisappearingmessageconversationtype to changetodisappearingconversationmode
2 years ago
William Grant
250e3d0238
refactor: rename expirationType on convo to expirationMode
...
this means convo has expirationMode and messages have expirationType
2 years ago
William Grant
93b450ce56
feat: hit expire endpoint for read messages
...
for now it will hit the expire endpoint twice
2 years ago
Audric Ackermann
d12071f3c8
chore: big rename of convocontroller to convohub
2 years ago
William Grant
c1dc2e5a6c
fix: hit expire endpoint when send is successful
...
we need the returned messageHash from the swarm
2 years ago
William Grant
a4bd3f59bb
feat: improved expire swarm result logic
...
better logging and handle errors more smoothly
2 years ago
William Grant
beb04d1b31
feat: improved logging for start expiry timestamp
2 years ago
William Grant
3b0d5f55e7
feat: added get_expiries typings
2 years ago
William Grant
3cc155b9e8
feat: update the TTL with the snode expire result
2 years ago
William Grant
32b7870e07
feat: make sure to use ms for the expireTimer
...
expireTimer on the model is in seconds so we need to convert it
2 years ago
William Grant
a2185625c8
fix: use TTL_CONFIG in retrieve request
...
also some comment cleanup
2 years ago
William Grant
c33eef0162
fix: sync messages now expire in 1on1s
...
fromConfig has been removed from updateExpireTimer
2 years ago
William Grant
631c677a24
fix: trigger expiry for outgoing sync messages
2 years ago
Audric Ackermann
1a18054fae
feat: add bump of config hashes for groups when we have admin key
2 years ago
William Grant
60aac9be85
fix: regular messages correctly sync again
2 years ago
William Grant
ec81805745
fix: log pipeline better
2 years ago
William Grant
00ef4a47a2
fix: outgoing content messages can have an equal changetimestamp
2 years ago
William Grant
e8e3ba142e
fix: added isOutdated prop to expireUpdate
...
ignores duplicate setting messages
2 years ago
William Grant
07097b029d
fix: don't send sync messages for outdated changes
2 years ago
Audric Ackermann
197383a52f
feat: move some the convomodel.get attributes to functions
...
this is because we need to be able to override what is returned by what
is in the redux lib slice if needed (libsession data overrides what is
in the DB for groupv3)
2 years ago
William Grant
50f144a8c3
fix: improved logging
...
made some progress with fixing things but other things broke
2 years ago
William Grant
a65f02a807
feat: use checkForExpireUpdateInContentMessage on sync messages
2 years ago
William Grant
bb6eb3e84e
feat: fixed 1-1s and added more logging
2 years ago
William Grant
e8c927f580
feat: setExpirationStartTimestamp uses DisappearingMessageConversationType
...
easier to manage starting a legacy disappearing message and always pass expiration type and timer
2 years ago
William Grant
9d8cca1970
feat: convert between conversation and message model disappearing modes in key locations
...
remove disappearing messages from convo header context menu
2 years ago
William Grant
deceae4119
feat: disappearing messages setting now sync correctly in user config
...
we also load the visible control message, added back a lot of WIP logging while we are testing
2 years ago
William Grant
60b75a8ddf
feat: remove unlockNewModes from OverlayDisappearingMessages
...
use isDisappearMessageV2FeatureReleasedCached to set the mode to legacy strictly in the UI, created resolveLegacyDisappearingMode to change the legacy mode into the default mode for a conversation
2 years ago
William Grant
cc63887273
fix: remove final instances of legacy type not in UI
...
fixed closed groups being deleteAfterSend incorrectly
2 years ago
William Grant
ff19c95a92
fix: remove using legacy as a string for disappearing messages except in the UI
...
created new isLegacyDisappearingModeEnabled check, default use UNKNOWN expiration type in message classes if not defined
2 years ago
Audric Ackermann
5b2580c48d
feat: add poller changes and closed group keypair gen
2 years ago
William Grant
41af1e7865
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
2 years ago
William Grant
ed2a372ca3
Merge branch 'unstable' into feature/ses-145/leave-conversation-update
2 years ago
William Grant
905fe5aab9
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
77acd1396b
feat: add support for blinded25 receipt of messages for later impl
2 years ago
Audric Ackermann
9a7ef4d373
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
594eee698b
Merge remote-tracking branch 'upstream/clearnet' into unstable
2 years ago
William Grant
d37aa42084
Merge branch 'unstable' into feature/ses-145/leave-conversation-update
2 years ago
Audric Ackermann
5d2d901aa0
Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage
2 years ago
William Grant
77bdceb409
fix: remove extra if statement when checking if a message is an interactionNotification
2 years ago
Audric Ackermann
f2cddb83c8
chore: broke apart big Message selectors into smaller ones
2 years ago
William Grant
027b412fb2
feat: save conversation interaction errors to a message history
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
William Grant
5111a141c8
feat: remove QUOTED_TEXT_MAX_LENGTH and sliceQuoteText
2 years ago
William Grant
e1a6f8e3fc
feat: cleaned up getPropsForQuote and rely on getMessageQuoteProps selector for creating quote object
...
authorName is broken for some reason and we will need to fix it
2 years ago
William Grant
e90e548715
feat: improved quoted message not found
...
consolidated quote props lookup into getMessageQuoteProps, only use the db message in the quote components
2 years ago
William Grant
d706ecdead
fix: show authorName in reply ui
2 years ago
William Grant
acdeabf306
feat: fixed click on a quote to go to the original message
...
added animation support to attachments when opening it via a quote
2 years ago
William Grant
d7bc8213d6
fix: community quotes now dont break the app
2 years ago
William Grant
a962ef2228
feat: getMessageQuoteProps now loads data from conversation.quotes state and loads correctly into the Quote
2 years ago
William Grant
ab1cf7a658
feat: added propsForQuote to message model props
2 years ago
William Grant
959fb661c3
fix: incorrect direction check in getPropsForExpiringMessage
2 years ago
William Grant
5d4238a3d8
feat: created getMessageExpirationProps selector and used in ExpirableReadableMessage
...
this stops us passing props down from the child components of ExpirableReadableMessage
2 years ago
Audric Ackermann
4d0e79f195
fix: legacy group with wrapper and disable right click while searching
2 years ago
Audric Ackermann
6f6620f622
fix: skip new group messages when receved after group was removed
2 years ago
Audric Ackermann
318a77be4b
fix: mark messages sent before our lastreadts from the wrapper as read
2 years ago
William Grant
cfcf400ecf
fix: cleaned up WIP logging and used the window log debug function where appropriate
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
2221d81a23
fix: reverted setToExpire timer,
...
fixed incorrect expirationLength value in getPropsForExpiringMessage
2 years ago
William Grant
46ab397a0f
fix: read receipt messages now show expireTimer correctly
2 years ago
William Grant
4d0900844b
fix: adding shorten and extend to expire rpc endpoint
2 years ago
William Grant
8dc7d48c52
feat: renamed isLegacyMessage to isLegacyDataMessage
...
all works except modern to modern stage 2
2 years ago
William Grant
6dd340ca6c
feat: handle legacy disappearing messages more gracefully due to protobuf issues
...
added utility function for checking for undefined properties on a protobuf, renamed expireTimer to expirationTimer in some places
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
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
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
12087da2be
fix: repaired closed group disappearing messages
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
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
2 years ago
William Grant
f36bbb9c7c
feat: group invitiations now disappear
2 years ago