William Grant
a37c8eaf13
fix: merge now returns good hashes
...
we calc the latestEnvelopeTimestamp and use for disappearAfterRead
2 years ago
Audric Ackermann
df3a188074
fix: address PR reviews
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
ef50a9f7a5
fix: remove unneeded Boolean cast
2 years ago
William Grant
73cceab31f
refactor: getDisappearingUnreadByConversation
...
to getUnreadDisappearingByConversation since reading causes disappearing
2 years ago
Audric Ackermann
d134da3421
chore: renamed ConfigurationSyncJob to UserSyncJob
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
12a29f718a
feat: updateExpireTimer arg shouldCommitMessage
...
when testing we dont want to commit the timer update message
2 years ago
William Grant
27a634b268
feat: updateExpireTimer now returns success
...
we use this to decide on commiting updates from sync messages to the db
2 years ago
William Grant
674cda3278
fix: sync legacy mode in single mode before V2
...
for NTS and closed groups we want to set the expirationMode to legacy
2 years ago
William Grant
777584945d
refactor: replaced get expireTimer calls
...
with getExpireTimer
2 years ago
William Grant
ebaedb2e4c
feat: created getters in message model
...
replaced all expirationType calls with getExpirationType
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
38a8012e10
refactor: providedexpirationtype to provideddisappearingmode
2 years ago
William Grant
515805b94d
fix: messages are no longer randomly deleted
...
forgot to expire only unread disappearing messages and not all messages
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
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
Audric Ackermann
e220aeea91
feat: add working encrypt/decrypt for 03 group with libsession
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
William Grant
f045562a33
fix: use updateExpireTimer for UserProfile
...
before we were setting the convo values directly
2 years ago
William Grant
c33eef0162
fix: sync messages now expire in 1on1s
...
fromConfig has been removed from updateExpireTimer
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
William Grant
50f144a8c3
fix: improved logging
...
made some progress with fixing things but other things broke
2 years ago
Audric Ackermann
90f4dd761c
feat: add meta merge and update of name+members
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
William Grant
d923a0d611
feat: closed groups state now starts correctly
2 years ago
Audric Ackermann
db98cc2812
feat: able to create a broken closedgroup v3
2 years ago
William Grant
b1bbcd1a38
fix: cleanup legacy groups
2 years ago
William Grant
b14d05e0b2
feat: fix missing update for private conversations
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
cc63887273
fix: remove final instances of legacy type not in UI
...
fixed closed groups being deleteAfterSend incorrectly
2 years ago
William Grant
37676e5666
fix: making progress with group migration
...
still getting overriden on render
2 years ago
William Grant
43276b069e
Merge branch 'unstable' into userconfig_disappearingmessage
2 years ago
Audric Ackermann
84deed19f9
feat: add block msg requests from sogs
2 years ago
William Grant
d794b0a0d4
fix: comment out user config disappearing messages stuff for now
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
Audric Ackermann
5d2d901aa0
Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage
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
0fa58a5654
chore: fix compilation issues after conflicts resolution
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
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)
3 years ago
Audric Ackermann
6676bf77f9
chore: fix unit tests for userconfig changes
3 years ago
Audric Ackermann
6ac4dd8db5
fix: linking allows legacy config message if one is found
3 years ago
Audric Ackermann
4d0e79f195
fix: legacy group with wrapper and disable right click while searching
3 years ago
Audric Ackermann
2a4bbbd587
feat: add the deleteContact and deleteConversation only menu items
3 years ago
Audric Ackermann
760ce5caa5
fix: add the maxSizeMap to have priority per retrieve namespaces
3 years ago
Audric Ackermann
6f6620f622
fix: skip new group messages when receved after group was removed
3 years ago
Audric Ackermann
bac2887c28
fix: update with latest libsession util
3 years ago
Audric Ackermann
318a77be4b
fix: mark messages sent before our lastreadts from the wrapper as read
3 years ago
Audric Ackermann
44483b7d23
fix: use releaseFeature from disappearing message PR as featureFlag
3 years ago
Audric Ackermann
8edb1275c2
fix: keep updating dumps even if user config feature is off
3 years ago
Audric Ackermann
ce186517a3
chore: lint code
3 years ago
Audric Ackermann
0e286142f1
chore: add a redux settings slice, currently outdated banner inc
3 years ago
Audric Ackermann
0080254286
fix: add NoticeBanner showing when legacy config message received
3 years ago
Audric Ackermann
cbffc29950
fix: run tests for libsession-util integration and fix issue
3 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
3 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
3 years ago
Audric Ackermann
760642e149
feat: use the lastJoinedAt and createdAt from the wrapper
3 years ago
Audric Ackermann
b843d66084
feat: add the lastJoined and createdAt timestamp from wrapper logic
3 years ago
Audric Ackermann
f3975b545a
feat: use priority for hidden and pinned conversation
3 years ago
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.
3 years ago
Audric Ackermann
fe5eea4c8d
chore: fix critical yarn audit issues
3 years ago
Audric Ackermann
796ccf0582
feat: add handling and setting of the expireTimer for contacts
3 years ago
Audric Ackermann
554b445a3e
feat: lookup for shared config message on link device
3 years ago
Audric Ackermann
0050352470
chore: move selected convo selectors to another file
3 years ago
Audric Ackermann
c3e9d503e4
fix: unread count and forced unread is synced
3 years ago
Audric Ackermann
1c50aacc34
chore: remove groupModerators sogs from the db, store in redux only
3 years ago
Audric Ackermann
bf2456df8e
chore: do not store mentionedUs and unreadCount as attribute in convo
3 years ago
Audric Ackermann
21d8151b8b
feat: add convo volatile info mgmt
3 years ago
Audric Ackermann
c4e17d0825
fix: add mgmt of members in user groups wrapper
3 years ago
Audric Ackermann
bc905bdba1
feat: start of community handling in libsession util
...
also remove tracking of hashes for config namespaces
3 years ago
Audric Ackermann
3c58f9c1e4
feat: add a hidden flag for convos and use it with the contactswrapper
3 years ago
Audric Ackermann
c4217cb564
feat: sync nickname, blocked and approved status for contacts
3 years ago
Audric Ackermann
f88acdb567
feat: remove blocked group tracking separately from the pubkeys
3 years ago
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
3 years ago
Audric Ackermann
b2237efe51
feat: insert all contacts into wrapper before syncing it
3 years ago
Audric Ackermann
f215535f75
fix: set and get profile picture from libsession
3 years ago
Audric Ackermann
6bbb16b46d
feat: track and delete configMessageHashes
3 years ago
Audric Ackermann
7c56310e69
feat: addConfSyncJob start
3 years ago
Audric Ackermann
4bfcf91193
fix: add return types for libsession wrapper functions
3 years ago
Audric Ackermann
08a15b210a
feat: move avatar downloading to JobRunner
3 years ago
Audric Ackermann
9cf1419ca5
feat: add first try to build SharedConfigMessages
3 years ago
Audric Ackermann
d1cefd4729
feat: add contacts & user profile handling of incoming messages
3 years ago
Audric Ackermann
0f58e11a17
chore: update with latest libsession wrapper
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
00d70db0be
queue user profile avatars update
...
also add some tests for the promise utils
4 years ago
Audric Ackermann
6bd835dfc3
move storage.js to ts
4 years ago
Audric Ackermann
602a287263
join closed groups from config only on the first config message
4 years ago