Commit graph

973 commits

Author SHA1 Message Date
Yuri Chornoivan
708da1fa5e Update Ukrainian translation 2023-03-12 17:30:56 +00:00
Kévin Commaille
18bac5797b timeline: Always use the item accessor to get an item by position
The list should never be accessed directly to avoid having mismatches
in indexes.
2023-03-12 16:59:39 +00:00
Kévin Commaille
bc7b46cf2f timeline-item: Add unique ID accessor for debugging purposes 2023-03-12 16:59:39 +00:00
Kévin Commaille
a48b8ea5f4 room-history: Display an icon when a message has been edited 2023-03-12 16:18:17 +00:00
Kévin Commaille
934abcc3cb room-history: Make TypingRow::is_empty code easier to understand 2023-03-12 15:24:11 +00:00
Kévin Commaille
57e61c4043 room-history: Don't update typing row label when list is empty
Would crash the app when the underlying model changes to an empty list.
2023-03-12 15:24:11 +00:00
Piotr Drąg
1be875422b Update Polish translation 2023-03-12 14:58:30 +01:00
Sabri Ünal
6dd37a0593 Update Turkish translation 2023-03-12 06:39:34 +00:00
Anders Jonsson
52ed7d3c58 Update Swedish translation 2023-03-10 15:22:31 +00:00
Philipp Kiemle
012b985650 Update German translation 2023-03-09 20:13:31 +00:00
Yuri Chornoivan
b452d974f2 Update Ukrainian translation 2023-03-07 18:50:48 +00:00
Kévin Commaille
d6e5f60b84
room-creation: Use AdwEntryRow and other fixes
It would not be possible to create a private room without entering a
room address
although it's not used in that case.
2023-03-07 11:34:28 +01:00
Kévin Commaille
0e3d46237a
room-history: Show read receipts on events 2023-03-07 09:36:55 +01:00
Kévin Commaille
31e960a59e
chore: Update matrix-rust-sdk and Ruma 2023-03-07 09:27:47 +01:00
Kévin Commaille
541e94e1bd
components: Use a GListModel to manage OverlappingBox children 2023-03-07 09:20:58 +01:00
Kévin Commaille
b1abfa77af
utils: Create BoundObjectWeakRef to keep track of signal handlers for an object
Allows to disconnect the signals easily.
2023-03-07 09:20:58 +01:00
Kévin Commaille
f7335fa9f0
room-history: Fix typing list not showing 2023-03-07 09:20:58 +01:00
Kévin Commaille
f2e97b94a2
room: Move ReactionGroup and ReactionList to the event module 2023-03-07 09:20:57 +01:00
Kévin Commaille
8380bfa1ee
timeline: Fix item header visibility when an item's header visibility possibly changed
Also only check the event after the last event that changed.
2023-03-07 08:55:16 +01:00
Kévin Commaille
960c74c21d
ci: Sort Cargo.toml and add a check for it 2023-03-07 08:01:41 +01:00
Kévin Commaille
160b648cfe
chore: Remove uses of gtk-macros 2023-03-07 08:01:41 +01:00
Kévin Commaille
8035dca113
chore: Use let-else and early returns to reduce rightward drift 2023-03-07 07:29:36 +01:00
Kévin Commaille
fc49b657e7
chore: Fix clippy nightly warnings 2023-03-07 07:24:42 +01:00
Christopher Davis
5db1d9f902
general: Update to the latest version of the gtk-rs stack 2023-03-07 07:14:51 +01:00
Piotr Drąg
255da89676 Update Polish translation 2023-03-05 16:11:36 +01:00
Aleksandr Melman
7c3d1d9baf Update Russian translation 2023-03-04 14:43:57 +00:00
Kévin Commaille
4a5ab04078
misc: Add myself as a maintainer 2023-02-21 16:59:20 +01:00
Harshil Patel
1715f27472 room-history: Remove search-content button from headerbar
closes GNOME/fractal#1145
2023-02-16 15:33:56 +05:30
Yuri Chornoivan
6eacba53e7 Update Ukrainian translation 2023-02-15 15:06:36 +00:00
prathamgupta44
22bb04d440 room-details: Fix contrast of room name and description on room-details page
Have fixed the contrast of room name and description on room-details page by changing the opacity of the respective widgets.

Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/1138
2023-02-15 11:00:20 +00:00
Hari Rana
7f57fb9324 about: Update copyright year 2023-02-15 08:47:52 +00:00
Yuri Chornoivan
bb882ab672 Update Ukrainian translation 2023-02-14 17:58:07 +00:00
Julian Sparber
11b80862d1 account-settings: Add entry and subpage to confirm log out
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/823
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/1083
2023-02-14 08:56:43 +00:00
Julian Sparber
8ffb4cad9c session: Drop unused logout() argument 2023-02-14 08:56:43 +00:00
Julian Sparber
e041b9887a session: Emit logged-out signal after logging out
Ideally we would have atomic log out, since currently we may leave
things in place if something fails.
2023-02-14 08:56:43 +00:00
Yosef Or Boczko
cc92f63bbe Update Hebrew translation 2023-02-14 08:12:20 +00:00
Marco Melorio
5bfdeb449c media-viewer: Implement animated back swipe 2023-02-13 20:01:03 +00:00
Yuri Chornoivan
1fbb862dbb Update Ukrainian translation 2023-02-13 19:25:31 +00:00
Marco Melorio
4efb8f2804 media-viewer: Make it dark and animated
Fixes https://gitlab.gnome.org/GNOME/fractal/-/issues/1019.
2023-02-13 19:56:28 +01:00
Marco Melorio
00d5d6f02c media-viewer: Add scale transition for opening and closing 2023-02-13 19:56:28 +01:00
Marco Melorio
8991a4d838 session: Move MediaViewer in a GtkOverlay
This way we can implement an overlay animation in the next commits. This
currently makes the MediaViewer have a transparent background. This will
be fixed in the next commits.
2023-02-13 19:56:28 +01:00
Marco Melorio
b04eff6c81 room-history: Move item activation code to MessageRow
The previous way of tracking message activation was via `GtkListView`'s
"activate" signal, which was not ideal since it required a complicated
management of each items' "activatable" property. This new
implementation is simpler since it just adds a `GtkClickGesture` to the
message rows that require activation and it handles the activation in
the `MessageRow`. This is also useful for implementing a media viewer
opening animation (which is planned in the next commits) because we can
retrieve the actual widget of the media widget being pressed, which was
not possible previously.
2023-02-13 19:56:27 +01:00
Kévin Commaille
2e1a685e8f room: Move event actions to the event module
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1221>
2023-02-13 16:57:42 +00:00
Kévin Commaille
93caf82560 logs: Enable warn level for all crates in .Hack manifest
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1221>
2023-02-13 16:57:42 +00:00
Kévin Commaille
5223cbcb95 auth-dialog: Use Ruma's AuthData type
Now that it is owned we can use it instead of having to declare our own
type.

Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1221>
2023-02-13 16:57:42 +00:00
Harshil Patel
99669d258f room-history: Reorganize buttons of message composer
Fixes GNOME/fractal#1033
2023-02-13 16:07:17 +00:00
Kévin Commaille
7aa35b393b
chore: Update matrix-rust-sdk and Ruma
The branch we used before was merged and has been deleted.
2023-02-12 13:11:03 +01:00
Kévin Commaille
61070c43bc
room-history: Fix sending location
Ashpd complained that no tokio reactor was running.
2023-02-11 18:32:36 +01:00
Yuri Chornoivan
678773b623 Update Ukrainian translation 2023-02-11 16:49:06 +00:00
Kévin Commaille
0484870f25
chore: Update matrix-sdk and ruma
Switch to the new timeline API.
2023-02-10 12:15:08 +01:00