James Graham
d09cd5d71b
Cleanup the list of required properties for MessageDelegateContextMenu
2023-05-29 15:03:34 +00:00
James Graham
4e40f5c7d9
getUser UserDetailDialog
...
Use `NeoChatRoom::getUser` to provide the user properties in `UserDetailDialog`
2023-05-29 13:43:24 +00:00
l10n daemon script
3b5bb06b4a
GIT_SILENT Sync po/docbooks with svn
2023-05-29 01:51:45 +00:00
Tobias Fella
8f4e5a41c5
Drop reset*Count invocations
...
Still coming from Spectral, where they were taken from Quaternion, where they were dropped because they don't work as expected.
Also, soon to be removed from libQuotient itself.
2023-05-28 10:24:21 +00:00
l10n daemon script
9b1005efc3
GIT_SILENT Sync po/docbooks with svn
2023-05-28 01:59:58 +00:00
James Graham
e1d4b66479
Unify getUser
...
Always use `NeoChatRoom::getUser` for getting user details in a room context.
- `MessageEventModel` now calls `getUser`
- `getUser` is now overloaded to also be able to take a `NeoChatUser*`
- add params to `getUser` that are needed for the model outputs
2023-05-27 18:27:28 +00:00
Tobias Fella
f2aa375b43
Rename AccountStickerModel to AccountEmoticonModel
...
In preparation for using it for custom emojis as well
2023-05-27 16:38:25 +00:00
James Graham
ee53793a6d
Fix replying and editing from chatbox
...
Restore the functionality to edit or reply to the last message in the `chatbar`.
This is achieved be moving the functions `getLastLocalUserMessageEventId` and `getLatestMessageFromRow` to `NeoChatRoom` as `editLastMessage` and `replyLastMessage` as `chatbar` no longer has access to `messageEventModel`.
The functions are also simplified as they only need to find the `eventId` and always from row 0 as this was the only use of the functions.
BUG: 469733
2023-05-27 16:36:09 +00:00
James Graham
528d46be9f
Fix the room timeline being dragged when selecting text by making it non...
...
Fix the room timeline being dragged when selecting text by making it non interactive in desktop mode.
BUG: 467163
2023-05-27 16:06:20 +00:00
Joshua Goins
cc80e69644
Add better checks when the pack is omitted from im.ponies.room_emotes
...
This field is omittable, and I hit it this morning. Let's check if it's
filled before using it.
2023-05-27 15:33:42 +00:00
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
l10n daemon script
41a5d2557e
GIT_SILENT Sync po/docbooks with svn
2023-05-27 01:50:19 +00:00
l10n daemon script
0b36db0ecc
GIT_SILENT made messages (after extraction)
2023-05-27 00:47:24 +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
l10n daemon script
df849accfa
GIT_SILENT Sync po/docbooks with svn
2023-05-23 02:31:17 +00:00
l10n daemon script
b098937d1b
GIT_SILENT Sync po/docbooks with svn
2023-05-22 01:52:21 +00:00
l10n daemon script
fbe4fc49e1
GIT_SILENT made messages (after extraction)
2023-05-22 00:47:42 +00:00
James Graham
8741fd8fed
Refactor hover actions
...
Refactor hover actions into their own component.
2023-05-21 15:36:43 +00:00
l10n daemon script
ccc952b65e
GIT_SILENT Sync po/docbooks with svn
2023-05-21 01:50:51 +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
Tobias Fella
2c1f00da03
Temporarily disable android qt6 CI
2023-05-20 17:03:33 +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
l10n daemon script
0901c59de9
GIT_SILENT Sync po/docbooks with svn
2023-05-20 01:52:01 +00:00
Nate Graham
69bfa1394c
Focus message search window's search field by default
...
BUG: 469879
2023-05-19 13:16:21 +00:00
l10n daemon script
5b69a3e07c
GIT_SILENT Sync po/docbooks with svn
2023-05-19 01:49:45 +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
l10n daemon script
9dd7ceb966
GIT_SILENT Sync po/docbooks with svn
2023-05-18 01:50:45 +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
Carl Schwan
5eb86bbc88
Add neochat mastodon account
2023-05-17 11:30:17 +02:00
l10n daemon script
53dc32fac1
GIT_SILENT Sync po/docbooks with svn
2023-05-17 01:51:56 +00: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