Commit Graph

5431 Commits

Author SHA1 Message Date
l10n daemon script
58658d1aa2 GIT_SILENT Sync po/docbooks with svn 2025-05-25 03:56:50 +00:00
Joshua Goins
611fb87376 Improve the UX for rooms that don't have a canonical alias
This was discovered none other than Bug Catcher Nate, while in the TWiKS
room. That room doesn't have a canonical alias set (yet) and that
exposed some UX problems around aliases in NeoChat.

First, the non-canonical alias isn't shown in the info drawer despite
being the only alias available. This is something that Element actually
does, and now NeoChat does too.

Second, NeoChat will try to copy the room's internal Matrix ID (which is
not that great) to the clipboard because it looks for the canonical
alias. Surprisingly, Element also does this but now NeoChat doesn't.

(cherry picked from commit 86fd2e8e1e)
2025-05-24 17:34:12 -04:00
Joshua Goins
823700eb8e Fix GlobalMenu initialization on other platforms
Cherry-pick of 76919a13b8
2025-05-24 09:42:44 -04:00
l10n daemon script
fbefaa0638 GIT_SILENT Sync po/docbooks with svn 2025-05-22 03:22:29 +00:00
Joshua Goins
85262c70c3 Fix issues with global menu
Smaller version of b5fcad3db0 that doesn't
have string changes.
2025-05-21 16:36:23 -04:00
Joshua Goins
c88e843a34 Add padding around file progress indicator, move it to the center
Before it stuck to the top-left corner, and looked bad. Now it's
properly centered inside of the chat bar.

(cherry picked from commit de8c9f4878)
2025-05-21 16:35:02 -04:00
Joshua Goins
702d17bc4d Add duration to voice message delegate
Otherwise you have to download the audio file before you can tell how
large it is.

(cherry picked from commit f029cf842a)
2025-05-21 16:35:02 -04:00
l10n daemon script
e015cbea07 GIT_SILENT Sync po/docbooks with svn 2025-05-21 03:19:54 +00:00
Albert Astals Cid
ccf3976a6b CI: Remove Linux Next (Qt 6.10) job
It has been failing for 4 consecutive weeks.

Master passes with Qt 6.10 so hopefully no one will be using this
version with 6.10...
2025-05-20 20:36:02 +00:00
Akseli Lahtinen
bfa1f9f053 Load stickers properly
This fixes stickers not loading, similar to the patch at
0cc14f710d
2025-05-20 15:14:35 +03:00
l10n daemon script
9c4dce53b2 GIT_SILENT Sync po/docbooks with svn 2025-05-20 03:18:03 +00:00
l10n daemon script
baaea57cd9 GIT_SILENT Sync po/docbooks with svn 2025-05-16 03:23:59 +00:00
Joshua Goins
61bb1c5db1 Check if RoomEvent is null before trying to insert a notification
As seen in the bug report, roomEvent could be null and then we get a
nice and simple null-access error. We should be careful before trying to
use it.

BUG: 502687
(cherry picked from commit a1513b30cd)
2025-05-15 13:43:02 -04:00
Joshua Goins
9b8c7714d4 Allow performing shortcuts while the completion menu is open
This prevents doing actions like zooming in your screen (Meta+Equals)
because it will tripper shortcutOverride and close the menu. Instead, we
shouldn't block shortcuts but still allow closing when Escape is
pressed.

This *does* block all NeoChat shortcuts when the completion menu is
open, but personally I think this is fine. If you have this open, you
really should finish your message first!

(cherry picked from commit fda84a6aac)
2025-05-15 13:42:52 -04:00
Joshua Goins
a020db2e04 Give completion popup a minimum size when editing an existing message
This was previously fixed to the size of the text area itself, which
could be small. We also have a bug where the text area *itself* is like
one character big, so this helps there too.

The popup is also given a margin of 0 so it is always positioned within
the bounds of the window.

BUG: 503483

(cherry picked from commit 142312d87d)
2025-05-15 13:42:52 -04:00
Joshua Goins
457b4ee3be Fix crash when trying to edit your message on a wide screen
This only seems to happen when the window is maximized, specifically
the height of the window. This seems to be a weird TextArea issue (or
something else in our TimelineView) but until that's found out, a
Qt.callLater will prevent this annoying crash.

BUG: 503846

(cherry picked from commit 906fb97259)
2025-05-15 13:42:15 -04:00
Joshua Goins
0237bf048b Fix undefined reference to webShortcutModel
This was incorrectly capitalized, so I just went ahead and properly
capitalized it so we stop making this mistake!

(cherry picked from commit 80923a2025)
2025-05-15 13:41:46 -04:00
Joshua Goins
f6183a4689 Fix the room list header margin in Kirigami >6.14
They changed how margins behave when there's no navigation buttons in 7b02df40381b28de97fab1dd8d97182778c242df
so we are actually adding more padding ontop of the existing one.


(cherry picked from commit d51e68e9e2)

Co-authored-by: Joshua Goins <josh@redstrate.com>
2025-05-15 13:38:35 -04:00
Joshua Goins
2a2d469d7d Make sure that ChatDocumentHandler can handle the document being changed to a nullptr
Make sure that ChatDocumentHandler can handle the document being changed to a nullptr.

BUG: 501950


(cherry picked from commit 97d5be9d81)

3f287b20 Make sure that ChatDocumentHandler can handle the document being changed to a nullptr.

