Carl Schwan
e44cd405b7
Fix import name
2023-09-28 10:31:14 +02:00
Carl Schwan
8945e004e2
Optimize room config
2023-09-28 07:37:22 +00:00
Joshua Goins
852110debd
Make it clear that the session is broken when the keys are lost
...
If you use your private keys (like when deleting the quotient database)
your session is broken as you have differing keys on the server. While
it is possible to work your way out of it, it's better to warn users to
bite the bullet and log in again.
2023-09-27 15:13:06 -04:00
Joshua Goins
6b71d3c78d
Make the key verification message horizontally centered
2023-09-27 15:13:00 -04:00
James Graham
f67cd7deb5
Remove the now unused author ID role from MessageEventModel
...
Remove the now unused author ID role from `MessageEventModel`. This can be obtained from the author roles object.
2023-09-26 20:21:08 +00:00
Tobias Fella
957419070a
Remove unused includes
2023-09-23 22:43:48 +02:00
Carl Schwan
f22107c8ab
Colorful emoji in reaction
...
Use ICU to determine if the string contains only emojis
2023-09-23 22:16:11 +02:00
Tobias Fella
3a4f71de7f
Port to declarative type registration
2023-09-23 14:05:50 +00:00
Tobias Fella
4ed4f3f628
Silence invalid user id warnings
2023-09-23 11:42:21 +02:00
Tobias Fella
ba24f1272f
Fix crash in completion
2023-09-23 09:23:25 +00:00
Carl Schwan
443661d113
Port away from BasicListItem
2023-09-23 09:07:05 +00:00
Tobias Fella
091c8806db
Fix opening account editor
2023-09-23 10:19:44 +02:00
James Graham
83a9bfa974
Remove timeline container as it has been replaced.
2023-09-22 23:50:29 +00:00
James Graham
e35a6f7257
Remove the import version from Bubble.qml, TimelineDelegate.qml and TextDelegate.qml
2023-09-22 18:46:17 +01:00
James Graham
6d56251f6f
Fix the timeline Part 2: Bubble Rework
...
This reworks the bubble as a separate component and makes some fixes to prevent the console being spammed with polish loop warnings.
2023-09-22 17:12:56 +00:00
Tobias Fella
1c26d9b811
Remove QML import versions
2023-09-21 19:38:10 +02:00
Tobias Fella
6d7ae99c94
Don't crash when editing pending message
2023-09-21 16:48:09 +00:00
Carl Schwan
442a343097
Rework context menu RoomList
...
- Finish port to qt6 and replace icon by icon.name
- Use RoundedItemDelegate
2023-09-21 16:43:27 +00:00
Tobias Fella
f0a7216b4b
Don't crash when trying to leave empty room
...
BUG: 474490
2023-09-21 16:38:49 +00:00
James Graham
e926b22524
Fix the Timeline Part 1
...
This introduces a new base delegate that handles sizing the content of delegate in the timeline, i.e. it handles all the size helper stuff. This is then used for all the other main delegates:
- messages
- state
- read marker
This means they now all have identical base code to do the sizing (read marker still had legacy code).
Because the new base delegate is called `TimelineDelegate` both `TimelineContainer` and `MessageDelegate` have been renamed:
- MessageDelegate -> TextDelegate - this never made sense before images, videos, etc are all technically messages in Matrix parlance
- TimelineContainer -> MessageDelegate - this has always really been the base for messages
Note - this is mostly groundwork for dealing with the layout polish loop spam which will hopefully be fixed in part 2 with a bubble rework.
2023-09-21 16:26:34 +00:00
Carl Schwan
69087c2117
Add top spacing for Room ListView
2023-09-21 15:07:55 +00:00
Carl Schwan
4d2104b54b
Decrease top margin in SpaceDrawer
...
Make it the same as the left margin of the delegate for an increased
consistency.
2023-09-21 15:07:55 +00:00
ivan tkachenko
3084913940
Opt-out of Kirigami.SpellCheck when a custom QTextDocument handler is used
...
Uses Kirigami.SpellCheck's new shorter name.
See https://invent.kde.org/frameworks/kirigami/-/merge_requests/1261
2023-09-21 02:53:32 +03:00
Joshua Goins
e2670cd6ba
Use Qt::ArrowType in FormCard.FormArrow usage on AccountsPage
2023-09-20 14:59:11 -04:00
Tobias Fella
7f3f628b7d
Fix missing connection
2023-09-15 17:41:08 +00:00
James Graham
6bf552398e
Fix getting connection in message edit component
2023-09-15 18:35:23 +01:00
James Graham
78f676d71a
Fix the room list menu
...
As title
2023-09-15 16:22:59 +00:00
James Graham
33c0cae64c
Message menu rework
...
Rework the file menu so that it no longer relies on having a reference to the media delegate to manage a download for either opening externally or copying to clipboard. This allows the menus to be moved out of the delegates and maximize components and have them accessed through RoomManager. This reduces duplication and reduces the number of components in an already heavy delegate.
2023-09-15 13:57:40 +00:00
James Graham
14cdd096cf
Fix Delegate Menu in NeochatMaximizeComponent
...
Make sure NeochatMaximizeComponent provides all the required properties to the delegate menu
2023-09-15 11:00:40 +00:00
James Graham
c04ddfde26
EventSource Refactor
...
Move showing th event source to a call to RoomManager. This means the SourceRole is no longer required in the message and search models
2023-09-15 10:54:04 +00:00
Tobias Fella
17ff5b4c56
Add button to reject invitation and ignore user
...
BUG: 474274
2023-09-14 15:34:19 +00:00
James Graham
c01c638a49
Fix file menu
...
Pass file menu eventSource rather than source and htmlText
2023-09-13 18:46:41 +00:00
Tobias Fella
399151eb1d
Fix opening context menus
2023-09-13 15:48:39 +02:00
Tobias Fella
5e80715898
Cleanup connection handling in QML
...
Consistently pass connection objects to files that need them instead of randomly using Controller.activeConnection in some of them
2023-09-13 13:12:01 +00:00
Tobias Fella
6439fa48f9
Adapt to QML api changes
2023-09-13 12:57:27 +00:00
Tobias Fella
823f3cdd4e
Remove QML Qt5/Qt6 compatibility hacks
2023-09-13 12:57:27 +00:00
Tobias Fella
f542d0b9fd
Change rowStride in runner to qsizetype
2023-09-13 14:53:07 +02:00
Tobias Fella
a43990559b
Rename source property of MessageDelegateContextMenu
...
Starting with Qt6.6, this collides with a FINAL property of Loader and thus doesn't run
2023-09-13 14:16:48 +02:00
Tobias Fella
f299d5a245
Fix KF6 crash in emoji completion
2023-09-13 13:41:08 +02:00
Tobias Fella
d69b8fbf8c
Fix compilation on FreeBSD
2023-09-13 13:27:33 +02:00
Tobias Fella
cee72b6d48
Remove Qt5 compatibility ifdefs
2023-09-13 11:16:02 +00:00
Tobias Fella
539fdcaf2e
Remove compatibility with Qt5 in CMake
2023-09-13 11:09:41 +00:00
Joshua Goins
32b3861c3e
Only show the "View Source" message action when dev tools are enabled
...
This is a very developer-oriented action, and other uses of this dialog
(such as interacting with room state events under a room debug page) is
also locked behind this option.
2023-09-13 07:12:18 +00:00
Joshua Goins
bf8f5705d0
Fix message event source dialog not showing any data
2023-09-12 17:10:23 -04:00
Tobias Fella
e78dfaec34
Use view background color for SpaceDrawer
2023-09-11 20:20:49 +00:00
ivan tkachenko
3cfa773820
Settings: Port to AvatarButton and fix OpenFileDialog lifespan
...
The dialog won't show again after being closed first time, so we need
to dynamically destroy it on both accept and reject. It helps clear out
any state on its way.
2023-09-11 22:47:33 +03:00
Tobias Fella
94c0e8b6cd
Port ChatBar actions to Button
...
Cleans up the code and improves accessibility
2023-09-11 19:23:13 +00:00
Tobias Fella
35b1f24cb7
Fix roomlist when switching accounts
...
Fixes #605
2023-09-11 19:03:30 +00:00
Tobias Fella
de3072125e
Change all remaining QML file ids to "root"
2023-09-11 20:47:32 +02:00
Tobias Fella
f7d2ffac66
Move Controller::createRoom and Controller::createSpace to NeoChatConnection
2023-09-11 17:55:52 +00:00