Commit graph

11630 commits

Author SHA1 Message Date
Audric Ackermann 89dfe6e49d
Merge pull request #2468 from Bilb/drop-messages-no-visible-content
fix: drop .group from incoming messages & exclude it from visible check
2022-09-05 15:08:29 +10:00
Audric Ackermann 4ff0b63e36 fix: drop .group from incoming messages & exclude it from visible check 2022-09-05 14:35:48 +10:00
Audric Ackermann 785496f411
Merge pull request #2463 from yougotwill/react_popup_text_wrap
React Popup Text wrapping
2022-09-01 16:37:01 +10:00
William Grant df73b5dd33 fix: improved reaction popup positioning for tooltip and box 2022-09-01 16:29:17 +10:00
William Grant 8879893798 fix: wrap reactors list in popup so we don't have overflow 2022-09-01 15:48:25 +10:00
William Grant 9251e7687f refactor: improved logging for mutation cache 2022-09-01 13:10:15 +10:00
Audric Ackermann b06944fc4b
Merge pull request #2460 from yougotwill/reaction_popup_lighttheme_fix
fix: others text in reaction popup on light theme should be black
2022-08-31 17:54:50 +10:00
William Grant 243f07858e fix: others text in reaction popup on light theme should be black 2022-08-31 17:45:29 +10:00
Audric Ackermann 25f54a13ff
Merge pull request #2454 from yougotwill/sogs_poller_conflict_resolver
Opengroup Poller Reaction Conflict Resolution + Fixes
2022-08-31 16:56:52 +10:00
William Grant 58e4b4e896 fix: make sure to clear a reaction is the count is 0 on an opengroup 2022-08-31 16:33:57 +10:00
William Grant f138ea31b2 test: finished writing tests for sogs mutation cache
refactored processMessagesWithCachce function
2022-08-31 16:02:15 +10:00
William Grant 7c6af17327 fix: dont log removing entries from cache when there are none 2022-08-30 17:26:15 +10:00
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
2022-08-30 17:18:22 +10:00
William Grant bbfb55f211 fix: pr review fixes 2022-08-30 11:53:35 +10:00
William Grant b33ea096b4 fix: speed up reaction UI update for opengroups 2022-08-30 11:37:20 +10:00
Audric Ackermann d512f6911d
Merge pull request #2455 from Bilb/fix-open-link-click-preview
fix: click on a link preview shows the dialog to open or copy url
2022-08-30 09:06:23 +10:00
Audric Ackermann 3fd6c570c7 fix: click on a link preview shows the dialog to open or copy url 2022-08-29 17:49:34 +10:00
William Grant f309bf40f8 fix: repaired reaction notifications for 1-1s 2022-08-29 17:46:38 +10:00
William Grant dde61bb35b feat: moderator clear all reactions behaviour now uses the cache 2022-08-29 17:46:38 +10:00
William Grant 5ebd1775c0 feat: open group messages are now procesed via the cache
cached entries are now added or removed based on the "optimistic" state that we want
2022-08-29 17:46:38 +10:00
William Grant 469de252cb fix: added current emoji to reaction list reactor description 2022-08-29 17:46:38 +10:00
William Grant e409c7ca82 feat: created a cache for opengroups reactions, we can add and update them 2022-08-29 17:46:38 +10:00
Audric Ackermann 2a94f54039
Merge pull request #2452 from Bilb/make-all-message-bubbles-rounded
fix: disable having some corner large and small for message bubbles
2022-08-29 16:11:09 +10:00
Audric Ackermann a8c3463673 fix: set a min height for attachments preview so they cover their box
even if they are smaller that them

and close the replyTo in composition box on Escape press
2022-08-29 15:59:20 +10:00
Audric Ackermann e125979b7a fix: disable having some corner large and small for message bubbles 2022-08-29 15:19:41 +10:00
Audric Ackermann 24ffa128a4
Merge pull request #2303 from ianmacd/pr26
Update message expiry comment to match what the code does.
2022-08-29 13:37:25 +10:00
Audric Ackermann 20d9abc05b
Merge branch 'clearnet' into pr26 2022-08-29 13:15:35 +10:00
Audric Ackermann ccc5ac7c07
Merge pull request #2449 from yougotwill/react_send_ui_fix
React Send UI Improvments
2022-08-29 11:28:06 +10:00
William Grant 5d6dd048ab fix: use isUsFromCache instead of getOurPubKeyStrFromCache 2022-08-29 11:16:11 +10:00
William Grant 5f49d3084b fix: dont need isequal for comparing numbers 2022-08-29 11:10:34 +10:00
William Grant 1a44f5cb66 feat: added additional reactor information to the ReactListModal 2022-08-29 10:54:49 +10:00
William Grant 07c56e79f2 fix: make reaction UI updates when reacting faster in 1-1 and closed groups 2022-08-27 11:26:23 +10:00
Audric Ackermann fd7efe5b64
Merge pull request #2448 from Bilb/fix-margin-right-text-with-author
fix: right margin on body shorted than author name
2022-08-26 15:42:32 +10:00
Audric Ackermann 98ea07a361 fix: right margin on body shorted than author name 2022-08-26 15:40:21 +10:00
Audric Ackermann e5f484f5bd
Merge pull request #2445 from yougotwill/reactions_fixes
Reactions Updates
2022-08-26 14:53:45 +10:00
William Grant 8b8be7a45d Merge branch 'clearnet' into reactions_fixes 2022-08-26 14:40:53 +10:00
William Grant 7a80e18327 fix: improved react popup localisation, review fixes 2022-08-26 14:39:57 +10:00
Audric Ackermann 21a414cdf0
Merge pull request #2447 from Bilb/fix-replying-attachment-failing
fix: skip attachment without path when replying to a message
2022-08-26 13:56:35 +10:00
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
2022-08-26 13:53:27 +10:00
Audric Ackermann a61d549466
Merge pull request #2438 from Bilb/fix-rounded-border-messages
fix: rounded corners around messages
2022-08-26 13:34:41 +10:00
Audric Ackermann 95c7e6b152
Merge pull request #2437 from Bilb/fix-drop-incoming-empty-messages
fix: make sure we drop empty messages from the main sogs pipeline
2022-08-26 13:26:30 +10:00
Audric Ackermann 7e32880ab0 fix: use js variables instead of css variables for Message corners 2022-08-26 13:24:57 +10:00
William Grant 80d726659c Merge branch 'clearnet' into reactions_fixes 2022-08-26 13:23:54 +10:00
Audric Ackermann c198127793
Merge pull request #2441 from Bilb/fix-issue-2308
fix: do not scroll back to unread banner when deleting msgs
2022-08-26 13:00:36 +10:00
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
2022-08-26 12:59:45 +10:00
Audric Ackermann 6a15cfaf82
Merge pull request #2439 from Bilb/fix-unread-having-json-attributes
fix: getUnread() messages should have the json as object rather than str
2022-08-26 12:58:49 +10:00
Audric Ackermann 8649483503 fix: add comments to isMessageEmptyExceptReaction and isMessageEmpty 2022-08-26 12:56:36 +10:00
William Grant 05b7bdb956 fix: show correct count value for open group reactions 2022-08-25 17:23:26 +10:00
William Grant d77c9fa824 fix: sogs reactions work again and added rate limiting 2022-08-25 15:10:12 +10:00
Audric Ackermann 98b1302589 fix: rounded corners around messages
looks like node-sass tries to be too clever
2022-08-25 13:40:47 +10:00