James Graham
09ced090f2
Use replyId role for reply ID
2023-05-27 16:12:21 +01:00
James Graham
8ad23e7a40
Timeline required properties
...
Move to using required properties for timeline delegates.
2023-05-27 14:57:34 +00:00
Tobias Fella
a94f46f904
Fix build against libQuotient 0.8
2023-05-27 13:17:02 +00:00
Shubham Arora
aae5519bed
NeochatMaximizeComponent.qml: Add sourceWidth and sourceHeight
...
Depends on: https://invent.kde.org/libraries/kirigami-addons/-/merge_requests/103
2023-05-23 16:41:14 +00:00
James Graham
8741fd8fed
Refactor hover actions
...
Refactor hover actions into their own component.
2023-05-21 15:36:43 +00:00
Tobias Fella
6a68375b10
Rename NameRole to DisplayNameRole in UserListModel
2023-05-20 20:03:08 +00:00
Tobias Fella
4dcb19edb7
Fix avatar source warning
2023-05-20 19:47:12 +00:00
Tobias Fella
838abc9af3
Fix binding loop in GroupChatDrawerHeader
2023-05-20 19:29:35 +00:00
Tobias Fella
7283b2dd4d
Use NavigationTabButtons for Emoji and sticker categories
2023-05-20 17:03:56 +00:00
Carl Schwan
c7caec894e
Assert that index is valid
2023-05-20 17:03:33 +00:00
Tobias Fella
b254b4aa9b
Use KFormat for formatting dates
2023-05-20 17:03:33 +00:00
Tobias Fella
67107959e4
Remove unneeded "using namespace Quotient"
2023-05-20 17:03:33 +00:00
Tobias Fella
26d3e16e6d
Remove empty destructor
2023-05-20 17:03:33 +00:00
Tobias Fella
bb8ee4ef44
Remove unneeded qml type registrations
2023-05-20 17:03:33 +00:00
Tobias Fella
ee65ad22e6
Rename LongOperationRole to ProgressInfoRole
2023-05-20 17:03:33 +00:00
Tobias Fella
b823f2c6b9
Remove unused role
2023-05-20 17:03:33 +00:00
Nate Graham
69bfa1394c
Focus message search window's search field by default
...
BUG: 469879
2023-05-19 13:16:21 +00:00
James Graham
37220ab872
Fix notification state in new rooms
...
Make sure that the `updateNotificationState` function is called when the base state is loaded so that new rooms after startup have a valid notification state.
Fixes network/neochat#583
2023-05-18 19:23:31 +00:00
Tobias Fella
ae6056615d
Add missing capture
2023-05-18 00:03:07 +02:00
Tobias Fella
d74253d149
Update copyright year
2023-05-17 23:50:57 +02:00
Tobias Fella
805332c599
Don't use implicit lambda captures
2023-05-17 23:49:56 +02:00
Tobias Fella
e42c1c1f69
Use NavigationTabBar for emoji/sticker picker
2023-05-17 14:02:03 +00:00
Tobias Fella
f7881d0661
Fix spacedrawer being visible when there are no spaces
...
We can't (easily) make this declarative, since there are no spaces on startup, causing the loader to be disabled,
making the repeater not load anything, which means the loader stays disabled.
We should figure out a better solution, since this means that the drawer doesn't open immediately when joining a space,
but for now this fix is better then the current bug.
2023-05-17 15:38:10 +02:00
James Graham
a5a2c0b03e
Reaction Model
...
Create a reaction model that provides all the required data for `ReactionDelegate` so that none need to be calculated in QML.
This also cleans up the API for `ReactionDelegate`
2023-05-16 16:44:02 +00:00
Tobias Fella
4d2e64cb80
Cleanup name handling in RoomListModel
...
Replace NameRole with DisplayNameRole entirely.
2023-05-16 16:38:53 +02:00
Tobias Fella
dee064a758
Fix crash in room switching
2023-05-16 14:37:07 +00:00
Tobias Fella
5bdd67dcc1
Fix background color of TypingPane
2023-05-16 14:36:37 +00:00
Tobias Fella
2ff92bea70
Fix warning for empty avatar source
2023-05-16 14:11:38 +00:00
Tobias Fella
fabd3da5a7
Fix asan runtime error in texthandler
2023-05-15 23:36:25 +00:00
Tobias Fella
6f90d33f3a
Add new messages to bottom of notifications list
2023-05-15 19:49:05 +00:00
Aleix Pol
3bb0ee17cd
NotificationsManager: Group notifications per room
...
Instead of issuing a new notification for every message, bundle them by
room.
It looks like the code was originally designed to do that and somehow we
forgot along the way.
It also fixes the leaking in m_notifications as we were never cleaning
after it.
2023-05-15 19:49:05 +00:00
Tobias Fella
fa8164cdba
Fix notifications showing up repeatedly when multiple logged-in accounts are in the same room
...
What happens is roughly: The notification is received in one account and marked as received locally.
In the other account, the event is marked as "read" in the json, which makes us delete it from the
received messages. Then it is received on the first account...
2023-05-15 21:28:08 +02:00
James Graham
c63f1f0452
Cache last event
...
Cache the last room event so that the room list can be sorted on startup
Fixes network/neochat#88 \
BUG: 455042
2023-05-15 19:11:44 +00:00
Tobias Fella
4c575f18d1
Fix avatar name
2023-05-14 23:57:32 +02:00
Tobias Fella
b629961a70
Create account sticker editor
2023-05-14 20:33:51 +00:00
Akseli Lahtinen
3d687a283e
Add more bottom margin
...
Adds more bottom margin so the Now Typing box wont cover the text
BUG: 469616
2023-05-13 17:21:31 +00:00
James Graham
7fca14bce1
Fix Chatbar text margin
...
Make sure that the padding in the chatbar textarea accounts for the x offset
2023-05-12 17:13:40 +00:00
Tobias Fella
afb51497cd
Fix autocompletion not working
...
BUG: 468967
2023-05-12 17:12:28 +00:00
James Graham
88fada89ea
Limit the maximum number of avatars shown
...
Limit the maximum number of avatars shown for other user read markers and collapsed state events
For state events \

