Tobias Fella
1a561f6649
Fix linking on windows
2023-11-26 17:40:50 +01: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
Tobias Fella
6baf2e4888
Fix crash for invalid media uris
...
BUG: 476698
2023-11-24 18:50:30 +01:00
Tobias Fella
dd6eaac556
Don't crash when sticker pack room doesn't exist
...
BUG: 476923
2023-11-24 16:43:16 +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
Laurent Montel
f9ba31f2dc
Remove unused variables
2023-11-17 10:23:58 +00:00
Laurent Montel
d4ad773ff1
Remove unused "this" argument
2023-11-17 09:36:35 +00:00
Laurent Montel
822a4dc500
Use nullptr
2023-11-17 07:34:46 +00: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
Tobias Fella
877575b4d3
Fix kirigami name
2023-11-14 19:18:02 +01:00
Joshua Goins
5be2113b32
Add matrix: URL to push notifications
2023-11-13 20:02:07 +00:00
Joshua Goins
d3148f8c8b
Don't start the entire NeoChat backend when receiving push notifications
...
This adds a dedicated "set up for push notifications only" function in
Controller, which only sets up the KUnifiedPush connector for receiving
the message and then quitting right afterward. If the user tries to
open a notification, then it will quit and open the main client.
2023-11-12 17:08:15 -05:00
Joshua Goins
100f595026
Add handler for KUnifiedPush messageReceived events
2023-11-12 21:46:33 +00:00
Joshua Goins
15ba6d58e2
Only attempt to setup push notifications on the first syncDone
2023-11-12 15:53:15 -05:00
James Graham
61ad892732
Handle multiple line names
...
Add function to get the display name for an author on a single line as nothing stops there being linebreaks.
BUG:476731
2023-11-12 18:46:04 +00:00
James Graham
2a3e1dfcd7
Read Marker Hidden
...
Only show the read marker if there is a non-hidden event earlier in the timeline
fixes network/neochat#615
2023-11-12 16:32:08 +00:00
Joshua Goins
d1dc6fc4ed
Fix typo preventing APK from building
2023-11-12 15:36:38 +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
James Graham
ae0c5ffaef
Improve State Text Translatability
...
Make the state state strings less ambiguous for the purpose of translation.
BUG: 476358
2023-11-12 14:08:36 +00:00
Tobias Fella
fc546d4a43
Add notifications view
2023-11-12 13:16:09 +00:00
Tobias Fella
96e62e3ebe
Disable system tray integration by default
2023-11-12 12:46:16 +00:00
Tobias Fella
1312fde470
Cleanup code
2023-11-12 01:46:23 +01:00
Tobias Fella
7fe2feb1e4
Make NeoChat not shut down when disabling close-to-tray
2023-11-12 01:46:06 +01:00
Tobias Fella
2435a6b953
Fix opening account editor
2023-11-11 23:06:26 +01:00
Tobias Fella
e6c8b3fa4b
Simplify some android code
2023-11-11 22:59:27 +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
Tobias Fella
85c2b7dada
Fix crash on shutdown
2023-11-11 16:03:35 +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
Carl Schwan
624578ec77
Improve welcome page
...
- Don't use card for welcome message and instead use same layout as
kwordquiz
- Add separator between login and register button
- Add type annotation in functions
2023-11-11 13:12:56 +00:00
James Graham
a26337d5f4
Fix ServerListModel
...
The server list needs to be populated on connection change as this is instantiated from QML
2023-11-10 20:32:51 +00:00
Joshua Goins
31b4eefadd
Move closeDialog signal from Loading to LoginStep
...
This prevents errors because we try to connect to a non-existent signal
if the step is anything but Loading.
2023-11-10 18:40:37 +00:00
Joshua Goins
b8e592f8ba
Fix wrong argument being passed into maximize component creation
...
It's supposed to refer to the attached property on QQC2.Overlay, not
QQC2.ApplicationWindow
2023-11-10 18:36:49 +00:00
Joshua Goins
555d23863e
Port to QEvent::ApplicationPaletteChange
...
The paletteChanged on QGuiApplication is deprecated in Qt6
2023-11-10 18:30:27 +00:00
Joshua Goins
ffa2d5dc0e
Fix push notification registration
...
Now it should regularly happen after login
2023-11-10 18:08:52 +00:00
Joshua Goins
9987edbaf2
Note that profileTag is intentionally left empty
2023-11-10 18:08:52 +00:00
Joshua Goins
d90298392d
Only run setupPushNotification once for new accounts
2023-11-10 18:08:52 +00:00
Joshua Goins
600dbd0603
Remove unnecessary activeConnection() call in setupPushNotifications
2023-11-10 18:08:52 +00:00
Joshua Goins
2179e2cc35
Fix QCoro headers
2023-11-10 18:08:52 +00:00
Joshua Goins
8119ea3ccb
Use auto in NeoChatConnection::setupPushNotifications
2023-11-10 18:08:52 +00:00