Commit Graph

3604 Commits (c595571ef49da51cdd912b4a7f2515884bf74d8c)

Author SHA1 Message Date
yougotwill eaeabaf813 fix: dont trim display name when sanitizing
trim on submission
1 year ago
Audric Ackermann eaecc15432 Merge remote-tracking branch 'origin/unstable' into update-fs-release-endpoint 1 year ago
yougotwill f0836de707 fix: remove unneeded maxWidth
correct text alignment for enter key settings for smaller screens
1 year ago
Audric Ackermann 4b0b813362 fix: blocked list overflow by setting parent width correctly 1 year ago
Ryan Miller 79f3f35977 feat: update strings usages and library 1 year ago
William Grant 1e309a19c2 fix: styled name prop should just be max width 1 year ago
William Grant 64d5ccd869 fix: review feedback
unneeded promise object returned
1 year ago
William Grant 4152e4a59d fix: review feedback 1 year ago
Audric Ackermann 26e7a39a61 feat: hit only once every 30mins the fs for release
once we've already fetched the latest release
1 year ago
William Grant 5a68985f4a fix: blocked list layout and list rendering overflow 1 year ago
yougotwill a2310439db fix: blocked list is now accessible on smaller screens
prevent name overflow
1 year ago
William Grant 1802a4438c fix: user mentions overflow 1 year ago
William Grant 145b722369 feat: fixed member layout in update group modals 1 year ago
William Grant 3192bcc1c2 feat: fixed member layout in invite contancts and remove mods modals 1 year ago
William Grant 9f779a86c7 fix: revert virtualized group members list
since it caused overflow, disabled buttons when making a group
1 year ago
yougotwill 07cfa67cc9 fix: no overflow in group members list in overlay 1 year ago
yougotwill 8ea7daae45 fix: overflow in session modal title
user details dialog is now a fixed width
1 year ago
yougotwill 87b922daff fix: ran formatter 1 year ago
yougotwill 39d8ad11e5 fix: a whole bunch of circular depdencies
for various convo duck, convo interactions, convo model and opengroup types
1 year 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
1 year ago
yougotwill da8fe92cc9 fix: disable join button when already joining a community 1 year ago
yougotwill 0f2f2bee6e fix: error test for input should be selectable
makes error reporting easier
1 year ago
yougotwill 182f5605a5 fix: replace MAX_GROUP_NAME_LENGTH
using libsession BASE_GROUP_MAX_NAME_LENGTH
1 year ago
yougotwill 42813c0926 fix: replace MAX_COMMUNITY_NAME_LENGTH
using libsession COMMUNITY_FULL_URL_MAX_LENGTH
1 year ago
yougotwill cbf0a5b877 feat: convert privKeyBytes to hex
redux doesnt like uint8Array, rename shouldQuit to shouldQuitOnClick
1 year ago
yougotwill 9a4356a6b7 fix: review feedback - lightbox defaults 1 year ago
yougotwill 3ad09b38a4 fix: update translation link
show external link on hover
1 year ago
William Grant e05d3a6874 fix: formatting fixes
use profile manager name validation in CreateAccount component
1 year 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
1 year ago
William Grant bc2e28b6b7 feat: use CONTACT_MAX_NAME_LENGTH
as max length for session inputs for user profile name
1 year ago
William Grant 5ef5fc59a8 fix: correctly trim usernames 1 year ago
William Grant 6fa6e5c189 feat: start of using updateOurProfileDisplayName in onboarding 1 year ago
William Grant 0b811bc641 feat: added updateOurProfileDisplayName
which uses libsession to check the display name length, not yet used in onboarding
1 year ago
William Grant 55f5cf5c9b feat: added quit modal
when going back during critical onboarding steps it's better to restart the app entirely
1 year 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
1 year ago
William Grant cebe7c884d feat: move db deletion methods to accountManager 1 year ago
William Grant 490e4957f4 feat: click on qr codes now opens the lightbox
lightbox now supports saving data blobs
1 year ago
William Grant 009795eb3b feat: migrated lightbox to modal state 1 year ago
William Grant bf218f0ec6 fix: play pause button in audio attachment 1 year ago
William Grant 9264aa7999 fix: correct admin crown color 1 year ago
William Grant 3b17e08ea6 fix: more review feedback part 2 1 year ago
William Grant 8915971c48 fix: more review feedback 1 year 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
1 year ago
William Grant 9e9fffd9d2 fix: name showHide button props more explcitly 1 year ago
William Grant cf34db53c8 feat: added new hot key hook since useKey doesnt ignore special keys
replaced all alpha numeric shortcuts
1 year ago
William Grant f5cd3ba1f9 fix: move left pane header label into a function 1 year ago
William Grant 83a57a3bc6 fix: move shortcuts back into edit profile
use region comments
1 year ago
William Grant 903cfcb613 fix: added skinny brand icon instead of messing with ratios 1 year ago
William Grant d1a06a93de feat: option to save qr codes with no colors by default 1 year ago
William Grant b102a0675f fix: first load flicker on qr code 1 year 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
1 year ago
William Grant 64b98a70d2 feat: added motion props to AnimatedFlex 1 year ago
William Grant 64d4712902 feat: updated shield icon and default colors 1 year ago
William Grant 11b3a0ece1 feat: upgraded react-qrcode-logo to v3 1 year 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
1 year ago
William Grant 268266d808 fix: pick keys for icon prop in setting list item title since we dont use all of them 1 year ago
William Grant fb68af94f1 fix: no need for reactnode or string type
reactnode supports strings
1 year ago
William Grant 87fb386ae5 fix: isSubtitle eval in search section header moved to parent 1 year ago
William Grant 7b634df2b5 fix: sanitizeDisplayNameOrToast setDisplayNameError to onDisplayNameError
since it can be useState or redux
1 year ago
William Grant 1e16be1be0 fix: use i18n for aria labels on the enter display name button 1 year ago
William Grant 8d8a25a965 fix: remove commented css on spinner 1 year ago
William Grant b938d2a353 fix: use i18n for continue button aria label 1 year ago
William Grant 819d67aa97 fix: improvements to closedGroupOverlay including virtualize member list
createClosedGroupWithErrorHandling errorHandler changed to onError, simplify search checks
1 year ago
William Grant 4f44a7a5fa feat: refactor theme state
added hooks for is light or dark theme and cleaned up any references
1 year ago
William Grant c20bda442e fix: improved global window types for persistStore and inboxStore
we now await the persist store purge in deleteDbLocally
1 year ago
William Grant 506bdbf746 fix: replace convo list render functions with components 1 year ago
William Grant 69f4fd2892 feat: added heading component
improved join community suggested rooms stylings
1 year ago
William Grant 692f1f51d0 fix: updated deblug log to use new font variable 1 year ago
William Grant d6544efaa6 fix: ses-2089 update tos datatestid to open-url to match other platforms
backported from chunk 1 qa feedback
1 year ago
William Grant bb48971fa6 fix: ses-2087 recovery password banner heading is too large
backported from chunk 1
1 year ago
William Grant edeed6e4cc fix: separate p tag styles into a component from styledprofilename 1 year ago
William Grant d7a874d0fb fix: specify seconds in onion status glow duration comment 1 year ago
William Grant 3b90d7d1d1 fix: replace keyup event listener with usekey hook
focus password input on mount for convenience
1 year ago
William Grant 2906b3200e fix: use input ref for password value instead of document lookup on pasword modal 1 year 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
1 year ago
William Grant db7fba0dc1 fix: remove extra className prop
it is already included from the button types which we pass through the spread props
1 year 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
1 year ago
William Grant 8e5ac58bc1 fix: properly type button and input ref 1 year ago
William Grant 8705fddd36 fix: isEmpty is not needed for searchTerm
because an empty string is falsy
1 year ago
William Grant 6f77b9a17d Merge branch 'unstable' into feat/ses-825/onboarding2 1 year ago
William Grant 4174ed5715 fix: resolve typos 1 year ago
William Grant 273fc42be4 feat: session input show hide button improvments
better aria labeling and dataTestIds
1 year ago
William Grant aa87675ad4 feat: added aria label to edit profile qr code 1 year ago
William Grant 0f89b1134d fix: revert naming convo render functions as components
it broke the search input for some reason
1 year ago
William Grant 93d1a9d430 feat: profile modal flow done
refactored edit profile dialog and extracted out components and keyboard shortcuts
1 year ago
William Grant 2fedce16df feat: invite a friend flow done
consolidate help desk buttons into one component
1 year ago
William Grant 341fa8b774 feat: recovery password settings flow done
added aria label and datatestid support to SessionQRCode
1 year ago
William Grant d14024d718 feat: account restoration flow done
updated some testids and aria labels, consolidated continue buttons into one component
1 year ago
William Grant 293a733806 feat: account creation flow done
updated some testids and aria labels, SessionInput now has aria label support
1 year ago
William Grant 4507669961 feat: added aria labels ot tos buttons in modal 1 year ago
William Grant 2e2f526405 feat: added aria label support to buttons 1 year ago
William Grant cc92d172f7 feat: update invite a friend iniital string 1 year ago
William Grant b74de3f6be fix: quote icons were not appearing if media failed to create a preview 1 year ago
William Grant 48fe7b4faa fix: resolve outstanding react-use imports 1 year ago
William Grant afca070e76 feat: added copy to clipboard icon button 1 year ago
William Grant 06b4ee0d7c feat: updated onboarding container and progress bar 1 year ago
William Grant 7349e27dc1 fix: prevent the buttons from flashing when the app starts 1 year ago
William Grant e6a26945d5 feat: updated message highlight durations 1 year ago
William Grant 6477d73c7b feat: updated onion status and spinner aimations 1 year ago
William Grant e4b27988b0 feat: updated empty message image, typing animation and right panel slide durations 1 year ago
William Grant 8271a6546d fix: typing animation alignment inside of the messages list 1 year ago
William Grant 6039d9f526 feat: fixed update group name error and session recording light animations 1 year ago
William Grant 17250a4609 fix: reset right panel when we swap conversations 1 year ago
William Grant fe64b26012 feat: improved about screen info
more info and copy to clipboard
1 year ago
William Grant f68fc684fe feat: improved search for create group 1 year ago
William Grant 7d7911421e fix: borders on member list items and session radio 1 year ago
William Grant cfc7d3350b fix: message search results will use shortened pubkeys for authors
and will now resolve your blinded ids
1 year ago
William Grant 521938b5eb fix: hide message preview for contact during search 1 year ago
William Grant 1e815f6f41 fix: show no results text when search finds nothing 1 year 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
1 year ago
William Grant 8918598a0a fix: clear search when change left pane modes 1 year ago
William Grant 6c65c41a09 feat: added subtitle header to search results 1 year ago
William Grant 6f7001e32b fix: contact list should not be case sensitive 1 year ago
William Grant 4ae133bb67 feat: only center textarea placeholder text and not value in sessioninput 1 year ago
William Grant 94abe60af1 feat: added SessionInput to Profile Modal
layout and style improvements, disable ui during name change, improved keyboard navigation
1 year ago
William Grant 698eb147f0 fix: rename fontSize and disableOnBlur on Sessioninput 1 year 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
1 year ago
William Grant e5625cac76 feat: updated SessionInput to support multiple font sizes
this replaces the bigger text option, new props required, tabIndex, inputRef
1 year ago
William Grant 33b68a2123 feat: created copy to clipboard button 1 year ago
William Grant f726fa5575 fix: pass through events to onClose for modals
we can then use this to programmatically disable the onclose when necessary
1 year ago
Audric Ackermann 6282ed6ea4
Merge pull request #3109 from yougotwill/fix/ses-1945/admins_clear_reactions
Fix 'clear all' reactions in communities
1 year ago
William Grant 5e285043b7 feat: added flex gap support to Flex component 1 year ago
William Grant ccee83596e feat: updated profile modal with style changes
cleaned up old sass and used style components instead
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 70a987453d fix: sender name in react list modal is now truncated 1 year ago
William Grant 40d81d0c66 fix: admins should also be able to clear reactions in communities
not just moderators
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 523c95447c feat: added datatestids to avatarplaceholder and member placeholder 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 6db6a1f65d fix: resolve cyclic imports with LokiProfile and MessageResultProps 1 year ago
William Grant 51a36e6cb0 fix: repair placeholder selectors
required since upgrading styled-components
1 year ago
William Grant 96f058511d fix: welcome message should use text-primary-color for light themes 1 year ago
William Grant 9bf7126f02 fix: replace setAccountPasswordTitle with lockApp string 1 year ago
William Grant d662b7d17b fix: use recoveryPasswordOutline for light themes
updated to use building block svgs
1 year ago
William Grant aa4a42caa6 fix: sessioninput color should be danger when there is an error 1 year ago
William Grant df515cacb6 feat: improved zoom slider behaviour and styling
updated rc-slider, fixes issue where zoom happens before you release the mouse
1 year 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
1 year ago
William Grant f245f6d1d9 fix: added missing & selector to all pseudo events 1 year ago
William Grant dfd4631f40 feat: updated styled components and typings
cleaned up some extra SessionTheme declarations
1 year ago
William Grant 1b6abb8b59 feat: restrict importing useMount from react-use directly
it causes app start crashes
1 year ago
William Grant 452b1b8539 fix: use localised strings for qr password toggle button 1 year ago
William Grant 67f27636d8 Merge branch 'unstable' into feat/ses-825/onboarding2 1 year ago
William Grant 39dc918e3d fix: open recovery password settings page from left banner 1 year ago
William Grant 51a0fa3b1e fix: removed SeedModal code 1 year 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
1 year ago
William Grant 51534d4cc9 feat: added new hide recovery password setting 1 year ago
William Grant 7cd7dea2b6 fix: brand logo in onboard header should not block buttons 1 year ago
William Grant 862b8343e7 feat: added hide password permenantly ui 1 year ago
William Grant bddac7a849 feat: added icons to all settings categories 1 year ago
William Grant 705d9622cd fix: recovery password text now uses primary text color for light modes 1 year ago
William Grant 2eca1447ef fix: improve qr code icon
fixed styling of qr icon on profile modal
1 year 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.
1 year 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
1 year ago
William Grant 12caf66cde fix: message preview status icon was shrinking due to text overflow
also added session icon improvements from onboarding branch
1 year ago
William Grant fd722d1f2f feat: swapped out seed modal for settings category page
still work on category component but password protection works nicely
1 year ago
William Grant 01bdc6e1cf fix: make sure qr code fits the canvas contents 1 year 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
1 year ago
William Grant 3e1bf049e5 fix: remove extra window 1 year ago
William Grant d346f28942 feat: extracted password to new modal
added shiny hook to password protect anywhere
1 year ago
William Grant b6d5c24af4 feat: added updated group icon
add the ability to set custom icon sizes for some buttons
1 year ago
William Grant 20c0453b9f fix: dont disable text area for outgoing message requests
we only want to disable some of the buttons
1 year ago
William Grant 8ae6dabfd1 feat: hide message preview in convo list item for outgoing requests 1 year ago
William Grant d74edc5b24 feat: disable composition for outgoing message requests
moved composition textarea to functional component
1 year ago
William Grant d6ad37ec38 feat: show description text when making a message request
disabled conversation header functionality
1 year ago
William Grant 6e3df83aed fix: overlayInvite errors 1 year ago
William Grant d4a8b555c6 Merge branch 'unstable' into feat/ses-825/onboarding2 1 year ago
William Grant aac90ccd96 feat: finished invite a friend overlay 1 year ago
William Grant 2b95e6a283 feat: session input styles are now separated into per styling
monospaced, biggerText, isTextArea
1 year ago
William Grant dd7f13ed1f feat: invite a friend screen is mostly done 1 year ago
Audric Ackermann 4eafe8c68c
Merge pull request #3080 from Bilb/fix-retrieve-snode-down
fix: randomly pick a snode to poll from until we build a better way with changes server side
1 year ago
William Grant 44cc8594a5 fix: saved qr codes will be black and white by default
qr code logos can now be svgs for better rendering performance
1 year ago
Audric Ackermann 51c307af25 chore: fix PR reviews 1 year ago
William Grant 8a4e5d52ff fix: add background colors to logos so the background matches 1 year ago
William Grant 04dc4fe861 fix: the modal header now always centers content correctly 1 year ago
William Grant 0d3c058137 feat: new sessionqrcode component
updated account id and recovery password qr codes with logos
1 year ago
William Grant ab093ffc62 feat: replace react-qr-svg with react-qrcode-logo
updated error correction to 25%
1 year ago
Audric Ackermann 42bea0264c fix: improve retrieve timeout to 10s
also:
- add comments about not adding the limit:256 on snode list fetch
- fix an issue when no audio are found when starting a webrtc call
1 year ago
William Grant 76f5ad1322 feat: consolidate remaining sessioneditable instances
fix styles for other overlays
1 year ago
Audric Ackermann 4589bde672 chore: moved more types to ReduxTypes.d.ts 1 year ago
Audric Ackermann fb99c3491c chore: remove calls to Storage from settings.tsx 1 year ago
Audric Ackermann 49ab04d2fd chore: move SessionSettingsCategory to .d.ts file
and remove the enum (instead use string union)
1 year ago
William Grant cd3bc727c2 feat: updated ContactsListWithBreaks to show text when empty 1 year ago
William Grant 093da15ba3 feat: updated style for choose action overlay
created new ActionRow component
1 year ago
Audric Ackermann 7f7f0fe26c fix: clear swarms from snodes not in pool on full fetch 1 year ago
William Grant 2a75a715a3 feat: update continue button styles
only show button when users enters something
1 year ago
William Grant 31ef730c8c fix: correct type for style prop on SessionInput 1 year ago
William Grant edb9a24863 feat: new message description and added zendesk link 1 year ago
William Grant 2d7b957d8c feat: closed group pubkeys cannot be used to create new messages 1 year ago
William Grant 20766c4aba feat: added conversation id to debugmessageinfo 1 year ago
William Grant 4decf22241 feat: improved error messaging when starting a new message 1 year ago
William Grant 30118c3426 feat: added monospace textarea support to sessioninput
this will replace the sessionideditable eventually still needs error handling etc
1 year ago
William Grant e96519445d feat: removed overlayheader
moved some parts into the leftpanesectionheader
2 years ago
Ryan Miller 87fb1701d4
chore: rename fetch functions 2 years ago
William Grant 38c390355d refactor: leftpanemessagesection is now a functional component 2 years ago
William Grant c93cc932fc fix: replaced eye svgs with better aligned ones
fixed style position
2 years ago
William Grant 2e664bfa09 fix: right panel transition is now smoother
transition duration is now set via a function for integration testing  purposes
2 years ago
William Grant 208d9cc0eb Merge branch 'unstable' into feat/ses-50/onboarding 2 years ago
William Grant efc790120a fix: hr in emptymessageview should not use 0.5px 2 years ago
William Grant 425319785f fix: prevent flickering on EmptyMessageView 2 years ago
William Grant ab544070dd fix: repaired rounding on upload profile image component 2 years ago