Audric Ackermann
027bd46ff7
fix: allow legacy config message during linking
...
We only handle handlethem after the new config message ones, so if there is a
shared config message on the network we will use it for the linking
process instead. The legacy one this commit is about is bound to be
removed completely and will only be used until our users have updated to
the new ones for some time.
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
51df7d80bb
chore: remove parcel completely and grunt
2 years ago
Audric Ackermann
8a0074d2bd
feat: add convo volatile info during migrations for each convo tracked
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
554b445a3e
feat: lookup for shared config message on link device
2 years ago
Audric Ackermann
0050352470
chore: move selected convo selectors to another file
2 years ago
Audric Ackermann
c3e9d503e4
fix: unread count and forced unread is synced
2 years ago
Audric Ackermann
c3a9d19882
chore: cleanup the lastMessage update logic
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
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
37e335097e
chore: remove unused bdecode logic as it is now in libsession util
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
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
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
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
90804491d6
feat: add job result enum with success, retry and permanent fail
2 years ago
Audric Ackermann
08a15b210a
feat: move avatar downloading to JobRunner
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
141c22ed43
tesat: add tests for the JobRunner class
2 years ago
Audric Ackermann
b3995c117b
feat: add a PersistedJobRunner which can handle SyncConfJobs
2 years ago
Audric Ackermann
2da2c95272
chore: cleanedup the stubbing 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
5627ab4583
finish the .set and toCppContact function
2 years ago
Audric Ackermann
ffe9e26d76
test: finish contact test but still missing the .set function
2 years ago
Audric Ackermann
a77aa610f8
finish contact test1, still need to fix the .set with a struct
2 years ago
Audric Ackermann
b4835f1636
fix: make libsession worker run from the renderer with key from settings
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
9749529e25
feat: add dependency to our libsession wrapper for nodejs
...
also add a basic test to make sure it works
2 years ago
Audric Ackermann
2a8d764bfb
fix tests
2 years ago