Commit Graph

254 Commits (487e418f733d209c274e39cdcfd89e19d7d4f03c)

Author SHA1 Message Date
Audric Ackermann 7f7f0fe26c fix: clear swarms from snodes not in pool on full fetch 2 years ago
William Grant 4decf22241 feat: improved error messaging when starting a new message 2 years ago
William Grant 208d9cc0eb Merge branch 'unstable' into feat/ses-50/onboarding 2 years ago
William Grant 7f031681f8 fix: remove unneeded catch block for checking if we are online
the inboxStore isnt set yet and we arent displaying the connected path light
2 years ago
William Grant 5a131c5785 fix: updated pollOnceForDisplayName
we can return the try result directly in the block since the finally will alway be executed
2 years ago
Audric Ackermann 52ebcfdbab fix: randomly pick a snode topollfrom until we build a better way 2 years ago
William Grant 2265c59dcc fix: recover an account with a new display name if linking fails
added stop function to swarm polling
2 years ago
William Grant 0f6d80b847 Merge branch 'unstable' into feat/ses-50/onboarding 2 years ago
Audric Ackermann 2d872cec43 fix: fix polling race with promises 2 years ago
Audric Ackermann ae96936a1a fix: add logs during polling 2 years ago
William Grant d8cc0c79ea feat: refactored swarm polling to use only retrieveNextMessages again
created verifyBatchRequestResults function
2 years ago
William Grant 500ab60ffa fix: cleaned up typings and flattened error callback 2 years ago
William Grant c9eac6c83e feat: handle failing to find a display name from the swarm
the user can enter it manually, improved error handling, logging, sync post login
2 years ago
William Grant c5c06af772 fix: use wrapper merge when returning the display name in memory 2 years ago
William Grant 038589114f feat: cleaned up poll once for display name 2 years ago
William Grant 8e41d51632 feat: restoring an account from seed and fetching seems to work 2 years ago
William Grant 5ce8170188 Merge branch 'feat/ses-50/onboarding' into feat/ses-899/user_profile_poll 2 years ago
William Grant 9a756a8c9b feat: session id to account id 2 years ago
William Grant baca07a83b feat: moved frontend errors to redux 2 years 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
2 years 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
2 years ago
William Grant 6a2af3e088 feat: added free function to libsession wrappers
almost processing the dump correctly
2 years ago
William Grant a3262d7af9 feat: attempting to fetch the display name separate from the usual pipeline 2 years ago
Audric Ackermann 05215d8c61 fix: drop incoming msg if deleteBefore says so 2 years ago
Audric Ackermann 72396cfca3 feat: fix message attachment cleanup and handle group attach+msg delete 2 years ago
Audric Ackermann c180e4572d fix: add handling of deleteMsgs and deleteAttachmentsBefore for groups 2 years ago
Audric Ackermann 53059135ee fix: tsc does not overwrite workers compiled content 2 years ago
Audric Ackermann 2e3026e17d Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk2 2 years ago
Audric Ackermann 1c58899558 fix: rekey explicitely when creating a group 2 years ago
Audric Ackermann d6d9bec5ba fix: fixed a bunch of groupv2 chunk2 issues 2 years ago
Audric Ackermann a83e44e183 chore: rename onion requests not having retries 2 years ago
Audric Ackermann 665f6df57e test: add test ofr SnodeAPI.buildRetrieveRequests 2 years ago
Audric Ackermann a53299377a chore: fix unit tests with group chunk2 2 years ago
Audric Ackermann bc95e1f2cc fix: log that onsresolve won't work when on testnet 2 years ago
Audric Ackermann 8d0bd84ef0 feat: add toggle to share history or not with invite group v2 2 years ago
Audric Ackermann 1c6182a235 Merge branch 'closed-group-chunk2' of github.com:Bilb/session-desktop into closed-group-chunk2 2 years ago
Audric Ackermann 2371dba5ee Merge branch 'unstable' into closed-group-chunk2 2 years ago
Audric Ackermann 2688fed656 Merge branch 'feature/ses-558/more-message-information' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 5509dc74c5 refactor: move subrequests to classes and fix updateMessages 2 years ago
Audric Ackermann 4e9d2dda7e chore: lint 2 years ago
Audric Ackermann 6094e725fb chore: move getExpiries request to class 2 years ago
William Grant f2ec5d2145 fix: fix insecurenodefetch import
pass yarn ready
2 years ago
Audric Ackermann 4e8ca31c2f fix: remove isLeft flag as we can't have a left and unremoved group 2 years ago
Audric Ackermann 77a62e82e7 fix: add avatar change message handling
still needs to be able to send one, but that's chunk3
2 years ago
Audric Ackermann 0be10d1256 fix: move revoke unrevoke to batched push group changes 2 years ago
Audric Ackermann 4357f5cc1f Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2 2 years ago
Audric Ackermann 8b7ce7f3be Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2 2 years ago
Audric Ackermann 2c479eb8d5 fix: make fileserver request retry 2 years ago
Audric Ackermann d839ff936d chore: resolve compilation errors 2 years ago
Audric Ackermann 6d81f5ff36 Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2 2 years 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
2 years ago
Audric Ackermann 744283fc56 fix: changed some message control to not expire
still some to discuss with the team
2 years ago
Audric Ackermann 5cfbb8405c fix: use expiry from swarm to update readAt & expiresAt for msg 2 years ago
Audric Ackermann 82c6f0897b fix: add jobs for expiry update & expiry fetch 2 years ago
Audric Ackermann 98fd834367 fix: already read DaR messages start with right time left on receive 2 years ago
Audric Ackermann 46bd4c218d fix: drop support for argon2 based ons 2 years 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 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 9595f09085 fix: add setadmin on promote accepts
also sign/verify group update messages
2 years ago
Audric Ackermann 16e7ee1cd6 feat: make groupv2 messages skip cache
also add group members change
2 years ago
Audric Ackermann 5adfe2e52b feat: add revoke/unrevoke subrequests
unused currently
2 years ago
Audric Ackermann f17beaf852 feat: add GroupInviteJob 2 years ago
Audric Ackermann b8876ebbfe feat: add subaccount auth 2 years ago
Audric Ackermann dbe94f2293 feat: added strings for groupv2 control message and components for them 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 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
Audric Ackermann ae67215a7e test: finished tests for userSyncJob 2 years ago
Audric Ackermann 9492fdc51e fix: first working test ios to desktop
still have some tests to fix
2 years ago
William Grant 3f843aa72c test: finished processGetExpiriesRequestResponse 2 years ago
William Grant a00b016233 test: wip getExpiriesRequest Started 2 years ago
Audric Ackermann c14276200e chore: merged what can be between user and group sync job 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
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 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 cc7e6f03db test: add tests for swarmPolling of new groups 03 2 years ago
Audric Ackermann e69c5c4b35 chore: fixed unit tests 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
William Grant a4bd3f59bb feat: improved expire swarm result logic
better logging and handle errors more smoothly
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
Audric Ackermann e8e0e19b40 chore: added tests for SnodeSignatures calls 2 years ago
William Grant 3cc155b9e8 feat: update the TTL with the snode expire result 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
Audric Ackermann 820103b340 chore: refactor snodesignature input args type
before testing
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
Audric Ackermann b53264593b feat: preload name of group from usergroup wrapper
until we get the groupinfo name from polling
2 years ago