Nate Graham
619369e148
Add hackaround for Qt bug to all non-horizontally-scrollable scrollviews
...
https://bugreports.qt.io/browse/QTBUG-83890 has been open for years with
a patch that's been stalled for years. There's no indication that it's
going to be fixed anytime soon, and it generates bug reports for us.
Let's add the typical hackaround for all non-horizontally-scrollable
scrollviews.
BUG: 457584
2022-08-08 15:02:09 -06:00
l10n daemon script
e63a9a9be1
GIT_SILENT Sync po/docbooks with svn
2022-08-08 01:58:51 +00:00
l10n daemon script
5c97e67404
GIT_SILENT Sync po/docbooks with svn
2022-08-04 01:52:39 +00:00
l10n daemon script
84a265b7f9
GIT_SILENT Sync po/docbooks with svn
2022-07-31 01:58:40 +00:00
l10n daemon script
61201a7097
GIT_SILENT Sync po/docbooks with svn
2022-07-29 01:56:35 +00:00
Snehit Sah
b9630ad2f2
Add Flatpak CI Support
...
Signed-off-by: Snehit Sah <snehitsah@protonmail.com >
2022-07-27 10:01:35 +00:00
l10n daemon script
179a201113
GIT_SILENT Sync po/docbooks with svn
2022-07-24 01:50:54 +00:00
l10n daemon script
6eef58e57d
GIT_SILENT Sync po/docbooks with svn
2022-07-23 01:55:00 +00:00
l10n daemon script
94f325609a
GIT_SILENT Sync po/docbooks with svn
2022-07-20 01:49:27 +00:00
l10n daemon script
a40ba493b6
GIT_SILENT Sync po/docbooks with svn
2022-07-19 01:46:04 +00:00
Tobias Fella
916e7465f1
Don't show a link preview for empty links
...
When hovering over a link without a target, qt5 will report the link target to be "1", which is wrong.
To work around this, we manually check if the link is "1" and if it is, we discard it.
In theory, this means that we won't get a preview for any link that actually *is* "1", but why would any link be "1"?
It's not worth reporting this to Qt since it seems fixed in Qt6
BUG: 456877
2022-07-18 21:18:48 +02:00
Tobias Fella
8257a9d65e
Refactor delegates and improve context menu opening
...
This unifies the context menu opening and makes sure that clicking *anywhere* on the delegate opens the context menu, not just on the content
2022-07-18 20:12:26 +02:00
l10n daemon script
a75048761b
GIT_SILENT Sync po/docbooks with svn
2022-07-18 01:47:32 +00:00
Carl Schwan
f21822aba7
Fix checkbox label on small screen
...
See https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/173
2022-07-17 14:46:18 +00:00
l10n daemon script
75eb5a51af
GIT_SILENT Sync po/docbooks with svn
2022-07-17 01:54:19 +00:00
l10n daemon script
7e37c31011
GIT_SILENT made messages (after extraction)
2022-07-17 00:45:21 +00:00
l10n daemon script
f80039a5c4
GIT_SILENT Sync po/docbooks with svn
2022-07-16 01:56:39 +00:00
James Graham
400d86a1e9
Precise time on hover
...
Implement showing a long datetime as a tooltip when hovering over the timestamp for a message. The timestamp is also moved to just after the username of the poster this means it will not be under the hover buttons unless the message is very short.
Also some cleanup of the alignment of items in the bubble. The reply text is now indented the same amount as the username and message and the padding isn't removed from the username and message when avatars are disabled.
Implements: network/neochat#223
2022-07-15 15:39:33 +00:00
l10n daemon script
b20b1c10d0
GIT_SILENT Sync po/docbooks with svn
2022-07-15 01:55:09 +00:00
Tobias Fella
a37fd0713f
Convert C++ parts into a static library
...
This allows us to start adding unit tests
2022-07-14 15:27:29 +00:00
Tobias Fella
b1581a54d1
Allow sending encrypted messages if build supports it
2022-07-14 16:59:37 +02:00
l10n daemon script
ded60b906b
GIT_SILENT Sync po/docbooks with svn
2022-07-14 01:58:39 +00:00
James Graham
6957dd0fa2
Apply margin in SectionDelegate both for Compact and Bubble mode
2022-07-13 17:27:13 +00:00
Tobias Fella
7de4014b28
Update formatting
2022-07-13 17:27:13 +00:00
James Graham
63e7ec1bd7
Spell like an American
2022-07-13 17:27:13 +00:00
James Graham
f24428fab3
Apply margin in ReadMarkerDelegate both for Compact and Bubble mode
2022-07-13 17:27:13 +00:00
James Graham
c3a5a767c2
Fix alignment of hover buttons when user message on the right is thin. In this case the buttons sould align to the right of the message not the left so they don't go off screen.
2022-07-13 17:27:13 +00:00
James Graham
5fb311b509
Implement new delegate behaviour on ReadMarkerDelegate
...
Make sure that the messgae hover buttons account for the delegate x displacement
2022-07-13 17:27:13 +00:00
James Graham
f0d832f756
Make sure extra width is never less than 0
2022-07-13 17:27:13 +00:00
James Graham
a7c137ca39
Allow the delegate and bubble widths to grow when the ListView is very wide.
...
Disable user message on the right setting when in compact mode as it doesn't work anyway.
2022-07-13 17:27:13 +00:00
James Graham
a96e8958c9
Centre the timline when using bubbles but not in compact mode
2022-07-13 17:27:13 +00:00
James Graham
7dc951d2cd
Support user messages on the right even when wide
...
Limit maximum delegate width to ensure that the gap between user and non-user messages isn't too large
2022-07-13 17:27:13 +00:00
Tobias Fella
c3ee277ede
Fix opening room using touch
...
The previous fix wasn't enough for non-mobile touch devices. Now, we limit the TapHandler to mouse instead
2022-07-13 14:59:16 +02:00
Tobias Fella
78d62e9376
Revert "Disable opening context menu by right-clicking on mobile"
...
This reverts commit 51efecaa25 .
2022-07-13 14:55:55 +02:00
l10n daemon script
11e9eaf3e9
GIT_SILENT Sync po/docbooks with svn
2022-07-13 01:52:14 +00:00
James Graham
4337d0d5d8
Removing all \n is incorrect as these are used to show linebreaks in the html formatted body. Instead use the CMARK_OPT_HARDBREAKS options so these softbreaks in the markdown string are converted to hard breaks <br/> in the html.
...
Also remove 2 step process to replace <!-- raw HTML omitted --> and straight replace with "" to ensure no real breaks are removed
2022-07-12 14:03:21 +00:00
l10n daemon script
a07537367f
GIT_SILENT Sync po/docbooks with svn
2022-07-12 01:55:45 +00:00
Tobias Fella
51efecaa25
Disable opening context menu by right-clicking on mobile
...
Apparently TapHandlers interpret a tap as a right click, which causes rooms to not open reliably
2022-07-11 12:41:27 +02:00
l10n daemon script
830a47c5ff
GIT_SILENT Sync po/docbooks with svn
2022-07-11 01:57:02 +00:00
Tobias Fella
24748d42d8
Port C++ to Qt6
...
QML is still broken
2022-07-10 21:43:57 +00:00
l10n daemon script
19fe439e95
GIT_SILENT Sync po/docbooks with svn
2022-07-10 01:57:44 +00:00
Tobias Fella
2bcd7118f4
Ensure that text isn't formatted in context menu
2022-07-09 23:01:13 +02:00
l10n daemon script
27e660178e
GIT_SILENT Sync po/docbooks with svn
2022-07-09 01:57:03 +00:00
Tobias Fella
e0df553a72
Remove unused imports & includes
2022-07-08 13:16:07 +02:00
l10n daemon script
53f040cb28
GIT_SILENT Sync po/docbooks with svn
2022-07-08 01:54:23 +00:00
Nicolas Fella
28cc7cf616
Add FreeBSD CI
2022-07-07 12:51:33 +02:00
l10n daemon script
d224df8aa2
GIT_SILENT Sync po/docbooks with svn
2022-07-07 01:48:15 +00:00
l10n daemon script
1dff2b8273
GIT_SILENT Sync po/docbooks with svn
2022-07-06 01:49:30 +00:00
Nicolas Fella
722aa422e7
Fix activating browser windows on Wayland
...
QDesktopServices::openUrl does not have XDG activation support yet so it can't raise an existing browser window when opening URLs
Instead use KIO::OpenUrlJob, which does support that
2022-07-05 22:55:12 +00:00
Akseli Lahtinen
70de0dc624
add settings button to room context menu
2022-07-05 21:26:12 +00:00