Commit Graph

396 Commits (c712e8311d0c066a19f81bfe7f378fb0bb9ab51a)

Author SHA1 Message Date
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 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 98fd834367 fix: already read DaR messages start with right time left on receive 1 year ago
Audric Ackermann 46bd4c218d fix: drop support for argon2 based ons 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 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 45e118ae1b feat: use multi value to know if disappear_v2 is live or nah 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 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
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 5f3a0899f5 feat: moved remaining code into feature folder
also separated out legacy functions
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
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 9191c3476d feat: mark us as admin and others as invite pending 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
Audric Ackermann 08164f2fd0 feat: add sending and receiving of libsession encrypted msgs
still a wip though
2 years ago
Audric Ackermann 90f4dd761c feat: add meta merge and update of name+members 2 years ago
Audric Ackermann be50aa7a2e feat: add support for retrieve signs with admin key of group 2 years ago
Audric Ackermann d89ff59560 feat: store info+members+keys on right namespaces for groups
make the signature work with the admin key, fetching it from the
usergroups wrapper
2 years ago
Audric Ackermann f86b3689ba fix: add GroupSyncJob to push changes for group 2 years ago
Audric Ackermann 42913371df fix: remove groups from protobuf 2 years ago
Audric Ackermann 8c3b6508ad fix: wip before removing info+members+keys from protobuf kinds 2 years ago
Audric Ackermann db98cc2812 feat: able to create a broken closedgroup v3 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 60e5503e6a feat: check for v2 release correctly on startup
improvements to creating and updating closed groups with disappearing message settings
2 years ago
Audric Ackermann 5b2580c48d feat: add poller changes and closed group keypair gen 2 years ago
William Grant da588a1096 Merge branch 'unstable' into userconfig_disappearingmessage 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 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 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 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 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 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 5a5f069cca fix: add tracking of expiration timer for nts through libsession 2 years ago
Audric Ackermann db9fa14213 fix: don't update state on updates already included in our syncmessage 2 years ago
Audric Ackermann 2068737cdd fix: break down deleteContact based on convo type 2 years ago
Audric Ackermann 7b42c64cf3 fix: make sure to include the associatedWith to handle 421 2 years ago
Audric Ackermann 77e5e38e46 chore: update lodash types, use prebuilt curbe25519-js 2 years ago
Audric Ackermann 6676bf77f9 chore: fix unit tests for userconfig changes 2 years ago
Audric Ackermann 6ac4dd8db5 fix: linking allows legacy config message if one is found 2 years ago
Audric Ackermann 4d0e79f195 fix: legacy group with wrapper and disable right click while searching 2 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 2 years ago
Audric Ackermann 760ce5caa5 fix: add the maxSizeMap to have priority per retrieve namespaces 2 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 2 years ago
Audric Ackermann bac2887c28 fix: update with latest libsession util 2 years ago
Audric Ackermann 318a77be4b fix: mark messages sent before our lastreadts from the wrapper as read 2 years ago
Audric Ackermann 3cd52d5b1a fix: add currentHashes and update expiry on every poll 2 years ago
Audric Ackermann 44483b7d23 fix: use releaseFeature from disappearing message PR as featureFlag 2 years ago
William Grant 778f575bb6 fix: pass yarn ready 2 years ago
William Grant dde244d719 fix: improved comment explaining how seen messages are expired 2 years ago
William Grant c33e471bfc fix: in clearinbox check in memory for conversation instead of db lookup
this is more performent
2 years ago
William Grant cfcf400ecf fix: cleaned up WIP logging and used the window log debug function where appropriate 2 years ago
William Grant 4c64997607 fix: log but continue if there are errors while clearing out sogs inboxes 2 years ago
William Grant 1d6f200d50 fix: pass yarn ready 2 years ago
William Grant 19025cd7e0 feat: abstracted getAllValidOpenGroupV2ConversationRoomInfos function and handled the response correctly
just need to do testing
2 years ago
William Grant db00ed8827 feat: added delete option to inbox request in sogs, linked with delete account modal
still needs testing and handling the response see TODO CONTINUE
2 years ago
William Grant 46ab397a0f fix: read receipt messages now show expireTimer correctly 2 years ago
William Grant 5398f45a26 fix: typing animation alignment 2 years ago
William Grant 029f65280d fix: signature verification now works with updated method for extend and shorten 2 years ago
William Grant 4d0900844b fix: adding shorten and extend to expire rpc endpoint 2 years ago
William Grant 446752cf54 feat: DataExtractionNotifications now expire
MessageRequestResponses should not expire, pass yarn ready
2 years ago
William Grant f36bbb9c7c feat: group invitiations now disappear 2 years ago
William Grant e34e3d4a4b fix: resolved some yarn ready issues 2 years ago
William Grant f825b74895 feat: disappearing messages are now correctly deleted from the swarm after they expire 2 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann dc329668fa chore: fix unit tests 2 years ago
Audric Ackermann ef6d9f1d51 feat: add empty states for each types of convo 2 years ago
Audric Ackermann da57379762 fix: update certificate of seed nodes expiring soon 2 years ago
Audric Ackermann 760642e149 feat: use the lastJoinedAt and createdAt from the wrapper 2 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 2 years ago
Audric Ackermann fe5eea4c8d chore: fix critical yarn audit issues 2 years ago
Audric Ackermann 796ccf0582 feat: add handling and setting of the expireTimer for contacts 2 years ago
Audric Ackermann 554b445a3e feat: lookup for shared config message on link device 2 years ago
Audric Ackermann c3e9d503e4 fix: unread count and forced unread is synced 2 years ago
Audric Ackermann 1c50aacc34 chore: remove groupModerators sogs from the db, store in redux only 2 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 2 years ago
Audric Ackermann f5efb52fea feat: remove closedgroupv3 uneeded stuff for now
also move the room stuff which can be kept in memory into another redux
slice
2 years ago
Audric Ackermann 21d8151b8b feat: add convo volatile info mgmt 2 years ago
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper 2 years ago
Audric Ackermann bc905bdba1 feat: start of community handling in libsession util
also remove tracking of hashes for config namespaces
2 years ago
Audric Ackermann 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 2 years ago
Audric Ackermann c4217cb564 feat: sync nickname, blocked and approved status for contacts 2 years ago
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2 years ago
Audric Ackermann 22329bc745 chore: cleanup FIXMEs and remove sig_timestamp as we cannot rely on it
we use timestamp instead of sig_timestamp for store requests
2 years ago
Audric Ackermann f870eff45b fix: make syncJob throttled every 3s and start right away if possible
also enable sig_timestamp on mainnet use as every node should have
upgraded now
2 years ago
Audric Ackermann 6bbb16b46d feat: track and delete configMessageHashes 2 years ago
Audric Ackermann 7c56310e69 feat: addConfSyncJob start 2 years ago
Audric Ackermann d512a1a131 fix: various UI margins and dedup official sogs join 2 years ago
Audric Ackermann 9cf1419ca5 feat: add first try to build SharedConfigMessages 2 years ago
Audric Ackermann d1cefd4729 feat: add contacts & user profile handling of incoming messages 2 years ago
Audric Ackermann 2da2c95272 chore: cleanedup the stubbing logic 2 years ago
William Grant 504f60cb97 fix: resolved missing reactions in open groups, fixed mutation cache logic 2 years ago
Audric Ackermann 68852a9e63 chore: move syncUtils to its own folder 2 years ago
Audric Ackermann c8e76b17de chore: refactor db instance to outside its sql.ts file 2 years ago
Audric Ackermann 58edbf44ee add SharedConfig message and signing it when sending them 2 years ago
Audric Ackermann 6d1b406c85 fix: add namespace to all sending message calls 2 years ago
Audric Ackermann 0f58e11a17 chore: update with latest libsession wrapper 2 years ago
Audric Ackermann 1a65b7a7f2 feat: working calls to node module from renderer through worker 2 years ago
Audric Ackermann bace70c6bc chore: move util worker to its own folder 2 years ago
Audric Ackermann 65df3157bd chore: lint 2 years ago
Audric Ackermann 2a8d764bfb fix tests 3 years ago
Audric Ackermann fddfc8c501 fix: hide v3 closed group protobuf messages for now 3 years ago
Audric Ackermann 4b97f14edf fix: added batch requests for snode but signature fails 3 years ago
Audric Ackermann d7bcf1026f fix: refactor snodeRPC to use snode batching 3 years ago
Audric Ackermann 16d14043b8 fix: use token from first room info to build conversationId for sogs 3 years ago
Audric Ackermann 32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
To merge once theming is done: handle deleted messages & deleted reacts all at once
3 years ago
Audric Ackermann 984dbf777d fix: do not lowercase roomId before joining sogs room 3 years ago
Audric Ackermann 37cedaf24a fix: make allowOneAtATime take a generic 3 years ago
Audric Ackermann ae51b0cd96 fix: include auth sogs headers everywhere 3 years ago
Audric Ackermann 07dfdb3350 fix: remove spinner of first poll of sogs even when not selected 3 years ago
William Grant 367c0c94d0 Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 26290ffd8b fix: mark attachment as failure if we get a 404 3 years ago
William Grant 5b44565b5f Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 1ce8fd5979 fix: make circular buffer not recreate an array on each overflow 3 years ago
Audric Ackermann c617976be0 test: added tests for RingBuffer & sogsRollingDeletions 3 years ago
Audric Ackermann ad03fbd497 fix: skip recent deleted message empty react changes 3 years ago
Audric Ackermann 0cc7994c12 fix: speed up expiration/deletion of messages by batching updates in UI 3 years ago
Audric Ackermann ad22482274 fix: add toast on rate limit hit for reactions 3 years ago
Audric Ackermann 135b9cf34d fix: add toast on rate limit hit for reactions 3 years ago
William Grant b3885bf9d9 Merge branch 'clearnet' into theming
Link previews are broken for now
3 years ago
William Grant c6af1a7468 feat: upgraded emoji-mart and added theme support 3 years ago
Audric Ackermann e62c1599a5 Merge branch 'clearnet' into feat-move-attachments-outside-messagebox 3 years ago
Audric Ackermann c2e3e3ca3f Merge remote-tracking branch 'upstream/clearnet' into ui-redesigns 3 years ago
Audric Ackermann afe573fd06
Merge pull request #2482 from Bilb/crypto-magic-swallow-exception
fix: swallow exception while doing tryMatchBlindWithStandardKey
3 years ago
Audric Ackermann d2472007b8 fix: swallow exception while doing tryMatchBlindWithStandardKey 3 years ago
Audric Ackermann 1d45aa6f45 fix: show loading spinner while sogs is fetching initial messages 3 years ago
Audric Ackermann e464d6c573 Merge branch 'settings-redesign' into feature-menu-redesign 3 years ago
Audric Ackermann d9621f79c3 fix: allow any sogs to be awaited until messages are fetched 3 years ago
Audric Ackermann 38d85a653a fix: do not wait for sogs messages on join of unofficial sogs 3 years ago
Audric Ackermann 0eac74dd07 Merge branch 'dev' into menu-redesign 3 years ago
Audric Ackermann ad04faca6f fix: increment bad snode if we timeout of guard node 3 years ago
Audric Ackermann e8fe564a08 fix: show sogs without display name in convo list
also use the pollinfo to update whatever the displayname if needed
3 years ago
Audric Ackermann 3915e946b4 Merge branch 'clearnet' into settings-redesign 3 years ago
Audric Ackermann 2bd6c01ee3
Merge pull request #2473 from Bilb/fix-remove-admin-remove-mod-topo
Fix remove admin remove mod permission too
3 years ago
Audric Ackermann aa0c15c8c1 fix: drop messages from a room left since start of current poll 3 years ago
Audric Ackermann e14ff787d4 chore: update strings of moderator to admins until we have mods support 3 years ago
Audric Ackermann f1358c4049 fix: make sure that removing an admin also removes the mod permission
because we cannot currently choose in the app what type of admin/mod we
want, it makes sense that adding/removing changes both permissions
3 years ago
Audric Ackermann 55365f817d Merge remote-tracking branch 'upstream/clearnet' into settings-redesign 3 years ago
Audric Ackermann b9cccfc2a8 feat: open convo a session sogs when joined from the UI 3 years ago
William Grant 9251e7687f refactor: improved logging for mutation cache 3 years ago
William Grant 58e4b4e896 fix: make sure to clear a reaction is the count is 0 on an opengroup 3 years ago
William Grant f138ea31b2 test: finished writing tests for sogs mutation cache
refactored processMessagesWithCachce function
3 years ago
William Grant 7c6af17327 fix: dont log removing entries from cache when there are none 3 years ago
William Grant 3060ffd25a test: added tests for adding and updating sogs cache entries
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
William Grant bbfb55f211 fix: pr review fixes 3 years ago
William Grant b33ea096b4 fix: speed up reaction UI update for opengroups 3 years ago