Commit Graph

1505 Commits (unstable)

Author SHA1 Message Date
William Grant 038589114f feat: cleaned up poll once for display name 1 year ago
William Grant 8e41d51632 feat: restoring an account from seed and fetching seems to work 1 year ago
William Grant 8dceb93b09 feat: reset onboarding state when we return to the start stage
added better logging for create account flow
1 year ago
William Grant 5e79ebc239 fix: small fixes from broken branch as we try to debug 1 year ago
William Grant b5781b0f12 feat: replace invalidAccountId with accountIdErrorInvalid
as based in google docs flagged sheet
1 year ago
William Grant 5ce8170188 Merge branch 'feat/ses-50/onboarding' into feat/ses-899/user_profile_poll 1 year ago
William Grant 9a756a8c9b feat: session id to account id 1 year ago
William Grant baca07a83b feat: moved frontend errors to redux 1 year ago
Audric Ackermann 444e60ce89 fix: use 999+ for convo unread count, but 99+ for global one 1 year ago
William Grant 4de3570492 feat: got things working correctly with errors throwing before the timeout
still trying to debug loading the errors in the frontend
1 year ago
William Grant 7baf6c5886 feat: fixed processing the config message next is finishing the reg properly
we now fetch the display name correctly just need to refactor and test the error handling
1 year ago
William Grant 6a2af3e088 feat: added free function to libsession wrappers
almost processing the dump correctly
1 year ago
Audric Ackermann 095a9d33e5 fix: canDisplayImage needs check to be done on the thumbnail 1 year ago
William Grant a3262d7af9 feat: attempting to fetch the display name separate from the usual pipeline 1 year ago
William Grant fd4e1525cb Merge branch 'unstable' into feat/ses-50/onboarding 1 year ago
Audric Ackermann 91706bf6b1
Merge pull request #3054 from Bilb/feat-ci-runs-testnet
fix: make CI runs use testnet and test-integration setup
1 year ago
Audric Ackermann 016d0ad03b fix: make CI runs use testnet and test-integration setup 1 year ago
Audric Ackermann 53059135ee fix: tsc does not overwrite workers compiled content 1 year ago
William Grant 9984846632 Merge branch 'unstable' into feat/ses-50/onboarding 1 year ago
William Grant 2c83d41ccd fix: error handling now works correctly for all stages
buttons also correctly disable themselves
1 year ago
William Grant 6f84d5bede feat: animated progress loader to spec
timeout display name fetch to 15 seconds, added display name inital screen still needs work
1 year ago
William Grant 7cabdba00e feat: added error messages to recovery password input
fixed remaining styling, improved errors for mnemonic code
1 year ago
Audric Ackermann f402a14ab8 Merge remote-tracking branch 'oxen/master' into unstable 1 year ago
Audric Ackermann 72182d8157 chore: bump timed release of disappear v2 to 13/03/24 1 year ago
Audric Ackermann 9d984355dc fix: do not force ttl for groupExpireTimerUpdate 1 year ago
William Grant ec7ab04d09 refactor: moved related function from registrationstages to createaccount 1 year ago
William Grant 4910911828 fix: rename MAX_USERNAME_BYTES to MAX_NAME_LENGTH to match libsession, updated byte limit to 100
added doctstring to explain the prop
1 year ago
William Grant 8aac036bca feat: updated display name
show error when display name is too long
1 year ago
Audric Ackermann bc95e1f2cc fix: log that onsresolve won't work when on testnet 1 year ago
Audric Ackermann bc30064c57 chore: fix timestamp of release of disappear v2 1 year ago
Audric Ackermann ec25d2f97f chore: bump Session to 1.12.0 1 year ago
William Grant a098638bc0 refactor: remove unnecessary react imports
you don't need it from react 17
1 year ago
Audric Ackermann 81c1263bfd chore: address PR reviews 1 year ago
Audric Ackermann 6e952398c9 fix: edge case with sending msg before, then getting one sent earlier 1 year ago
Audric Ackermann 5cd0a9f71d
Merge pull request #3019 from Bilb/feat-ctxmenu-expire-time-left
feat: right click on expiring msg shows timer left
1 year ago
Audric Ackermann 7573152e8b feat: right click on expiring msg shows timer left 1 year ago
Audric Ackermann 5f0888d144 fix: make sure all dialog "cancel" cancel the dialog 1 year ago
Audric Ackermann 571d593c38 fix: fix small ui issues after merge of multiple PRs 1 year ago
Audric Ackermann 24887dd05b Merge branch 'feature/ses-145/leave-conversation-update' into userconfig_disappearingmessage 1 year ago
Audric Ackermann 2688fed656 Merge branch 'feature/ses-558/more-message-information' into userconfig_disappearingmessage 1 year ago
Audric Ackermann 4e9d2dda7e chore: lint 1 year ago
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
1 year 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