Commit Graph

660 Commits (c8b7d67c866988305e6e9d2315dac426f53aae9d)

Author SHA1 Message Date
yougotwill c8b7d67c86 Merge branch 'unstable' into feat/ses-825/onboarding2 1 year ago
Audric Ackermann 45eb547299 Merge remote-tracking branch 'origin/clearnet' into unstable 1 year ago
Audric Ackermann 2357368ddf feat: fetch snode storage version and filter for edge snode 1 year ago
yougotwill 4a3adaa5e4 fix: aded simple test for sessioninput
made note to migratie to storybook in the future
1 year ago
yougotwill 362e360f40 fix: replace chai with react-test-renderer for unit testing components
rewrite avatar placeholder test
1 year ago
William Grant b08c4592c2 feat: added error boundary to component rendering in unit tests, resolve issues SVGElement in JSDOM 1 year ago
William Grant e05d3a6874 fix: formatting fixes
use profile manager name validation in CreateAccount component
1 year ago
William Grant 301af68eee fix: single line linux target in package json
otherwise appimages fail to build
1 year ago
William Grant b219a8526e fix: suggest window log stubbing if it's not working when printing render or html elements 1 year ago
William Grant da64ee746c fix: dont export react testing library from renderComponent
prefer to import it explcitly when needed
1 year ago
William Grant 01667083cd fix: there is already a unit test for initials 1 year 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
1 year ago
William Grant 91d1229023 feat: made good progress on avatar place holder unit test
feat added stubCrypto function
1 year ago
William Grant 121d968ad3 feat: add component name support to printing functions
use prettyDom function for formatting instead of prettier directly
1 year ago
William Grant 7d4b96145d feat: added print functions for react render results and html elements
used for unit testing
1 year ago
William Grant b13e907753 fix: resolve cyclic imports in avatarplaceholder
bt moving types from data module identitykey, guardnode, snode, swarmnode to a separate file
1 year ago
William Grant 1d5c2de531 feat: added custom render function for react testing library
so we can load our own providers
1 year ago
William Grant 192cbd268e feat: added react testing library and chai dom
setup inital work for unit testing avatar placeholder bg color generation
1 year ago
William Grant 6c93639c4b fix: turn off enableLogRedirect 2 years 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
2 years ago
William Grant d64623311f fix: remove registration test
we dont do redux based unit testing at this time
2 years ago
William Grant e727851fdc test: finished signInByLinkingDevice 2 years ago
William Grant e97ca2c7f3 test: validity check for signInByLinkedDevice done
made stubs for window whisper and storage
2 years ago
William Grant 7e6fb22907 test: registerSingleDevice
started on signInByLinkingDevice
2 years ago
William Grant ba0a10960b test: sanitizeSessionUsername
which is the core function of sanitizeDisplayNameOrToast in onboarding
2 years ago
William Grant 238713e907 test: displayNameIsValid 2 years ago
William Grant d06a294aaa feat: added stubbing for window.i18n 2 years ago
William Grant 592b7ec1fd fix: rename Registration_test to Onboarding_test 2 years ago
William Grant 006193faa2 feat: setup what tests need to be done with TODOs 2 years ago
Audric Ackermann 53059135ee fix: tsc does not overwrite workers compiled content 2 years ago
Audric Ackermann 3a26285667 fix: make group control message not expire 2 years ago
Audric Ackermann e03c3ce1f3 test: fix unit tests 2 years 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
2 years ago
Audric Ackermann b61745fd94 fix: use DaR ttl for synced message store request
removing one request at a time
2 years ago
Audric Ackermann 82c6f0897b fix: add jobs for expiry update & expiry fetch 2 years ago
Audric Ackermann 98fd834367 fix: already read DaR messages start with right time left on receive 2 years ago
Audric Ackermann 19e9e0311e feat: add cleanup of old expire update in history
we only keep one from each sender
2 years ago
Audric Ackermann 543c80bbe3 fix: add most of new designs (own setting) for disappear v2 messages 2 years ago
Audric Ackermann ad9fa6dbee chore: remove lastChangetimestmap and add explciit expiretype and type
on the messages creation
2 years ago
Audric Ackermann d1068983bb fix: broken state adding lastDisappearingMessage to chatmsg 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
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
William Grant 40014544d1 fix: closed group groupId is now PubKey only 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
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
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