Commit Graph

4512 Commits (0e67e2a0b7cdd73170e9d535fa2af302cf06de91)

Author SHA1 Message Date
William Grant 0e67e2a0b7 feat: improved expiry retry and error handing
nested pRetry Abort errors can break our retry logic so we need to catch them
2 years ago
William Grant 5b6ebcad07 fix: add temp fix for single msg get_expiries 2 years ago
William Grant e6257f3cbc fix: commented out some logs 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
William Grant c1dc2e5a6c fix: hit expire endpoint when send is successful
we need the returned messageHash from the swarm
2 years ago
William Grant 238a16149d fix: we can trust the read start from libsession for expirationTimerUpdates
therefore we don't need to update the read status explicitly
2 years ago
William Grant 958f64e27f feat: get_expiries implementation done
now just need to make sure to call both endpoints in the correct places
2 years ago
William Grant 475807c4ae fix: remove redundant start timestamp start in read receipts 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 9e21f459dd feat: started get_expiries work
signature now generates and renamed expire file to expireRequest
2 years ago
William Grant 3cc155b9e8 feat: update the TTL with the snode expire result 2 years ago
William Grant ee5503585a fix: comment out some unnecessary logging 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 7f68107738 feat: added retry logic to expireMessageOnSnode 2 years ago
William Grant ae15275206 feat: adding proper typings to snode expire code
I dont think the expire value returned is correct, needs debugging
2 years ago
William Grant f2dbcfa305 feat: use SubRequest typings for expireOnNodes
created request builder, added logging for now to test
2 years ago
William Grant a2185625c8 fix: use TTL_CONFIG in retrieve request
also some comment cleanup
2 years ago
William Grant b5bf6be691 fix: show durations for constants on hover
for TTL_DEFAULT and SWARM_POLLING_TIMEOUT
2 years ago
William Grant f045562a33 fix: use updateExpireTimer for UserProfile
before we were setting the convo values directly
2 years ago
William Grant 8ec6fb9fd7 feat: added new save icon
updated DataExtractNotification and Lightbox download icons
2 years ago
William Grant ca944298e0 fix: group invitation timer alignment
updated data extraction notification design. Just waiting on icon from ios
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
William Grant 60aac9be85 fix: regular messages correctly sync again 2 years ago
William Grant 17f8431f59 fix: canBeDeleteAftereSend in messagejob was wrong 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 7c6e6c981a fix: make sure to note sent another message
in all remote cases
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
William Grant 3d8a664da9 fix: ignore equal lastMessageChangeTimestamps 2 years ago
William Grant 3ba1baaa67 fix: single mode value should be off
if disappearing messages isnt on
2 years ago
William Grant ab13f39a10 fix: newlines for logging 2 years ago
William Grant 50f144a8c3 fix: improved logging
made some progress with fixing things but other things broke
2 years ago
William Grant 3d2c1fbe78 fix: single mode should show the correct timer values
if a mode is invalid we return no timer options
2 years ago
William Grant c24487b938 fix: deleteAfterSend now works in private convos again 2 years ago
William Grant ad21d198cf feat: outdated banner now shows specific messaging for synced messages 2 years ago
William Grant 710da30594 feat: shouldDisappearButIsntMessage is now a function
result is added to the expireUpdate and improves outdated client checking logic
2 years ago
William Grant a65f02a807 feat: use checkForExpireUpdateInContentMessage on sync messages 2 years ago
William Grant 617bcc670b feat: added temp set feature for testing 2 years ago
William Grant 94d8697a29 fix: whitespace in comment 2 years ago
William Grant 6c47fd274f fix: show disappearing messages subtitle in convo header
when it is toggled on
2 years ago
William Grant b88842b687 feat: tested v2 releas
made some updates to expire update generation and handling, one final fix required
2 years ago
William Grant c93315b0e7 fix: make sure lastDisappearingMessageChangeTimestamp is defined before comparing with convo model 2 years ago
William Grant e00ea8d55f fix: make sure disappearing messages is the first item in the conversation header subtitle 2 years ago
William Grant f2a3f51250 fix: cleanup 2 years ago
William Grant bb6eb3e84e feat: fixed 1-1s and added more logging 2 years ago
William Grant 6031db308d fix: disappear messages from other platforms correctly
some platforms use the convo settings and dont include info the dataMessage before the v2 release
2 years ago