Tobias Fella
a3b40a5e6d
Port devtools to FormCard
2023-09-02 15:58:37 +00:00
Laurent Montel
dfba655527
Fix missing argument signal in qml
2023-09-02 11:13:51 +00:00
Laurent Montel
23178b6224
Remove unused import qml module (scripted)
2023-09-02 11:54:28 +02:00
James Graham
bf3c5708c7
Remove support streaming
...
Remove support streaming from video delegate as it's breaking downloads and unused
2023-09-01 17:54:37 +00:00
Laurent Montel
774121ea8c
Fix qml explicit signal argument
2023-09-01 17:11:35 +02:00
Laurent Montel
a3423e5724
Fix warning about missing argument qml signal
2023-08-31 10:02:32 +00:00
Tobias Fella
9fcfad7058
Fix supportStreaming in VideoDelegate
2023-08-29 20:48:02 +00:00
James Graham
442612d31d
Merge the functionality of CollapseStateProxyModel into MessageFilterModel
...
Merge the functionality of CollapseStateProxyModel into MessageFilterModel there is no need for a whole separate model the filters can be combined trivialy.
2023-08-28 10:31:18 +00:00
Tobias Fella
59164d3bb2
Implement account registration
...
Implements #7
2023-08-28 10:05:09 +00:00
James Graham
50e8b9ebf6
Visit User
...
Move to using visit user in all cases.
2023-08-27 19:05:55 +00:00
Nicolas Fella
f5ad2ad162
Fix enter key naviation in login flow
2023-08-27 19:32:41 +02:00
James Graham
63ed69a5d4
Use updated AlbumMaximizeDelegate
...
Autoload is being removed so don't use it.
Requires libraries/kirigami-addons!146
2023-08-27 16:02:07 +00:00
Tobias Fella
a8aa775575
Implement message forwarding
...
Implements #338
2023-08-27 09:55:31 +00:00
Tobias Fella
dbc10685f0
Port login to FormCard
2023-08-27 09:54:12 +00:00
James Graham
50f4f96341
Fix maximize component menu
...
Should be plainText not plainMessage
2023-08-26 19:29:11 +00:00
James Graham
092f1be99b
Further mark messages read fixes
...
Add a timer to lockout the scroll trigger for marking messages as read in the first second after changing room. This is because the scrollview can't differentiate between mouse scrolling and the multiple changes in scrollview that happen as the room is changed over.
2023-08-25 22:27:20 +00:00
Carl Schwan
9f3012061d
ReactionDelegate: Don't bind twice the reaction repeater model
...
We already are using an alias for this
2023-08-22 21:49:30 +00:00
James Graham
df127b88e6
Fix Image Replies
...
Make sure that the image container has it's implicit width/height set so that the correct size can always be calculated. This was breaking images that were a reply to another message (not sure if that's legal because we don't allow but other clients do because I found one).
2023-08-20 18:16:51 +00:00
Joshua Goins
a0499e5140
Set sourceSize in for images, improving memory usage and smoothing
...
In some cases (where we don't get a thumbnail) we load the entire image,
which might be large. Even when we get a thumbnail, the smoothing we
apply doesn't get the best results and the only other option is
mipmapping which is more memory intensive - it stores progressively
smaller images but keeps all of them in memory.
Now the ImageDelegate sets the sourceSize, which helps reduce the memory
footprint (since Qt will throw away whatever parts of the image we don't
need) and makes the images look smoother when scaled. However,
AnimatedImages do not support this so this change introduces a new
property to tell if the image could possibly be animated. It will
erroneously pick up formats that could support animation (e.g. WebP) but
other image formats will still benefit so it's a net positive. The
ImageDelegate will load the correct image component depending on this
property.
2023-08-19 18:20:49 +00:00
Joshua Goins
6d8c1d0780
Fix avatar URLs for rooms
...
Room avatar URLs don't specify the new mxc:// format the user avatars
use, so we need to carve out a workaround for them.
2023-08-19 15:45:51 +00:00
Joshua Goins
7fe85066a4
Move attachment dialog to ChatBar, where it can actually be used
...
ChatBar calls to an attachDialog that never comes, so let's have them
move in together.
2023-08-19 15:23:04 +00:00
Carl Schwan
3bd93996c0
Don't inherit color in TimelineContainer
2023-08-16 23:44:22 +02:00
Joshua Goins
91d9406c38
Prevent the TapHandler in AvatarTabButton from triggering clicked()
...
This caused right-clicks on this component (for example, in the space
drawer) to cause clicked() to be called on the delegate.
2023-08-16 20:07:46 +00:00
Joshua Goins
7b520da4b4
Prevent the chat bar from pasting a local file URL if we save the bitmap
...
There's no point in also putting the file:// URL, so catch the event if
saving the bitmap from the clipboard is successful.
2023-08-16 19:57:22 +00:00
Joshua Goins
fe3bf3a638
Pick a better shadow and clean up emoji popup backgrounds
...
These shadows are now closer to how other popups look.
2023-08-16 19:31:07 +00:00
Joshua Goins
d678a446e2
Don't clip the emoji popups as they destroy shadows
2023-08-16 19:31:07 +00:00
Tobias Fella
4ea183b139
Improve tooltips in chatbar
2023-08-14 07:54:47 +00:00
James Graham
018154f555
No emoji chatbar button on mobile
...
Hide the emoji button in the `chatbar` and don't instantiate the dialog component on mobile. This isn't needed on mobile as the virtual keyboard can add emojis. Should also save a small amount of memory on mobile from the dialog which is normally always instantiated.
2023-08-09 18:10:53 +00:00
Carl Schwan
58213ee3e6
Display big emoji correctly
...
We already check with a regex if the message only contains emoji so it is safe
to hardcode the font family as emoji for these messages.
2023-08-08 12:07:16 +02:00
Tobias Fella
67453d9fb8
Remove ifdefs for E2EE
2023-08-07 21:15:11 +00:00
James Graham
c7c892c51c
Fix message long press
...
Add a tap handler so that long press events in the text of a message can be captured. This should make mobile menus work on text messages again.
2023-08-06 17:08:46 +00:00
James Graham
c2398b19dc
Fix mark all read on room change
...
Fix it so that the view is correctly positioned at the bottom when the room is changed and make sure this is not seen as a scroll event (i.e. messages are not automatically marked as read but the timer has to time out first and all visible on screen).
2023-08-05 17:38:21 +00:00
James Graham
4b3dac025f
Declare currentRoom property
...
Make sure `currentRoom` is a property for every qml component where it's used in `chatbar`.
2023-08-05 16:50:06 +00:00
James Graham
bc4431462a
Chatbox id for all property refs
...
Change the chatbox id to root and use for all references to it properties. Using root.currentRoom is needed for the chatbar to be visible in KF6
2023-08-04 13:56:26 +00:00
James Graham
25e0e3fa8e
Remove NeoChatUser and just use Quotient::User this simplifies things and avoids casting from one to the other which address santizer didn't like
2023-08-01 15:57:58 +00:00
Volker Krause
00c0d1c276
Add heading indicator for live locations
...
Heading isn't covered by any MSC so far, so that is using Itinerary's
vendor prefix for now.
2023-07-31 18:06:52 +02:00
Tobias Fella
f9514fe925
Add accessible name to chatbar
2023-07-30 22:57:43 +02:00
Carl Schwan
f8d3e25f8e
Move no connection info message to the top
2023-07-24 08:45:10 +00:00
Carl Schwan
75cd77facb
Refactor completion menu
...
- Use new Avatar
- Use required property in delegate
2023-07-24 08:44:49 +00:00
Carl Schwan
b486cb905c
Add back some spacing around the avatar in the timeline
2023-07-22 18:41:09 +00:00
Carl Schwan
3e6c426397
Port Avatar usage in Settings KirigamiAddons
2023-07-22 18:41:09 +00:00
Carl Schwan
847f41e1ad
Port most Avatar usage to new KirigamiAddons Avatar
2023-07-22 18:41:09 +00:00
Carl Schwan
dbf67b984e
Fix reply error message when the reply is not loaded yet
2023-07-21 11:24:10 +02:00
Tobias Fella
13988da4fc
Add login appium test
2023-07-20 07:14:23 +00:00
Carl Schwan
0847839abc
Remove hover effect on timeline events
2023-07-20 08:40:15 +02:00
Carl Schwan
6b55e502a0
Remove duplicated code in QuickSwitcher for RoomDelegate
2023-07-20 08:39:59 +02:00
Carl Schwan
8f81629ac1
Redesign room list
...
Use KirigamiAddons.Delegated.RoundedItemDelegate
2023-07-20 08:39:57 +02:00
Carl Schwan
7f459cb90f
Redesign timeline
...
Remove border von bubbles and only hilight the bubble on hover
2023-07-20 08:38:51 +02:00
Tobias Fella
646c8ba8fe
Fix opening user mentions
2023-07-18 05:54:15 +00:00
Laurent Montel
0e1c7f8c47
Fix qml Audio/Video support in qt6 too.
...
in Audio qt6 we don't have autoload feature but we disable it in qt5 => it seems ok
In Video qml qt6 we don't have flushMode.
2023-07-15 12:51:13 +00:00