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
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
William Grant
41af1e7865
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
ab946e69b1
fix: finish updating dependencies
2 years ago
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
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
cfcf400ecf
fix: cleaned up WIP logging and used the window log debug function where appropriate
2 years ago
William Grant
1d6f200d50
fix: pass yarn ready
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
760642e149
feat: use the lastJoinedAt and createdAt from the wrapper
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
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
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
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
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
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
2 years ago
Audric Ackermann
fddfc8c501
fix: hide v3 closed group protobuf messages for now
2 years ago
Audric Ackermann
4b97f14edf
fix: added batch requests for snode but signature fails
2 years ago
Audric Ackermann
d7bcf1026f
fix: refactor snodeRPC to use snode batching
2 years ago
Audric Ackermann
ae51b0cd96
fix: include auth sogs headers everywhere
3 years ago
Audric Ackermann
26290ffd8b
fix: mark attachment as failure if we get a 404
3 years ago
Audric Ackermann
e62c1599a5
Merge branch 'clearnet' into feat-move-attachments-outside-messagebox
3 years ago
Audric Ackermann
ad04faca6f
fix: increment bad snode if we timeout of guard node
3 years ago
Audric Ackermann
81fa09b8ee
Merge branch 'menu-redesign' into settings-redesign
3 years ago
Audric Ackermann
f87d902c98
fix: PR Reviews
3 years ago
Audric Ackermann
cfbb58aa7f
fix: remove logs of HF 19.0 and 19.1 values
3 years ago
Audric Ackermann
970e719229
chore: move session radio group to styled components
...
also clean up unused css
and move some elements from OverlayClosedGroup to styled components
3 years ago
Audric Ackermann
e6cd277bd2
fix: allow non admin mods to delete message for deletion
3 years ago
Audric Ackermann
242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver ( #2347 )
...
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
3 years ago
Audric Ackermann
6c05ff3c07
move useTestNet to featureFlag dependent on ENV variables
3 years ago
Audric Ackermann
9bd8b73a0c
fix testnet
3 years ago
Audric Ackermann
d948045e6a
added hf switching of poll&store requests + tests
3 years ago
Audric Ackermann
363977b358
add polling from namespace 0 and storing lastHash with namespace
3 years ago
Audric Ackermann
50ca1bcda9
added namespace field and signature using it for our own 'retrieve'
3 years ago
Audric Ackermann
0ebc1d7e92
split attachmnent logic between what is used on main and renderer
3 years ago
Audric Ackermann
9f8920ef2c
mostly working but need to improve perfs
3 years ago
Audric Ackermann
6e8e8eaa9a
move errors.js to ts
3 years ago
Audric Ackermann
3fed22048b
rename a few loki to session
3 years ago
Audric Ackermann
b72b8e8387
fix tests
3 years ago
Audric Ackermann
5afbd9c19e
cleanup creation of opengroup message on sync
3 years ago
Audric Ackermann
5e314e4dcc
remove 'recipients' message field and 'destination'
...
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey
we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
3 years ago
Audric Ackermann
28c7445dce
refactor most of the components to outside of their Session folder ( #2072 )
...
* refactor most of the components to outside of their Session folder
* finish moving overlay and memberListItem to react hook
* fix bug with kicked member len >2 not being displayed
also sort admins first in UpdateGroupMembers dialog
* fix admin leaving text of groupNotification
* add a useFocusMount hook to focus input fields on mount
* make click avatar convo item open only user dialog
* cleanup config default.json
* make sure to use convoController to build sync message
* disable showing pubkey on opengroups
* add a pause on audio playback
Fixes #2079
3 years ago