Commit Graph

678 Commits (f9fb345599161bdcc7d072e59c469500264d0ec9)

Author SHA1 Message Date
Ryan Miller f9fb345599 feat: window i18n types and docs with safe setup and fallbacks 8 months ago
Ryan Miller 4ffa754802 feat: locale as args for modals and localized formatted html strings 8 months ago
Audric Ackermann af28c97cfd Merge remote-tracking branch 'upstream/unstable' into standardised_strings 8 months ago
Audric Ackermann b48bfef58d fix: toast strings are stripped as we don't render html there 8 months ago
Audric Ackermann 40e6cfd14d
fix: fs needs headers not body 8 months ago
Audric Ackermann cd3dccea02 fix: use date-fns for abbreviated expire timer 8 months ago
Audric Ackermann 4f44eecd6b fix: update with latest changes from crowdin
not compiling yet
8 months ago
Audric Ackermann d152ce946b Merge remote-tracking branch 'upstream/unstable' into standardised_strings 8 months ago
Audric Ackermann f736b55f58 fix: fix unit tests 8 months ago
Ryan Miller 005efc8952 Merge branch 'unstable' into standardised_strings_merge
# Conflicts:
#	.gitignore
#	_locales/en/messages.json
#	ts/components/DebugLogView.tsx
#	ts/components/SessionWrapperModal.tsx
#	ts/components/basic/SessionHTMLRenderer.tsx
#	ts/components/basic/SessionRadio.tsx
#	ts/components/buttons/MenuButton.tsx
#	ts/components/conversation/SessionConversation.tsx
#	ts/components/conversation/SubtleNotification.tsx
#	ts/components/conversation/TimerNotification.tsx
#	ts/components/conversation/composition/CompositionBox.tsx
#	ts/components/conversation/message/message-content/MessageText.tsx
#	ts/components/conversation/message/message-item/InteractionNotification.tsx
#	ts/components/conversation/message/reactions/ReactionPopup.tsx
#	ts/components/conversation/right-panel/overlay/OverlayRightPanelSettings.tsx
#	ts/components/conversation/right-panel/overlay/disappearing-messages/DisappearingModes.tsx
#	ts/components/conversation/right-panel/overlay/disappearing-messages/OverlayDisappearingMessages.tsx
#	ts/components/dialog/BanOrUnbanUserDialog.tsx
#	ts/components/dialog/DeleteAccountModal.tsx
#	ts/components/dialog/EditProfileDialog.tsx
#	ts/components/dialog/ModeratorsAddDialog.tsx
#	ts/components/dialog/OnionStatusPathDialog.tsx
#	ts/components/dialog/ReactListModal.tsx
#	ts/components/dialog/SessionSeedModal.tsx
#	ts/components/dialog/SessionSetPasswordDialog.tsx
#	ts/components/dialog/UserDetailsDialog.tsx
#	ts/components/leftpane/LeftPaneSectionHeader.tsx
#	ts/components/leftpane/LeftPaneSettingSection.tsx
#	ts/components/leftpane/conversation-list-item/InteractionItem.tsx
#	ts/components/leftpane/overlay/OverlayClosedGroup.tsx
#	ts/components/leftpane/overlay/OverlayCommunity.tsx
#	ts/components/leftpane/overlay/OverlayMessage.tsx
#	ts/components/leftpane/overlay/SessionJoinableDefaultRooms.tsx
#	ts/components/leftpane/overlay/choose-action/ContactsListWithBreaks.tsx
#	ts/components/leftpane/overlay/choose-action/OverlayChooseAction.tsx
#	ts/components/menu/Menu.tsx
#	ts/components/registration/RegistrationStages.tsx
#	ts/components/registration/RegistrationUserDetails.tsx
#	ts/components/registration/SignInTab.tsx
#	ts/components/registration/SignUpTab.tsx
#	ts/components/settings/SessionSettings.tsx
#	ts/components/settings/SessionSettingsHeader.tsx
#	ts/components/settings/ZoomingSessionSlider.tsx
#	ts/components/settings/section/CategoryAppearance.tsx
#	ts/components/settings/section/CategoryHelp.tsx
#	ts/components/settings/section/CategoryPermissions.tsx
#	ts/components/settings/section/CategoryPrivacy.tsx
#	ts/hooks/useParamSelector.ts
#	ts/mains/main_renderer.tsx
#	ts/models/message.ts
#	ts/node/menu.ts
#	ts/node/tray_icon.ts
#	ts/session/constants.ts
#	ts/session/disappearing_messages/timerOptions.ts
#	ts/session/utils/Toast.tsx
#	ts/state/selectors/search.ts
#	ts/test/session/unit/selectors/conversations_test.ts
#	ts/types/LocalizerKeys.ts
#	ts/types/Util.ts
#	ts/window.d.ts
#	yarn.lock
9 months ago
Ryan Miller 79f3f35977 feat: update strings usages and library 9 months ago
yougotwill 940feafece fix: remove stubstorage 9 months ago
Audric Ackermann 46ce00e46e fix: failing tests making requests to real servers :bad: 9 months ago
yougotwill ad7798dd4d fix: remove uneeded cleanup() calls in component unit tests 9 months ago
yougotwill 3bd0f2e9cc fix: guard node test import order 9 months ago
yougotwill 87b922daff fix: ran formatter 9 months ago
yougotwill 39d8ad11e5 fix: a whole bunch of circular depdencies
for various convo duck, convo interactions, convo model and opengroup types
9 months ago
yougotwill c8b7d67c86 Merge branch 'unstable' into feat/ses-825/onboarding2 9 months ago
Audric Ackermann 45eb547299 Merge remote-tracking branch 'origin/clearnet' into unstable 9 months ago
Audric Ackermann 2357368ddf feat: fetch snode storage version and filter for edge snode 9 months ago
yougotwill 4a3adaa5e4 fix: aded simple test for sessioninput
made note to migratie to storybook in the future
9 months ago
yougotwill 362e360f40 fix: replace chai with react-test-renderer for unit testing components
rewrite avatar placeholder test
9 months ago
William Grant b08c4592c2 feat: added error boundary to component rendering in unit tests, resolve issues SVGElement in JSDOM 9 months ago
William Grant e05d3a6874 fix: formatting fixes
use profile manager name validation in CreateAccount component
9 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
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
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
11 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 53059135ee fix: tsc does not overwrite workers compiled content 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