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
03c0d74820
feat: migrations works correctly for private conversations
2 years ago
William Grant
da588a1096
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
William Grant
43276b069e
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
Audric Ackermann
c60cfd8669
fix: emoji-mart update breaks native emoji fetch, use SearchIndex
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
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
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
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
5111a141c8
feat: remove QUOTED_TEXT_MAX_LENGTH and sliceQuoteText
2 years ago
William Grant
e1a6f8e3fc
feat: cleaned up getPropsForQuote and rely on getMessageQuoteProps selector for creating quote object
...
authorName is broken for some reason and we will need to fix it
2 years ago
William Grant
e90e548715
feat: improved quoted message not found
...
consolidated quote props lookup into getMessageQuoteProps, only use the db message in the quote components
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
d706ecdead
fix: show authorName in reply ui
2 years ago
William Grant
acdeabf306
feat: fixed click on a quote to go to the original message
...
added animation support to attachments when opening it via a quote
2 years ago
William Grant
d7bc8213d6
fix: community quotes now dont break the app
2 years ago
William Grant
a962ef2228
feat: getMessageQuoteProps now loads data from conversation.quotes state and loads correctly into the Quote
2 years ago
William Grant
ab1cf7a658
feat: added propsForQuote to message model props
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
3 years ago
William Grant
959fb661c3
fix: incorrect direction check in getPropsForExpiringMessage
3 years ago
William Grant
5d4238a3d8
feat: created getMessageExpirationProps selector and used in ExpirableReadableMessage
...
this stops us passing props down from the child components of ExpirableReadableMessage
3 years ago
Audric Ackermann
4d0e79f195
fix: legacy group with wrapper and disable right click while searching
3 years ago
Audric Ackermann
6f6620f622
fix: skip new group messages when receved after group was removed
3 years ago
Audric Ackermann
318a77be4b
fix: mark messages sent before our lastreadts from the wrapper as read
3 years ago
Audric Ackermann
328c131d8b
chore: cleanup commented caching code of some wrappers
3 years ago
Audric Ackermann
051c4bb262
fix: merge the confSyncDumpJob into the confSyncJob
3 years ago
Audric Ackermann
6fe6544d6c
fix: split up migration of initial user config dumps into two
3 years ago
Audric Ackermann
ce186517a3
chore: lint code
3 years ago
William Grant
cfcf400ecf
fix: cleaned up WIP logging and used the window log debug function where appropriate
3 years ago
William Grant
afaaedac3e
feat: added proper note to self support
...
note to self is always delete after send
3 years ago
William Grant
92282a5d95
feat: verify disappearing messages arent supported in communities
3 years ago
William Grant
2221d81a23
fix: reverted setToExpire timer,
...
fixed incorrect expirationLength value in getPropsForExpiringMessage
3 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
3 years ago
William Grant
46ab397a0f
fix: read receipt messages now show expireTimer correctly
3 years ago
William Grant
4d0900844b
fix: adding shorten and extend to expire rpc endpoint
3 years ago
William Grant
b6c3edbac4
fix: pass yarn ready
3 years ago
William Grant
8dc7d48c52
feat: renamed isLegacyMessage to isLegacyDataMessage
...
all works except modern to modern stage 2
3 years ago
William Grant
89c70760a5
fix: refactor and works for all legacy test cases, modern to modern is broken
3 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
3 years ago
William Grant
2338058b3e
fix: make sure expirationType and expireTimer are defined after v2 is released
3 years ago
William Grant
b8ab952c33
fix: explicitly set expirationType to undefined if sending a legacy message
3 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
3 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
3 years ago
William Grant
854742c0b1
fix: improved logic for turning off disappearing messages
3 years ago
William Grant
a3a0c3f9de
feat: fixed closed groups legacy mode
3 years ago
William Grant
8117e631d0
feat: legacy mode now works for 1-1 chats
3 years ago
William Grant
d698f66d50
feat: updated clients can send ExpirationTimerUpdateMessages to older clients
...
fixed syncing of ExpirationTimerUpdateMessages
3 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
3 years ago
William Grant
e81ac0a847
feat: updated NoticeBanner style
3 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
3 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
3 years ago
William Grant
12087da2be
fix: repaired closed group disappearing messages
3 years ago
William Grant
42356b0d60
fix: duplicate timer update messages
3 years ago
William Grant
97ecc9e521
feat: fixed double expiration update message issue
...
started creating an inheritable expiration message class, improved start triggering logic
3 years ago
William Grant
446752cf54
feat: DataExtractionNotifications now expire
...
MessageRequestResponses should not expire, pass yarn ready
3 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
3 years ago
William Grant
ac844af691
feat: updated timer notification design and copy
3 years ago
William Grant
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
3 years ago
William Grant
f36bbb9c7c
feat: group invitiations now disappear
3 years ago
William Grant
e34e3d4a4b
fix: resolved some yarn ready issues
3 years ago
William Grant
f825b74895
feat: disappearing messages are now correctly deleted from the swarm after they expire
3 years ago
William Grant
d358ab2fb1
feat: fixed closed groups
...
improved setExpirationStartTimestamp logic
3 years ago
William Grant
b4fc33c8fa
fix: prevent duplicate expire timer updates while keeping backwards compatibility
3 years ago
William Grant
4ee440304c
feat: attempted to improve the accuracy of the start timer for disappear after send
3 years ago
William Grant
ee4aa333fc
feat: disappearing after send is not working correctly
3 years ago
William Grant
22e02633a9
feat: started consolidating send and receive dm logic.
...
updated in parts but haven't test what happens
3 years ago
William Grant
13f091eff3
feat: added function for calculating the expire start time
...
updated copy for setting change messages
3 years ago
William Grant
8dc7dac55e
feat: control available modes depending on the conversation
3 years ago
William Grant
2745571790
fix: correctly write to db when setting changes
3 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
3 years ago
William Grant
0700ac4813
fix: moved disappearing message types to utils
3 years ago
William Grant
1303707cd7
feat: added expirationType to message model with correct typings
...
added to migration
3 years ago
William Grant
b12d086b22
feat: DisappearingMessageType -> DisappearingMessageConversationType
...
this is more explicit and allows use to use DisappearingMessageType in the message model
3 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
3 years ago
Audric Ackermann
cbffc29950
fix: run tests for libsession-util integration and fix issue
3 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
3 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
3 years ago
Audric Ackermann
faeb95fefd
feat: add block/decline logic to msg request & wrapper
3 years ago
Audric Ackermann
ef6d9f1d51
feat: add empty states for each types of convo
3 years ago
Audric Ackermann
760642e149
feat: use the lastJoinedAt and createdAt from the wrapper
3 years ago
Audric Ackermann
b843d66084
feat: add the lastJoined and createdAt timestamp from wrapper logic
3 years ago
Audric Ackermann
51e4f1dd48
feat: UI, use group info from wrapper if we have them or from DB
3 years ago
Audric Ackermann
3ff7281b6a
chore: remove isGroup from the redux stored entry
...
as it is always = !isPrivate
3 years ago
Audric Ackermann
f3975b545a
feat: use priority for hidden and pinned conversation
3 years ago
Audric Ackermann
fe5eea4c8d
chore: fix critical yarn audit issues
3 years ago
Audric Ackermann
796ccf0582
feat: add handling and setting of the expireTimer for contacts
3 years ago