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
Kévin Commaille
b95f3477bb
message-text: Rename constructors using the with_ prefix
2023-05-30 13:07:53 +02:00
Kévin Commaille
3f8a7e8bd0
label-with-widgets: Only invalidate children when necessary
2023-05-30 13:07:53 +02:00
Kévin Commaille
7c73e0e0f4
label-with-widgets: Fix ParamSpec types
2023-05-30 13:07:53 +02:00
Nobody
b4f4874ac5
chore: Update dependencies
...
Fix docs generation error.
2023-05-29 08:07:12 +00:00
Piotr Drąg
314731a9b8
Update Polish translation
2023-05-28 12:35:14 +02:00
Kévin Commaille
2c657f8696
session: Only start listening to notifications when session is ready to be shown
2023-05-27 10:55:28 +02:00
Kévin Commaille
466748570a
session: Remove unnecessary spawn!
2023-05-27 10:37:29 +02:00
Kévin Commaille
f7985b0d10
room: Close room when invite is rejected
2023-05-26 17:01:42 +02:00
Kévin Commaille
1eac942c17
content: Minor refactoring
2023-05-26 16:14:23 +02:00
Kévin Commaille
3e8b615dbb
invite: Minor refactoring
2023-05-26 16:03:38 +02:00
Kévin Commaille
0211f83751
room: Use other user's avatar for 1-to-1 invited rooms too
2023-05-26 15:56:22 +02:00
Kévin Commaille
db792b75c7
room: Invalidate member list if the room state changed
2023-05-26 15:00:20 +02:00
Kévin Commaille
82bacca9a1
room: Also show other user avatar if they are alone in room
2023-05-26 14:59:23 +02:00
Kévin Commaille
ae02a70e7b
member-list: Rename member_by_id to get_or_create
2023-05-26 14:57:42 +02:00
Kévin Commaille
e9df66d6c7
room: Refactor sync handlers
2023-05-26 14:57:42 +02:00
Kévin Commaille
adbc39871c
room: Make sure inviter is always loaded
2023-05-26 14:57:42 +02:00
Kévin Commaille
4dfcb74451
room-list: Make sure invited rooms are loaded
2023-05-26 14:57:42 +02:00
Kévin Commaille
8308f8bd89
invite: Fix the inviter Pill
2023-05-26 14:57:42 +02:00
Yuri Chornoivan
7d28a6b942
Update Ukrainian translation
2023-05-23 19:58:34 +00:00