Commit Graph

136 Commits (be7425278c8fdd6bad6f682813913cbe6e71fd04)

Author SHA1 Message Date
yougotwill 39d8ad11e5 fix: a whole bunch of circular depdencies
for various convo duck, convo interactions, convo model and opengroup types
9 months ago
Audric Ackermann 3a26285667 fix: make group control message not expire 1 year ago
Audric Ackermann f6cd12d599 fix: use at least 2 hashes for the update_expiries too
until the storage server release is live we need this workaround
1 year ago
Audric Ackermann 744283fc56 fix: changed some message control to not expire
still some to discuss with the team
1 year ago
Audric Ackermann bd7c181e1e chore: incoming group update message need their own expireTimer
we do not trust the setting from the convo anymore
1 year ago
Audric Ackermann ad9fa6dbee chore: remove lastChangetimestmap and add explciit expiretype and type
on the messages creation
1 year ago
Audric Ackermann d1068983bb fix: broken state adding lastDisappearingMessage to chatmsg 1 year ago
William Grant 04c3f69398 refactor: export functions from an object for stubbing
for disappearing messages index file
2 years ago
William Grant d4aacd3159 fix: move isDelete into inbox poll if statement
fixed some comments
2 years ago
William Grant 5f3a0899f5 feat: moved remaining code into feature folder
also separated out legacy functions
2 years ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
2 years ago
William Grant f31e157c12 refactor: replaced get expireTimer calls
with getExpireTimer
2 years ago
William Grant 3ed041c4a5 feat: created getters on convo model
replaced all expirationMode calls
2 years ago
William Grant 250e3d0238 refactor: rename expirationType on convo to expirationMode
this means convo has expirationMode and messages have expirationType
2 years ago
William Grant beb04d1b31 feat: improved logging for start expiry timestamp 2 years ago
William Grant ec81805745 fix: log pipeline better 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 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 b1bbcd1a38 fix: cleanup legacy groups 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 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 da588a1096 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann e3b6be7318 chore: fix typos
this comes from mdplusplus https://github.com/mdPlusPlus/session-desktop/tree/codespell

duplicated to fix conflicts
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
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 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
Audric Ackermann db9fa14213 fix: don't update state on updates already included in our syncmessage 2 years ago
William Grant d706ecdead fix: show authorName in reply ui 2 years ago
Audric Ackermann 37ec948daf fix: send invite to closed group message to UserMessages namespace 2 years ago
Audric Ackermann 4d0e79f195 fix: legacy group with wrapper and disable right click while searching 2 years ago
Audric Ackermann 760ce5caa5 fix: add the maxSizeMap to have priority per retrieve namespaces 2 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 2 years ago
William Grant ab04e9bd17 fix: updated comment for when to remove legacy code 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 e5ecff7ec3 fix: fixed legacy disappearing messages on call notifications and others 2 years ago
William Grant 190357b006 fix: cleanup 2 years ago
William Grant 12087da2be fix: repaired closed group disappearing messages 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 ef6d9f1d51 feat: add empty states for each types of convo 2 years ago
Audric Ackermann b843d66084 feat: add the lastJoined and createdAt timestamp from wrapper logic 2 years ago