Commit Graph

5491 Commits (7ac1a37cb24800a572d4149eeb8b94e8ef5925df)

Author SHA1 Message Date
yougotwill d210b5c354 fix: adjust contacts list to match design
no borders and smaller breaks
10 months ago
yougotwill f5951f911f fix: show note to self and outgoing message requests in contact list 10 months ago
yougotwill 8260f0481b fix: session input with textarea now centers content correctly 10 months ago
yougotwill d52461aecc fix: don't use name length for the recovery password input and trim it 10 months ago
yougotwill e66d443a97 fix: reset input color after error if the value changes 10 months ago
yougotwill 81d6b18689 Merge branch 'unstable' into fix/ses-825/qa1 10 months ago
yougotwill eaeabaf813 fix: dont trim display name when sanitizing
trim on submission
10 months ago
Audric Ackermann eaecc15432 Merge remote-tracking branch 'origin/unstable' into update-fs-release-endpoint 10 months ago
Audric Ackermann 4bb857fa53 fix: update fetching desktop release endpoint 10 months ago
yougotwill f0836de707 fix: remove unneeded maxWidth
correct text alignment for enter key settings for smaller screens
10 months ago
Audric Ackermann 4b0b813362 fix: blocked list overflow by setting parent width correctly 10 months ago
Ryan Miller 79f3f35977 feat: update strings usages and library 10 months ago
William Grant 1e309a19c2 fix: styled name prop should just be max width 10 months ago
William Grant 64d5ccd869 fix: review feedback
unneeded promise object returned
10 months ago
William Grant 4152e4a59d fix: review feedback 10 months ago
Audric Ackermann 26e7a39a61 feat: hit only once every 30mins the fs for release
once we've already fetched the latest release
10 months ago
Audric Ackermann 7277db35b4 fix: failing tests making requests to real servers :bad: 10 months ago
William Grant 5a68985f4a fix: blocked list layout and list rendering overflow 10 months ago
yougotwill a2310439db fix: blocked list is now accessible on smaller screens
prevent name overflow
10 months ago
William Grant 1802a4438c fix: user mentions overflow 10 months ago
William Grant 145b722369 feat: fixed member layout in update group modals 10 months ago
William Grant 3192bcc1c2 feat: fixed member layout in invite contancts and remove mods modals 10 months ago
William Grant 9f779a86c7 fix: revert virtualized group members list
since it caused overflow, disabled buttons when making a group
10 months ago
yougotwill 07cfa67cc9 fix: no overflow in group members list in overlay 10 months ago
yougotwill 940feafece fix: remove stubstorage 10 months ago
Audric Ackermann 46ce00e46e fix: failing tests making requests to real servers :bad: 10 months ago
yougotwill ad7798dd4d fix: remove uneeded cleanup() calls in component unit tests 10 months ago
yougotwill 8ea7daae45 fix: overflow in session modal title
user details dialog is now a fixed width
10 months ago
yougotwill 6f2947e5aa fix: fix updateOurProfileDisplayName breaking tests
don't use testing functions to generate a temp secret key rather do it manually
10 months ago
yougotwill 3bd0f2e9cc fix: guard node test import order 10 months ago
yougotwill 87b922daff fix: ran formatter 10 months ago
yougotwill 39d8ad11e5 fix: a whole bunch of circular depdencies
for various convo duck, convo interactions, convo model and opengroup types
10 months ago
yougotwill c8b7d67c86 Merge branch 'unstable' into feat/ses-825/onboarding2 10 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
10 months ago
yougotwill e69ffc6bbe feat: use promise all settled for clear sogs inboxes 10 months ago
yougotwill da8fe92cc9 fix: disable join button when already joining a community 10 months ago
yougotwill 0f2f2bee6e fix: error test for input should be selectable
makes error reporting easier
10 months ago
Audric Ackermann 45eb547299 Merge remote-tracking branch 'origin/clearnet' into unstable 10 months ago
yougotwill 182f5605a5 fix: replace MAX_GROUP_NAME_LENGTH
using libsession BASE_GROUP_MAX_NAME_LENGTH
10 months ago
yougotwill 42813c0926 fix: replace MAX_COMMUNITY_NAME_LENGTH
using libsession COMMUNITY_FULL_URL_MAX_LENGTH
10 months ago
Audric Ackermann 2357368ddf feat: fetch snode storage version and filter for edge snode 10 months ago
yougotwill bbe26f7404 fix: move finally to outer try catch for delete method 10 months ago
yougotwill 1737d4507b fix: review feedback - unmount qr generated with finally on save 10 months ago
yougotwill cbf0a5b877 feat: convert privKeyBytes to hex
redux doesnt like uint8Array, rename shouldQuit to shouldQuitOnClick
10 months ago
yougotwill 9a4356a6b7 fix: review feedback - lightbox defaults 10 months ago
yougotwill 3ad09b38a4 fix: update translation link
show external link on hover
10 months ago
yougotwill 4a3adaa5e4 fix: aded simple test for sessioninput
made note to migratie to storybook in the future
10 months ago
yougotwill bde96d14e2 fix: remove unneeded catch 10 months ago
yougotwill 362e360f40 fix: replace chai with react-test-renderer for unit testing components
rewrite avatar placeholder test
10 months ago
William Grant b08c4592c2 feat: added error boundary to component rendering in unit tests, resolve issues SVGElement in JSDOM 10 months ago
William Grant 3cec666979 feat: commment on libsession constants
give context that CONSTANTS is not a object but an immediately invoked
function
10 months ago
William Grant e05d3a6874 fix: formatting fixes
use profile manager name validation in CreateAccount component
10 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
10 months ago
William Grant bc2e28b6b7 feat: use CONTACT_MAX_NAME_LENGTH
as max length for session inputs for user profile name
10 months ago
William Grant 5ef5fc59a8 fix: correctly trim usernames 10 months ago
William Grant 6fa6e5c189 feat: start of using updateOurProfileDisplayName in onboarding 11 months ago
William Grant 0b811bc641 feat: added updateOurProfileDisplayName
which uses libsession to check the display name length, not yet used in onboarding
11 months ago
William Grant 55f5cf5c9b feat: added quit modal
when going back during critical onboarding steps it's better to restart the app entirely
11 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
11 months ago
William Grant cebe7c884d feat: move db deletion methods to accountManager 11 months ago
William Grant 490e4957f4 feat: click on qr codes now opens the lightbox
lightbox now supports saving data blobs
11 months ago
William Grant 009795eb3b feat: migrated lightbox to modal state 11 months ago
William Grant bf218f0ec6 fix: play pause button in audio attachment 11 months ago
William Grant 9264aa7999 fix: correct admin crown color 11 months ago
William Grant b40cf49acf Merge branch 'unstable' into feat/ses-825/onboarding2
bumped react and redux to the latest minior versions
11 months ago
Audric Ackermann 60c6f47bfa fix: compilation issues since merge
unwrapped was duplicating in onboarding1, so I had to duplicate my fix
to not unwrap it
11 months ago
Audric Ackermann 8ce2bf6d2a Merge remote-tracking branch 'origin/clearnet' into unstable 11 months ago
Audric Ackermann 2988420e50 chore: fix lint 11 months ago
Audric Ackermann 534cebf5c4 fix: bump libsession and remove manual unwrapping/wrapping of push() 11 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
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 2dbcfe565a fix: remove unecessary length check on idsWithDisplayNames 11 months ago
William Grant 8454a676b5 chore: left comment to use GenericWrapperActions.makeDump once it has been merged 11 months ago
William Grant 0a6b0d6950 fix: cleanup 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 cdc147cd33 fix: clean wip logs 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 5df14e74ff fix: pass resoled colors to session icon on first render 11 months ago
William Grant b102a0675f fix: first load flicker on qr code 11 months ago
William Grant 5e3742e281 fix: resolve colors in convertIconToImageURL for 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
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
William Grant db7355ef8e fix: about window is now resizable 12 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
12 months ago
William Grant 268266d808 fix: pick keys for icon prop in setting list item title since we dont use all of them 12 months ago
William Grant fb68af94f1 fix: no need for reactnode or string type
reactnode supports strings
12 months ago
William Grant 87fb386ae5 fix: isSubtitle eval in search section header moved to parent 12 months ago
William Grant 7b634df2b5 fix: sanitizeDisplayNameOrToast setDisplayNameError to onDisplayNameError
since it can be useState or redux
12 months ago
William Grant 1e16be1be0 fix: use i18n for aria labels on the enter display name button 12 months ago
William Grant 8d8a25a965 fix: remove commented css on spinner 12 months ago
William Grant b938d2a353 fix: use i18n for continue button aria label 12 months ago
William Grant 819d67aa97 fix: improvements to closedGroupOverlay including virtualize member list
createClosedGroupWithErrorHandling errorHandler changed to onError, simplify search checks
12 months ago
William Grant 4f44a7a5fa feat: refactor theme state
added hooks for is light or dark theme and cleaned up any references
12 months ago
William Grant bcdfc93764 fix: revert swarmpolling to before merging unstable 12 months ago
William Grant c20bda442e fix: improved global window types for persistStore and inboxStore
we now await the persist store purge in deleteDbLocally
12 months ago
William Grant 685469438d Merge branch 'unstable' into feat/ses-50/onboarding
improved global window types for persistStore and inboxStore, we now await the persist store purge in deleteDbLocally
12 months ago
William Grant 506bdbf746 fix: replace convo list render functions with components 12 months ago
William Grant 69f4fd2892 feat: added heading component
improved join community suggested rooms stylings
12 months ago
William Grant 692f1f51d0 fix: updated deblug log to use new font variable 12 months ago
William Grant 2ca75560a2 fix: ses-2089 update tos datatestid to open-url to match other platforms 12 months ago
William Grant d6544efaa6 fix: ses-2089 update tos datatestid to open-url to match other platforms
backported from chunk 1 qa feedback
12 months ago
William Grant bb48971fa6 fix: ses-2087 recovery password banner heading is too large
backported from chunk 1
12 months ago
William Grant 8bebf28eb7 fix: ses-2087 recovery password banner heading is too large 12 months ago
William Grant edeed6e4cc fix: separate p tag styles into a component from styledprofilename 12 months ago
William Grant d7a874d0fb fix: specify seconds in onion status glow duration comment 12 months ago
William Grant 3b90d7d1d1 fix: replace keyup event listener with usekey hook
focus password input on mount for convenience
12 months ago
William Grant 2906b3200e fix: use input ref for password value instead of document lookup on pasword modal 12 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
12 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
12 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
12 months ago
William Grant 8e5ac58bc1 fix: properly type button and input ref 12 months ago
William Grant 8705fddd36 fix: isEmpty is not needed for searchTerm
because an empty string is falsy
12 months ago
William Grant 6f77b9a17d Merge branch 'unstable' into feat/ses-825/onboarding2 12 months ago
William Grant 4174ed5715 fix: resolve typos 12 months ago
William Grant 273fc42be4 feat: session input show hide button improvments
better aria labeling and dataTestIds
12 months ago
William Grant aa87675ad4 feat: added aria label to edit profile qr code 12 months ago
William Grant 0f89b1134d fix: revert naming convo render functions as components
it broke the search input for some reason
12 months ago
William Grant 93d1a9d430 feat: profile modal flow done
refactored edit profile dialog and extracted out components and keyboard shortcuts
12 months ago
William Grant 2fedce16df feat: invite a friend flow done
consolidate help desk buttons into one component
12 months ago
William Grant 341fa8b774 feat: recovery password settings flow done
added aria label and datatestid support to SessionQRCode
12 months ago
William Grant d14024d718 feat: account restoration flow done
updated some testids and aria labels, consolidated continue buttons into one component
12 months ago
William Grant 293a733806 feat: account creation flow done
updated some testids and aria labels, SessionInput now has aria label support
12 months 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 71cc46dfe4 feat: search results are now sorted alphabetically without case sensitivity
also includes unknown contacts
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 a159616514 feat: added filters to convo and contact query
search screen only shows contacts and not convos
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 681f488874 feat: added --font-size-xl 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 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 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 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 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 1d5c2de531 feat: added custom render function for react testing library
so we can load our own providers
1 year ago
William Grant 3f3c2f92ed fix: resolve cyclic import with outgoing message type
avatar placeholder unit test now runs
1 year ago
William Grant 6db6a1f65d fix: resolve cyclic imports with LokiProfile and MessageResultProps 1 year ago
William Grant e41366b03c fix: brand logo in onboard header should not block buttons 1 year ago
William Grant bb8ab77b07 fix: repair placeholder selectors
required since upgrading styled-components
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 1c121828fc 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 f417424907 fix: replace setAccountPasswordTitle with lockApp string 1 year ago
William Grant ca14936b1e fix: use recoveryPasswordOutline for light themes
updated to use building block svgs
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 80a7f15f0e fix: sessioninput color should be danger when there is an error
brought improvements from chunk 2
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 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