Audric Ackermann
|
59a4048323
|
fix: cleaned up SnodeRequestTypes and made sup_keys a single item
|
11 months ago |
Audric Ackermann
|
816f29d682
|
chore: moved outgoing message wrapper functions to MessagWrapper.ts
|
11 months ago |
Audric Ackermann
|
cd122c7252
|
fix: make pushChangesToGroupSwarm take an extraStoreRequest
|
11 months ago |
William Grant
|
301af68eee
|
fix: single line linux target in package json
otherwise appimages fail to build
|
11 months ago |
William Grant
|
b219a8526e
|
fix: suggest window log stubbing if it's not working when printing render or html elements
|
11 months ago |
William Grant
|
da64ee746c
|
fix: dont export react testing library from renderComponent
prefer to import it explcitly when needed
|
11 months ago |
Audric Ackermann
|
9d9844aeb4
|
feat: make group v2 control messages disappear
|
11 months ago |
William Grant
|
01667083cd
|
fix: there is already a unit test for initials
|
11 months ago |
William Grant
|
bc5615e880
|
feat: test for correct background color order is done
use libsodium for hash so we can unit test, remove crypto stub
|
11 months ago |
Audric Ackermann
|
1796e82bcb
|
fix: add handling of revoked namespace messages
|
11 months ago |
William Grant
|
91d1229023
|
feat: made good progress on avatar place holder unit test
feat added stubCrypto function
|
11 months ago |
William Grant
|
121d968ad3
|
feat: add component name support to printing functions
use prettyDom function for formatting instead of prettier directly
|
11 months ago |
William Grant
|
7d4b96145d
|
feat: added print functions for react render results and html elements
used for unit testing
|
11 months ago |
William Grant
|
b13e907753
|
fix: resolve cyclic imports in avatarplaceholder
bt moving types from data module identitykey, guardnode, snode, swarmnode to a separate file
|
11 months ago |
William Grant
|
1d5c2de531
|
feat: added custom render function for react testing library
so we can load our own providers
|
11 months ago |
William Grant
|
192cbd268e
|
feat: added react testing library and chai dom
setup inital work for unit testing avatar placeholder bg color generation
|
12 months ago |
William Grant
|
6c93639c4b
|
fix: turn off enableLogRedirect
|
1 year ago |
William Grant
|
1a114825b3
|
fix: remove pollOnceForOurDisplayName test
saved work in a branch but we need to use workers in unit tests before its work testing
|
1 year ago |
William Grant
|
d64623311f
|
fix: remove registration test
we dont do redux based unit testing at this time
|
1 year ago |
William Grant
|
e727851fdc
|
test: finished signInByLinkingDevice
|
1 year ago |
William Grant
|
e97ca2c7f3
|
test: validity check for signInByLinkedDevice done
made stubs for window whisper and storage
|
1 year ago |
William Grant
|
7e6fb22907
|
test: registerSingleDevice
started on signInByLinkingDevice
|
1 year ago |
William Grant
|
ba0a10960b
|
test: sanitizeSessionUsername
which is the core function of sanitizeDisplayNameOrToast in onboarding
|
1 year ago |
William Grant
|
238713e907
|
test: displayNameIsValid
|
1 year ago |
William Grant
|
d06a294aaa
|
feat: added stubbing for window.i18n
|
1 year ago |
William Grant
|
592b7ec1fd
|
fix: rename Registration_test to Onboarding_test
|
1 year ago |
William Grant
|
006193faa2
|
feat: setup what tests need to be done with TODOs
|
1 year ago |
Ryan Miller
|
5f53b3fe8f
|
feat: replace and add changed and new localized strings
|
1 year ago |
Audric Ackermann
|
3b8fd82d17
|
feat: add multiencrypt/decrypt unit test
|
1 year ago |
Audric Ackermann
|
d4f3c7fdc1
|
feat: add ability to unsend messages in groupv2
|
1 year ago |
Audric Ackermann
|
53059135ee
|
fix: tsc does not overwrite workers compiled content
|
1 year ago |
Audric Ackermann
|
74f36c8f56
|
test: fix unit test with rekey explicit needed
|
1 year ago |
Audric Ackermann
|
a83e44e183
|
chore: rename onion requests not having retries
|
1 year ago |
Audric Ackermann
|
665f6df57e
|
test: add test ofr SnodeAPI.buildRetrieveRequests
|
1 year ago |
Audric Ackermann
|
a53299377a
|
chore: fix unit tests with group chunk2
|
1 year ago |
Audric Ackermann
|
f6bffc8bb6
|
feat: add suppport in groupv2 of disappear v2 messages
|
1 year ago |
Audric Ackermann
|
5509dc74c5
|
refactor: move subrequests to classes and fix updateMessages
|
1 year ago |
Audric Ackermann
|
6094e725fb
|
chore: move getExpiries request to class
|
1 year ago |
Audric Ackermann
|
4e8ca31c2f
|
fix: remove isLeft flag as we can't have a left and unremoved group
|
1 year ago |
Audric Ackermann
|
0be10d1256
|
fix: move revoke unrevoke to batched push group changes
|
1 year ago |
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
|
1 year ago |
Audric Ackermann
|
08c5f76a15
|
fix: store envelopetimestamp in cache, and make sure we use network one
everywhere
|
1 year ago |
Audric Ackermann
|
93d87d82ae
|
chore: renamed getnowwithnetworkoffset to now()
|
1 year ago |
Audric Ackermann
|
9595f09085
|
fix: add setadmin on promote accepts
also sign/verify group update messages
|
1 year ago |
Audric Ackermann
|
16e7ee1cd6
|
feat: make groupv2 messages skip cache
also add group members change
|
1 year 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 |