Commit Graph

57 Commits (d923a0d6119f496e3d07fb19d56925d1bfad3918)

Author SHA1 Message Date
William Grant d923a0d611 feat: closed groups state now starts correctly 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 60e5503e6a feat: check for v2 release correctly on startup
improvements to creating and updating closed groups with disappearing message settings
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 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
William Grant 22e9e6bb44 feat: started working on disappearing messages migration 34
note to self and private conversations are mvp, still some initial cleanup todo
2 years ago
William Grant a25d94fa6c fix: moved disappearing messages migration to a separate file
updated note to self function calls in the user config wrapper
2 years ago
William Grant 2a6d8a6544 feat: remove legacy from expirationType during db migration
fix migrations to work with user config changes
2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 41ca0666ce chore: remove () => void for misused promises 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 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 f41c28a873 fix: moved feature release timestamp to constants so it only has to be defined once 2 years ago
William Grant 73ca99496d feat: added DisappearingMessageModesWithState type 2 years ago
William Grant c6cd3671de fix: run expireUpdate handler on all messages and just return the model if there are no changes 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 1d6f200d50 fix: pass yarn ready 2 years ago
William Grant 386997f233 feat: made progress on attachment deletions but can confirm 100% 2 years ago
William Grant 647e542128 feat: add comments after run through 2 years ago
William Grant f68fbb05f9 fix: resolve turning off disappearing messages empty messages in most cases
still requires more tweaking
2 years ago
William Grant 92282a5d95 feat: verify disappearing messages arent supported in communities 2 years ago
William Grant 4d0900844b fix: adding shorten and extend to expire rpc endpoint 2 years ago
William Grant b6c3edbac4 fix: pass yarn ready 2 years ago
William Grant e5ecff7ec3 fix: fixed legacy disappearing messages on call notifications and others 2 years 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
2 years ago
William Grant 8dc7d48c52 feat: renamed isLegacyMessage to isLegacyDataMessage
all works except modern to modern stage 2
2 years ago
William Grant 89c70760a5 fix: refactor and works for all legacy test cases, modern to modern is broken 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 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.
2 years ago
William Grant 2f4c0114aa feat: tested new expiration modes with legacy and new clients
fixed banner logic
2 years ago
William Grant 80f18e9f1c feat: use correct timer options and set the defaults 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 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 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 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 f36bbb9c7c feat: group invitiations now disappear 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 4d92500b60 feat: slight improved timing of sent message expire start time 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
William Grant 4731139b05 feat: added default timer values for different modes 2 years ago
William Grant 2745571790 fix: correctly write to db when setting changes 2 years ago
William Grant 0700ac4813 fix: moved disappearing message types to utils 2 years ago