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
Akseli Lahtinen
8f141cd88d
Set the mention and error color according to colorscheme
...
Use kirigami to set the proper link and error color for mentions and error underlining in chatbox
This is with my own colorscheme:

2023-03-30 16:25:01 +00:00
Tobias Fella
34ad743e98
Don't crash in UserListModel when there is no room
...
BUG: 466045
2023-03-28 11:47:14 +00:00
James Graham
b1b6c7ceed
Improve location marker
...
Change location marker to GPS icon, make sure the point is the anchor and colour it with highlight colour
m.self \

m.pin \

2023-03-27 16:38:34 +00:00
Tobias Fella
dcf520a7a9
Fix locations for geouris with uncertainty
2023-03-26 22:55:05 +02:00
James Graham
a0ae8b28b2
Handle stripnewlines for plain text list
...
Handle stripping new lines when the plain text input is a markdown list.
2023-03-26 20:27:23 +00:00
Tobias Fella
fb24ffd20d
Show a map for location events
2023-03-24 13:52:17 +00:00
Tobias Fella
787dc5ab66
Ensure that the room list subtitle is a single line
2023-03-23 20:10:35 +00:00
James Graham
925e20ebb8
Handle quotes in plain strings
...
Unescape quotes in plain strings
2023-03-19 19:58:56 +00:00
James Graham
ee254a286d
Handle single quotes for links
...
Make sure that the text handler can handle links which use single or double quotes for the attributes.
2023-03-19 19:06:08 +00:00