Commit Graph

1464 Commits (be7425278c8fdd6bad6f682813913cbe6e71fd04)

Author SHA1 Message Date
Audric Ackermann 19fbceae36 fix: das group control message go not expire 1 year ago
William Grant f2ec5d2145 fix: fix insecurenodefetch import
pass yarn ready
1 year ago
Audric Ackermann 2c479eb8d5 fix: make fileserver request retry 1 year ago
Audric Ackermann a203ea79cd Merge remote-tracking branch 'oxen/unstable' into userconfig_disappearingmessage 1 year ago
Audric Ackermann 286260fae8 fix: make callMessage forced to be DaR for recipient
and put workaround for our local message
1 year ago
Audric Ackermann 9e0a984297 fix: make DataExtractionNotification msg stay in swarm for 14d 1 year ago
Audric Ackermann ccbe3e13b0 fix: call messages expires with recipients expire settings 1 year 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 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 5cfbb8405c fix: use expiry from swarm to update readAt & expiresAt for msg 1 year ago
Audric Ackermann 82c6f0897b fix: add jobs for expiry update & expiry fetch 1 year ago
Audric Ackermann 9c4eee8a15 fix: disable frigg&fenrir turn servers for now 1 year ago
Audric Ackermann 98fd834367 fix: already read DaR messages start with right time left on receive 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 46bd4c218d fix: drop support for argon2 based ons 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 23998065ea fix: address PR reviews 1 year ago
Audric Ackermann 328493ace6 feat: filter out sub 60s options for expiretimer when packaged app 1 year ago
Audric Ackermann f10a20a2ea fix: legacy group invite do not expire 1 year ago
Audric Ackermann 5fc234ee16 fix: expiration update to off expire with previous expiration settings 1 year ago
Audric Ackermann 00f93a2754 fix: send sync message with the expireUpdate if provided 1 year ago
Audric Ackermann 99c231c698 fix: allow answered&missed call notification to disappear after read 1 year ago
Audric Ackermann 45e118ae1b feat: use multi value to know if disappear_v2 is live or nah 1 year ago
Audric Ackermann 42ec717851 fix: send extraction notification even if read receipts is off 1 year ago
Audric Ackermann 9cc37cc0e7 fix: outgoing start call notification timer start on after read 1 year ago
William Grant b731774ac7 fix: use correct values for legacy mode
fix datatestid on generic message
2 years ago
William Grant 0f05b24c86 chore: bump libsession_util_nodejs to v0.3.0 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
William Grant 8d36442dbf refactor: rename ttl_max to content_message
this is more explicit
2 years ago
William Grant f5a9e9c366 fix: comment cleanup 2 years ago
William Grant 50680bba7d fix: throw error in getMessageReadyToDisappear
for community messages
2 years ago
William Grant 3feb8cddf2 refactor: move checkShouldDisappearButIsntMessage
to legacy file
2 years ago
William Grant a2908cf24b fix: use switch instead of chained ifs
in setExpirationStartTimestamp
2 years ago
William Grant 730641a14d feat: added todo to section duck
we want to move it into a redux slice in future
2 years ago
William Grant be8c3b042f feat: added checkForExpiringOutgoingMessage
triggers timer for all outgoing messages. includes unit tests
2 years ago
William Grant bd9d56d381 fix: foundMessage has the ttl updated by reference
no need to explicitly assign it
2 years ago
William Grant 40014544d1 fix: closed group groupId is now PubKey only 2 years ago
William Grant 01d04bd4d3 refactor: existingexpration to existingexpirationt
in createClosedGroups.ts. Cleaned up some comments
2 years ago
William Grant 8838477e34 refactor: ttl_config to config_message
inside of TTL_DEFAULT. This is more readable and explicit
2 years ago
William Grant d4aacd3159 fix: move isDelete into inbox poll if statement
fixed some comments
2 years ago
William Grant aad55025ba fix: more comment cleanup 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 a2890925a5 test: fix groups wrapper values test 2 years ago
William Grant 6694f5a86f refactor: fixed comment typo
returned for testing purposes only
2 years ago
William Grant 4b93c5779a test: started libsession LegacyGroups tests
specifically insertGroupsFromDBIntoWrapperAndRefresh
2 years ago
William Grant bb95aef2d0 test: finished libsession_wrapper_user_profile tests 2 years ago
William Grant edfcbe2d67 fix: dont use ourNumber in contacts tests 2 years ago
William Grant 3330c64761 test: started insertContactFromDBIntoWrapperAndRefresh 2 years ago
William Grant 3f843aa72c test: finished processGetExpiriesRequestResponse 2 years ago
William Grant a00b016233 test: wip getExpiriesRequest Started 2 years ago
William Grant 16aad0c748 test: started processExpireRequestResponse 2 years ago
William Grant 1ce1924389 test: finished verifyExpireMsgsResponseSignature 2 years ago
William Grant f28bb66742 test: started expireRequest
added tests for buildExpireRequest
2 years ago
William Grant 6379226410 feat: added isValidUnixTimestamp 2 years ago
William Grant de2a15a691 fix: dont load container if there are no reactions
now message elements are the correct height from what we see visually
2 years ago
William Grant 101762918c Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 61eccb8d0f refactor: replaced get expirationStartTimestamp calls
with getExpirationStartTimestamp
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 c4cc18ad2e feat: dont expire messages that fail to send 2 years ago
William Grant a484011acb refactor: changetodisappearingmessageconversationtype to changetodisappearingconversationmode 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 c7f8f4f635 fix: get_expiries retry and error handing
nested pRetry Abort errors can break our retry logic so we need to catch them
2 years ago
William Grant 0e67e2a0b7 feat: improved expiry retry and error handing
nested pRetry Abort errors can break our retry logic so we need to catch them
2 years ago
William Grant 5b6ebcad07 fix: add temp fix for single msg get_expiries 2 years ago
William Grant e6257f3cbc fix: commented out some logs 2 years ago
Audric Ackermann 7c16ce9da4 fix: do not try to store contacts not matching pubkey regex in wrapper
also remove existing convo with spaces and 05 on start
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 c1dc2e5a6c fix: hit expire endpoint when send is successful
we need the returned messageHash from the swarm
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
William Grant a4bd3f59bb feat: improved expire swarm result logic
better logging and handle errors more smoothly
2 years ago
William Grant beb04d1b31 feat: improved logging for start expiry timestamp 2 years ago
William Grant 3b0d5f55e7 feat: added get_expiries typings 2 years ago
William Grant 9e21f459dd feat: started get_expiries work
signature now generates and renamed expire file to expireRequest
2 years ago
William Grant 3cc155b9e8 feat: update the TTL with the snode expire result 2 years ago
William Grant ee5503585a fix: comment out some unnecessary logging 2 years ago
William Grant 32b7870e07 feat: make sure to use ms for the expireTimer
expireTimer on the model is in seconds so we need to convert it
2 years ago
William Grant 7f68107738 feat: added retry logic to expireMessageOnSnode 2 years ago
William Grant ae15275206 feat: adding proper typings to snode expire code
I dont think the expire value returned is correct, needs debugging
2 years ago
William Grant f2dbcfa305 feat: use SubRequest typings for expireOnNodes
created request builder, added logging for now to test
2 years ago
William Grant a2185625c8 fix: use TTL_CONFIG in retrieve request
also some comment cleanup
2 years ago
William Grant b5bf6be691 fix: show durations for constants on hover
for TTL_DEFAULT and SWARM_POLLING_TIMEOUT
2 years ago
William Grant 60aac9be85 fix: regular messages correctly sync again 2 years ago
William Grant ec81805745 fix: log pipeline better 2 years ago
William Grant 07097b029d fix: don't send sync messages for outdated changes 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 a65f02a807 feat: use checkForExpireUpdateInContentMessage on sync messages 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 bb6eb3e84e feat: fixed 1-1s and added more logging 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 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 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 bfc073ef70 fix: eslint warning in syncutils 2 years ago
William Grant 37676e5666 fix: making progress with group migration
still getting overriden on render
2 years ago
William Grant da588a1096 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 22e9e6bb44 feat: started working on disappearing messages migration 34
note to self and private conversations are mvp, still some initial cleanup todo
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 a25d94fa6c fix: moved disappearing messages migration to a separate file
updated note to self function calls in the user config wrapper
2 years ago
William Grant ff27913b66 fix: migration started and working for note to self for user config
updated libsession to use setExpiry and getExpiry since we can't add new arguments to the getUserInfo and setUserInfo
2 years ago
William Grant d794b0a0d4 fix: comment out user config disappearing messages stuff for now 2 years ago
William Grant 5762342e03 fix: spaces on fixme comments 2 years ago
Audric Ackermann c796afe4c8 Merge remote-tracking branch 'upstream/unstable' into integration_tests_2 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 953897cc1c
Merge pull request #2840 from Bilb/replace-tslint-with-eslint
Replace tslint with eslint
2 years ago
Audric Ackermann 940c3f622a
Merge pull request #2834 from Bilb/update-electron
chore: update node version, electron and deps
2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2 years ago
William Grant 10561e4e3c Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann b7d444e5d5
Merge pull request #2820 from Bilb/chore/remove-unblock-group-string
chore: remove the unblockGroupToSend string as we cannot block a group.
2 years ago
Audric Ackermann feaba36fa4 fix: picker emoji-mart errors after update 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
Audric Ackermann 49955a3947 chore: update node version, electron and deps 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 0e5ca3f731 chore: remove the unblockGroupToSend string as we cannot block a group. 2 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann de41988215 fix: typo on no audio output on speaker toggle 2 years ago
Audric Ackermann 83a8adf033 fix: decrease retry timer of confsyncjob to 15s
- we need a rather long duration so we don't add a new job while was is
already planned to be runned, and they end up both running at the same
time.
- we also need a not too long duration for integration tests and UX
  experience, as a change could take the retry timeout to happen+polling
timer to happen, which used to be 40s total.

This brings that time to worse time change from 40 to 25s
2 years ago
wafflesvsfrankie 53558932a7
Merge branch 'oxen-io:clearnet' into integration_tests_2 2 years ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 2 years ago
William Grant d37aa42084 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
Audric Ackermann 1d9279c79c chore: merge conversation selectors into a single file
as the circular dependency was causing a createSelector called with
undefined issue on startup without user loggedin
2 years ago
Audric Ackermann adf5574318 fix: add libsession nodejs with expiretimer and resolve issues 2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 524debb307 fix: improve delete messages perfs and search logic 2 years ago
Audric Ackermann 4280d83ba8 fix: bump libsession to allow createdAt to be given during migration 2 years ago
Audric Ackermann 0e18bf4640 fix: disable expire timer tracking for all libsession logic
this will need to be turned on when the disappearing branch is merged
2 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago