Commit Graph

47 Commits (a44dc50d410a284d9ebe28c56d6a643019d147e2)

Author SHA1 Message Date
Audric Ackermann e5724da28c
chore: fixed a bunch of compilation errors after merge
commit before fetching latest strings from crowdin
Audric Ackermann 7d6953812d
Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk3
Audric Ackermann 7611f07b09
chore: address PR 184 reviews
Audric Ackermann 2a1d969fa5
fix: delete account failed modal strings
Audric Ackermann 95476fba2f feat: move openUrl modal to its own as maxHeight is linked to url len
Audric Ackermann 4f44eecd6b fix: update with latest changes from crowdin
not compiling yet
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
William Grant cebe7c884d feat: move db deletion methods to accountManager
William Grant c20bda442e fix: improved global window types for persistStore and inboxStore
we now await the persist store purge in deleteDbLocally
Audric Ackermann 6e137fe69f Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk3
William Grant d4a8b555c6 Merge branch 'unstable' into feat/ses-825/onboarding2
Audric Ackermann 7f7f0fe26c fix: clear swarms from snodes not in pool on full fetch
William Grant 0f6d80b847 Merge branch 'unstable' into feat/ses-50/onboarding
Audric Ackermann ca597d31fd fix: address PR reviews
Audric Ackermann cfcbc013e5 fix: make sure we only try to delete data once
Ryan Miller 5f53b3fe8f feat: replace and add changed and new localized strings
Audric Ackermann 5867c5af7f fix: added type for all accessibility ids with react.d.ts
William Grant 3250a2819f feat: moved spinners into new loading folder
converted session-loader sass to styled components
William Grant a098638bc0 refactor: remove unnecessary react imports
you don't need it from react 17
Audric Ackermann 5f0888d144 fix: make sure all dialog "cancel" cancel the dialog
William Grant cafa9d80ec fix: remove all unneeded tslint comments
fixed some eslint errors
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage
William Grant 778f575bb6 fix: pass yarn ready
William Grant 4c64997607 fix: log but continue if there are errors while clearing out sogs inboxes
William Grant 462f96341e fix: iterate allRoominfos map correctly
testing complete
William Grant 19025cd7e0 feat: abstracted getAllValidOpenGroupV2ConversationRoomInfos function and handled the response correctly
just need to do testing
William Grant db00ed8827 feat: added delete option to inbox request in sogs, linked with delete account modal
still needs testing and handling the response see TODO CONTINUE
Audric Ackermann 68852a9e63 chore: move syncUtils to its own folder
Audric Ackermann d7bcf1026f fix: refactor snodeRPC to use snode batching
William Grant b3885bf9d9 Merge branch 'clearnet' into theming
Link previews are broken for now
William Grant 5ab28bb60e refactor: rename SessionButton2 to SessionButton and remove old version
William Grant 1bb5c9752e feat: updated all modal buttons
William Grant 9876e8824c feat: settings page now uses new session button
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver ()
* 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
Audric Ackermann ff43cfa593 move worker_interface and logs and i18n to TS
Audric Ackermann 449751a891
remove some refs to Signal.Data in ts
Audric Ackermann e1f2393c3a
cleanup translated strings
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder ()
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes 
Audric Ackermann 651b1c4376
Fetch translations ()
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety

* add type for i18n to run update after crowdin  fetch with tools/updateI18nKeysType.py

* update to latest translations
Audric Ackermann ab75f945ff
Ask confirm before delete account ()
* disable sending on enter while composing

Fixes  

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen
Audric Ackermann 25453ee807
Speedup body update composition box ()
* disable sending on enter while composing

Fixes  

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing
Warrick Corfe-Tan b0a8c6c3eb wip: adding recovery phrase prompt.
audric 426f2000b8 fixup delete all and handle errors
audric 61b48dd06b move delete_all api call to snodeAPI.ts
audric 9991dc2364 move delete account logic to it's own dialog