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
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
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
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
3d8a664da9
fix: ignore equal lastMessageChangeTimestamps
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
c24487b938
fix: deleteAfterSend now works in private convos again
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
94d8697a29
fix: whitespace in comment
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
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
William Grant
58331209c7
fix: closed groups works correctly now
...
I think
2 years ago
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