Commit Graph

3121 Commits (3b8fd82d17bddbec9eeeb28e424f27f4de5da903)

Author SHA1 Message Date
William Grant 1d7380a254 refactor: rename expirationLength
to expirationDurationMs
2 years ago
William Grant 5f3a0899f5 feat: moved remaining code into feature folder
also separated out legacy functions
2 years ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
2 years ago
William Grant b471900a18 feat: move timer options out of redux 2 years ago
Kee Jefferys ff09d8e104 fix: disable eslint, refactor function 2 years ago
William Grant e66e9961e1 fix: use precasted variables for modes
for DisappearingMessageConversationModeType references
2 years ago
William Grant cafa9d80ec fix: remove all unneeded tslint comments
fixed some eslint errors
2 years ago
William Grant 851eca36e3 feat: use custom hook useRightOverlayMode 2 years ago
William Grant 577278a14d feat: made datatestids mandatory on readablemessages 2 years ago
William Grant a268aeb6d1 fix: type state correctly when using useSelector 2 years ago
William Grant f9b0ead150 fix: expiretimer now uses a ternary operator 2 years ago
William Grant c73be8aecc fix: use convoId instead of convoName in dep array
for what subtitle to show when changing convos
2 years ago
William Grant fa263430ae fix: remove else and return early
in handleRightPanelToggle
2 years ago
William Grant d6cc4f9c75 feat: use custom hook useIsRightPanelShowing
in functional components
2 years ago
William Grant 5dbf949bf5 fix: styledDot key should be more specific 2 years ago
William Grant bb2ffff83e fix: remove options menu from convo header
in favour of right panel
2 years ago
William Grant 33f3a4208e fix: cleanup NoticeBanner jsx 2 years ago
William Grant e5701d388d fix: remove unneeded tslint comment 2 years ago
William Grant 9b8bd6fe79 fix: removed noBackgroundColor from panel buttons 2 years ago
Keejef 95117afeea fix: Refactor settings to use Redux
Refactor setting to use boolean which is stored in redux
2 years ago
Audric Ackermann d134da3421 chore: renamed ConfigurationSyncJob to UserSyncJob 2 years ago
William Grant 9603a64f43 fix: messages are now vertically spaced correctly 2 years ago
William Grant dacac64b11 fix: messages are now the right way up
I have broken the reverse flexbox
2 years ago
William Grant ca7983caac fix: align expire timers with the member avatars
in groups
2 years ago
William Grant d3fb2d9546 fix: removed public-chat-message-wrapper padding 2 years ago
William Grant 9cd85a47af feat: move padding globally to the messages list
we dont want individual padding on each message type
2 years ago
William Grant 851cd2bd59 fix: timer alignment for group update 2 years ago
William Grant b74b0c2cf9 fix: timer alignment for data extraction notifications 2 years ago
William Grant ca97420c86 fix: timer alignment for timer notifications 2 years ago
William Grant f105c39461 fix: timer alignment for call notifications 2 years ago
William Grant 29b2f713f1 fix: timer alignement for group invitation 2 years ago
William Grant 31c0b9ec70 fix: timer position for GenericReadableMessages
still need to do other messages
2 years ago
William Grant d7e296841e fix: remove alignment from ExpirableReadableMessage
improved alignment of timer by moving into the MessageContentWithStatus
2 years ago
William Grant de2a15a691 fix: dont load container if there are no reactions
now message elements are the correct height from what we see visually
2 years ago
William Grant da869bfdd3 refactor: rename hook
useconversationusernameorshorten to usenicknameorprofilenameorshortenedpubkey
2 years ago
William Grant dfe0f6866a fix: conversationheadertitle shortens pubkey 2 years ago
William Grant bea539e669 feat: when v2 is released migration legacy convos
use the default mode and timer value for the convo type
2 years ago
William Grant fd73787192 feat: anyone in a group can change the setting
before the v2 release
2 years ago
William Grant 251f2e1d37 fix: single mode is off by default 2 years ago
William Grant 029db2d73f refactor: useselectedconversationexpirationtype to useselectedconversationdisappearingmode 2 years ago
William Grant 250e3d0238 refactor: rename expirationType on convo to expirationMode
this means convo has expirationMode and messages have expirationType
2 years ago
William Grant cd2f51684d refactor: disappearingmessageconversationtype to disappearingmessageconversationmodetype 2 years ago
Audric Ackermann d12071f3c8 chore: big rename of convocontroller to convohub 2 years ago
Audric Ackermann b53264593b feat: preload name of group from usergroup wrapper
until we get the groupinfo name from polling
2 years ago
William Grant 8ec6fb9fd7 feat: added new save icon
updated DataExtractNotification and Lightbox download icons
2 years ago
William Grant ca944298e0 fix: group invitation timer alignment
updated data extraction notification design. Just waiting on icon from ios
2 years ago
Audric Ackermann 1a18054fae feat: add bump of config hashes for groups when we have admin key 2 years ago
keejef 8f2a41bc13 feat: Allow enter to break line in settings
https://github.com/oxen-io/session-desktop/issues/1486
2 years ago
Audric Ackermann 197383a52f feat: move some the convomodel.get attributes to functions
this is because we need to be able to override what is returned by what
is in the redux lib slice if needed (libsession data overrides what is
in the DB for groupv3)
2 years ago
Audric Ackermann 46e3675c45 feat: add function to redux to grab group detail outside of store 2 years ago
William Grant 3ba1baaa67 fix: single mode value should be off
if disappearing messages isnt on
2 years ago
William Grant ab13f39a10 fix: newlines for logging 2 years ago
William Grant 3d2c1fbe78 fix: single mode should show the correct timer values
if a mode is invalid we return no timer options
2 years ago
William Grant ad21d198cf feat: outdated banner now shows specific messaging for synced messages 2 years ago
William Grant 6c47fd274f fix: show disappearing messages subtitle in convo header
when it is toggled on
2 years ago
William Grant e00ea8d55f fix: make sure disappearing messages is the first item in the conversation header subtitle 2 years ago
Ruben Garcia 87e85c3cbb fix: pass index down so attachments with no name get the proper suffix 2 years ago
Ruben Garcia af9f6c7586 docs: tab to spaces 2 years ago
Ruben Garcia a992dd17c9 Merge branch 'clearnet' into RenameMultipleAttachments 2 years ago
Audric Ackermann db98cc2812 feat: able to create a broken closedgroup v3 2 years ago
William Grant 2a05185138 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 1bdd8ca64c fix: menu positioning after upgrade of dep 2 years ago
Audric Ackermann c0ce1ede5b chore: add note for save as logic 2 years ago
Audric Ackermann 9199c7b529 fix: fix save as menu item + bump react-contexify to 6.0.0 2 years ago
William Grant 82bb74a9df fix: header subtitle correctly supports legacy again 2 years ago
William Grant 0e0984748a fix: timer direction appears correctly on messages 2 years ago
William Grant 85f270b67a Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 9d8cca1970 feat: convert between conversation and message model disappearing modes in key locations
remove disappearing messages from convo header context menu
2 years ago
Ruben Garcia 6ac328f0c3 Merge branch 'clearnet' into RenameMultipleAttachments 2 years ago
William Grant 60e5503e6a feat: check for v2 release correctly on startup
improvements to creating and updating closed groups with disappearing message settings
2 years ago
Audric Ackermann 0c611170b2
Merge pull request #2885 from oxen-io/unstable
Unstable to clearnet
2 years ago
Audric Ackermann 70b220400c
Merge pull request #2869 from Bilb/feature/ses-476/remove-profile-picture
Feature/ses 476/remove profile picture
2 years ago
Ruben Garcia 1b91d84b09 Changes to save multiple attachments in same message with a different name. 2 years ago
William Grant 48b1dd4d95 fix: resolve useEffect memory leaks in header title component 2 years ago
Audric Ackermann 95ac1492b5 fix: call function to upload avatar
am a dumbass, will help with dumbassing
2 years ago
William Grant c067ac9fc4 fix: simplified legacy support in conversationheadertitle 2 years ago
William Grant 60b75a8ddf feat: remove unlockNewModes from OverlayDisappearingMessages
use isDisappearMessageV2FeatureReleasedCached to set the mode to legacy strictly in the UI, created resolveLegacyDisappearingMode to change the legacy mode into the default mode for a conversation
2 years ago
William Grant ff19c95a92 fix: remove using legacy as a string for disappearing messages except in the UI
created new isLegacyDisappearingModeEnabled check, default use UNKNOWN expiration type in message classes if not defined
2 years ago
William Grant 82e396dca6 feat: remove useEffect on right panel and use hook for checking is v2 is released 2 years ago
Audric Ackermann 539eeb19cb fix: background of msgbox with long display name 2 years ago
Audric Ackermann 5b2580c48d feat: add poller changes and closed group keypair gen 2 years ago
Audric Ackermann 5c64c54ed6 fix: admin actions for sogs on msg click 2 years ago
Audric Ackermann 53fca2a4e9 fix: text for note to self delete from all my devices 2 years ago
Audric Ackermann ada549788c fix: rtl support for registration screen too 2 years ago
Audric Ackermann 73070d4e0e fix: trim pubkey before starting a convo with them
Fixes #2868
2 years ago
Audric Ackermann 9d4201aa95 fix: void rather than eslint disable 2 years ago
Audric Ackermann bc081df17d Merge branch 'unstable' into feature/ses-476/remove-profile-picture 2 years ago
William Grant da588a1096 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann bee00157ef Merge remote-tracking branch 'yougotwill/feature/ses-379/composition-rtl-support' into feature/ses-379/composition-rtl-support 2 years ago
William Grant 43276b069e Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann e3b6be7318 chore: fix typos
this comes from mdplusplus https://github.com/mdPlusPlus/session-desktop/tree/codespell

