Carl Schwan
489979af43
Fix Ctrl-PageUp/Down navigation
2023-04-19 07:39:23 +00:00
Tobias Fella
fa7b9d54e2
Fix logout from account menu
2023-04-18 13:04:25 +00:00
Tobias Fella
f60114c7f6
Refactor account labels
...
Move them out of NeoChatUser, where they don't make any sense
2023-04-18 08:29:24 +00:00
Shooting Star
8479e51051
Check if room is null before enter room
...
There will be some case, like the notify is still exist, but user have
logout their account, user leave the room, these cause the room become a
nullptr, and when click the notify message, it make neochat coredump
2023-04-17 19:25:53 +00:00
Tobias Fella
bb2fd7c9c4
Fix dialog button role
2023-04-17 19:34:43 +02:00
Nicolas Fella
a0b0a5d47f
Set associated window for tray icon
2023-04-17 09:46:04 +00:00
James Graham
6ec7d8d6b4
Use DelegateTypeRole searchmodel
...
Change EventTypeRole to DelegateTypeRole to match updated message event model.
2023-04-16 08:32:51 +00:00
Tobias Fella
ca03c530b2
Fix various warnings
2023-04-15 18:07:26 +00:00
James Graham
973ec24674
Document searchmodel
2023-04-15 17:57:21 +00:00
James Graham
1da767ff0a
Document roomlistmodel
2023-04-15 17:18:33 +00:00
James Graham
89127876f9
Document serverlistmodel
2023-04-15 16:51:32 +00:00
Tobias Fella
47a738a703
Revert "Revert "Implement sending location messages""
...
This reverts commit 52dafbb6c8 .
2023-04-15 16:01:04 +00:00
James Graham
516b1cff88
Document publicroomlistmodel
2023-04-15 09:00:49 +00:00
James Graham
6438977964
Document messagefiltermodel
2023-04-15 08:46:45 +00:00
James Graham
d750263d39
Document keywordnotificationrulemodel
2023-04-15 08:32:35 +00:00
James Graham
3ed952db9e
Document emojimodel
2023-04-15 08:15:23 +00:00
James Graham
f8040a1bf6
Guard getTagType and isCloseTag
...
Add guard clauses for getTagType and isCloseTag to avoid crashing if the string is empty.
CCBUG: 468448
2023-04-15 07:59:05 +00:00
James Graham
e0dbb657f6
Document devicesmodel
2023-04-14 13:14:39 +00:00
James Graham
a807cc6143
Document customemojimodel
2023-04-14 12:57:05 +00:00
James Graham
6cc773426f
Document completionmodel
...
Document completionmodel and remove unnecessary includes
2023-04-13 17:35:44 +00:00
James Graham
db94408ba6
Document completionproxymodel
2023-04-13 17:15:38 +00:00
James Graham
333bd3cdb9
Document collapsestateproxymodel
...
Document collapsestateproxymodel and make som public functions private.
2023-04-13 16:41:41 +00:00
James Graham
0990c0507c
Document actionsmodel and cleanup includes
2023-04-12 21:12:14 +00:00
Tobias Fella
57b6f00d8e
Use better include for QCoroTask
2023-04-11 15:34:12 +02:00
Tobias Fella
280c9327cb
Remove unused signal
2023-04-11 15:31:40 +02:00
Carl Schwan
1223c5348d
Rename ConfirmLogoutDialog to Dialog.ConfirmLogout
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2023-04-10 13:54:57 +02:00
Carl Schwan
3ccff4f337
Refactor room list in multiple sub components
...
Also modernize the codebase where possible (e.g use required properties,
reorder properties, fix warnings, don't use Action when not needed)
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2023-04-10 13:53:42 +02:00
Tobias Fella
52dafbb6c8
Revert "Implement sending location messages"
...
This reverts commit f3a04635cf
2023-04-09 20:22:06 +00:00
James Graham
4341cc437d
Handle escaped html for plain text output
...
Always unescape html for plain text output no matter what the input is.
2023-04-09 14:20:22 +00:00
James Graham
7bb7dd7bbb
Document messageeventmodel
...
Document the API and cleanup some unused roles.
2023-04-09 14:02:30 +00:00
James Graham
b4090d9671
Fix Chat bubble background changing color when created
...
Only enable the animating of the bubble background when the temporary highlight is applied to avoid it flashing white on entry.
BUG: 468124
2023-04-09 12:13:46 +00:00
Tobias Fella
f3a04635cf
Implement sending location messages
2023-04-09 00:44:02 +00:00
Tobias Fella
419cb07557
Revert "Temporarily disable android Qt6 CI"
...
This reverts commit d6ebb1308c
2023-04-09 02:22:53 +02:00
Tobias Fella
57fccaa076
Rework QuickSwitcher
...
Now looks similar to the implementations in Kalendar and KXMLGui

Replaces !505
2023-04-09 00:15:00 +00:00
James Graham
4bf65339f8
Texthandler edited
...
Move the handling of adding whether the message has been edited to texthandler.
2023-04-08 20:58:44 +00:00
James Graham
be3b5cdb8a
Handle emotes in texthander
...
This moves the code to add the emote user pill into texthandler removing the now redundant checks from the message delegates.
2023-04-07 19:03:04 +00:00
Wang Zichong
8af2d4d273
Support both roomnick and myroomnick slash command
...
myroomnick is a more common-used command, so user can keep using
/myroomnick if they are from other matrix client.
2023-04-05 23:19:07 +08:00
Carl Schwan
f64c8e28da
Use newly introduced setBadgeNumber api on Qt >= 6.6
2023-04-05 10:15:04 +02:00
Alessio Mattiazzi
6dd51a35c5
Clear room member filter when hiding search bar
...
closes #575
2023-04-04 21:04:05 +00:00
Tobias Fella
1a87e605d6
Fix formatting
2023-04-03 23:32:31 +02:00
Jan Bidler
e995740790
Text cleanup
...
This MR goes over text and cleans it up to be more unifying. Mostly just lowercasing words in non-titles, but it also changes the "show fancy effects" text to be clearer with its meaning.
It also fixes the room access being printed in the room settings: 
I'd like to do a second pass later with another MR to unify triple dots (...) and ellipsis (…)
2023-04-03 20:47:14 +00:00
James Graham
5087161e4b
Document NeoChatRoom
...
Add documentation to NeochatRoom and reorganise the functions in the header file in a more logical order.
For Q_PROPERTIES the documentation is on the property not the functions it calls as seems to be the convention elsewhere.
2023-04-02 17:56:03 +00:00
James Graham
918e9e492a
Make sure the file delegate label fill the width and elide if needed.
2023-04-02 15:41:55 +00:00
Marc Deop i Argemí
f10805dddb
feat: add background-color to <code> blocks
2023-04-02 10:54:41 +02:00
James Graham
9f9086b4b0
Make the room page header span the width in compact mode with the sam emargin on both sides.
2023-04-01 17:03:53 +00:00
James Graham
e00ce79d26
Change the background colour in compact mode to achieve the same level of contrast as with bubbles.
2023-04-01 15:52:48 +00:00
James Graham
a13b2e6bd2
Cleanup Neochatroom
...
Remove unneeded functions, remove Q_INVOKABLE from setters that are part of a Q_PROPERTY, move inlined getters and setters to the .cpp
2023-04-01 12:49:27 +00:00
James Graham
cefe5acdaa
Fix Long Topics in the RoomDrawer Overflowing
...
Use a scrollView for the topic so that a scrollBar is shown when it really long
BUG: 467512
2023-04-01 10:24:26 +00:00
Carl Schwan
882945260a
Fix dataChanged being sent with all roles
...
This is expensive so we should try to reduce it to the maximum
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2023-03-30 18:37:50 +00:00
Carl Schwan
3677088104
Remove one RoomListModel instance
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2023-03-30 18:21:03 +00:00