For read markers \

2023-05-12 15:54:15 +00:00
James Graham
023c51ac62
Fix QuickSwitcher notification count
...
Use `notificationcount` instead of unread count in the `quickswitcher` as unread count is removed
2023-05-12 14:09:02 +00:00
James Graham
6e5b71888d
Refresh all reply roles on loadReply
...
Make sure that all reply roles that depend on a pointer to the reply event being available are refreshed.
2023-05-10 16:41:22 +00:00
James Graham
b362365609
Remove Unread Count
...
Unread count is deprecated and notification count should be used in all cases. As such remove unreadCount and use notification count in all places it was being used.
Fixes network/neochat#76 \
BUG: 466515
2023-05-10 16:23:14 +00:00
Tobias Fella
b545a27bc6
Fix ReplyComponent warnings
2023-05-09 13:22:41 +02:00
Tobias Fella
334e3ac6b4
Delete old space components
2023-05-09 09:57:08 +00:00
James Graham
d424aba0bc
Document imagepacksmodel
2023-05-09 09:55:36 +00:00
James Graham
8802753de1
Custom emoji image data
...
Make sure the imageInfo for custom emojis is set. This ensures that all the data required by imageDelegate is available.
2023-05-09 09:15:07 +00:00
James Graham
40edfef046
Document stickermodel
2023-05-09 08:14:21 +00:00
Tobias Fella
11343e6bdf
Improve spaces support
2023-05-09 08:11:47 +00:00
James Graham
3d0c0e3ed5
Move stickermodel into the models folder
2023-05-08 09:40:26 +01:00
James Graham
77d8ec04ca
Document imagepackevent
2023-05-08 08:34:32 +00:00