Commit Graph

573 Commits (89c70760a50900b74229ced6d93c407ea665152d)

Author SHA1 Message Date
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 4c4bc045d7 fix: renamed ExpirationType enum value LEGACY to UNKNOWN 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 b8ab952c33 fix: explicitly set expirationType to undefined if sending a legacy message 2 years ago
William Grant 2f4c0114aa feat: tested new expiration modes with legacy and new clients
fixed banner logic
2 years 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
2 years ago
William Grant 84dec94450 fix: cleanup logging 2 years ago
William Grant dc57454911 feat: ignore conversation settings when new modes are unlocked 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 a3a0c3f9de feat: fixed closed groups legacy mode 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 255b6225c9 feat: block sending disappearing messages of the wrong type in different conversations,
improved disappear after send or read logic, disable legacy sending for now
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 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 f122c206da fix: improved backwards compatibility 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 e34e3d4a4b fix: resolved some yarn ready issues 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 b4fc33c8fa fix: prevent duplicate expire timer updates while keeping backwards compatibility 2 years ago
William Grant 996d204dc8 feat: improved syncing of timers for disappear after send 2 years ago
William Grant 6febf2859e feat: disappear after reading now works 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 ee4aa333fc feat: disappearing after send is not working correctly 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 8dc7dac55e feat: control available modes depending on the conversation 2 years ago
William Grant 2745571790 fix: correctly write to db when setting changes 2 years ago
William Grant ee6607b96a feat: added expirationType and expireTimer to content message and updated message pipeline
this includes sync messages and updating the protobuf, haven't tested closed groups
2 years ago
William Grant b12d086b22 feat: DisappearingMessageType -> DisappearingMessageConversationType
this is more explicit and allows use to use DisappearingMessageType in the message model
2 years ago
William Grant 30196a131a feat: added basic support for different disappearing message modes
added expirationType and lastDisappearingMessageChangeTimestamp to conversations table, left a few comments for future work
2 years ago
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2 years ago
Audric Ackermann d2d2a418eb fix: use envelope time when dont have msg request response timestamp 2 years ago
William Grant 504f60cb97 fix: resolved missing reactions in open groups, fixed mutation cache logic 2 years ago
William Grant 367c0c94d0 Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 12161a1fde fix: INVALID_DATE (-Infinity) when merging two conversations inactive 3 years ago
Audric Ackermann 3788f5a4d5
Merge pull request #2488 from Bilb/message-request-include-profile
Profile in messageRequest
3 years ago
Audric Ackermann 84f2ce777a fix: include profile in message request response 3 years ago
Audric Ackermann 67817c516f fix: typing message trigger ui refresh
also do not mark a conversation as trusted for attachment when getting
messagerequest response
3 years ago
Audric Ackermann 4ff0b63e36 fix: drop .group from incoming messages & exclude it from visible check 3 years ago
William Grant 3060ffd25a test: added tests for adding and updating sogs cache entries
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
William Grant b33ea096b4 fix: speed up reaction UI update for opengroups 3 years ago
William Grant f309bf40f8 fix: repaired reaction notifications for 1-1s 3 years ago
William Grant 5d6dd048ab fix: use isUsFromCache instead of getOurPubKeyStrFromCache 3 years ago