Commit Graph

3697 Commits (89e2115f95e00cdf9f1719b7e3e9383390cb14b5)

Author SHA1 Message Date
yougotwill e7fe246def fix: align recovery password shield on settings page 9 months ago
yougotwill 43f35daac4 fix: update settings icons and correct alignment 9 months ago
yougotwill 5cad5a53f3 fix: have a too many words error when decoding a recovery passwrd 9 months ago
yougotwill e60d8c36a0 Merge branch 'unstable' into fix/ses-2426/block_contacts_height 9 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 e2952322ba feat: add custom tags for i18n 9 months ago
yougotwill be7425278c Merge branch 'fix/ses-2500/qr_lightbox_exit' into fix/ses-825/qa1 9 months ago
yougotwill 7f2660e615 fix: return to qr view on profile modal when exiting the lightbox 9 months ago
Audric Ackermann 0437390922 fix: show msg request description using libsession state and not msgs 9 months ago
yougotwill f12eef4a51 fix: adjust about window style 9 months ago
yougotwill 6c291e38c4 fix: disable attachments and voice messages and warn a user when starting a new convo
even if they haven't sent a message request yet
9 months ago
yougotwill 4478ee160d feat: stop polling if restoring and we push the back button 9 months ago
yougotwill fd7d6e322b fix: recovery qr toggle shortcut 9 months ago
yougotwill 8796355ce3 feat: on settings screen if we press escape go back to the messages view 9 months ago
yougotwill be86e0b439 fix: search input clears on escape when focused 9 months ago
yougotwill f00e21dc44 feat: unknown section now includes display names that start with numbers 9 months ago
yougotwill 462e3b2ff3 fix: message results now match contact row dimensions 9 months ago
yougotwill 242a4ae52f feat: contact names starting with a number go into the unknown section 9 months ago
yougotwill 87f050ae55 fix: no letter headings in search results conversations and adjusted height 9 months ago
yougotwill f5c396ee0a fix: made group members list match contacts list style on create group page 9 months ago
yougotwill d210b5c354 fix: adjust contacts list to match design
no borders and smaller breaks
9 months ago
yougotwill f5951f911f fix: show note to self and outgoing message requests in contact list 9 months ago
yougotwill 8260f0481b fix: session input with textarea now centers content correctly 9 months ago
yougotwill d52461aecc fix: don't use name length for the recovery password input and trim it 9 months ago
yougotwill e66d443a97 fix: reset input color after error if the value changes 9 months ago
yougotwill 81d6b18689 Merge branch 'unstable' into fix/ses-825/qa1 9 months ago
yougotwill eaeabaf813 fix: dont trim display name when sanitizing
trim on submission
9 months ago
Audric Ackermann eaecc15432 Merge remote-tracking branch 'origin/unstable' into update-fs-release-endpoint 9 months ago
yougotwill f0836de707 fix: remove unneeded maxWidth
correct text alignment for enter key settings for smaller screens
9 months ago
Audric Ackermann 4b0b813362 fix: blocked list overflow by setting parent width correctly 9 months ago
Ryan Miller 79f3f35977 feat: update strings usages and library 9 months ago
William Grant 1e309a19c2 fix: styled name prop should just be max width 9 months ago
William Grant 64d5ccd869 fix: review feedback
unneeded promise object returned
9 months ago
William Grant 4152e4a59d fix: review feedback 9 months ago
Audric Ackermann 26e7a39a61 feat: hit only once every 30mins the fs for release
once we've already fetched the latest release
9 months ago
William Grant 5a68985f4a fix: blocked list layout and list rendering overflow 9 months ago
yougotwill a2310439db fix: blocked list is now accessible on smaller screens
prevent name overflow
9 months ago
William Grant 1802a4438c fix: user mentions overflow 9 months ago
William Grant 145b722369 feat: fixed member layout in update group modals 9 months ago
William Grant 3192bcc1c2 feat: fixed member layout in invite contancts and remove mods modals 9 months ago
William Grant 9f779a86c7 fix: revert virtualized group members list
since it caused overflow, disabled buttons when making a group
9 months ago
yougotwill 07cfa67cc9 fix: no overflow in group members list in overlay 9 months ago
yougotwill 8ea7daae45 fix: overflow in session modal title
user details dialog is now a fixed width
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 66fa34b165 feat: use testkey for user profile update in onboarding for testing a display name
remove privateKeyBytesHex since we don't use it
9 months ago
yougotwill da8fe92cc9 fix: disable join button when already joining a community 9 months ago
yougotwill 0f2f2bee6e fix: error test for input should be selectable
makes error reporting easier
9 months ago
yougotwill 182f5605a5 fix: replace MAX_GROUP_NAME_LENGTH
using libsession BASE_GROUP_MAX_NAME_LENGTH
9 months ago
yougotwill 42813c0926 fix: replace MAX_COMMUNITY_NAME_LENGTH
using libsession COMMUNITY_FULL_URL_MAX_LENGTH
9 months ago
yougotwill cbf0a5b877 feat: convert privKeyBytes to hex
redux doesnt like uint8Array, rename shouldQuit to shouldQuitOnClick
9 months ago
yougotwill 9a4356a6b7 fix: review feedback - lightbox defaults 9 months ago
yougotwill 3ad09b38a4 fix: update translation link
show external link on hover
9 months ago
William Grant e05d3a6874 fix: formatting fixes
use profile manager name validation in CreateAccount component
9 months ago
William Grant d252662630 fix: truncate submitted display names
we dont look for libsession throws when setting a display name.
libsession now truncates by default
9 months ago
William Grant bc2e28b6b7 feat: use CONTACT_MAX_NAME_LENGTH
as max length for session inputs for user profile name
9 months ago
William Grant 5ef5fc59a8 fix: correctly trim usernames 9 months ago
Audric Ackermann 79aca9c231 fix: open url confirm is Primary color and not destructive
also delete all messages when reinvited to a group we were kicked from
9 months ago
Audric Ackermann 40d3ddb244 fix: cleaned up pending removal job with tech design 10 months ago
Audric Ackermann 9963287193 fix: a few issues with group invite job/refresh state 10 months ago
William Grant 6fa6e5c189 feat: start of using updateOurProfileDisplayName in onboarding 10 months ago
William Grant 0b811bc641 feat: added updateOurProfileDisplayName
which uses libsession to check the display name length, not yet used in onboarding
10 months ago
William Grant 55f5cf5c9b feat: added quit modal
when going back during critical onboarding steps it's better to restart the app entirely
10 months ago
William Grant 150ea61b03 feat: remove modal confirm button container
use no padding class on modal instead, less messing around with ghost buttons in certain cases
10 months ago
William Grant cebe7c884d feat: move db deletion methods to accountManager 10 months ago
William Grant 490e4957f4 feat: click on qr codes now opens the lightbox
lightbox now supports saving data blobs
10 months ago
William Grant 009795eb3b feat: migrated lightbox to modal state 10 months ago
William Grant bf218f0ec6 fix: play pause button in audio attachment 10 months ago
William Grant 9264aa7999 fix: correct admin crown color 10 months ago
Audric Ackermann 102e05d924 fix: small padding inconsistency between TextNotification usage 10 months ago
Audric Ackermann d6cb399cf3 chore: matched designs better for the NoticeBanner 10 months ago
William Grant 3b17e08ea6 fix: more review feedback part 2 11 months ago
William Grant 8915971c48 fix: more review feedback 11 months ago
William Grant 5cd7262fa2 fix: search now works correctly and we include groups again
heading for unamed contacts is #, groups go above note to self, trust in the sql query
11 months ago
Audric Ackermann cd122c7252 fix: make pushChangesToGroupSwarm take an extraStoreRequest 11 months ago
William Grant 9e9fffd9d2 fix: name showHide button props more explcitly 11 months ago
William Grant cf34db53c8 feat: added new hot key hook since useKey doesnt ignore special keys
replaced all alpha numeric shortcuts
11 months ago
William Grant f5cd3ba1f9 fix: move left pane header label into a function 11 months ago
William Grant 83a57a3bc6 fix: move shortcuts back into edit profile
use region comments
11 months ago
William Grant 903cfcb613 fix: added skinny brand icon instead of messing with ratios 11 months ago
William Grant d1a06a93de feat: option to save qr codes with no colors by default 11 months ago
William Grant b102a0675f fix: first load flicker on qr code 11 months ago
William Grant b459bf9570 fix: generate colors for the QR code in a hook that also converts svgs to data urls
we no longer need to update the svgs manually
11 months ago
Audric Ackermann 9b124d384e fix: featureFlag to show some buttons/toggle for QA of group chunk3 11 months ago
Audric Ackermann 8ce5f6f429 fix: don't drop groupUpdateMessages from a blocked user
because we still need to process some things even if he is blocked
(getting promoted, etc).
If the message needs to be dropped, we should not have that group at
all, so that message will be dropped nevertheless
11 months ago
William Grant 64b98a70d2 feat: added motion props to AnimatedFlex 11 months ago
William Grant 64d4712902 feat: updated shield icon and default colors 11 months ago
William Grant 11b3a0ece1 feat: upgraded react-qrcode-logo to v3 11 months ago
Audric Ackermann e42be002a6 feat: cleaned up accept/block/decline logic 11 months ago
William Grant 59e6074429 fix: since the pass hash is in the items table we can call it from storage
added storage function getPasswordHash and use everywhere, warn user to restart the app
11 months ago
William Grant 268266d808 fix: pick keys for icon prop in setting list item title since we dont use all of them 11 months ago
William Grant fb68af94f1 fix: no need for reactnode or string type
reactnode supports strings
11 months ago
William Grant 87fb386ae5 fix: isSubtitle eval in search section header moved to parent 11 months ago
William Grant 7b634df2b5 fix: sanitizeDisplayNameOrToast setDisplayNameError to onDisplayNameError
since it can be useState or redux
11 months ago
William Grant 1e16be1be0 fix: use i18n for aria labels on the enter display name button 11 months ago
William Grant 8d8a25a965 fix: remove commented css on spinner 11 months ago
William Grant b938d2a353 fix: use i18n for continue button aria label 11 months ago
William Grant 819d67aa97 fix: improvements to closedGroupOverlay including virtualize member list
createClosedGroupWithErrorHandling errorHandler changed to onError, simplify search checks
11 months ago
William Grant 4f44a7a5fa feat: refactor theme state
added hooks for is light or dark theme and cleaned up any references
11 months ago
William Grant c20bda442e fix: improved global window types for persistStore and inboxStore
we now await the persist store purge in deleteDbLocally
11 months ago
Audric Ackermann 9d9844aeb4 feat: make group v2 control messages disappear 11 months ago
William Grant 506bdbf746 fix: replace convo list render functions with components 11 months ago
William Grant 69f4fd2892 feat: added heading component
improved join community suggested rooms stylings
11 months ago
William Grant 692f1f51d0 fix: updated deblug log to use new font variable 11 months ago
William Grant d6544efaa6 fix: ses-2089 update tos datatestid to open-url to match other platforms
backported from chunk 1 qa feedback
11 months ago
William Grant bb48971fa6 fix: ses-2087 recovery password banner heading is too large
backported from chunk 1
11 months ago
William Grant edeed6e4cc fix: separate p tag styles into a component from styledprofilename 11 months ago
William Grant d7a874d0fb fix: specify seconds in onion status glow duration comment 11 months ago
William Grant 3b90d7d1d1 fix: replace keyup event listener with usekey hook
focus password input on mount for convenience
11 months ago
William Grant 2906b3200e fix: use input ref for password value instead of document lookup on pasword modal 11 months ago
William Grant 1a13839d9d fix: properly type send message input reference
this means we are properly typed for the composition mentions input and the paste handler
11 months ago
William Grant db7fba0dc1 fix: remove extra className prop
it is already included from the button types which we pass through the spread props
11 months ago
William Grant 111541f228 fix: members list in the group overlay doesnt need a set bg color
removed !important from the transparent color assignment in the session radio
11 months ago
William Grant 8e5ac58bc1 fix: properly type button and input ref 11 months ago
William Grant 8705fddd36 fix: isEmpty is not needed for searchTerm
because an empty string is falsy
11 months ago
Audric Ackermann 2ec6c7f29c feat: handle isDestroyed flag + "you were removed from XXX" 11 months ago
William Grant 6f77b9a17d Merge branch 'unstable' into feat/ses-825/onboarding2 11 months ago
William Grant 4174ed5715 fix: resolve typos 11 months ago
William Grant 273fc42be4 feat: session input show hide button improvments
better aria labeling and dataTestIds
11 months ago
William Grant aa87675ad4 feat: added aria label to edit profile qr code 11 months ago
Audric Ackermann 6e137fe69f Merge remote-tracking branch 'upstream/unstable' into closed-group-chunk3 11 months ago
William Grant 0f89b1134d fix: revert naming convo render functions as components
it broke the search input for some reason
11 months ago
William Grant 93d1a9d430 feat: profile modal flow done
refactored edit profile dialog and extracted out components and keyboard shortcuts
11 months ago
William Grant 2fedce16df feat: invite a friend flow done
consolidate help desk buttons into one component
11 months ago
William Grant 341fa8b774 feat: recovery password settings flow done
added aria label and datatestid support to SessionQRCode
11 months ago
William Grant d14024d718 feat: account restoration flow done
updated some testids and aria labels, consolidated continue buttons into one component
11 months ago
William Grant 293a733806 feat: account creation flow done
updated some testids and aria labels, SessionInput now has aria label support
11 months ago
William Grant 4507669961 feat: added aria labels ot tos buttons in modal 11 months ago
William Grant 2e2f526405 feat: added aria label support to buttons 11 months ago
William Grant cc92d172f7 feat: update invite a friend iniital string 11 months ago
William Grant b74de3f6be fix: quote icons were not appearing if media failed to create a preview 11 months ago
William Grant 48fe7b4faa fix: resolve outstanding react-use imports 11 months ago
William Grant afca070e76 feat: added copy to clipboard icon button 11 months ago
William Grant 06b4ee0d7c feat: updated onboarding container and progress bar 11 months ago
William Grant 7349e27dc1 fix: prevent the buttons from flashing when the app starts 11 months ago
William Grant e6a26945d5 feat: updated message highlight durations 11 months ago
William Grant 6477d73c7b feat: updated onion status and spinner aimations 11 months ago
William Grant e4b27988b0 feat: updated empty message image, typing animation and right panel slide durations 11 months ago
William Grant 8271a6546d fix: typing animation alignment inside of the messages list 11 months ago
William Grant 6039d9f526 feat: fixed update group name error and session recording light animations 11 months ago
William Grant 17250a4609 fix: reset right panel when we swap conversations 11 months ago
William Grant fe64b26012 feat: improved about screen info
more info and copy to clipboard
11 months ago
William Grant f68fc684fe feat: improved search for create group 11 months ago
William Grant 7d7911421e fix: borders on member list items and session radio 11 months ago
William Grant cfc7d3350b fix: message search results will use shortened pubkeys for authors
and will now resolve your blinded ids
11 months ago
William Grant 521938b5eb fix: hide message preview for contact during search 11 months ago
William Grant 1e815f6f41 fix: show no results text when search finds nothing 11 months ago
William Grant 26abb2bcf7 fix: note to self always appears when there is a match regardless of case sensitivity
start search on first character since we limit the results
11 months ago
William Grant 8918598a0a fix: clear search when change left pane modes 11 months ago
William Grant 6c65c41a09 feat: added subtitle header to search results 11 months ago
William Grant 6f7001e32b fix: contact list should not be case sensitive 11 months ago
William Grant 4ae133bb67 feat: only center textarea placeholder text and not value in sessioninput 11 months ago
William Grant 94abe60af1 feat: added SessionInput to Profile Modal
layout and style improvements, disable ui during name change, improved keyboard navigation
11 months ago
William Grant 698eb147f0 fix: rename fontSize and disableOnBlur on Sessioninput 11 months ago
William Grant 08487bcffc feat: spinner can now set width and height surrounding the svg
this is useful when we need it to take up less space
11 months ago
William Grant e5625cac76 feat: updated SessionInput to support multiple font sizes
this replaces the bigger text option, new props required, tabIndex, inputRef
11 months ago
William Grant 33b68a2123 feat: created copy to clipboard button 11 months ago
William Grant f726fa5575 fix: pass through events to onClose for modals
we can then use this to programmatically disable the onclose when necessary
11 months ago
Audric Ackermann 6282ed6ea4
Merge pull request #3109 from yougotwill/fix/ses-1945/admins_clear_reactions
Fix 'clear all' reactions in communities
11 months ago
Audric Ackermann 6f7e576604 feat: add notice banner for deprecating group and inviting users 11 months ago
William Grant 5e285043b7 feat: added flex gap support to Flex component 11 months ago
William Grant ccee83596e feat: updated profile modal with style changes
cleaned up old sass and used style components instead
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 70a987453d fix: sender name in react list modal is now truncated 11 months ago
William Grant 40d81d0c66 fix: admins should also be able to clear reactions in communities
not just moderators
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 523c95447c feat: added datatestids to avatarplaceholder and member placeholder 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 6db6a1f65d fix: resolve cyclic imports with LokiProfile and MessageResultProps 11 months ago
William Grant 51a36e6cb0 fix: repair placeholder selectors
required since upgrading styled-components
11 months ago
William Grant 96f058511d fix: welcome message should use text-primary-color for light themes 11 months ago
William Grant 9bf7126f02 fix: replace setAccountPasswordTitle with lockApp string 11 months ago
William Grant d662b7d17b fix: use recoveryPasswordOutline for light themes
updated to use building block svgs
11 months ago
William Grant aa4a42caa6 fix: sessioninput color should be danger when there is an error 11 months ago
William Grant df515cacb6 feat: improved zoom slider behaviour and styling
updated rc-slider, fixes issue where zoom happens before you release the mouse
12 months ago
William Grant 9dce5c1fd9 fix: repair global styling after styled upgrade improved match system setting
set each value on root instead of declaring one global css string. Use setThemeValues in all cases
12 months ago
William Grant f245f6d1d9 fix: added missing & selector to all pseudo events 12 months ago
William Grant dfd4631f40 feat: updated styled components and typings
cleaned up some extra SessionTheme declarations
12 months ago
William Grant 1b6abb8b59 feat: restrict importing useMount from react-use directly
it causes app start crashes
12 months ago
William Grant 452b1b8539 fix: use localised strings for qr password toggle button 12 months ago
William Grant 67f27636d8 Merge branch 'unstable' into feat/ses-825/onboarding2 12 months ago
William Grant 39dc918e3d fix: open recovery password settings page from left banner 12 months ago
William Grant 51a0fa3b1e fix: removed SeedModal code 12 months ago
William Grant fb3a87a5f5 feat: added new hide recovery password modal
when we turn on the setting we prevent any recovery phrase ui from loading and return null
12 months ago
William Grant 51534d4cc9 feat: added new hide recovery password setting 12 months ago
William Grant 7cd7dea2b6 fix: brand logo in onboard header should not block buttons 12 months ago
William Grant 862b8343e7 feat: added hide password permenantly ui 12 months ago
William Grant bddac7a849 feat: added icons to all settings categories 12 months ago
William Grant 705d9622cd fix: recovery password text now uses primary text color for light modes 12 months ago
William Grant 2eca1447ef fix: improve qr code icon
fixed styling of qr icon on profile modal
12 months ago
William Grant bb27570a90 fix: make qr code update correctly if theme changes
even if visible, there is some flickering with the logo that I have been unable to fix.
12 months ago
William Grant a629fa560c feat: created new recovery phrase ui and qr code with toggling
also allow setting description to render html so we can have line breaks
12 months ago
William Grant 12caf66cde fix: message preview status icon was shrinking due to text overflow
also added session icon improvements from onboarding branch
12 months ago
William Grant fd722d1f2f feat: swapped out seed modal for settings category page
still work on category component but password protection works nicely
12 months ago
William Grant 01bdc6e1cf fix: make sure qr code fits the canvas contents 12 months ago
William Grant 7d890973d5 fix: usemount imports have to be specific
otherwise we can get start errors due to an invalid import by react-use
12 months ago
William Grant 3e1bf049e5 fix: remove extra window 12 months ago
William Grant d346f28942 feat: extracted password to new modal
added shiny hook to password protect anywhere
12 months ago
William Grant b6d5c24af4 feat: added updated group icon
add the ability to set custom icon sizes for some buttons
12 months ago