Commit Graph

211 Commits (49955a3947ad25260c621919e5e83bd749f20b8a)

Author SHA1 Message Date
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 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 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
Audric Ackermann 461b192f37 fix: mod and admin actions on message context menu for communities 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 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 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 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 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 1609ebfe32 feat: separated quote components
removed reference warning component since it is no longer needed
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
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 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 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 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
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
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
2 years ago
Audric Ackermann e3006ae157 fix: do not return updated messages from markAllRead if not needed 3 years ago
Audric Ackermann 0cc7994c12 fix: speed up expiration/deletion of messages by batching updates in UI 3 years ago
Audric Ackermann 17742539af fix: disable typing and message request on sogs without `write` 3 years ago
Audric Ackermann 1d45aa6f45 fix: show loading spinner while sogs is fetching initial messages 3 years ago
Audric Ackermann b638733090 fix: do not scroll back to unread banner when deleting msgs
Relates #2308
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 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 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 49bae1925d
open message request reset opened convo and is a settings itself 3 years ago
Audric Ackermann 71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign 3 years ago