Commit Graph

727 Commits (feature/update-crowdin-translations)

Author SHA1 Message Date
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 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 178ea03af7 fix: cleanup 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 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 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 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 c6d86d25d8 fix: cleanup closed group avatar logic 2 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 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 ac4a00d415 fix: remove unused selector 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
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 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 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 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 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
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 f87995a375 fix: replaced Number() casting to toNumber
fixed edge case of local db search for quotes lookup
2 years ago
William Grant 321ce003f6 fix: updated quotes lookup explanation comment 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 16b394dbee fix: SES-597 quoting your own message now works correctly in communities 2 years ago
William Grant 3dc809783c feat: added quotesProps to fetchmessage results types 2 years ago
William Grant db5f2d8534 feat: created util funciton lookupQuote to read from the quote lookup map
this consolidates the key lookup logic to one place for future proofing
2 years ago
William Grant 70156c33b3 fix: simplify checking isFromMe for communities in getMessageQuoteProps selector 2 years ago
William Grant 391db5590e fix: replace controller lookup with redux conversation lookup in getMessageQuoteProps
this is more performance and relies on the latest redux state
2 years ago
William Grant a204464723 fix: move quote not found comment for better context 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 aa3855e49f feat: getConversationQuotes selector for memoising quotes lookup state 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 3bc187fa5e feat: performance improvements to quote lookup
getMessagesByConversation optionally returns quotes from messages in view, quoted messages that are deleted are removed from the lookup map. getMessageBySenderAndSentAt supports an array of messages and renamed to getMessagesBySenderAndSentAt
2 years ago
William Grant 1ff2969750 refactor: rename getMessageBySenderAndTimestamp to getMessageBySenderAndSentAt
its more clear what parameters are needed
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 d7bc8213d6 fix: community quotes now dont break the app 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 a962ef2228 feat: getMessageQuoteProps now loads data from conversation.quotes state and loads correctly into the Quote 2 years ago
William Grant ab1cf7a658 feat: added propsForQuote to message model props 2 years ago
William Grant 331a4e1e12 fix: resolved object is not extensible bug
forEach and async still don't play nice so used a regular for loop, added QuoteLookupType
2 years ago
William Grant a83bc64d0a feat: added quote source data to the conversation state as a separate object
this should help performance when loading quotes in the UI since individual db lookups will no longer be required
2 years ago
William Grant 0d5c72555b feat: started updating reply to ui
finished text reply
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
Audric Ackermann 77e5e38e46 chore: update lodash types, use prebuilt curbe25519-js 2 years ago
William Grant 73ca99496d feat: added DisappearingMessageModesWithState type 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 96ae50869f feat: added PropsForExpirationSettings type 2 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 2 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 2 years ago
Audric Ackermann ce186517a3 chore: lint code 2 years ago
William Grant ec3f62d12f fix: updated child types from PropsExpiringMessges
use type and the ampersand operator instead of the interface with extends for better consistency with the rest of the code base
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 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 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 7fae5344f4 fix: include off in available modes in call cases 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 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 97ecc9e521 feat: fixed double expiration update message issue
started creating an inheritable expiration message class, improved start triggering logic
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 4ef3537a53 feat: timer notifications expire correctly when disappearing after sending 2 years ago
William Grant 2d6d6b4134 feat: moved PropsForExpiringMessage to state ducks 2 years ago
William Grant e34e3d4a4b fix: resolved some yarn ready issues 2 years ago
William Grant 26995e1873 feat: added new togglable subtitle to header 2 years ago
William Grant 13f091eff3 feat: added function for calculating the expire start time
updated copy for setting change messages
2 years ago
William Grant 8dc7dac55e feat: control available modes depending on the conversation 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 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 cbffc29950 fix: run tests for libsession-util integration and fix issue 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann 55a2767fce feat: do not approve a convo before sending the first message
but still sync it's state through the createdAt with libsession util
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 3ff7281b6a chore: remove isGroup from the redux stored entry
as it is always = !isPrivate
2 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 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 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 2 years ago
Audric Ackermann f88acdb567 feat: remove blocked group tracking separately from the pubkeys 2 years ago
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2 years ago
Audric Ackermann 22329bc745 chore: cleanup FIXMEs and remove sig_timestamp as we cannot rely on it
we use timestamp instead of sig_timestamp for store requests
2 years ago
William Grant a8b8692016 fix: improved reaction alignment based on avatar visibility 2 years ago
Audric Ackermann 2a8d764bfb fix tests 2 years ago
Audric Ackermann 456d52ab1a fix: make sure we do not use "group" or "private" without the enum 2 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
Audric Ackermann 0b9f1a494a fix: allow 99 unread count before going to 99+ 3 years ago
Audric Ackermann e3006ae157 fix: do not return updated messages from markAllRead if not needed 3 years ago
William Grant de94d2e64a fix: pr review - create selectors for isDarkTheme and isLight Theme 3 years ago
William Grant 5b44565b5f Merge branch 'clearnet' into theming 3 years ago
William Grant 557c2b8d28 feat: classic-dark is now the default theme 3 years ago
William Grant 2f0e993af3 feat: moved constants into a constants folder 3 years ago
Audric Ackermann 0cc7994c12 fix: speed up expiration/deletion of messages by batching updates in UI 3 years ago
Audric Ackermann c75cf6e1af fix: UI for link previews when the image is too less than 200px 3 years ago
Audric Ackermann 51e03cf4e5 fix: rerender loop of react list modal
update redux related libraries
and update imports to use the RTK ones
3 years ago
William Grant b3885bf9d9 Merge branch 'clearnet' into theming
Link previews are broken for now
3 years ago
Audric Ackermann f4c91d0c91 fix: link preview rendering 3 years ago
Audric Ackermann e62c1599a5 Merge branch 'clearnet' into feat-move-attachments-outside-messagebox 3 years ago
William Grant 7e01c9f39a feat: fixed link preview and message details styling 3 years ago
William Grant e14f4832aa feat: added primaryColor to the redux store 3 years ago
William Grant e575bed6ea feat: added sun icon for light color mode
renamed SectionType Moon to ColorMode
3 years ago
William Grant edefa21a2b feat: we can now toggle to the classic dark theme
fixed ocean dark colors and updating theme setting logic
3 years ago
William Grant a54fb65d0b Merge branch 'theming' into theming_left_pane 3 years ago
William Grant 3c4fc8d919 Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann 17742539af fix: disable typing and message request on sogs without `write` 3 years ago
William Grant 5dd00e4dc2 Merge branch 'theming' into theming_left_pane 3 years ago
William Grant 39a710afad Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann c2e3e3ca3f Merge remote-tracking branch 'upstream/clearnet' into ui-redesigns 3 years ago
William Grant 9ee89fd099 feat: made more progress with left pane and left more comments 3 years ago
William Grant 6cd81e06f2 Merge branch 'ui-redesigns' into theming 3 years ago
Audric Ackermann 3ffc470c40 fix: address reviews comment 3 years ago
Audric Ackermann 1d45aa6f45 fix: show loading spinner while sogs is fetching initial messages 3 years ago
Audric Ackermann e464d6c573 Merge branch 'settings-redesign' into feature-menu-redesign 3 years ago
Audric Ackermann ffc4ca9f81 fix: do not autofocus settings section by default but Message 3 years ago
Audric Ackermann 0eac74dd07 Merge branch 'dev' into menu-redesign 3 years ago
Audric Ackermann e8fe564a08 fix: show sogs without display name in convo list
also use the pollinfo to update whatever the displayname if needed
3 years ago
William Grant b704b8202d feat: added colors file with all declared theme and primary colors
added hexColorToRBG utility so that we can handle rgba colors using the same variables
3 years ago
William Grant 131ee22099 Merge branch 'settings-redesign' into theming 3 years ago
Audric Ackermann 55365f817d Merge remote-tracking branch 'upstream/clearnet' into settings-redesign 3 years ago
William Grant 691b567916 Merge branch 'settings-redesign' into theming 3 years ago
Audric Ackermann 30e3cb8755 feat: fix other types of messages now that there is no box around 3 years ago
Audric Ackermann 7c80f9e233 feat: move attachments outside of the message box 3 years ago
Audric Ackermann e125979b7a fix: disable having some corner large and small for message bubbles 3 years ago
Audric Ackermann 1e202fcdab feat: add theme switcher +accent color from settings
not all of the logic is linked and not all of the colors are there as this is part of theming
3 years ago
William Grant 80d726659c Merge branch 'clearnet' into reactions_fixes 3 years ago
William Grant 05b7bdb956 fix: show correct count value for open group reactions 3 years ago
Audric Ackermann b638733090 fix: do not scroll back to unread banner when deleting msgs
Relates #2308
3 years ago
William Grant 4889cb5b32 fix: ReactionList Senders is now an array since we want to handle opengroup reactions separately
we no longer need the messagehash and server id for rendering reactions in the UI, ignore reactions using the outdated type
3 years ago
Audric Ackermann f137cad2a0 feat: add the BlockedList component in Settings 3 years ago
Audric Ackermann 85219d3827 fix: scrollbar colors and some UI issues found by QA 3 years ago
William Grant 05bd97df3b refactor: created themes folder and moved SessionTheme 3 years ago
Audric Ackermann 81fa09b8ee Merge branch 'menu-redesign' into settings-redesign 3 years ago
Audric Ackermann f87d902c98 fix: PR Reviews 3 years ago
Audric Ackermann ef1f634e6b Merge remote-tracking branch 'upstream/clearnet' into menu-redesign 3 years ago
Will G 267f49ff1e
Emoji Reacts (#2320)
Add support for emoji reacts in conversations

Resolves #2375 and #1577
3 years ago
Audric Ackermann 39cbbda609 chore: move SessionToggle & SettingList to styled 3 years ago
Audric Ackermann a0d3a00afa feat: start of settings screen redesign 3 years ago
Audric Ackermann 7bbbc74fa8 feat: make the tick on memberList a radio looking element 3 years ago
Audric Ackermann f415ef36dd feat: add sorted contacts list merged by starting char 3 years ago
Audric Ackermann 374b71630a feat: wrap up the new Join Community overlay 3 years ago
Audric Ackermann 282e631f73 feat: add menu action and action chooser left pane option 3 years ago
Audric Ackermann 6f4b70e650 fix: allow non admin mods to delete message for deletion 3 years ago
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
3 years ago
Audric Ackermann bfda4c7c01
fix: make sure a convo exists before returning it in search results
There is an edge case if you are in the search results page, and delete
(or get a convo deleted from the network).
The corresponding convo does not exist anymore but the search result
selector still tries to extract values from it.

This commit fixes that issue by returning early if the corresponding
convo is not there anymore
3 years ago
Audric Ackermann ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

* test: mention test create group instead of restoring from seed

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
3 years ago
Audric Ackermann 13e2f81f26
Merge remote-tracking branch 'upstream/clearnet' into node-side-in-ts 3 years ago
Audric Ackermann 0719700371 do not end call if connection fails, instead wait for new offer 3 years ago
Audric Ackermann 6bd835dfc3
move storage.js to ts 3 years ago
Audric Ackermann 74cf88cf81
create closed group mark as approved
also, do not filter closed group based on the isApproved field in redux
3 years ago
Audric Ackermann 49bae1925d
open message request reset opened convo and is a settings itself 3 years ago
Audric Ackermann 461ce4a7fb
Merge branch 'clearnet' into fix-unread-indicator-light 3 years ago
Audric Ackermann ad653e4aac
change sent background and text color for light mode
use black text on green instead of white on darker green
3 years ago
Audric Ackermann e853f57e6b
fix unread indicator color for light theme 3 years ago
Audric Ackermann 71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign 3 years ago
Audric Ackermann 75c7c7c27f
try a fix to prevent window from jumping with low number of messages 3 years ago
warrickct cf6a5b3446 Request banner appearing and tallying based on only unread requests 3 years ago
warrickct 451fb351a3 removing comments 3 years ago
warrickct e4f4328232 rename request evaluating function for clarity. Prevent disappearing messsages from being activated by request recipient before the request has been accepted. 3 years ago
warrickct 3be0f86978 Menu options have black text when highlighted. 3 years ago
warrickct 56c1a06a28 Adding rightclick accept/decline menu options for message requests. Adding hide menu item for message request banner. 3 years ago
warrickct 600ef86ea7 linting fixes 3 years ago
warrickct 065b8ab533 Added closing declined conversation requests if theyre open. Return to regular inbox on clear all. 3 years ago
Ian Macdonald 0c0543cc45
Use accent colour to distinguish last read indicator. 3 years ago
warrickct 5437433232 Fix passing wrong values to convo list. 3 years ago