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
Audric Ackermann
51205424d6
test: add tests for GroupSyncJob
2 years ago
Audric Ackermann
6b3adff972
test: added a (still broken) test for key conflicts
2 years ago
Audric Ackermann
d12071f3c8
chore: big rename of convocontroller to convohub
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
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
bbedfd943c
fix: do not confirm keys once pushed, wait for poll event
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
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
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
2 years ago
Audric Ackermann
83a8adf033
fix: decrease retry timer of confsyncjob to 15s
...
- we need a rather long duration so we don't add a new job while was is
already planned to be runned, and they end up both running at the same
time.
- we also need a not too long duration for integration tests and UX
experience, as a change could take the retry timeout to happen+polling
timer to happen, which used to be 40s total.
This brings that time to worse time change from 40 to 25s
2 years ago
Audric Ackermann
524debb307
fix: improve delete messages perfs and search logic
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
0cbcecb508
fix: make avatar download job only take conversationId
...
and not the profileKey+url too as we need the db entry to be in sync
with the config wrapper data (otherwise the next commit would be made
with data out of date from the wrapper side)
2 years ago
Audric Ackermann
6676bf77f9
chore: fix unit tests for userconfig changes
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
bac2887c28
fix: update with latest libsession util
2 years ago
Audric Ackermann
44483b7d23
fix: use releaseFeature from disappearing message PR as featureFlag
2 years ago
Audric Ackermann
8edb1275c2
fix: keep updating dumps even if user config feature is off
2 years ago
Audric Ackermann
051c4bb262
fix: merge the confSyncDumpJob into the confSyncJob
2 years ago
Audric Ackermann
ce186517a3
chore: lint code
2 years ago
Audric Ackermann
0e286142f1
chore: add a redux settings slice, currently outdated banner inc
2 years ago
Audric Ackermann
cbffc29950
fix: run tests for libsession-util integration and fix issue
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
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
1dcee5bc93
feat: wait for confSyncJob to be done before deleting account
2 years ago
Audric Ackermann
c623e2e49e
fix: make the ConfSyncJob fetch be per destination
2 years ago
Audric Ackermann
c3e9d503e4
fix: unread count and forced unread is synced
2 years ago
Audric Ackermann
bf2456df8e
chore: do not store mentionedUs and unreadCount as attribute in convo
2 years ago
Audric Ackermann
2a5dc5f2a5
feat: add more compilation errors if forgetting to handle a wrapper type
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
Audric Ackermann
f88acdb567
feat: remove blocked group tracking separately from the pubkeys
2 years ago