Tobias Fella
cd895f1b06
QML warnings -= 2
2022-08-23 21:24:41 +02:00
Tobias Fella
fead1a69b3
QML warning--
2022-08-23 21:22:02 +02:00
James Graham
63af4cae77
Fix timeline layout for non text messages
...
Change the target of the hover component and delegate layout to timeline container so it applies to all delegates not just text messages.
BUG: 457689
2022-08-22 17:38:50 +00:00
l10n daemon script
89090690b4
GIT_SILENT Sync po/docbooks with svn
2022-08-21 01:56:52 +00:00
l10n daemon script
6a16334eab
GIT_SILENT Sync po/docbooks with svn
2022-08-20 01:49:36 +00:00
l10n daemon script
5b05622058
GIT_SILENT Sync po/docbooks with svn
2022-08-16 01:54:13 +00:00
l10n daemon script
1eb705c17f
GIT_SILENT Sync po/docbooks with svn
2022-08-14 01:52:46 +00:00
l10n daemon script
f9ad0e8426
GIT_SILENT Sync po/docbooks with svn
2022-08-13 01:50:50 +00:00
l10n daemon script
ef1ff04ef2
GIT_SILENT Sync po/docbooks with svn
2022-08-10 01:57:08 +00:00
James Graham
9b54aff3d5
Mark unread messages in the room as read when all messages are visible
...
This is an alternative to network/neochat!467 . When discussing in the matrix channel this option seemed more popular so I implemented it.
Mark the unread messages in the room as read when all messages are visible to the user after a short timer. This happens on entry and when new messages come in as long as Neochat is active. If neochat isn't active, the room hasn't loaded or the read marker hasn't loaded the timer is for this is reset until all 3 conditions are false.
2022-08-09 16:42:32 +00:00
l10n daemon script
52a093d449
GIT_SILENT Sync po/docbooks with svn
2022-08-09 01:51:02 +00:00
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