Audric Ackermann
8d0bd84ef0
feat: add toggle to share history or not with invite group v2
1 year ago
Audric Ackermann
1c6182a235
Merge branch 'closed-group-chunk2' of github.com:Bilb/session-desktop into closed-group-chunk2
1 year ago
Audric Ackermann
2371dba5ee
Merge branch 'unstable' into closed-group-chunk2
1 year ago
Audric Ackermann
2688fed656
Merge branch 'feature/ses-558/more-message-information' into userconfig_disappearingmessage
1 year ago
Audric Ackermann
5509dc74c5
refactor: move subrequests to classes and fix updateMessages
1 year ago
Audric Ackermann
4e9d2dda7e
chore: lint
1 year ago
Audric Ackermann
6094e725fb
chore: move getExpiries request to class
1 year ago
William Grant
f2ec5d2145
fix: fix insecurenodefetch import
...
pass yarn ready
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
0be10d1256
fix: move revoke unrevoke to batched push group changes
1 year ago
Audric Ackermann
4357f5cc1f
Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2
1 year ago
Audric Ackermann
8b7ce7f3be
Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2
1 year ago
Audric Ackermann
2c479eb8d5
fix: make fileserver request retry
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
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
1 year ago
Audric Ackermann
b259d18443
fix: add still broken promote handling with set_sig_keys
1 year 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