Audric Ackermann
|
d839ff936d
|
chore: resolve compilation errors
|
1 year ago |
Audric Ackermann
|
6d81f5ff36
|
Merge remote-tracking branch 'yougotwill/userconfig_disappearingmessage' into closed-group-chunk2
|
1 year ago |
Audric Ackermann
|
3a26285667
|
fix: make group control message not expire
|
1 year ago |
Audric Ackermann
|
e03c3ce1f3
|
test: fix unit tests
|
1 year ago |
Audric Ackermann
|
f6cd12d599
|
fix: use at least 2 hashes for the update_expiries too
until the storage server release is live we need this workaround
|
1 year ago |
Audric Ackermann
|
b61745fd94
|
fix: use DaR ttl for synced message store request
removing one request at a time
|
1 year ago |
Audric Ackermann
|
82c6f0897b
|
fix: add jobs for expiry update & expiry fetch
|
1 year ago |
Audric Ackermann
|
98fd834367
|
fix: already read DaR messages start with right time left on receive
|
1 year ago |
Audric Ackermann
|
19e9e0311e
|
feat: add cleanup of old expire update in history
we only keep one from each sender
|
1 year ago |
Audric Ackermann
|
543c80bbe3
|
fix: add most of new designs (own setting) for disappear v2 messages
|
1 year ago |
Audric Ackermann
|
ad9fa6dbee
|
chore: remove lastChangetimestmap and add explciit expiretype and type
on the messages creation
|
1 year ago |
Audric Ackermann
|
d1068983bb
|
fix: broken state adding lastDisappearingMessage to chatmsg
|
1 year ago |
Audric Ackermann
|
bbb376fc2a
|
fix: mark SharedConfigMessage as reserved
|
2 years ago |
Audric Ackermann
|
08c5f76a15
|
fix: store envelopetimestamp in cache, and make sure we use network one
everywhere
|
2 years ago |
Audric Ackermann
|
93d87d82ae
|
chore: renamed getnowwithnetworkoffset to now()
|
2 years ago |
Audric Ackermann
|
9595f09085
|
fix: add setadmin on promote accepts
also sign/verify group update messages
|
2 years ago |
Audric Ackermann
|
16e7ee1cd6
|
feat: make groupv2 messages skip cache
also add group members change
|
2 years ago |
Audric Ackermann
|
b8876ebbfe
|
feat: add subaccount auth
|
2 years ago |
Audric Ackermann
|
d7608c42b6
|
feat: add building and sending of invite messages
|
2 years ago |
Audric Ackermann
|
dbe94f2293
|
feat: added strings for groupv2 control message and components for them
|
2 years ago |
Audric Ackermann
|
c9b2d69a73
|
fix: remove all of the ConfiguratioMessage (legacy) logic
|
2 years ago |
Audric Ackermann
|
df3a188074
|
fix: address PR reviews
|
2 years ago |
William Grant
|
5d98ff6e8b
|
test: replace any with ConversationAttributes
on convo constructor args
|
2 years ago |
William Grant
|
04c3f69398
|
refactor: export functions from an object for stubbing
for disappearing messages index file
|
2 years ago |
Audric Ackermann
|
b0e38670ab
|
chore: rename all groupv3 to groupv2
|
2 years ago |
William Grant
|
8d36442dbf
|
refactor: rename ttl_max to content_message
this is more explicit
|
2 years ago |
William Grant
|
be8c3b042f
|
feat: added checkForExpiringOutgoingMessage
triggers timer for all outgoing messages. includes unit tests
|
2 years ago |
Audric Ackermann
|
84451399e3
|
Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk1
|
2 years ago |
William Grant
|
40014544d1
|
fix: closed group groupId is now PubKey only
|
2 years ago |
Audric Ackermann
|
2ee4cad33e
|
chore: move mocha config to .mocharc.yml to package.json is cleaner
|
2 years ago |
William Grant
|
ee38af12dd
|
test: restructed tests to match feature folder
|
2 years ago |
William Grant
|
5f3a0899f5
|
feat: moved remaining code into feature folder
also separated out legacy functions
|
2 years ago |
Audric Ackermann
|
ae67215a7e
|
test: finished tests for userSyncJob
|
2 years ago |
William Grant
|
0212166fcc
|
feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
|
2 years ago |
Audric Ackermann
|
9492fdc51e
|
fix: first working test ios to desktop
still have some tests to fix
|
2 years ago |
William Grant
|
286418976b
|
test: updated ChatMessage with disappearing tests
for both modes
|
2 years ago |
William Grant
|
06099966b0
|
fix: make sure to use convo getters
instead of backbone get function
|
2 years ago |
William Grant
|
d89741cb29
|
test: finished insertGroupsFromDBIntoWrapperAndRefresh
|
2 years ago |
William Grant
|
a2890925a5
|
test: fix groups wrapper values test
|
2 years ago |
William Grant
|
4b93c5779a
|
test: started libsession LegacyGroups tests
specifically insertGroupsFromDBIntoWrapperAndRefresh
|
2 years ago |
William Grant
|
bf690868f1
|
test: stub libsession workers in all places
instead of stub the set function
|
2 years ago |
William Grant
|
cc01da5a8a
|
fix: use generated pubkeys
in disappearing message tests
|
2 years ago |
William Grant
|
bb95aef2d0
|
test: finished libsession_wrapper_user_profile tests
|
2 years ago |
William Grant
|
edfcbe2d67
|
fix: dont use ourNumber in contacts tests
|
2 years ago |
Audric Ackermann
|
ceffa1e13b
|
test: add tests for pendingchangesforus
|
2 years ago |
William Grant
|
3330c64761
|
test: started insertContactFromDBIntoWrapperAndRefresh
|
2 years ago |
William Grant
|
36e114a662
|
test: throw when we want a defined result
this fixings the typings with test when look for props on objects
|
2 years ago |
Audric Ackermann
|
d134da3421
|
chore: renamed ConfigurationSyncJob to UserSyncJob
|
2 years ago |
William Grant
|
8d87779554
|
chore: remove unneeded stubWindowLog calls
|
2 years ago |
Audric Ackermann
|
eb77c50fa9
|
chore: renamed GroupConfigurationJob to GroupSyncJob
|
2 years ago |
William Grant
|
95852d8002
|
refactor: remove duplicate test
libsession_wrapper_test.ts
|
2 years ago |
William Grant
|
3f843aa72c
|
test: finished processGetExpiriesRequestResponse
|
2 years ago |
William Grant
|
2cd51cc187
|
test: finished buildGetExpiriesRequest
added TypedStub type
|
2 years ago |
William Grant
|
a00b016233
|
test: wip getExpiriesRequest Started
|
2 years ago |
Audric Ackermann
|
c14276200e
|
chore: merged what can be between user and group sync job
|
2 years ago |
William Grant
|
b9f1378133
|
test: finished processExpireRequestResponse
|
2 years ago |
William Grant
|
16aad0c748
|
test: started processExpireRequestResponse
|
2 years ago |
William Grant
|
1ce1924389
|
test: finished verifyExpireMsgsResponseSignature
|
2 years ago |
William Grant
|
f28bb66742
|
test: started expireRequest
added tests for buildExpireRequest
|
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
|
c4a9555ba8
|
test: added false case for isExpirationTimerUpdate
|
2 years ago |
William Grant
|
bde674cbac
|
test: finished isExpirationTimerUpdate
added generateFakeExpirationTimerUpdate for testing
|
2 years ago |
William Grant
|
bf5bcae4ac
|
refactor: rename generateDisappearingMessage
to generateDisappearingVisibleMessage
|
2 years ago |
William Grant
|
6941682173
|
test: started updateExpireTimer
|
2 years ago |
Audric Ackermann
|
0ef2df801e
|
test: speedup onion tests by stubbing retries timeout
|
2 years ago |
Audric Ackermann
|
51205424d6
|
test: add tests for GroupSyncJob
|
2 years ago |
William Grant
|
4971267c69
|
test: finished checkForExpireUpdateInContentMessage
|
2 years ago |
William Grant
|
a1797e73d4
|
fix: remove unneeded comment
|
2 years ago |
William Grant
|
b280358081
|
test: finished changeToDisappearingMessageType tests
the last commit was actually for changeToDisappearingConversationMode
|
2 years ago |
William Grant
|
769808bd5c
|
test: finished changeToDisappearingMessageType tests
|
2 years ago |
William Grant
|
a9d1abbfff
|
test: finished setExpirationStartTimestamp tests
|
2 years ago |
William Grant
|
3a930eb323
|
test: start setExpirationStartTimestamp
tested different modes
|
2 years ago |
William Grant
|
cc0ef3502f
|
feat: setup test outline for disappearing messages
|
2 years ago |
William Grant
|
34940adda9
|
feat: backported user_profile test
|
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 |
Audric Ackermann
|
e24ec9e1a8
|
test: added tests for metagroup members wrapper
|
2 years ago |
Audric Ackermann
|
cf44ea1da1
|
test: added tests for group info get/set
|
2 years ago |
Audric Ackermann
|
9cf5d4d7c5
|
test: add unit tests for encrypting/decryption groups messages
|
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
|
cc7e6f03db
|
test: add tests for swarmPolling of new groups 03
|
2 years ago |
Audric Ackermann
|
e69c5c4b35
|
chore: fixed unit tests
|
2 years ago |
Audric Ackermann
|
d12071f3c8
|
chore: big rename of convocontroller to convohub
|
2 years ago |
Audric Ackermann
|
e8e0e19b40
|
chore: added tests for SnodeSignatures calls
|
2 years ago |
Audric Ackermann
|
1dc5224c26
|
test: added unit tests for pubkeys constructor checks
|
2 years ago |
Audric Ackermann
|
e220aeea91
|
feat: add working encrypt/decrypt for 03 group with libsession
|
2 years ago |
Audric Ackermann
|
1a18054fae
|
feat: add bump of config hashes for groups when we have admin key
|
2 years ago |
Audric Ackermann
|
46e3675c45
|
feat: add function to redux to grab group detail outside of store
|
2 years ago |
Audric Ackermann
|
be50aa7a2e
|
feat: add support for retrieve signs with admin key of group
|
2 years ago |
Audric Ackermann
|
8c3b6508ad
|
fix: wip before removing info+members+keys from protobuf kinds
|
2 years ago |
Audric Ackermann
|
5b2580c48d
|
feat: add poller changes and closed group keypair gen
|
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
|
fe2d5ffe6d
|
test: fix remaining integration tests
"Check profile picture syncs" is not fixed yet as it need to be fully
updated and not just fixed (not done as part of this eslint-related PR)
|
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
|
83c7de8b88
|
test: fix test with feature flag userconfig off for now
|
2 years ago |
Audric Ackermann
|
77acd1396b
|
feat: add support for blinded25 receipt of messages for later impl
|
2 years ago |
Audric Ackermann
|
5d2d901aa0
|
Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage
|
2 years ago |
Audric Ackermann
|
3eb629e33e
|
fix: cleanup convo selectors to hope to improve performances
|
2 years ago |
Audric Ackermann
|
4637f4609a
|
Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage
|
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
|
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
|
44483b7d23
|
fix: use releaseFeature from disappearing message PR as featureFlag
|
2 years ago |
Audric Ackermann
|
6fe6544d6c
|
fix: split up migration of initial user config dumps into two
|
2 years ago |
Audric Ackermann
|
ce186517a3
|
chore: lint code
|
2 years ago |
William Grant
|
12087da2be
|
fix: repaired closed group disappearing messages
|
2 years ago |
Audric Ackermann
|
c2e3f1b587
|
chore: update libsession-util name & dependency
|
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
|
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
|
3ff7281b6a
|
chore: remove isGroup from the redux stored entry
as it is always = !isPrivate
|
2 years ago |
Audric Ackermann
|
f3975b545a
|
feat: use priority for hidden and pinned conversation
|
2 years ago |
Audric Ackermann
|
796ccf0582
|
feat: add handling and setting of the expireTimer for contacts
|
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
|
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 |
mdPlusPlus
|
1d6ed17ac7
|
Fix typos via codespell
|
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
|
bb0112c6c5
|
feat: increase max upload size to 10MB
|
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
|
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 |
William Grant
|
504f60cb97
|
fix: resolved missing reactions in open groups, fixed mutation cache logic
|
2 years ago |
Audric Ackermann
|
68852a9e63
|
chore: move syncUtils to its own folder
|
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
|
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 |