Ryan Miller
87986914c9
chore: disappearing messages string changes
1 year ago
Audric Ackermann
1be85641cb
Merge remote-tracking branch 'upstream/clearnet' into closed-group-chunk2
1 year ago
Audric Ackermann
d6d9bec5ba
fix: fixed a bunch of groupv2 chunk2 issues
1 year ago
Audric Ackermann
9d984355dc
fix: do not force ttl for groupExpireTimerUpdate
1 year ago
Audric Ackermann
b9da60af3b
fix: send msg to group unapproved accepts and then sends message
1 year ago
Audric Ackermann
0a4e3041de
fix: leave group v2 as only admin mark it as deleted and pushes to swarm
...
before removing the wrapper data
1 year ago
Audric Ackermann
95cd0e86f1
Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk2
1 year ago
Audric Ackermann
509a472d1c
fix: address QA issues
1 year ago
Audric Ackermann
eadeb5e735
fix: do not add timer update when for off for groupv1
1 year ago
Audric Ackermann
8d0bd84ef0
feat: add toggle to share history or not with invite group v2
1 year ago
Audric Ackermann
1c6182a235
Merge branch 'closed-group-chunk2' of github.com:Bilb/session-desktop into closed-group-chunk2
1 year ago
Audric Ackermann
2371dba5ee
Merge branch 'unstable' into closed-group-chunk2
1 year ago
Audric Ackermann
6e952398c9
fix: edge case with sending msg before, then getting one sent earlier
1 year ago
Audric Ackermann
33ddf51ba6
fix: add some debugging messageinfo (not released)
1 year ago
Audric Ackermann
ae95649ad2
chore: lint
1 year ago
Audric Ackermann
24887dd05b
Merge branch 'feature/ses-145/leave-conversation-update' into userconfig_disappearingmessage
1 year ago
Audric Ackermann
f6bffc8bb6
feat: add suppport in groupv2 of disappear v2 messages
1 year ago
Audric Ackermann
fda6ca315c
fix: allow contacts without didApproveMe to be invited to group
1 year ago
Audric Ackermann
153846a12b
fix: add better typings for groupUpdateMessages
1 year ago
Audric Ackermann
4e8ca31c2f
fix: remove isLeft flag as we can't have a left and unremoved group
1 year ago
Audric Ackermann
77a62e82e7
fix: add avatar change message handling
...
still needs to be able to send one, but that's chunk3
1 year ago
Audric Ackermann
77fdc97bcf
feat: force group msg request unread when handling invite
1 year ago
Audric Ackermann
8b7ce7f3be
Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2
1 year ago
Audric Ackermann
6d81f5ff36
Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2
1 year ago
Audric Ackermann
9e0a984297
fix: make DataExtractionNotification msg stay in swarm for 14d
1 year ago
Audric Ackermann
3a26285667
fix: make group control message not expire
1 year ago
Audric Ackermann
e03c3ce1f3
test: fix unit tests
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
5b704ebdc7
fix: bug with updatelastmessage not resetting when no msgs
...
also make fix the DaS expires_at so destroyExpiredMessages finds it
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
b61745fd94
fix: use DaR ttl for synced message store request
...
removing one request at a time
1 year ago
Audric Ackermann
82c6f0897b
fix: add jobs for expiry update & expiry fetch
1 year ago
Audric Ackermann
19e9e0311e
feat: add cleanup of old expire update in history
...
we only keep one from each sender
1 year ago
Audric Ackermann
543c80bbe3
fix: add most of new designs (own setting) for disappear v2 messages
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
Audric Ackermann
e5c76d3b70
feat: group message requests kind of working
...
still need to have them visible in the msg request only
2 years ago
Audric Ackermann
23998065ea
fix: address PR reviews
2 years ago
Audric Ackermann
b259d18443
fix: add still broken promote handling with set_sig_keys
2 years ago
Audric Ackermann
08c5f76a15
fix: store envelopetimestamp in cache, and make sure we use network one
...
everywhere
2 years ago
Audric Ackermann
93d87d82ae
chore: renamed getnowwithnetworkoffset to now()
2 years ago
Audric Ackermann
16e7ee1cd6
feat: make groupv2 messages skip cache
...
also add group members change
2 years ago
Audric Ackermann
7d5b660bc1
fix: start timer on message even if message already exists
2 years ago
Audric Ackermann
5fc234ee16
fix: expiration update to off expire with previous expiration settings
2 years ago
William Grant
78ecefa696
fix: off control msgs expire on the last setting
2 years ago
Audric Ackermann
dbe94f2293
feat: added strings for groupv2 control message and components for them
2 years ago
Audric Ackermann
0fbb0cc852
chore: merge ReceiptMessage and readReceiptMessage into one
2 years ago
William Grant
a37c8eaf13
fix: merge now returns good hashes
...
we calc the latestEnvelopeTimestamp and use for disappearAfterRead
2 years ago
William Grant
04c3f69398
refactor: export functions from an object for stubbing
...
for disappearing messages index file
2 years ago
William Grant
bb6e09de0a
feat: cleaned up wip logs
2 years ago
Audric Ackermann
b0e38670ab
chore: rename all groupv3 to groupv2
2 years ago
Audric Ackermann
84451399e3
Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk1
2 years ago
William Grant
40014544d1
fix: closed group groupId is now PubKey only
2 years ago
William Grant
f3b4b6f862
refactor: isDisappearing to matchesDisappearing
...
cleaned up some comments
2 years ago
William Grant
7b8d1ed2f7
fix: replace backbone get method
...
for lastDisappearingMessageChangeTimestamp
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
cafa9d80ec
fix: remove all unneeded tslint comments
...
fixed some eslint errors
2 years ago
William Grant
06099966b0
fix: make sure to use convo getters
...
instead of backbone get function
2 years ago
Audric Ackermann
d134da3421
chore: renamed ConfigurationSyncJob to UserSyncJob
2 years ago
William Grant
12a29f718a
feat: updateExpireTimer arg shouldCommitMessage
...
when testing we dont want to commit the timer update message
2 years ago
William Grant
37bdd08aca
fix: correct getter region comments
2 years ago
William Grant
caf39d661c
feat: commit disappearing remote changes to db
2 years ago
William Grant
27a634b268
feat: updateExpireTimer now returns success
...
we use this to decide on commiting updates from sync messages to the db
2 years ago
William Grant
5b7afe0a29
fix: disappear synced settings updates
...
need to trigger the expirationStartTimestamp manually
2 years ago
William Grant
777584945d
refactor: replaced get expireTimer calls
...
with getExpireTimer
2 years ago
William Grant
ebaedb2e4c
feat: created getters in message model
...
replaced all expirationType calls with getExpirationType
2 years ago
William Grant
1861131ce2
refactor: replaced get lastDisappearingMessageChangeTimestamp calls
...
with getLastDisappearingMessageChangeTimestamp
2 years ago
William Grant
712a1e92e4
refactor: replaced get hasOutdatedClient calls
...
with getHasOudatedClient
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
38a8012e10
refactor: providedexpirationtype to provideddisappearingmode
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
cd2f51684d
refactor: disappearingmessageconversationtype to disappearingmessageconversationmodetype
2 years ago
Audric Ackermann
e69c5c4b35
chore: fixed unit tests
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
Audric Ackermann
d12071f3c8
chore: big rename of convocontroller to convohub
2 years ago
Audric Ackermann
b53264593b
feat: preload name of group from usergroup wrapper
...
until we get the groupinfo name from polling
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
Audric Ackermann
197383a52f
feat: move some the convomodel.get attributes to functions
...
this is because we need to be able to override what is returned by what
is in the redux lib slice if needed (libsession data overrides what is
in the DB for groupv3)
2 years ago
Audric Ackermann
46e3675c45
feat: add function to redux to grab group detail outside of store
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
Audric Ackermann
08164f2fd0
feat: add sending and receiving of libsession encrypted msgs
...
still a wip though
2 years ago
Audric Ackermann
be50aa7a2e
feat: add support for retrieve signs with admin key of group
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