Commit Graph

356 Commits (5111a141c8048f475844344c21814ede5bfdfd8a)

Author SHA1 Message Date
William Grant 5111a141c8 feat: remove QUOTED_TEXT_MAX_LENGTH and sliceQuoteText 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 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 d706ecdead fix: show authorName in reply ui 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 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 e78d1dfb87 fix: send full text body for quote
resolved regression with quote author name
2 years ago
William Grant 0d5c72555b feat: started updating reply to ui
finished text reply
2 years ago
Qian Hong bcbeab52c1 fix: Remove createNonBreakingLastSeparator. Fix #2396. 2 years ago
Audric Ackermann d512a1a131 fix: various UI margins and dedup official sogs join 2 years ago
Audric Ackermann bb0112c6c5 feat: increase max upload size to 10MB 2 years ago
William Grant 504f60cb97 fix: resolved missing reactions in open groups, fixed mutation cache logic 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 24af2dabfb fix: remove usused onReadMessage method 3 years ago
Audric Ackermann 0cc7994c12 fix: speed up expiration/deletion of messages by batching updates in UI 3 years ago
Audric Ackermann 3788f5a4d5
Merge pull request #2488 from Bilb/message-request-include-profile
Profile in messageRequest
3 years ago
Audric Ackermann 84f2ce777a fix: include profile in message request response 3 years ago
Audric Ackermann c22d7c2367 Merge branch 'clearnet' into mark-all-as-read-optimization 3 years ago
Audric Ackermann dcf2f96c9f fix: address regression tests UI issues 3 years ago
Audric Ackermann 17742539af fix: disable typing and message request on sogs without `write` 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
Audric Ackermann 2e2dac6c08
Merge pull request #2458 from Bilb/fix-add-voice-message-flag
fix: set flags to VOICE_MESSAGE when sending attachment with voice msg
3 years ago
William Grant 3060ffd25a test: added tests for adding and updating sogs cache entries
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
Audric Ackermann 9ffa529c30 fix: set flags to VOICE_MESSAGE when sending attachment with voice msg 3 years ago
William Grant b33ea096b4 fix: speed up reaction UI update for opengroups 3 years ago
Audric Ackermann d9e504afa0 Merge remote-tracking branch 'upstream/clearnet' into mark-all-as-read-optimization 3 years ago
William Grant 07c56e79f2 fix: make reaction UI updates when reacting faster in 1-1 and closed groups 3 years ago
William Grant 8b8be7a45d Merge branch 'clearnet' into reactions_fixes 3 years ago
Audric Ackermann 21a414cdf0
Merge pull request #2447 from Bilb/fix-replying-attachment-failing
fix: skip attachment without path when replying to a message
3 years ago
Audric Ackermann c0cc74593e fix: skip attachment without path when replying to a message
This can happen if the attachment is still downloading, or could not be
downloaded. The message will have attachments or thumbnails, without
valid data associated to it.
This fix makes sure we don't try to load invalid paths when trying to
gather the attachments and previews
3 years ago
William Grant 80d726659c Merge branch 'clearnet' into reactions_fixes 3 years ago
Audric Ackermann 2776079d19
Merge pull request #2435 from Bilb/fix-attachment-not-showing-right-panel
fix: mark message as having attachmnents once data is uploaded
3 years ago
William Grant 05b7bdb956 fix: show correct count value for open group reactions 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 3e2a32922a fix: getUnread() messages should have the json as object rather than str 3 years ago
Audric Ackermann 9df6f209c4 fix: mark message as having attachmnents once data is uploaded
this is to make those media visible on the right panel.
This only happens for attachments we are sending
3 years ago
Audric Ackermann 530ed5991a
Merge pull request #2423 from Bilb/track-hidden_mods-hidden-admins-too
fix: track hidden mods and admins if we get them
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 5266a24d88 fix: track hidden mods and admins if we get them 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
Will G 09dec1246a
refactor: Removed duplicate callNotificationType check in Message getDescription() 3 years ago
Audric Ackermann 9251711fa5
fix: optmize markAllAsRead when no expiration timer
we basically do a single sql call to mark everything as read for that
conversation, force unreadCount to 0 and mention state to false, and
trigger read syncs if needed.

the optomization cannot work for conversation with expiration timer for
now
3 years ago
Audric Ackermann 19decad766
fix: send read receipt when settings ON and window focused 3 years ago
Audric Ackermann c3b9cd2b41
fix: error when trying to reply to an attachment
Relates #2327
3 years ago