Commit Graph

212 Commits (ad9fa6dbee2e5eadb741d0df67e5e8a550500038)

Author SHA1 Message Date
Audric Ackermann ad9fa6dbee chore: remove lastChangetimestmap and add explciit expiretype and type
on the messages creation
7 months ago
Audric Ackermann c1222a748d fix: handle dataextraction notification even if read receipts are off 8 months ago
William Grant 04c3f69398 refactor: export functions from an object for stubbing
for disappearing messages index file
8 months ago
William Grant bb6e09de0a feat: cleaned up wip logs 8 months ago
William Grant d4aacd3159 fix: move isDelete into inbox poll if statement
fixed some comments
8 months ago
William Grant 5f3a0899f5 feat: moved remaining code into feature folder
also separated out legacy functions
8 months ago
William Grant f31e157c12 refactor: replaced get expireTimer calls
with getExpireTimer
9 months ago
William Grant 3ed041c4a5 feat: created getters on convo model
replaced all expirationMode calls
9 months ago
William Grant 250e3d0238 refactor: rename expirationType on convo to expirationMode
this means convo has expirationMode and messages have expirationType
9 months ago
William Grant beb04d1b31 feat: improved logging for start expiry timestamp 9 months ago
William Grant a2185625c8 fix: use TTL_CONFIG in retrieve request
also some comment cleanup
9 months ago
William Grant 17f8431f59 fix: canBeDeleteAftereSend in messagejob was wrong 9 months ago
William Grant ec81805745 fix: log pipeline better 9 months ago
William Grant 00ef4a47a2 fix: outgoing content messages can have an equal changetimestamp 9 months ago
William Grant e8e3ba142e fix: added isOutdated prop to expireUpdate
ignores duplicate setting messages
9 months ago
William Grant ab13f39a10 fix: newlines for logging 9 months ago
William Grant 50f144a8c3 fix: improved logging
made some progress with fixing things but other things broke
9 months ago
William Grant c24487b938 fix: deleteAfterSend now works in private convos again 9 months ago
William Grant 710da30594 feat: shouldDisappearButIsntMessage is now a function
result is added to the expireUpdate and improves outdated client checking logic
9 months ago
William Grant b88842b687 feat: tested v2 releas
made some updates to expire update generation and handling, one final fix required
9 months ago
William Grant 2a05185138 Merge branch 'unstable' into userconfig_disappearingmessage 9 months ago
William Grant e8c927f580 feat: setExpirationStartTimestamp uses DisappearingMessageConversationType
easier to manage starting a legacy disappearing message and always pass expiration type and timer
10 months ago
Audric Ackermann e98c9720c8 fix: fix synced messages sometimes not appearing 10 months ago
William Grant 9d8cca1970 feat: convert between conversation and message model disappearing modes in key locations
remove disappearing messages from convo header context menu
10 months ago
William Grant 60e5503e6a feat: check for v2 release correctly on startup
improvements to creating and updating closed groups with disappearing message settings
10 months 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
10 months ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 11 months ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 11 months ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 12 months ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 12 months ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 1 year ago
Audric Ackermann db9fa14213 fix: don't update state on updates already included in our syncmessage 1 year ago
William Grant 3bc187fa5e feat: performance improvements to quote lookup
getMessagesByConversation optionally returns quotes from messages in view, quoted messages that are deleted are removed from the lookup map. getMessageBySenderAndSentAt supports an array of messages and renamed to getMessagesBySenderAndSentAt
1 year ago
William Grant 1ff2969750 refactor: rename getMessageBySenderAndTimestamp to getMessageBySenderAndSentAt
its more clear what parameters are needed
1 year ago
Audric Ackermann 318a77be4b fix: mark messages sent before our lastreadts from the wrapper as read 1 year ago
William Grant cfcf400ecf fix: cleaned up WIP logging and used the window log debug function where appropriate 1 year ago
William Grant 1de21ea8c0 feat: only show banner after v2 is released 1 year ago
William Grant 2221d81a23 fix: reverted setToExpire timer,
fixed incorrect expirationLength value in getPropsForExpiringMessage
1 year ago
William Grant 6a38e09f4f feat: moved setToExpire calls to the correct locations within the message pipeline depending on the expirationType of a message model 1 year ago
William Grant b6c3edbac4 fix: pass yarn ready 1 year ago
William Grant e5ecff7ec3 fix: fixed legacy disappearing messages on call notifications and others 1 year ago
William Grant ceeb9b790a fix: finally got all the test cases to pass!
removed misMatchedMessage and replaced with shouldDisappearButIsntMessage which is a more explicit check
1 year ago
William Grant 89c70760a5 fix: refactor and works for all legacy test cases, modern to modern is broken 1 year 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
1 year ago
William Grant 4c4bc045d7 fix: renamed ExpirationType enum value LEGACY to UNKNOWN 1 year ago
William Grant df40ff8855 feat: added legacy to the ExpirationType enum in the protobuf and updated support
the desktop protobuf implementation doesnt support undefined for optional enum values this is a known bug.
1 year ago
William Grant b8ab952c33 fix: explicitly set expirationType to undefined if sending a legacy message 1 year ago
William Grant 2f4c0114aa feat: tested new expiration modes with legacy and new clients
fixed banner logic
1 year 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
1 year ago
William Grant 84dec94450 fix: cleanup logging 1 year ago