Co-authored-by: James Graham <james.h.graham@protonmail.com>
2025-05-14 18:11:09 -04:00
l10n daemon script
2212dc4d5e GIT_SILENT Sync po/docbooks with svn 2025-05-13 03:26:15 +00:00
l10n daemon script
6e179562f0 GIT_SILENT Sync po/docbooks with svn 2025-05-11 03:16:58 +00:00
Aleix Pol Gonzalez
b75f8b527c Fixes a null pointer call
It seems like the case is possible as we already are treating the case
in isUserBanned. Doesn't seem ideal as it shows "" where the username
should be but it's better than a crash.


(cherry picked from commit df9a7292b9)

Co-authored-by: Aleix Pol <aleixpol@kde.org>
v25.04.1
2025-05-04 14:46:32 +00:00
Heiko Becker
0a7fccaa5c GIT_SILENT Update Appstream for new release 2025-05-03 00:31:30 +02:00
Heiko Becker
dd3488efbe GIT_SILENT Upgrade release service version to 25.04.1. 2025-05-02 23:04:43 +02:00
l10n daemon script
617eb25bbb GIT_SILENT Sync po/docbooks with svn 2025-04-28 03:16:05 +00:00
l10n daemon script
7cf20a473c GIT_SILENT Sync po/docbooks with svn 2025-04-23 03:14:41 +00:00
l10n daemon script
749b59e5eb GIT_SILENT Sync po/docbooks with svn 2025-04-22 03:14:28 +00:00
l10n daemon script
c8170f5a96 GIT_SILENT Sync po/docbooks with svn 2025-04-21 03:12:41 +00:00
l10n daemon script
142adbeb00 GIT_SILENT Sync po/docbooks with svn 2025-04-18 03:11:51 +00:00
Joshua Goins
a1c213dc46 Fix two (edited) strings appearing in edited quotes
This is because we only check if the last message component != Text,
because that handles it's own edit strings. Quote components do that
too, so if we don't exclude it there ends up being two (edited) strings
in one message.

(cherry picked from commit 5ef4ab0756)
2025-04-17 09:44:56 +00:00
Joshua Goins
f642b1488a Fix multi-line quotes being cut off
This was a mistake in the code that was designed to remove the outside
paragraphs, which seems to be to make way for the quotation marks we
add around the text. Instead of doing that (which turns out, is very
brittle and breaks on multiple paragraphs) insert the quotation marks
*inside* of the paragraph tags.

A test case is added for this as well.

(cherry picked from commit 704505958e)
2025-04-17 09:44:56 +00:00
Joshua Goins
3e683eac77 LinkPreviewComponent: Fix a few bugs, restore the image preview
We realized that images don't display in link previews anymore, because
QML is terrible and this property is a QUrl, so when we call .length it
silently fails and never loads the image. This is easily fixed by
calling .toString().

There's also another bug where the title ie elided way too greedily, but
we can simplify the elision check and fix the bug at the same time.
No more "Hom..."!

(cherry picked from commit 2546d79f26)
2025-04-17 09:44:56 +00:00
Joshua Goins
299d8e9c40 Set the pointing hand cursor shape on link previews
Our HIG explicitly says we can do this for links, and these components
are literally giant links. This might also help differentiate these from
similar looking components like quotes for desktop users.

(cherry picked from commit c3404936fd)
2025-04-17 09:44:56 +00:00
Joshua Goins
45f9aeb5bf Elide the hover link indicator
For long links, this ends up going "off" the window (not really of
course.) One good example is Bugzilla filter URLs which are ungodly
huge. So eliding these just makes it look better, browsers do this too.

(cherry picked from commit ec635d7de3)
2025-04-17 09:44:56 +00:00
l10n daemon script
6961442090 GIT_SILENT Sync po/docbooks with svn 2025-04-17 03:11:11 +00:00
l10n daemon script
f4b31838bc GIT_SILENT Sync po/docbooks with svn 2025-04-15 03:12:49 +00:00
l10n daemon script
8e3ffd3e9d GIT_SILENT Sync po/docbooks with svn 2025-04-14 03:12:29 +00:00
l10n daemon script
02cfb0df9c GIT_SILENT Sync po/docbooks with svn 2025-04-13 03:07:06 +00:00
l10n daemon script
c95778b3ac GIT_SILENT Sync po/docbooks with svn v25.04.0 2025-04-10 03:11:40 +00:00
l10n daemon script
8e66f635fd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-04-09 03:08:06 +00:00
l10n daemon script
355b5a33b7 GIT_SILENT made messages (after extraction) 2025-04-09 02:32:07 +00:00
l10n daemon script
e40d8230c0 GIT_SILENT Sync po/docbooks with svn 2025-04-08 03:20:39 +00:00
l10n daemon script
a76d4496da SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2025-04-08 03:15:18 +00:00
Heiko Becker
4ad1a628b6 GIT_SILENT Update Appstream for new release 2025-04-07 23:59:22 +02:00
Heiko Becker
87ea0ef5b2 GIT_SILENT Upgrade release service version to 25.04.0. 2025-04-07 22:47:49 +02:00
Scarlett Moore
7ed43044ce snapcraft: Sync fixes into stable. 2025-04-05 14:48:52 +00:00
l10n daemon script
074e5d4c5a GIT_SILENT Sync po/docbooks with svn 2025-04-05 03:20:22 +00:00
l10n daemon script
12ce1e460e GIT_SILENT Sync po/docbooks with svn 2025-04-04 03:21:02 +00:00
l10n daemon script
74a6cd28eb GIT_SILENT Sync po/docbooks with svn 2025-04-03 03:12:31 +00:00
l10n daemon script
53307f9358 GIT_SILENT Sync po/docbooks with svn 2025-04-02 03:12:46 +00:00