Commit Graph

431 Commits (7d890973d568016d25fc545e69a6583380b896d0)

Author SHA1 Message Date
William Grant 250e3d0238 refactor: rename expirationType on convo to expirationMode
this means convo has expirationMode and messages have expirationType
2 years ago
William Grant cd2f51684d refactor: disappearingmessageconversationtype to disappearingmessageconversationmodetype 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 c33eef0162 fix: sync messages now expire in 1on1s
fromConfig has been removed from updateExpireTimer
2 years ago
William Grant 7c6e6c981a fix: make sure to note sent another message
in all remote cases
2 years ago
William Grant 3d8a664da9 fix: ignore equal lastMessageChangeTimestamps 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 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 bb6eb3e84e feat: fixed 1-1s and added more logging 2 years ago
William Grant d923a0d611 feat: closed groups state now starts correctly 2 years ago
William Grant 2a05185138 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 592d1f010f fix: use network time for emoji reacts syncing 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 c067ac9fc4 fix: simplified legacy support in conversationheadertitle 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 cc63887273 fix: remove final instances of legacy type not in UI
fixed closed groups being deleteAfterSend incorrectly
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 43276b069e Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 84deed19f9 feat: add block msg requests from sogs 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 d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
William Grant ed2a372ca3 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 77acd1396b feat: add support for blinded25 receipt of messages for later impl 2 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 2 years ago
Audric Ackermann dcdbc07195 fix: delete actions for admins on communities 2 years ago
William Grant d37aa42084 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann f2cddb83c8 chore: broke apart big Message selectors into smaller ones 2 years ago
William Grant 1c8ae3650e fix: pass yarn ready 2 years ago
William Grant e7f3bb5abf fix: if there is no last message, we still want to display the interaction status
loading state shows correctly in all cases, cleanup as well
2 years ago
William Grant 24776c0d5c feat: moved convo model interaction props into the lastMessage logic
this makes it easier to interact with since if an interaction fails we save it to the db as a message
2 years ago
William Grant de614109d0 feat: added lastMessageId to convo model to uniquely identify a lastMessage 2 years ago
William Grant 454e382ce4 feat: moved interaction logic to use conversation model
added fail text color to interaction item
2 years ago
William Grant 8a7007e7c3 feat: added interaction properties to conversation modal and started UI changes in ConversationListItem based on confirming an interaction
still to to port the original modal checks to use thd convo props
2 years ago
Audric Ackermann 461b192f37 fix: mod and admin actions on message context menu for communities 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 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
2 years ago
William Grant 331a4e1e12 fix: resolved object is not extensible bug
forEach and async still don't play nice so used a regular for loop, added QuoteLookupType
2 years ago
William Grant e78d1dfb87 fix: send full text body for quote
resolved regression with quote author name
2 years ago
William Grant 0d5c72555b feat: started updating reply to ui
finished text reply
2 years ago
William Grant f41c28a873 fix: moved feature release timestamp to constants so it only has to be defined once 2 years ago
Audric Ackermann 318a77be4b fix: mark messages sent before our lastreadts from the wrapper as read 2 years ago
Audric Ackermann 328c131d8b chore: cleanup commented caching code of some wrappers 2 years ago
Audric Ackermann 051c4bb262 fix: merge the confSyncDumpJob into the confSyncJob 2 years ago
Audric Ackermann 6fe6544d6c fix: split up migration of initial user config dumps into two 2 years ago
Audric Ackermann ce186517a3 chore: lint code 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 92282a5d95 feat: verify disappearing messages arent supported in communities 2 years ago
William Grant 2221d81a23 fix: reverted setToExpire timer,
fixed incorrect expirationLength value in getPropsForExpiringMessage
2 years ago
William Grant 6a38e09f4f feat: moved setToExpire calls to the correct locations within the message pipeline depending on the expirationType of a message model 2 years ago
William Grant b6c3edbac4 fix: pass yarn ready 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 2338058b3e fix: make sure expirationType and expireTimer are defined after v2 is released 2 years ago
William Grant b8ab952c33 fix: explicitly set expirationType to undefined if sending a legacy message 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 d698f66d50 feat: updated clients can send ExpirationTimerUpdateMessages to older clients
fixed syncing of ExpirationTimerUpdateMessages
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 e81ac0a847 feat: updated NoticeBanner style 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 12087da2be fix: repaired closed group disappearing messages 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 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 e34e3d4a4b fix: resolved some yarn ready issues 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 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 13f091eff3 feat: added function for calculating the expire start time
updated copy for setting change messages
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
Audric Ackermann cbffc29950 fix: run tests for libsession-util integration and fix issue 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann 55a2767fce feat: do not approve a convo before sending the first message
but still sync it's state through the createdAt with libsession util
2 years ago
Audric Ackermann faeb95fefd feat: add block/decline logic to msg request & wrapper 2 years ago
Audric Ackermann ef6d9f1d51 feat: add empty states for each types of convo 2 years ago
Audric Ackermann 760642e149 feat: use the lastJoinedAt and createdAt from the wrapper 2 years ago
Audric Ackermann b843d66084 feat: add the lastJoined and createdAt timestamp from wrapper logic 2 years ago
Audric Ackermann 51e4f1dd48 feat: UI, use group info from wrapper if we have them or from DB 2 years ago
Audric Ackermann 3ff7281b6a chore: remove isGroup from the redux stored entry
as it is always = !isPrivate
2 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 2 years ago
Audric Ackermann fe5eea4c8d chore: fix critical yarn audit issues 2 years ago