Kévin Commaille
65a471416e
room-history: Allow to edit messages.
2023-08-13 19:47:46 +02:00
Kévin Commaille
e62042dd82
utils: Add function to extract mentions from HTML
...
It is more versatile than the precedent one that was simple string
searching, expecting the HTML in a special format, at the cost of
an added dependency.
2023-08-13 18:18:24 +02:00
Kévin Commaille
be5e2784e5
main: Use tracing-subscriber's EnvFilter
...
It is more powerful than the default filter.
This syntax also allows to add other layers.
2023-08-13 15:03:35 +02:00
Kévin Commaille
97de17ce62
misc: Use tracing for logging
2023-08-13 14:54:20 +02:00
Boyuan Yang
12842bbe7c
Update Chinese (China) translation
2023-08-12 20:01:49 +00:00
Kévin Commaille
ba09929fe6
chore: Upgrade matrix-sdk and other cargo dependencies
2023-08-12 11:59:25 +02:00
Kévin Commaille
fa61ca6b69
secret: Try to unlock collection and item with DBus backend
2023-08-12 10:06:16 +02:00
Kévin Commaille
71f04c86e0
chore: Upgrade oo7 crate
2023-08-12 10:04:21 +02:00
Kévin Commaille
92f667b5b1
content: Fix room not unselected in sidebar when clicking on back button
2023-08-11 09:04:39 +00:00
Kévin Commaille
450631e5bf
docs: Build docs for matrix-sdk-ui
...
Since the latest SDK update, the types that moved there are not resolved
in our docs.
2023-08-11 08:40:55 +00:00
Piotr Drąg
f01c350869
Update Polish translation
2023-08-06 15:11:24 +02:00
Yuri Chornoivan
dc66180a44
Update Ukrainian translation
2023-07-28 13:56:21 +00:00
Kévin Commaille
3e95d105d1
timeline: Add TimelineItem "ID" as a property
...
For debug purposes
2023-07-27 15:34:17 +02:00
Kévin Commaille
0712abd51c
timeline: Put pagination status at start of timeline
2023-07-27 15:32:36 +02:00
Kévin Commaille
c0a78fdf19
login: Check if server is a valid homeserver URL when auto-discovery fails
2023-07-27 13:02:28 +00:00
Kévin Commaille
8069076438
login: Use SDK method to sanitize server name
2023-07-27 13:02:28 +00:00
Kévin Commaille
8877b24e84
room-list: Don't load room invites twice
...
The issue that was in the SDK has been fixed so the invited rooms
appear twice in the list, which makes the `added` count invalid since
they are deduplicated in the list, and causes a crash.
2023-07-25 09:44:25 +00:00
Asier Sarasua Garmendia
b7bc845259
Update Basque translation
2023-07-25 09:02:49 +00:00
Kévin Commaille
5252af0722
chore: Use binding builder fns instead of glib::BindingFlags
2023-07-19 13:52:29 +02:00
Kévin Commaille
6db42e80dd
chore: Use and_(downcast/upcast)(_ref) where possible
2023-07-19 12:55:58 +02:00
Kévin Commaille
e197bfb4ef
room-details: Allow to scroll and fix margins for small form factors
2023-07-19 11:58:26 +02:00
Kévin Commaille
f4eb60a71d
explore: Filter out spaces
2023-07-19 11:30:48 +02:00
Kévin Commaille
25cadbc6e6
room: Prevent load_tombstone from being called several times
2023-07-19 11:12:10 +02:00
Kévin Commaille
b8928e82f0
session: Keep tokio runtime alive until Client is dropped
2023-07-18 18:42:31 +02:00
Kévin Commaille
bc07d95321
login: Don't nest tokio EnterGuard
...
Due to a fix in tokio 1.29.0, the thread would panic because the
guards are not dropped in the correct order.
2023-07-18 18:40:18 +02:00
Kévin Commaille
44be7288a5
auth-dialog: Improve type docs
2023-07-18 15:04:26 +02:00
Kévin Commaille
3b44870d9e
auth-dialog: Derive Error for AuthError
2023-07-18 15:01:27 +02:00
Kévin Commaille
62ef569458
auth-dialog: Cleanup imports
2023-07-18 14:51:59 +02:00
Kévin Commaille
ec317a0d77
auth-dialog: Implement dummy stage
...
It is not supposed to require user interaction so it's a waste to use
the fallback URL.
2023-07-18 14:49:56 +02:00
Kévin Commaille
e8ed5a99a5
auth-dialog: Set SSO as a preferred stage
...
Avoids unknown auth types to take precedence
2023-07-18 14:49:29 +02:00
Kévin Commaille
7014d4e0b8
timeline: Use GtkFlattenListModel
...
Simplifies the handling of extra items at the start or end of the
timeline.
2023-07-15 15:25:56 +02:00
Kévin Commaille
52100f00d7
timeline: Use SDK timeline event filter
...
Drop the is-visible property of TimelineItem
2023-07-15 13:50:10 +02:00
Kévin Commaille
f903fff31f
docs: Bump required Rust version to 1.70
...
This is the version required by matrix-sdk
2023-07-15 12:47:16 +02:00
Kévin Commaille
d06d78fe80
chore: Update matrix-sdk and ruma dependencies
2023-07-15 12:47:16 +02:00
Kévin Commaille
5b8cc97ea9
components: Fix audio player template path
2023-07-15 12:47:15 +02:00
Kévin Commaille
72e547c525
room: Make MemberRole an enum instead of bitflags
...
A user can only have one role at a time so it doesn't make sense to
declare it as a bitflag.
Fixes a clippy lint because the value 0 for a bitflag is the lack of any
flag.
2023-07-15 12:47:15 +02:00
Kévin Commaille
6375881df7
chore: Update cargo deps
...
Run cargo update
2023-07-14 13:06:43 +02:00
Kévin Commaille
7c9f0676ac
chore: Run rustfmt
...
Fixes formatting of let-else statements.
2023-07-14 12:08:19 +02:00
Kévin Commaille
f7069f9883
chore: Fix typos in comments
2023-06-22 10:58:56 +02:00
Kévin Commaille
5f3857e87b
docs: Use meson setup explicitly
...
Avoids a warning when running the command
2023-06-22 10:24:28 +02:00
Kévin Commaille
acb872f0b9
chore: Update cargo dependencies
2023-06-22 10:21:40 +02:00
Kévin Commaille
93412a754f
chore: Update Flatpak SDK extensions for 23.08beta
2023-06-22 10:20:56 +02:00
Sabri Ünal
50232f62f7
UI: Mark translatable strings yes
...
It appeares that using "yes" is a common practice for translatable strings in GNOME apps.
2023-06-07 21:50:42 +03:00
Sergej A
7d09c8132e
Update Russian translation
2023-06-07 15:24:24 +00:00
Kukuh Syafaat
c6dfe4f473
Update Indonesian translation
2023-06-05 03:27:13 +00:00
Kévin Commaille
c3d77b792a
message-text: Trim spaces at the end of labels
...
This is a dirty hack but prevents some criticals and bugs when
displaying them.
2023-05-30 13:20:20 +02:00
Kévin Commaille
0ca1959885
message-text: Only use LabelWithWidgets when necessary
2023-05-30 13:07:53 +02:00
Kévin Commaille
c495d381c4
message-text: Don't use GtkBox for HTML is there is a single block
...
Seems to fix Gtk-CRITICALS for ContentMessageContent
2023-05-30 13:07:53 +02:00
Kévin Commaille
9d59cbac8d
message-text: Don't re-build children if text hasn't changed
2023-05-30 13:07:53 +02:00
Kévin Commaille
ca2a6c3762
message-text: Remove strip_reply
...
The SDK already takes care of removing the reply fallbacks
2023-05-30 13:07:53 +02:00