Commit Graph

1638 Commits

Author SHA1 Message Date
Kévin Commaille 8f72c26748
completion-popover: Use ExpressionListModel
Fixes memory leak in code that was implementing the same functionality.
2023-10-31 16:14:56 +01:00
Kévin Commaille d69d2c0afe
utils: Allow ExpressionListModel to watch several expressions 2023-10-31 16:13:36 +01:00
Kévin Commaille 476d114dc0 room-history: Change the style of emotes 2023-10-30 18:12:50 +00:00
Kévin Commaille 59c29c070e
chore: Upgrade matrix-sdk 2023-10-30 18:49:14 +01:00
Kévin Commaille 4e09079624
room-details: Use the room's language for the spell checker 2023-10-30 12:45:47 +01:00
Kévin Commaille 57b0fc8749
room-history: Use the room's language for the spell checker 2023-10-30 12:45:46 +01:00
Kévin Commaille c4c74c8aba
room: Expose the language of a room 2023-10-30 12:44:12 +01:00
Kévin Commaille b7e4c059e7
room-details: Add spell checker to room topic entry 2023-10-29 17:16:36 +01:00
Kévin Commaille 2295e8a9d1
room-history: Add spell checker to message entry 2023-10-29 17:16:35 +01:00
Kévin Commaille 24fe938cae
meson: Sort dependencies 2023-10-29 12:33:36 +01:00
Kévin Commaille f1a3490444
room-history: Refactor setup code 2023-10-29 11:52:59 +01:00
Kévin Commaille 1bb8be3725
cargo: Remove ashpd's gtk4 feature
It is not actually used.
2023-10-29 11:27:57 +01:00
Kévin Commaille d015fa9bbe
cargo: Group dependencies from gtk-rs and their dependents
Should make it easier to know which dependencies to update when gtk-rs
has new releases.
2023-10-29 11:26:23 +01:00
Anders Jonsson 302868fdd1 utils: Fix message dialog typo 2023-10-28 22:30:04 +02:00
Yuri Chornoivan f0f9b8a8f7 Update Ukrainian translation 2023-10-27 18:13:31 +00:00
Kévin Commaille 3661f449fb
room-details: Ask for confirmation to remove avatar
Otherwise it's a single-click destructive action
2023-10-27 16:18:38 +02:00
Kévin Commaille 141e3ff3cc
account-settings: Ask for confirmation to remove avatar
Otherwise it's a destructive single-click action.
Besides it's an intrusive action that sends an event to each room
that the user has joined.
2023-10-27 15:18:29 +02:00
Kévin Commaille 405b97cef8
invite: Ask for confirmation to decline invite 2023-10-27 13:55:49 +02:00
Kévin Commaille 4a84f2a9f2
invite: Use install_action_async 2023-10-27 13:52:15 +02:00
Kévin Commaille 1ab9502e15
sidebar: Ask for confirmation to leave the room 2023-10-27 13:47:45 +02:00
Kévin Commaille 8f6c0f4ade
room-history: Ask for confirmation to leave the room 2023-10-27 13:46:48 +02:00
Kévin Commaille 1e8f1fe769
utils: Add message dialog to confirm leaving a room 2023-10-27 13:46:16 +02:00
Kévin Commaille 28b2a45477
room: Expose if the join rule is public 2023-10-27 12:07:12 +02:00
Kévin Commaille d6979e50ff item-row: Show toast when some actions fail 2023-10-27 09:50:17 +00:00
Kévin Commaille cb8c680df9 item-row: Ask for confirmation when removing message 2023-10-27 09:50:17 +00:00
Kévin Commaille 15b88318db item-row: Do not add any action on redacted events 2023-10-27 09:50:17 +00:00
Yuri Chornoivan 200092f5fa Update Ukrainian translation 2023-10-26 20:20:41 +00:00
Kévin Commaille 2e62541bef
room-details: Display the members list loading state 2023-10-26 13:37:16 +02:00
Kévin Commaille bd156606e3
loading-row: Remove set_loading
It can lead to an inconsistent state where loading is false but the
spinner is showing.
Let's stick with a single API to show the spinner, when there is no
error.
2023-10-26 13:37:16 +02:00
Kévin Commaille 85c874ed04
components: Rename LoadingListBoxRow to LoadingRow 2023-10-26 13:37:16 +02:00
Kévin Commaille f30379cc6a
room-details: Use homeserver joined members count instead of local count 2023-10-26 13:37:15 +02:00
Kévin Commaille d175f73aa9
room: Expose joined members count provided by homeserver 2023-10-26 13:37:15 +02:00
Kévin Commaille ae645dac99
room: Remove unnecessary async 2023-10-26 13:37:15 +02:00
Kévin Commaille 71a293168a
room-details: Disconnect signals and expression watches on dispose 2023-10-26 13:37:15 +02:00
Kévin Commaille 54f30627a5
message-text: Set hexpand on GtkSourceviews
Otherwise they just take the same width as rows of text in the same
GtkGrid.
2023-10-26 12:11:26 +02:00
Kévin Commaille a50333bc8d
member-list: Load only local data first
In big rooms that should make tab auto-completion work sooner.
2023-10-24 14:07:22 +02:00
Kévin Commaille d9ca96bba1
room-history: Fix spacing of messages 2023-10-24 10:52:52 +02:00
Kévin Commaille 42aa302670
chore: Upgrade SDK 2023-10-23 18:01:41 +02:00
Kévin Commaille f40692f975
room-list: Persist Room metainfo between restarts
Allows to restore the RoomList in the exact same state, even without
waiting for the rooms timelines to be loaded
2023-10-22 11:52:14 +02:00
Kévin Commaille 350f5164ae room: Improve tracking of room read state
Using new API from the SDK
2023-10-20 13:29:26 +00:00
Kévin Commaille 33470209b7 room: Rename latest_unread to latest_activity 2023-10-20 13:29:26 +00:00
Kévin Commaille e4225577fd chore: Update matrix-sdk 2023-10-20 13:29:26 +00:00
Kévin Commaille 251dd38aa5
item-row: Merge with event_actions
Since it's the only file to use it, it does not make sense to implement
event actions as a trait anymore.
2023-10-20 10:17:12 +02:00
Kévin Commaille 2b46670dfb
chore: Update Cargo.lock
Cargo insists to update this line so here we go.
2023-10-20 10:17:11 +02:00
Kévin Commaille a070b295c2
chore: Upgrade strum crate 2023-10-19 09:39:53 +02:00
Kévin Commaille 20c5242427
chore: Upgrade rustix crate
Due to a security vulnerability
2023-10-19 09:30:10 +02:00
Kévin Commaille 5ebba615b3
text: Use GtkGrid instead of GtkBox 2023-10-18 10:43:11 +02:00
Kévin Commaille e5593f51e9
reply: Use GtkGrid instead of GtkBox 2023-10-18 10:42:54 +02:00
Kévin Commaille 2633a15a56
message-content: Use a GtkGrid instead of nested GtkBoxes
The nested GtkBoxes measuring causes a lot of extra calls to `measure`,
which freezes the interface noticeably.
2023-10-17 15:47:08 +02:00
Alan Mortensen 81813a9553 Update Danish translation 2023-10-16 16:56:25 +00:00