duplicated to fix conflicts
2 years ago
Audric Ackermann 1dd61aabeb fix: hide public admin actions on non public chats 2 years ago
Audric Ackermann e1d8b09c81
Merge pull request #2854 from Bilb/add-block-sogs-msg-requests
Add block sogs msg requests
2 years ago
Audric Ackermann 84deed19f9 feat: add block msg requests from sogs 2 years ago
Audric Ackermann cce1e89cdf fix: fallback to roboto if Loor does not have glyphs 2 years ago
William Grant 2a6d8a6544 feat: remove legacy from expirationType during db migration
fix migrations to work with user config changes
2 years ago
Audric Ackermann 5575d3cdbe chore: add datatestid for h5audioplayer 2 years ago
William Grant 7342488689 fix: conversation header subtitles rerender on every loop 2 years ago
William Grant 33a6380683 fix: more lint issues 2 years ago
William Grant d794b0a0d4 fix: comment out user config disappearing messages stuff for now 2 years ago
Audric Ackermann 509dd76b49 chore: share gh actions logic between workflows 2 years ago
Audric Ackermann c796afe4c8 Merge remote-tracking branch 'upstream/unstable' into integration_tests_2 2 years ago
William Grant a3fd9a8a96 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 5285d4240a fix: resolved missing selected conversation hooks imports 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 4b3c31de89 Merge remote-tracking branch 'upstream/unstable' into fix/long-username-quote-author-overflow 2 years ago
Audric Ackermann 953897cc1c
Merge pull request #2840 from Bilb/replace-tslint-with-eslint
Replace tslint with eslint
2 years ago
Audric Ackermann a23f53286e fix: typing bubble relates to current conversation, not selected one 2 years ago
Emily b7e0d08a25 Adds data-testid to toggle to enable read receipts 2 years ago
Audric Ackermann 41ca0666ce chore: remove () => void for misused promises 2 years ago
William Grant aad3a3aba2 fix: resolved missing selected conversation hooks
still need to fix more issues
2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2 years ago
William Grant 10561e4e3c Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann b7d444e5d5
Merge pull request #2820 from Bilb/chore/remove-unblock-group-string
chore: remove the unblockGroupToSend string as we cannot block a group.
2 years ago
Audric Ackermann feaba36fa4 fix: picker emoji-mart errors after update 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
William Grant ed2a372ca3 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
William Grant 853c9a2107 feat: fixed integration tests
except for linked device profile sync, need to update avatar-update-blue files for linux
2 years ago
William Grant 41d2760927 fix: removed duplicate imports and ordered localised keys 2 years ago
William Grant cb2328bcd0 fix: icon path typing error 2 years ago
William Grant 534080ddd7 fix: compressed and flattened thumbail svg path 2 years ago
William Grant 7cc5cd0440 fix: EditProfilePictureModalState should be camel case 2 years ago
William Grant b00eb52d35 fix: pass yarn ready 2 years ago
William Grant 977dbea9dc refactor: rename DisplayPictureModal to EditProfilePictureModal 2 years ago
William Grant b2c473c489 fix: rename oldAvatarPath to avatarPath for clarity 2 years ago
William Grant 49b4a28ef5 fix: moved all avatar logic from editProfileDialog to DisplayPictureModal 2 years ago
William Grant 3a0b7d1c72 feat: added upload image button if user doesn't have an avatar set 2 years ago
William Grant c301eace48 feat: added proper typings to icons and added thumbnail icon
confirmed support for svgs with multiple paths
2 years ago
William Grant b59f1bf445 feat: desktop now supports avatar being removed via sync configuration message
disabled buttons while loading
2 years ago
William Grant 84d3d5b1b4 feat: small refactoring 2 years ago
William Grant cb7c36e2e6 feat: initial remove profile work done 2 years ago
William Grant 88587a203d feat: added button state logic and migrated avatar upload logic from EditProfileDialog
show loading spinner while avatar is loading
2 years ago
William Grant ebeaec2080 feat: initial work for set display picture modal done
still need to do logic and handle multiple modals on screen
2 years ago
William Grant a9e8862c0a feat: convered EditProfileDialog to a functional component 2 years ago
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 77acd1396b feat: add support for blinded25 receipt of messages for later impl 2 years ago
Audric Ackermann 0e5ca3f731 chore: remove the unblockGroupToSend string as we cannot block a group. 2 years ago
Audric Ackermann 9261408738 fix: ellipsis when author is too long for quote or authortext 2 years ago
Audric Ackermann 97647d4dc7 fix: padding for messagebox + onclick drop while selecting msgs 2 years ago
Audric Ackermann 959c494cfb Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant c08dcc7ec6 fix: when we receive and make a quote message do an in-memory lookup before looking in the db
this can fix original message not found  errors when there are lot of unread messages and one of them is quoted
2 years ago
Audric Ackermann ec620d06f7
Merge pull request #2810 from Bilb/fix-userconfig2
fix for userconfig PR 2
2 years ago
Audric Ackermann 07616eb674 fix: avatar placeholder instead of grey circle when not enough members 2 years ago
Audric Ackermann 8c6f17fc33 fix: single sha512 of pubkey per pubkey for avatars 2 years ago
Audric Ackermann c6d86d25d8 fix: cleanup closed group avatar logic 2 years ago
Audric Ackermann 6be95b7177 fix: notif settings in list item convoId from contextprovider 2 years ago
Audric Ackermann b5f85e029e test: fix integration tests except disappearing message one 2 years ago
William Grant e232eadf91 fix: message spacing after fixing audio message shadow 2 years ago
William Grant d888999543 fix: use StyledMessageHighlighter in MessageAttachment only when it is rendered 2 years ago
William Grant 01ae43d7d0 feat: moved H5AudioPlayer SASS to styled components 2 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann de41988215 fix: typo on no audio output on speaker toggle 2 years ago
Audric Ackermann 5d323fa155 fix: give conversationId to convo list so the order is tracked
otherwise, a change of pinned conversation does not retrigger a render,
and the pinned conversation does not get pushed to the top
2 years ago
William Grant 41b488a71e feat: dont show your pubkey in community quotes 2 years ago
Audric Ackermann 4966cf9192 fix: a few integration tests broken with latest changes 2 years ago
wafflesvsfrankie 53558932a7
Merge branch 'oxen-io:clearnet' into integration_tests_2 2 years ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 2 years ago
William Grant d37aa42084 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
Audric Ackermann 1d9279c79c chore: merge conversation selectors into a single file
as the circular dependency was causing a createSelector called with
undefined issue on startup without user loggedin
2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 43badfa134 fix: virtualize list of search result so input typing is fast 2 years ago
William Grant 83f84c26e7 feat: changed getHTMLDirection into a util hook useHTMLDirection 2 years ago
William Grant 61149a5ca3 feat: use a selector for htmlDirection and pass it down as props instead of using state
this is more inline with class component conventions
2 years ago
Audric Ackermann dc3e8450e9 fix: memoize selected conversation props to avoid unneeded rerenders 2 years ago
William Grant 266a0d6964 fix: cleaned up sendMessageStyle arguments 2 years ago
William Grant 1f1bb702c3 feat: made htmlDirection part of the compositionBox state for easier referencing
user mentions and emoji quick results now support RTL
2 years ago
William Grant 435bdb8f8a fix: use margin-inline-start instead of margin-right 2 years ago
William Grant 0996c917f2 feat: use new methods in composition box for html direction
use dir in flexbox instead of row-reverse
2 years ago
William Grant 7be11cd973 feat: moved html direction logic into i18n util
updated Flex component with RTL support, create getWritingDirection selector
2 years ago
William Grant 7542a42fa6 feat: started adding rtl support to composition input
updated buttons, emoji panel, @mentions
2 years ago
William Grant ede5fd8558 feat: removed named comments in favour of git blame 2 years ago
William Grant d40b2d16b8 fix: show interaction even if a user is typing 2 years ago
Audric Ackermann fed58161a0 fix: address PR reviews and optimize search results 2 years ago
Audric Ackermann bec667ebee fix: remove row_number ordering when looking up message 2 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago
Audric Ackermann f2cddb83c8 chore: broke apart big Message selectors into smaller ones 2 years ago
William Grant 1c8ae3650e fix: pass yarn ready 2 years ago
William Grant 45b904ce8c feat: if we fail to leave a conversation then change to delete conversation and remove the group from the db 2 years ago
William Grant 2e7a55bad5 feat: removed delete contact option from context menu 2 years ago
William Grant d782a0214e feat: dont save interaction error messages in communities 2 years ago
William Grant 7579ec98e8 feat: updated copy for interaction error messages show in a conversation 2 years ago
William Grant e7f3bb5abf fix: if there is no last message, we still want to display the interaction status
loading state shows correctly in all cases, cleanup as well
2 years ago
William Grant 24776c0d5c feat: moved convo model interaction props into the lastMessage logic
this makes it easier to interact with since if an interaction fails we save it to the db as a message
2 years ago
William Grant 027b412fb2 feat: save conversation interaction errors to a message history 2 years ago
William Grant 68a94117a0 fix log string in interactionItem 2 years ago
William Grant b67d52382d feat: updated right panel leave button
added community leave failed text, handle leaving conversation with no name
2 years ago
William Grant 40e3a8fa72 feat: finished group and community leaving modals 2 years ago
William Grant 38c6cb0d7d feat: finished note to self and 1o1 conversation leaving and hiding 2 years ago
William Grant ad08372f2a feat: added headerReverse prop to SessionConfirm modal
adjusted styling and rendering of confirmation text and sub text
2 years ago
William Grant 9cd95bbcf1 fix: remove AdminLeaveClosedGroupDialog
added new leave group dialog strings
2 years ago
William Grant de614109d0 feat: added lastMessageId to convo model to uniquely identify a lastMessage 2 years ago
William Grant 30b486c80e feat: clear converation interactions if a new message appears in a chat
currently on checks text we need it to be more unique
2 years ago
William Grant 45ed2d5c05 fix: rename useConversationInteractionState to useConversationInteractionPropsById
extracted useLastMessageFromConvo to param selectors and renamed to useLastMessage, moved InteractionItem into MessageItem
2 years ago
William Grant 96fcbf1345 feat: added start enum to interaction status
improved error handling, consolidated types
2 years ago
William Grant 454e382ce4 feat: moved interaction logic to use conversation model
added fail text color to interaction item
2 years ago
William Grant 8a7007e7c3 feat: added interaction properties to conversation modal and started UI changes in ConversationListItem based on confirming an interaction
still to to port the original modal checks to use thd convo props
2 years ago
William Grant c492fad4ee feat: added support for tracking the confirmation process status and its type
attempting to show this status inside of the ConversationListItem message section, show confirmation modal when leaving private chats
2 years ago
Audric Ackermann 461b192f37 fix: mod and admin actions on message context menu for communities 2 years ago
Audric Ackermann d970887caa fix: bring back notification submenu to both context menu 2 years ago
Audric Ackermann 0fa58a5654 chore: fix compilation issues after conflicts resolution 2 years ago