Commit Graph

5703 Commits (6c945a173d819f04f34f0d457b11a91916984175)

Author SHA1 Message Date
Ryan Miller c0d9410094 feat: create html stripper for i18n strings and add plurals support 9 months ago
Audric Ackermann 40e6cfd14d
fix: fs needs headers not body 9 months ago
yougotwill 45d1791cdf feat: updated generic attachment to pass through pending prop 9 months ago
Audric Ackermann 0c015b4ea7 fix: group updates localization shares logic with component 9 months ago
Audric Ackermann cd3dccea02 fix: use date-fns for abbreviated expire timer 9 months ago
Audric Ackermann be23ef0e92 Merge branch 'standardised_strings' of github.com:Aerilym/session-desktop into standardised_strings 9 months ago
yougotwill bc86dd6c1f feat: generic attachments for messages components 9 months ago
yougotwill bdbc48590e feat: consolidated attachment types 9 months ago
Audric Ackermann 1f366b6d8b fix: more i18n changes 9 months ago
Ryan Miller 63369cf008 fix: getMessage default substitutions 9 months ago
Ryan Miller 530c4b9fc1 feat: refactor reaction popup to use i18n component 9 months ago
Ryan Miller 3f272244d2 fix: use I18n component in subtleNotifications 9 months ago
Ryan Miller a26d8ef61f feat: create custom tag parser and tag renderer 9 months ago
yougotwill 24b3feb39e fix: load attachments in the messages list 9 months ago
yougotwill b1616d4e13 fix: updated DebugMessageInfo 9 months ago
yougotwill ffa276c23f fix: update comment 9 months ago
yougotwill c378aba960 fix: run setupTheme after Storage is ready 9 months ago
Audric Ackermann 4f44eecd6b fix: update with latest changes from crowdin
not compiling yet
9 months ago
yougotwill 3ad305f451 feat: added copy button to debug window 9 months ago
yougotwill 320822f490 fix: dont show environment in about in prod 9 months ago
Audric Ackermann 697896d52e chore: fix comment about cleaning up of logs on start 9 months ago
Audric Ackermann d152ce946b Merge remote-tracking branch 'upstream/unstable' into standardised_strings 9 months ago
Audric Ackermann e4379b69bd
Merge pull request #3148 from yougotwill/fix/ses-2521/input_improvements
Fix pasting community URL in session input
9 months ago
Audric Ackermann f736b55f58 fix: fix unit tests 9 months ago
Audric Ackermann db1a1efa32
Merge pull request #3147 from Bilb/fix-restore-push-too-soon
fix: postpone first sync after start
9 months ago
Audric Ackermann dd2e9a1c1f fix: use latestenvelopetimestamp of userprofile conf for nts message 9 months ago
Audric Ackermann 12faf225fd fix: remove the 2.8.0 min version for snodes to be the edge
this was only needed until the network upgraded
9 months ago
yougotwill c101f4eeb5 fix: multiline inputs now grow instead of scroll when the content is tall 9 months ago
yougotwill 7708bc97c1 fix: make sure to show scroll bar on fixed height session input 9 months ago
Audric Ackermann 1998f5f6cc fix: postpone first sync after start 9 months ago
Audric Ackermann 77cafde13a
Merge pull request #3141 from Bilb/fix-icons-settings
fix: icon width in the settings list
9 months ago
yougotwill 6b627254c0 fix: use a constant for the fallback timestamp 9 months ago
yougotwill 2b448dc596 fix: if a group is missing a joinedAt value we use fallback value
so we can poll for it and display it in the convo list
9 months ago
Audric Ackermann e31ba022e3 fix: logs rotating file are broken, don't use them 9 months ago
Audric Ackermann 54d024811e chore: update icons 9 months ago
Audric Ackermann 827e15bbc8 fix: recovery password outline ratio 9 months ago
Audric Ackermann 5508222754 fix: icon width in the settings list 9 months ago
yougotwill 53308f6183 fix: setting the password no longer requires a restart
make sure to set the password hash on storage after the database is updated
9 months ago
Will G cd706cd367
Merge pull request #3139 from yougotwill/fix/ses-2514/settings_icon_alignment 9 months ago
Will G 1e3f7f617c
Merge pull request #3131 from yougotwill/fix/ses-2426/block_contacts_height 9 months ago
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 21180c28ff fix: simplify getIsModalVisable Selector 9 months ago
yougotwill 935175120a fix: make sure when using pxValueToNumber we pass valid numbers 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 29d4f8497c fix: restoring groups should use the libsession joined at timestamp
and then update using the active_at value as we read messages
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 24f516ab57 feat: search results contact list now matches contact list 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
Audric Ackermann 4bb857fa53 fix: update fetching desktop 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 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
Audric Ackermann 4d7a0e7a04 fix: add name property to GroupPromoteMessage 10 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
10 months ago
Audric Ackermann 522d82d764 chore: cleanup logs 10 months ago
Audric Ackermann aa6d39c270 fix: delete member + content from the admin side 10 months ago
Audric Ackermann c476ad1704 fix: bug not refreshing the contacts map value on commit 10 months ago
Audric Ackermann a8c674c07a feat: use details from GROUP_MEMBERS when we don't know him 10 months ago
Audric Ackermann c4e9aab66c fix: remove invite/promote to group message once processed 10 months ago
Audric Ackermann 2bed606651 fix: update group name in usergroup when getting kicked 10 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
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 95cd940948 fix: make the UI more responsive to GroupInvite retries 11 months ago
Audric Ackermann d2af48f6fc fix: groupKeys needs to be sent first, so with an negative requestOrder 11 months ago
Audric Ackermann 102e05d924 fix: small padding inconsistency between TextNotification usage 11 months ago
Audric Ackermann d6cb399cf3 chore: matched designs better for the NoticeBanner 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
Audric Ackermann a9122be2f1 fix: clean up sending pipeline with a single array of requests 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
Audric Ackermann 59a4048323 fix: cleaned up SnodeRequestTypes and made sup_keys a single item 11 months ago
Audric Ackermann a49a65c92b chore: cleaned up the batch sender 11 months ago
Audric Ackermann 816f29d682 chore: moved outgoing message wrapper functions to MessagWrapper.ts 11 months ago
Audric Ackermann cd122c7252 fix: make pushChangesToGroupSwarm take an extraStoreRequest 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
Audric Ackermann 9b124d384e fix: featureFlag to show some buttons/toggle for QA of group chunk3 11 months ago
Audric Ackermann 7826dff0f7 fix: use values from db and not libsession when inserting into wrappers
this is just another reason to get rid of the duplication between the DB
and libsession. We should be able to trust what we get from libsession,
but currently we have to trust that we update the DB with what we get
from libsession.
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 1aa9091026 feat: call swarm_verify_subaccount when receiving an invite 11 months ago
Audric Ackermann e42be002a6 feat: cleaned up accept/block/decline logic 11 months ago
William Grant db7355ef8e fix: about window is now resizable 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 bcdfc93764 fix: revert swarmpolling to before merging unstable 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
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
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 2ca75560a2 fix: ses-2089 update tos datatestid to open-url to match other platforms 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