Commit Graph

170 Commits (5e3f968d22b0a817f1294935d91b5fcaff03f378)

Author SHA1 Message Date
Audric Ackermann 5e3f968d22 fix: merge issues 1 year ago
Audric Ackermann f6bffc8bb6 feat: add suppport in groupv2 of disappear v2 messages 1 year ago
Audric Ackermann 5509dc74c5 refactor: move subrequests to classes and fix updateMessages 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 528d15bf2d fix: fix convo volatile updates for 03-groups 1 year ago
Audric Ackermann 8b7ce7f3be Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2 1 year ago
Audric Ackermann a203ea79cd Merge remote-tracking branch 'oxen/unstable' into userconfig_disappearingmessage 1 year ago
Audric Ackermann d839ff936d chore: resolve compilation errors 1 year ago
Audric Ackermann 6d81f5ff36 Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2 1 year ago
Audric Ackermann 3a26285667 fix: make group control message not expire 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 e5c76d3b70 feat: group message requests kind of working
still need to have them visible in the msg request only
1 year ago
Audric Ackermann b259d18443 fix: add still broken promote handling with set_sig_keys 1 year ago
Audric Ackermann 16e7ee1cd6 feat: make groupv2 messages skip cache
also add group members change
2 years ago
Audric Ackermann dbe94f2293 feat: added strings for groupv2 control message and components for them 2 years ago
William Grant a37c8eaf13 fix: merge now returns good hashes
we calc the latestEnvelopeTimestamp and use for disappearAfterRead
2 years ago
Audric Ackermann df3a188074 fix: address PR reviews 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
William Grant ef50a9f7a5 fix: remove unneeded Boolean cast 2 years ago
William Grant 73cceab31f refactor: getDisappearingUnreadByConversation
to getUnreadDisappearingByConversation since reading causes disappearing
2 years ago
Audric Ackermann d134da3421 chore: renamed ConfigurationSyncJob to UserSyncJob 2 years ago
Audric Ackermann d9300e67a0 fix: remove the whole kind logic and use namespace instead
this is because session doesn't care about the config it receives
anymore and just forwards them to libsession
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 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 674cda3278 fix: sync legacy mode in single mode before V2
for NTS and closed groups we want to set the expirationMode to legacy
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 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 515805b94d fix: messages are no longer randomly deleted
forgot to expire only unread disappearing messages and not all messages
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
Audric Ackermann d12071f3c8 chore: big rename of convocontroller to convohub 2 years ago
William Grant 958f64e27f feat: get_expiries implementation done
now just need to make sure to call both endpoints in the correct places
2 years ago
Audric Ackermann e220aeea91 feat: add working encrypt/decrypt for 03 group with libsession 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 f045562a33 fix: use updateExpireTimer for UserProfile
before we were setting the convo values directly
2 years ago
William Grant c33eef0162 fix: sync messages now expire in 1on1s
fromConfig has been removed from updateExpireTimer
2 years ago
Audric Ackermann cd17a08c2e chore: lint 2 years ago
Audric Ackermann 1a18054fae feat: add bump of config hashes for groups when we have admin key 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
Audric Ackermann 90f4dd761c feat: add meta merge and update of name+members 2 years ago