James Graham
ec4aa73e37
Readonly Room
...
Add readonly property to a room and use it to decide whether to show chatbar, replies and edits
BUG: 479590
2024-01-12 01:59:09 +00:00
Yifan Zhu
f75c194e7c
Call signals instead of signal handlers
...
Directly calling signals is the supported way to send signals.
Calling signal handlers worked in the past, but will be phased out in
the future (https://bugreports.qt.io/browse/QTBUG-120573 ).
2024-01-11 17:23:08 +00:00
Tobias Fella
c10bcf1764
Move userConsentRequired to NeoChatConnection
2024-01-07 19:44:37 +01:00
Tobias Fella
9e2bf0da26
Port away from Controller::saveWindowGeometry
2024-01-07 19:39:18 +01:00
James Graham
8bc4500ce1
Fix by allowing RoomPage to access the interactive property of the timeline
2024-01-06 19:49:20 +00:00
Joshua Goins
b96d3dde46
Remove useless interactive set when maximizing images
...
This doesn't seem to do anything, and it's not easy to turn it back when
the popup is closed
2024-01-06 19:49:20 +00:00
Tobias Fella
5c78b23cc2
Slightly fix QML formatting
2024-01-06 17:34:56 +01:00
Tobias Fella
2202063641
Remove stray console log
2024-01-06 17:34:10 +01:00
Tobias Fella
5be15ffa6a
Show user display names as plaintext in InviteUserPage
2024-01-06 17:33:39 +01:00
Tobias Fella
a0bafe53a0
Use Plaintext for user displaynames in startchatpage
2024-01-06 17:31:57 +01:00
James Graham
356e8eefe0
Refactor PollHandler
...
Refactor PollHandler to make it more reliable. This ended up with much more code than I expected as the original intent was just to stop a crash when switching rooms.
- Using a event string was flaky, changing to using an event reference is more reliable.
- Since we're only creating them from NeoChatRoom there is no need to to be able to set properties from QML so only read properties.
- Pass from the MessageEventModel rather than an invokable method.
- Create a basic test suite
- Create properties in PollHandler to remove the need to use content in PollDelegate, this means content is no longer a required role.
2024-01-02 21:22:08 +00:00
James Graham
612b5d7f47
Move all the enums for push rules into their own header file
2024-01-01 16:15:40 +00:00
James Graham
7e9f206348
Clear the emoji picker search when the dialog is closed
...
Clear the emoji picker search when the dialog is closed
BUG: 472873
2024-01-01 16:15:29 +00:00
James Graham
e807ad9908
Improve the unread marker behaviour
...
The fixes include:
- improving the timer to make it more reliable
- making sure a read marker is added when changin rooms, this is needed when the messages have already been loaded.
- increase the default timer to 10s to avoid the read marker disappearing and being re-added when a message arrive in quick succession.
BUG: 465300
2023-12-31 17:47:27 +00:00
Tobias Fella
2d8ad834a7
Fix showing stickers
2023-12-31 18:15:43 +01:00
Tobias Fella
d02eee6daa
Port away from and remove Controller::initiated
2023-12-23 13:39:41 +00:00
James Graham
4e141e05f0
Cleanup leftover issues from moving ReplyComponent away from GridLayout
...
Cleanup leftover issues from moving ReplyComponent away from GridLayout.
- Remove leftover GridLayout properties or references to them or convert as required
- Remove unneeded Item wrapper
2023-12-23 11:37:01 +00:00
Akseli Lahtinen
d1f421994d
Add config import to ReactionDelegate
...
Forgot to add this in https://invent.kde.org/network/neochat/-/merge_requests/1484
2023-12-18 21:16:47 +00:00
Carl Schwan
b043cbedc9
Make BanSheet frameless
...
Similar to https://invent.kde.org/network/neochat/-/merge_requests/1487
2023-12-18 19:24:31 +00:00
Carl Schwan
5a469ed126
Make ReportSheet frameless
...
Similar to https://invent.kde.org/network/neochat/-/merge_requests/1487
2023-12-18 16:45:34 +00:00
Akseli Lahtinen
8d209a5424
Make it easier to spot reaction buttons
...
In dark themes it can be very hard to spot the reaction
buttons when using compact mode.
Before:

After:

Also this uses the given colorscheme so it will work everywhere 😄
2023-12-18 16:23:00 +00:00
Carl Schwan
df4eba0191
Make the RemoveSheet frameless
2023-12-17 22:26:05 +00:00
Tobias Fella
862f4363a9
Use HTML-escaped display name in avatar tooltip
2023-12-03 16:40:09 +00:00
Tobias Fella
9b3a3dc562
Always clip roomlist
...
The current behavior is a leftover from some previous component
2023-12-03 14:59:08 +01:00
Tobias Fella
c2641a5fc2
Cleanup error reporting
2023-12-03 14:39:31 +01:00
Tobias Fella
1213ba5916
Don't show notifications view button when room list is collapsed
...
Looks broken
2023-12-03 14:23:33 +01:00
Tobias Fella
0521ff2c4d
Move PasswordStatus out of Controller
2023-12-03 14:09:41 +01:00
Tobias Fella
65c892787e
Don't suggest kicking or banning users with a power level too high for us to kick
2023-12-03 13:56:41 +01:00
James Graham
46fd288a95
Add some clarification around around offical and canonical parents
2023-12-02 13:21:26 +00:00
ivan tkachenko
259b9884c7
Set WrapMode on all TextArea components, and fix up some of the Labels
...
Upstream styles do not provide any wrapping by default, and thus we
should not rely on deceptively convenient override in qqc2-desktop-style.
See https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/331
2023-11-28 22:26:57 +00:00
Tobias Fella
5e12f50899
Wrap text in poll delegates
...
BUG: 477629
2023-11-27 20:44:19 +00:00
James Graham
ab4639926a
Fix isEdit Check MessageEditComponent
...
Stop the console being pinged with qrc:/org/kde/neochat/qml/MessageEditComponent.qml:158: TypeError: Cannot read property 'isEditing' of undefined.
Fixes network/neochat#629
2023-11-26 15:21:18 +00:00
Tobias Fella
89b6c54f25
Fix state delegate spacing
2023-11-26 15:06:35 +01:00
James Graham
27c9c62564
ResolveResource
...
Use ResolveResource rather than calling individual functions like visit user and room
2023-11-26 12:23:28 +00:00
James Graham
201aa82c04
Remove controller::joinRoom
...
Remove controller::joinRoom in favour of using RoomManager::OpenResource
2023-11-25 15:07:15 +00:00
Tobias Fella
410258c478
Join rooms when visiting them
...
BUG: 477261
2023-11-24 19:11:15 +01:00
James Graham
5efd17d370
Loading and End of Timeline Delegates
...
Add delegate for showing the user a loading indicator and for the beginning of the timeline.
BUG: 455045
BUG: 465285
2023-11-20 17:10:56 +00:00
Tobias Fella
6a3df8baf4
Fix initial visual focus in welcomepage
2023-11-19 14:09:08 +01:00
Carl Schwan
94bf2481f0
Fix spacing in login screen
2023-11-16 22:43:45 +01:00
Tobias Fella
5c32520c35
Add appium test for opening the user details sheet and fix some accessibility problems
2023-11-16 19:47:13 +01:00
Carl Schwan
1f8c07fedf
Make room timeline non interactible
...
Currently trying to scroll with this scrollbar is probablematic and it's
unlikely we will find an easy solution to fix it, so make it non interactible.
2023-11-14 19:16:02 +00:00
James Graham
6dc30a9ca7
Fix hover action position when wide
...
Fix the positioning of the hover actions when the window is wide by using the content x pos
2023-11-12 14:20:46 +00:00
Tobias Fella
fc546d4a43
Add notifications view
2023-11-12 13:16:09 +00:00
Tobias Fella
2435a6b953
Fix opening account editor
2023-11-11 23:06:26 +01:00
Tobias Fella
2d55dca508
Don't allow changing the power level for users with a power level higher or equal to ours
...
The server won't allow it anyway
2023-11-11 18:20:54 +00:00
Tobias Fella
bbb0bc3092
Improve and fix powerlevels dialog
2023-11-11 17:37:27 +00:00
James Graham
4065aa6a2e
Fix linkpreview tooltip
...
Fix linkpreview tooltip so that the correct text is always shown.
BUG: 467106
2023-11-11 17:29:15 +00:00
Tobias Fella
5942eac5ed
Force plaintext in permissions settings
2023-11-11 18:09:03 +01:00
Carl Schwan
86ef921cdb
Fix alignment user info
...
Otherwise we end up with two times largeSpacing as right margin for the
user info.
2023-11-11 15:40:15 +01:00
James Graham
aab69c5bae
Suggested rooms spaces
...
Add the ability to set and show suggested rooms for spaces.
This is just adding the basic functionality, we can do more things with it later like sort/filter the space home for example.
2023-11-11 13:32:19 +00:00