Tobias Fella
d99fae333a
Introduce MediaManager
...
Currently, this is only to pause playback of other media when something new starts playing.
In the future, it will also be used for other things, like call ringing, etc.
2024-02-20 21:08:47 +01:00
Tobias Fella
b27bec3e16
Leave predecessor rooms when leaving room
...
Implements #621
2024-02-20 20:59:04 +01:00
Tobias Fella
5fb4838734
Improve push notification string
2024-02-20 20:50:17 +01:00
Tobias Fella
1296255a86
Remove room from RoomTreeModel before leaving it
...
This makes sure that the room disappears from the tree view
2024-02-20 20:42:02 +01:00
Tobias Fella
e3ed2fcaa9
Fix crash in ImagePacksModel
2024-02-20 20:36:33 +01:00
Tobias Fella
69d6b90a12
Fix email
2024-02-20 18:43:23 +01:00
Tobias Fella
6937a4b2fe
Quotient -> libQuotient
2024-02-20 18:42:13 +01:00
Tobias Fella
621c36f821
Fix disconnect warning
2024-02-20 18:40:00 +01:00
Tobias Fella
940929d044
Fix qml warning
2024-02-20 18:22:42 +01:00
Tobias Fella
bac5fa8c14
Don't try setting up push notifications when there's no endpoint
2024-02-20 18:19:49 +01:00
Tobias Fella
a10da64378
Run qmlformat
2024-02-20 18:11:23 +01:00
Tobias Fella
f2c12c582e
Remove duplicated actions
2024-02-20 18:06:09 +01:00
Joshua Goins
8e96217ae6
Separate MessageDelegateContextMenu to its own base component
...
This is the first step in separation, so we can focus more on the
actions in this menu, and it's not tangled up in how the context menu is
shown and displayed.
2024-02-19 22:07:00 +01:00
Tobias Fella
ec906813fc
Remove redundant checks
2024-02-19 21:28:31 +01:00
Tobias Fella
36543d0872
Fix some properties
...
Properties with READ and WRITE need to NOTIFY
2024-02-19 21:21:08 +01:00
Tobias Fella
fc6ea0b779
Port RoomList to TreeView
...
Use a tree model for the room list
closes network/neochat#156
BUG: 456643
2024-02-19 20:09:43 +00:00
Tobias Fella
dae23ccd4b
Fix crash when there is no recommended space
2024-02-19 18:13:37 +01:00
Tobias Fella
666cd3c81f
Fix audio playback
2024-02-19 18:05:25 +01:00
Tobias Fella
4ebcc36fb3
Add a way for distros to recommend joining a space
...
Implements #137
2024-02-18 17:13:34 +01:00
James Graham
292cfb0d3d
Change ExploreComponent to signal text changes and set filterText from there
2024-02-18 11:13:36 +00:00
James Graham
1b59917f16
Space notification count
...
Show the number of notifications for a space if it isn't selected. This respects choices like low priority only adding highlights.
2024-02-18 11:04:56 +00:00
James Graham
fcf64a7e1b
Fix Space Saving
...
This handles the following non-functioning cases from the space saving mr:
- Selecting home or friends
- Switching space that has the same room selected
2024-02-18 10:24:30 +00:00
James Graham
b598584aea
Message Content Rework
...
For now everything should look identical. However this moves to using a model for the content of the message and is intended to lay the foundation for improved message content representation, e.g. splitting up a text message in multiple sections and using different delegates for things like code and quotes.
2024-02-18 09:53:08 +00:00
Carl Schwan
755a060e12
Fix reaction delegate sizing for text reaction
2024-02-15 17:51:39 +00:00
Carl Schwan
6d3839dd42
Fix reaction update event when the event is not there anymore
...
Happens when interacting witht Mjonir quite often
2024-02-15 16:55:20 +01:00
Tobias Fella
7150445f8e
Skip Welcome screen when there's only one connection and it's loaded
...
If the connection is stuck, we can still log in to a different one that way.
2024-02-14 18:14:38 +01:00
Tobias Fella
b02bdd22dd
Allow dropping connections from the welcome page
...
This is the last piece required to make sure that we can recover from broken connections, e.g., when the access token is invalid.
2024-02-14 17:38:46 +01:00
Joshua Goins
b2af69fd92
Make the settings window a little bit taller to accommodate most pages
...
According to the HIG, scrolling should be kept to a minimum on settings
dialogs. The default window size for the dialog is too small on desktop,
and usually needs to be resized to prevent scrolling.
2024-02-12 18:19:44 +01:00
Tobias Fella
ca57732871
Show custom emoji reactions as per MSC4027
2024-02-12 14:11:54 +01:00
Tobias Fella
b909cb2db8
Fix AudioDelegate playback
2024-02-10 17:22:09 +01:00
James Graham
3a4b531edf
Remember Space
...
Save the last space entered so it can be recalled on startup
2024-02-10 14:51:57 +00:00
James Graham
413453dd85
Improve getBody
...
Create basic event types so that we can switch on type for live location beacons, widget and server acl events
2024-02-10 14:24:30 +00:00
Tobias Fella
fe52d26f05
Run qmlformat over everything
2024-02-10 12:06:08 +01:00
James Graham
367131d64c
Fix layoutTimer
...
Only change the room when a space is change rather than on all layout refreshes
2024-02-05 17:48:04 +00:00
James Graham
f9cdd55a4d
Support the order parameter in m.space.child events
...
Support the order parameter in m.space.child events, with the exception of always putting spaces higher than non-spaces
see https://spec.matrix.org/v1.8/client-server-api/#ordering-of-children-within-a-space for the spec algorithm
2024-02-04 19:10:37 +00:00
James Graham
1854373dd6
- Low priority rooms only show highlights and mentions in the roomlist
...
- Muted rooms hide their bubble in the `roomlist`
- Mentions and keywords only show highlights
2024-02-04 18:05:34 +00:00
Akseli Lahtinen
777f8b4276
Use resolveResource for SpaceDrawer and RoomListPage
...
Fixes a bug where opening a space would not do anything due to enterRoom and enterSpaceHome missing.
2024-02-02 11:02:11 +00:00
Nate Graham
b7d6208869
Revert "Compact Mode Improvements"
...
This reverts commit fb3b1490a9 .
BUG: 480504
2024-02-01 08:45:01 -07:00
James Graham
4746401bec
Change the behaviour when clicking on a space
...
- When click on a space the space home page is shown, unless the current room is also a member of the new space
- When changing to friends or global the first is entered
- The global now only contains rooms that are not part of a space
- Global is now home
2024-01-31 20:33:36 +00:00
Tobias Fella
e2048dfa1c
Revert "Add a way for distros to recommend joining a space"
...
This reverts commit c986c63b84 .
2024-01-29 23:14:07 +01:00
Tobias Fella
c986c63b84
Add a way for distros to recommend joining a space
...
Implements #137
2024-01-29 23:12:51 +01:00
Tobias Fella
173e507ebf
Don't color usernames in state delegates
...
This starts to look quite messy when there are many state delegates visible
2024-01-28 18:24:23 +01:00
James Graham
fb3b1490a9
Compact Mode Improvements
...
Get rid of the anchors and move to layouts for th bubble and avatars.
This allows the timestamp to be fixed in compact mode so it always sits on the far right. It's also just now more compact than before.

2024-01-28 17:13:23 +00:00
James Graham
48502480df
Fix copying selected text from a message
2024-01-28 01:40:10 +00:00
James Graham
95fff4c9f7
Refactor EventHandler
...
Refactor EventHandler to be a Q_GADGET and create from a constructor
2024-01-26 17:17:53 +00:00
James Graham
27662f9a4a
MessageSource Line Numbers
...
Create a model for getting line numbers from a QQuickTextDocument and then add them to the MessageSource page
2024-01-26 15:58:12 +00:00
James Graham
bb566e3c7b
Always use resolveResource instead of enterRoom or EnterSpaceHome
2024-01-24 20:26:21 +00:00
James Graham
35c68a6de1
Manual friend ID
...
Add manual ID dialog to the friend search page
2024-01-24 19:56:52 +00:00
James Graham
f48c2a21d9
Autosearch
...
Make the user search automatically. This includes a timer to ensure that we aren't constantly pinging the server as the user types, the search is started 0.5s after the user stops typing. The `PublicRoomListModel` is upgraded to work in the same manner as it was architected slightly differently.
2024-01-21 11:24:40 +00:00
James Graham
7666f1c362
Fix the vertical alignment of the notification bubble text
2024-01-20 19:07:27 +00:00