James Graham
6cca3dbe3a
Add the right click menu for image delegates in fullscreen mode
...
Add the right click menu for image delegates in fullscreen mode
BUG: 455147
2022-08-27 11:52:45 +00:00
James Graham
6748a2d21d
Fix the reply an edit text being shown in all chat rooms when multiple windows are open
...
Fix the reply an edit text being shown in all chat rooms when multiple windows are open. This is done by changing chatBoxHelper from a singleton to being instantiated for each instance of roompage.
BUG: 454963
2022-08-26 19:33:20 +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
Tobias Fella
2bcd7118f4
Ensure that text isn't formatted in context menu
2022-07-09 23:01:13 +02: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
Carl Schwan
ca8a21c0eb
Implement sharing with Purpose (export)
...
This provide both a mobile and desktop view
Fix #181
2022-02-05 16:30:02 +00:00
Felipe Kinoshita
6ac6234886
Give settings window a title
...
Now the settings window title is "Configure ─ NeoChat" instead of
"Neochat <2>".
2022-01-21 21:42:46 +00:00
Jack Hill
aeee367e82
Changed "Settings" to "Configure NeoChat" in menu
...
Changed both the hamburger menu and the global menu
Fix #489
2021-12-28 16:51:30 +00:00
Tobias Fella
332d6c9782
Minor improvements
...
- Rename TextDelegate to RichLabel since it's not actually a delegate
- Allow web search for whole messages
2021-12-15 00:53:43 +01:00
Carl Schwan
6e1c07047e
Add a mobile oriented context menu for the room list
...
It works similarly as in the timeline with a bottom based drawer on
mobile and a normal context menu on desktop
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2021-12-12 22:09:46 +00:00
Carl Schwan
46e1e64ee1
Improve source menu
2021-11-14 19:35:00 +00:00
Christopher Hock
d1dce37ea7
Allow user to copy the room address to the clipboard
...
Contributes to #469
2021-11-07 16:12:29 +00:00
Carl Schwan
dd75eaec2c
Remove dead code
...
It seems this was never used even by the commit introducing it
2021-11-05 20:54:29 +01:00
Carl Schwan
fc9f37d4a4
Port global settings to Kirigami.CategorizedSettings
2021-10-21 19:38:03 +00:00
Tobias Fella
48e410196c
Don't allow opening a room in a new window on mobile
2021-10-18 21:07:35 +00:00
Carl Schwan
d42ad85b30
Port to OverlaySheet.title
2021-10-16 17:44:42 +02:00
Tobias Fella
8648b4a3bf
Fix copying whole messages
2021-10-14 22:14:36 +02:00
Tobias Fella
bdca636fb8
Copy only selected text instead of whole message
...
Fixes #457
2021-10-14 21:44:32 +02:00
Tobias Fella
2fc4c6456f
Escape more html
2021-10-10 12:26:35 +02:00
Tobias Fella
0a39fccec8
Add syntaxhighlighting to the MessageSourceSheet
2021-09-19 18:56:57 +00:00
Jan Blackquill
537416354a
feat: global menu
...
This adds a global menu to NeoChat, providing
a standard and consistent set of File/Edit/View/so on
menus.
2021-07-02 09:16:31 +00:00
Carl Schwan
0ff9425fee
Add spellchecking suggestions
2021-06-10 11:29:59 +00:00
Carl Schwan
51ca4994ef
Add webshortcut search
2021-06-06 14:27:12 +00:00
Carl Schwan
7ac232d372
Minor optimizations to the timeline delegates
...
* Use anchors instead of Layouts
* Don't use Loader for message display name
* Lazy load the emoji popup
2021-05-20 15:04:38 +00:00
Carl Schwan
35f7b29e54
Fix "Leaving a room does not work"
...
Fix #355
2021-05-07 19:02:39 +02:00
Carl Schwan
d77d8c3835
Improves dialogs
...
* Fix some small spacing issues
* Add title
2021-05-05 23:11:06 +02:00
Carl Schwan
f30b17bf73
Fix opening room in seperate window and unify leaving room code
2021-04-28 15:06:57 +02:00
Carl Schwan
b7d98fc6d9
Port RoomManager to C++
...
This also makes it possible to handle the Matrix URI
2021-04-27 21:07:10 +00:00
Tobias Fella
d170cc5161
Cleanup QML imports and license headers
...
- Group the imports into Qt, KDE, NeoChat
- Import the latest versions
- Remove unused imports
- Remove unused components
- Unify license header styling
2021-04-07 19:38:40 +00:00
Tobias Fella
73f18f4fe9
Refactor the context menu loading
2021-04-06 11:08:56 +00:00
Tobias Fella
0b2bd84085
Align the avatars in MessagewDelegateContextMenu and Timeline
2021-04-03 00:10:23 +02:00
Tobias Fella
662c570371
Close room if it is opened while leaving it
2021-04-02 16:16:44 +02:00
Tobias Fella
f44716d9b0
Don't trigger Actiosn in MessageDelegateContextMenu twice
2021-03-23 16:07:49 +01:00
Carl Schwan
612fb4924e
Start implementing bubbles
2021-03-06 20:19:41 +00:00
Tobias Fella
546d17b1a2
Correctly open all kinds of matrix.to links in TextDelegate and MessageDelegateContextMenu
2021-02-04 20:23:16 +00:00
Nate Graham
bd11f543f5
Regularize context menu
...
"Open in new Window" goes on top, as it does in most other context menus
with similar items
"Leave room" goes on the bottom with a separator above it, because it's
a mildly destructive action.
2021-01-14 08:16:55 -07:00
Carson Black
07f637c854
Improve appearance of room listing
...
This ports the room list delegates to Kirigami.BasicListItem leading/trailing for a more consistent appearance with other applications, and adjusts how their context menus look and behave
2021-01-11 21:25:29 +00:00
Carl Schwan
f4784bb0a1
Allow opening window in a secondary window
2021-01-09 13:32:16 +00:00
Tobias Fella
724f10a895
Don't load empty images from imageprovider
...
Previously, when there was no avatar set, the source property of Avatar was still set to 'image://mxc/',
which caused Avatar to load that from the imageprovider. The imageprovider can't provide an empty image and aborts with error
2020-12-28 01:28:13 +01:00
Tobias Fella
449adf993c
Allow opening links in the MessageDelegateContextMenu
...
Fixes #167
2020-12-20 18:05:05 +01:00
Carl Schwan
344dbb110d
Fix a few issues with icons
2020-12-06 17:37:10 +01:00
Carl Schwan
29584aec23
Allow redaction of message only by admins and authors of the message
...
Previously you could click on the button but it would do nothing
2020-12-05 11:29:37 +01:00
Carl Schwan
562850ea2c
Fix Clibpoard is not defined
...
Now import it and use the correct function
Fix #100
2020-12-01 15:00:48 +01:00
Carl Schwan
10fe948016
Fix typo Clibpoard -> Clipboard
...
Fix #100
2020-11-30 23:28:55 +01:00
Reinhold Gschweicher
41a4610acc
TextArea for MessageSource to mark/copy source
2020-11-30 21:02:36 +01:00
Nate Graham
f75035adc8
Add a separator before "Leave Room"
...
This should make it harder to accudentally leave the room when you're
just trying to mark it as read!
2020-11-27 14:04:38 -07:00
Tobias Fella
a8b95791e2
Port MessageSourceDialog to OverlaySheet
2020-11-17 20:39:40 +01:00
Carl Schwan
6db8354727
Fix MessageDelegateContextMenu not being displayed
...
It turnout that using an QML Singleton was a bad idea, instead create a
qml object in the main component and refer to it in the rest of the
codebase.
This commit also simplify a bit the qml structure of the Menu and fix
some visual bugs.
2020-11-16 10:00:18 +01:00
Carl Schwan
523adace21
Small fixed in 18n
2020-11-16 00:12:22 +01:00