Commit Graph

1418 Commits (1f5691d88f43b701df84be9fd51a3e153b88dcd7)

Author SHA1 Message Date
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 1dd61aabeb fix: hide public admin actions on non public chats 2 years ago
Audric Ackermann 84deed19f9 feat: add block msg requests from sogs 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
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
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
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 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 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
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
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
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 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
Audric Ackermann fed58161a0 fix: address PR reviews and optimize search results 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 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 027b412fb2 feat: save conversation interaction errors to a message history 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 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 0fa58a5654 chore: fix compilation issues after conflicts resolution 2 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 2 years ago
William Grant f5d0530d7a fix: account for misalignment of messages that are not last in a series in a 1o1 2 years ago
William Grant 712259ddef fix: resolved incoming message alignemnt in 1o1 conversations
there is never an avatar so we should never render it
2 years ago
William Grant f87995a375 fix: replaced Number() casting to toNumber
fixed edge case of local db search for quotes lookup
2 years ago
William Grant b91388a672 fix: SES-585 when the app is not focused message quotes now load correectly
we now look up the existing messages in memory if not found in the quote lookup map, we also allow jumping to messages quoted but not yet stored in memory
2 years ago
William Grant 279642dff3 fix: resolves SES-583 left alignment of outgoing messages on smaller screens 2 years ago
William Grant bc55a2db1b rename Attachment type in Quote.tsx to QuotedAttachmentThumbnailType to be more explicit 2 years ago
William Grant 025b844cce fix: moved referencedMessageNotFound to first in quoteNotFound because it is the most likely to happen 2 years ago
William Grant 3fce414e7c fix: remove unnecessary else in onQuoteClick 2 years ago
William Grant 9b1be604b1 fix: removed redundant empty string check on quote author 2 years ago
William Grant 4d874d2738 fix: use --font-size-md for quote author size 2 years ago
William Grant feb8f46966 fix: removed redundant document check from getTypeLabel 2 years ago
William Grant ca6463da02 fix: make sure to show the quoted message above quotes that only have attachments and no text 2 years ago
William Grant fb51b20096 fix: cleanup TODOS 2 years ago
William Grant d60d2c8c75 feat: quotes will show the authors name where possible
cleaned up extra author props on quote and created a hook instead
2 years ago
William Grant e1a6f8e3fc feat: cleaned up getPropsForQuote and rely on getMessageQuoteProps selector for creating quote object
authorName is broken for some reason and we will need to fix it
2 years ago
William Grant 92ed15c6c4 feat: pass yarn ready 2 years ago
William Grant e90e548715 feat: improved quoted message not found
consolidated quote props lookup into getMessageQuoteProps, only use the db message in the quote components
2 years ago
William Grant d706ecdead fix: show authorName in reply ui 2 years ago
William Grant 1da8fd9f96 feat: load quote images correctly on first render 2 years ago
William Grant acdeabf306 feat: fixed click on a quote to go to the original message
added animation support to attachments when opening it via a quote
2 years ago
William Grant ab028307f4 fix: show play button in video quote attachments 2 years ago
William Grant 6b2047b5c6 fix: Show correct attachment type in reply ui 2 years ago
William Grant 761a536b32 feat: removed unneeded quote stylesheet and QuoteGenericFile 2 years ago
William Grant 98e4474e75 feat: use quoteicon component in quoteimage
make sure to load message text is it exists for all quotes
2 years ago
William Grant b1cc6ad85e fix: fix rendering of of text that has been emojified 2 years ago
William Grant ff4366002b feat: converted quoteiconcontainer and to styled components
added support for generic file icon with consistent design. Still need to support know file types and metdata from the generic file component
2 years ago
William Grant bdbdb477da feat: pass in all props to quote component
converted quote primary text to styled components
2 years ago
William Grant f0aeb59d54 feat: converted quote image to styled components
remove border on quote if there is an attachment
2 years ago
William Grant bf170e6e77 fix: fixed QuoteText type labels
show message not found in correct context
2 years ago
William Grant 23b6c9d25e feat: converted quote to styled components 2 years ago
William Grant 3249d2ff4c feat: converted quote author and text to styled components 2 years ago
William Grant d7bc8213d6 fix: community quotes now dont break the app 2 years ago
William Grant 1d413a2f76 fix: moved QuoteIcon component into QuoteIconContainer 2 years ago
William Grant 1609ebfe32 feat: separated quote components
removed reference warning component since it is no longer needed
2 years ago
William Grant e78d1dfb87 fix: send full text body for quote
resolved regression with quote author name
2 years ago
William Grant ad38b15809 feat: staged attachments rail stying updated
updated StyledStagedPlaceholderAttachment to be a styled functional component
2 years ago
William Grant d7200abfab feat: link message reply done 2 years ago
William Grant 80689bbe22 feat: voice message reply done 2 years ago
William Grant a07933a8ac feat: image reply done
added localisation for attachment description
2 years ago
William Grant 0d5c72555b feat: started updating reply to ui
finished text reply
2 years ago
William Grant 992d3d34e4 fix: mispell of ConversationHeaderSubtitle 2 years ago
William Grant 2fbee2197a fix: checking the subtitle array without casting as bool will produce a string in react 2 years ago
William Grant 5cd4bf1b6f fix: changed timer options dataTestId to use seconds and not the name
since we need an id unaffected by localisation
2 years ago
William Grant 996f1d0cb1 fix: disappearing modes loadDataTestId should return in switch cases 2 years ago
William Grant 8fb3f26376 feat: make timer value load an existing one from the conversation or the default
fixed session radio button flickering
2 years ago
William Grant f41c28a873 fix: moved feature release timestamp to constants so it only has to be defined once 2 years ago
Audric Ackermann 3b7589796c fix: noticebanner and scrollable right panel ui glitch 2 years ago
William Grant 5d4238a3d8 feat: created getMessageExpirationProps selector and used in ExpirableReadableMessage
this stops us passing props down from the child components of ExpirableReadableMessage
2 years ago
William Grant dd40fba132 fix: remove panel-settings panel mode since it is not needed 2 years ago
William Grant a10822bc74 feat: improved robustness of changing the conversation header subtitle
the previous logic relied on the length of the subtitles array which didn't account for when it changed depending on the conversation we were on
2 years ago
William Grant a1a3d68e45 feat: added data test ids 2 years ago
William Grant 8c345cede0 fix: added onclick function to subtitle
fixed opening correct settings option depending on header option displayed
2 years ago
William Grant 96ae50869f feat: added PropsForExpirationSettings type 2 years ago
Audric Ackermann 739693024b test: fix create group integration test 2 years ago
Audric Ackermann 3827298078 Merge remote-tracking branch 'emily/integration_tests_2' into onboarding-with-integrationtest-2 2 years ago
Emily 9e3a569fac Adding tests set nickname, call checks, change profile picture on linked device and unsend message check. Adding into data-testids for aforementioned tests and cleaning up typings 2 years ago
Emily eeb6cfb435 Adds data-testid to loading-animation, microphone recording button, recording permissions button, stop recording button, consolidates tests into user actions test, adds media to fixtures folder, updates linked device tests with avatar change, username change and group tests. Adds tests for messaging, sending image, video, document, gif and link with preview. Also updates reply message functionality to wait for loading animation 2 years ago
Audric Ackermann ce186517a3 chore: lint code 2 years ago
William Grant 42924b0c54 fix: use storage put instead of data methods so that we can track in redux
added a fix in OverlayDisappearingMessages so when v2 turns on an and the app is running a migration occurs
2 years ago
William Grant c1c380ba9d fix: remove unecessary any type from TimerOptions 2 years ago
William Grant dadc93bfda fix: remove unecessary useCallback for feature releaser 2 years ago
William Grant 1d6f200d50 fix: pass yarn ready 2 years ago
William Grant a50ea95bf3 fix: fixed timer alignment once and for all 2 years ago
William Grant 162e66876e feat: added single mode view for closed groups and note to self 2 years ago
William Grant f3f83505e0 fix: duplicate copy 2 years ago
William Grant afaaedac3e feat: added proper note to self support
note to self is always delete after send
2 years ago
William Grant a928aeb76c feat: improvements to the disabled state and group non-admins settings
separated components in OverlayDisappearingMessages
2 years ago
William Grant 157ec74cc1 feat: improved conversation header title 2 years ago
William Grant a1e956b3a9 feat: made the conversation header subititle into its own component 2 years ago
William Grant 2e6acb1f59 feat: only use timer svg for disappearing message 2 years ago
William Grant 64ce39398b feat: conversationHeaderTitle is now keyboard accessible
SessionIconButton is now keyboard accessible if a tabIndex is set to > -1
2 years ago
William Grant 5398f45a26 fix: typing animation alignment 2 years ago
William Grant b6c3edbac4 fix: pass yarn ready 2 years ago
William Grant 99412beaf3 feat: added dismiss button to NoticeBanner 2 years ago
William Grant 93cb972514 feat: updated hasOutdatedClient to track last user to send a legacy message
this makes the banner work properlly in closed groups
2 years ago
William Grant ea0a505dcf fix: fixed state of overlay options depending on release status 2 years ago
William Grant 80f18e9f1c feat: use correct timer options and set the defaults 2 years ago
William Grant 03bc6706f6 feat: added legacy mode timer notification copy 2 years ago
William Grant 6f1230398c fix: TimerNotification text is now centered 2 years ago
William Grant bd900128f4 feat: added hasOutdated Client to convo model, use feature release check to process disappearing messages
trigger banner when receiving a legacy disappearing message via hasOutdatedClient
2 years ago
William Grant 4dbbada728 feat: added notice banner component
show notice when conversation is in legacy mode, extracted some UI components from the ConversationHeader, updated featureReleaseTimestamp
2 years ago
William Grant 848c97938c feat: disabled new disappearing message modes behind a timed feature release function 2 years ago
William Grant 190c68d759 feat: added disabled state to right panel components 2 years ago
William Grant 7d0673f7f2 wip: added new legacy mode to panel, improved backwards compatibility
legacy mode support in conversation header, added typing for the expireUpdate, next is sending support
2 years ago
William Grant 42356b0d60 fix: duplicate timer update messages 2 years ago
William Grant 97ecc9e521 feat: fixed double expiration update message issue
started creating an inheritable expiration message class, improved start triggering logic
2 years ago
William Grant 446752cf54 feat: DataExtractionNotifications now expire
MessageRequestResponses should not expire, pass yarn ready
2 years ago
William Grant 5c697572a7 feat: Call Notifications now expire properlly
include the direction in the expiration props, setting the start timer doesnt directly update the model
2 years ago
William Grant ac844af691 feat: updated timer notification design and copy 2 years ago
William Grant 4ef3537a53 feat: timer notifications expire correctly when disappearing after sending 2 years ago
William Grant f36bbb9c7c feat: group invitiations now disappear 2 years ago
William Grant 2d6d6b4134 feat: moved PropsForExpiringMessage to state ducks 2 years ago
William Grant 513f94cb25 feat: extracted expiry logic from the GenericReadableMessage to a new component
This allows use to use the expiry logic for different visible messages not just generic ones
2 years ago
William Grant e34e3d4a4b fix: resolved some yarn ready issues 2 years ago
William Grant c3b09578a1 refactor: extracted header title to its own component 2 years ago
William Grant 46a88990a3 feat: improved styling between states 2 years ago
William Grant 1ff9f7b91e feat: removed old disappearing message display from header
show disappearing message screen when clicking the correct option
2 years ago
William Grant 26995e1873 feat: added new togglable subtitle to header 2 years ago
William Grant 22e02633a9 feat: started consolidating send and receive dm logic.
updated in parts but haven't test what happens
2 years ago
William Grant 8dc7dac55e feat: control available modes depending on the conversation 2 years ago
William Grant 4731139b05 feat: added default timer values for different modes 2 years ago
William Grant 2745571790 fix: correctly write to db when setting changes 2 years ago
William Grant 0700ac4813 fix: moved disappearing message types to utils 2 years ago
William Grant b12d086b22 feat: DisappearingMessageType -> DisappearingMessageConversationType
this is more explicit and allows use to use DisappearingMessageType in the message model
2 years ago
William Grant f4e5d89a15 fix: make sure to update state when the covnersation changes 2 years ago
William Grant 30196a131a feat: added basic support for different disappearing message modes
added expirationType and lastDisappearingMessageChangeTimestamp to conversations table, left a few comments for future work
2 years ago
William Grant ecfd69f3f0 feat: made right panel scrollable, added subtitle to panelradiobutton and xl margin option 2 years ago
William Grant 6b06e4a70b feat: added panel label for timer options 2 years ago
William Grant 46a8801d8e fix: rebuilt disappearing messages header beause syncthing 2 years ago
William Grant a42aff35fc feat: added panel radio buttons that list timer options 2 years ago
William Grant 8abd624c47 feat: updated right panel in a conversation to use overlay logic in preparation for disappearing messages
added panel buttons specific to this UI
2 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Emily d64dbc163f Updates typing to User and Group, splits openApp function and create user function, updates saved test users for group upkeep function 2 years ago
Audric Ackermann faeb95fefd feat: add block/decline logic to msg request & wrapper 2 years ago
Audric Ackermann ef6d9f1d51 feat: add empty states for each types of convo 2 years ago
Audric Ackermann b843d66084 feat: add the lastJoined and createdAt timestamp from wrapper logic 2 years ago
Audric Ackermann 796ccf0582 feat: add handling and setting of the expireTimer for contacts 2 years ago
Audric Ackermann 554b445a3e feat: lookup for shared config message on link device 2 years ago
Audric Ackermann 0050352470 chore: move selected convo selectors to another file 2 years ago
Audric Ackermann c3e9d503e4 fix: unread count and forced unread is synced 2 years ago
Audric Ackermann 1c50aacc34 chore: remove groupModerators sogs from the db, store in redux only 2 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 2 years ago
Audric Ackermann f5efb52fea feat: remove closedgroupv3 uneeded stuff for now
also move the room stuff which can be kept in memory into another redux
slice
2 years ago
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper 2 years ago
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2 years ago
Audric Ackermann e48307e625 fix: avatar alignment with emojis 2 years ago
Audric Ackermann e5c6e34c86 fix: avatar alignement issue with message 2 years ago
Audric Ackermann d512a1a131 fix: various UI margins and dedup official sogs join 2 years ago
Audric Ackermann 6d57bce103 fix: reduce font size of group name and add padding 2 years ago
Audric Ackermann bb0112c6c5 feat: increase max upload size to 10MB 2 years ago
William Grant a8b8692016 fix: improved reaction alignment based on avatar visibility 2 years ago
tomobre 828f1923a0 fix: avatar at bottom, reacts with margin 2 years ago
Audric Ackermann 2a8d764bfb fix tests 3 years ago
Audric Ackermann 456d52ab1a fix: make sure we do not use "group" or "private" without the enum 3 years ago
William Grant 35a7c08222 fix: centered id pill and emoji quick result 3 years ago
William Grant 31f786aecd fix: improved theme colors for file dropzone 3 years ago
William Grant bf057057d0 Merge branch 'clearnet' into theming_hotfixes 3 years ago
William Grant 9ffa63ccdc fix: changed remaing ems to rem and set root font size 3 years ago
Audric Ackermann 32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
To merge once theming is done: handle deleted messages & deleted reacts all at once
3 years ago