Audric Ackermann
c14276200e
chore: merged what can be between user and group sync job
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
Audric Ackermann
51205424d6
test: add tests for GroupSyncJob
2 years ago
William Grant
101762918c
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
6b3adff972
test: added a (still broken) test for key conflicts
2 years ago
William Grant
f31e157c12
refactor: replaced get expireTimer calls
...
with getExpireTimer
2 years ago
William Grant
3ed041c4a5
feat: created getters on convo model
...
replaced all expirationMode calls
2 years ago
William Grant
250e3d0238
refactor: rename expirationType on convo to expirationMode
...
this means convo has expirationMode and messages have expirationType
2 years ago
Audric Ackermann
7c16ce9da4
fix: do not try to store contacts not matching pubkey regex in wrapper
...
also remove existing convo with spaces and 05 on start
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
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
William Grant
bb6eb3e84e
feat: fixed 1-1s and added more logging
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
deceae4119
feat: disappearing messages setting now sync correctly in user config
...
we also load the visible control message, added back a lot of WIP logging while we are testing
2 years ago
William Grant
37676e5666
fix: making progress with group migration
...
still getting overriden on render
2 years ago
William Grant
da588a1096
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
William Grant
22e9e6bb44
feat: started working on disappearing messages migration 34
...
note to self and private conversations are mvp, still some initial cleanup todo
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
84deed19f9
feat: add block msg requests from sogs
2 years ago
William Grant
a25d94fa6c
fix: moved disappearing messages migration to a separate file
...
updated note to self function calls in the user config wrapper
2 years ago
William Grant
ff27913b66
fix: migration started and working for note to self for user config
...
updated libsession to use setExpiry and getExpiry since we can't add new arguments to the getUserInfo and setUserInfo
2 years ago
William Grant
d794b0a0d4
fix: comment out user config disappearing messages stuff for now
2 years ago
William Grant
5762342e03
fix: spaces on fixme comments
2 years ago
William Grant
41af1e7865
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
d43d6abbae
chore: replace tslint with eslint and fix linting issues
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
4280d83ba8
fix: bump libsession to allow createdAt to be given during migration
2 years ago
Audric Ackermann
0e18bf4640
fix: disable expire timer tracking for all libsession logic
...
this will need to be turned on when the disappearing branch is merged
2 years ago
Audric Ackermann
3eb629e33e
fix: cleanup convo selectors to hope to improve performances
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
50459d8da8
chore: remove completely commented test files related to groupv3
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
328c131d8b
chore: cleanup commented caching code of some wrappers
2 years ago
Audric Ackermann
051c4bb262
fix: merge the confSyncDumpJob into the confSyncJob
2 years ago
Audric Ackermann
6fe6544d6c
fix: split up migration of initial user config dumps into two
2 years ago
Audric Ackermann
e263b701b0
chore: fetch latest archive from libsession nodejs git repo
2 years ago
Audric Ackermann
9d87ca2546
fix: test with libsession compiled with node-api
2 years ago
Audric Ackermann
cbffc29950
fix: run tests for libsession-util integration and fix issue
2 years ago
Audric Ackermann
c2e3f1b587
chore: update libsession-util name & dependency
2 years ago
Audric Ackermann
55a2767fce
feat: do not approve a convo before sending the first message
...
but still sync it's state through the createdAt with libsession util
2 years ago
Audric Ackermann
faeb95fefd
feat: add block/decline logic to msg request & wrapper
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
b843d66084
feat: add the lastJoined and createdAt timestamp from wrapper logic
2 years ago
Audric Ackermann
51e4f1dd48
feat: UI, use group info from wrapper if we have them or from DB
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
8a0074d2bd
feat: add convo volatile info during migrations for each convo tracked
2 years ago
Audric Ackermann
c623e2e49e
fix: make the ConfSyncJob fetch be per destination
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
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
b2237efe51
feat: insert all contacts into wrapper before syncing it
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
f215535f75
fix: set and get profile picture from libsession
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
4bfcf91193
fix: add return types for libsession wrapper functions
2 years ago
Audric Ackermann
d1cefd4729
feat: add contacts & user profile handling of incoming messages
2 years ago