Commit graph

144 commits

Author SHA1 Message Date
Kévin Commaille
93a45ae4fd media-viewer: Use AdwFlap for headerbar 2022-01-24 14:57:19 +00:00
Kévin Commaille
f1e2efd865
resources: Sort files in resources.gresource.xml 2022-01-19 23:33:40 +01:00
Kévin Commaille
c2848743c7
app: Fix spelling mistakes 2022-01-19 23:33:40 +01:00
Kévin Commaille
0a47fb71a6
content: Add reaction chooser to context menu 2022-01-19 18:23:06 +01:00
Kévin Commaille
2582b0d9b1
content: Implement reactions
Closes #530
2022-01-19 18:22:27 +01:00
Julian Sparber
a9c10dd313 room-details: Show verified icon for members 2022-01-19 13:10:37 +01:00
Julian Sparber
34eebf1842 verification: Label cancel/decline btn based on state 2022-01-19 13:10:37 +01:00
Julian Sparber
f26413bf4d room-details: Add menu for members 2022-01-19 13:10:37 +01:00
Kévin Commaille
df46a36abb sidebar: Enable changing room category from context menu 2022-01-18 16:33:32 +00:00
Kévin Commaille
ec3f7cfeae sidebar: Enable changing room category with drag-and-drop
Part of #757
2022-01-18 16:33:32 +00:00
Kévin Commaille
411f26b441 sidebar: Fix color of RoomRow notification count 2022-01-18 16:33:32 +00:00
Kévin Commaille
9de599ed64 sidebar: Use GtkExpression for CategoryRow 2022-01-18 16:33:32 +00:00
Kévin Commaille
87d1fbd5ec sidebar: Use GtkExpressions for RoomRow when possible 2022-01-18 16:33:32 +00:00
Kévin Commaille
8980a03789 media-viewer: Remove context menu 2022-01-17 23:01:54 +00:00
Kévin Commaille
e8d7081ea9 media-viewer: Don't use same menu as room messages 2022-01-17 23:01:54 +00:00
Kévin Commaille
245e35de10 content: Show media messages in replies in a compact format 2022-01-13 18:41:49 +01:00
Kévin Commaille
cf7bc0c90c content: Add support for displaying rich replies 2022-01-13 18:41:49 +01:00
Julian Sparber
3fe920c342 verification: Use same widget for session and user verification
This makes the session verification widget use the idenity verification
widget as a base. This reduces code dupplication and hopfully
differences between the two implementations.
2022-01-13 14:50:16 +01:00
Julian Sparber
1d8de86b55 verification: Add InfoBar for user verifications 2022-01-13 14:50:16 +01:00
Kévin Commaille
f2752b2863 message-image: Improve fallback background color
Works for both light and dark themes.
2022-01-10 13:23:53 +00:00
Kévin Commaille
15c2803c70
message-text: Make emoji-only messages bigger 2021-12-25 10:42:05 +01:00
Kai A. Hiller
cd92949d13 content: Improve minimal height 2021-12-25 09:08:31 +00:00
Julian Sparber
15afbb7022 verification: Move widgets to content and rename some 2021-12-17 18:43:19 +01:00
Maximiliano Sandoval R
979ecdbb5a css: Fix SourceView and TextView styling 2021-12-14 12:55:36 +01:00
Maximiliano Sandoval R
8cc45669f9 source-dialog: Fix styling 2021-12-14 11:39:05 +00:00
Maximiliano Sandoval R
872601b13a Support dark mode 2021-12-14 11:39:05 +00:00
Kévin Commaille
78f0ae1f38
media-message: Handle media loading and errors 2021-12-13 17:49:48 +01:00
Kévin Commaille
33c0c034e4
message-row: Deduplicate code for media messages
Most of the code was shared between image and video.
2021-12-13 16:44:40 +01:00
Julian Sparber
b9f3143540 room-details: Create object for MemberRow 2021-12-13 14:11:31 +01:00
Kévin Commaille
8193be8e2c room-history: Show video messages in the timeline 2021-12-09 12:49:31 +00:00
Julian Sparber
7325740485 room-history: Replace show to invite members in menu 2021-12-09 02:26:53 +01:00
Julian Sparber
a2fd4de501 room-details: Implement user invitiation 2021-12-09 02:26:53 +01:00
Julian Sparber
0ce41fecf7 QrCodeScanner: Remove height-request and expand
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/876
2021-12-06 16:53:18 +01:00
Julian Sparber
5cc1235dcd content: Remove some uneeded halign 2021-12-06 16:52:48 +01:00
Julian Sparber
b068be5dae room-history: Handle room upgrades
This adds a better widget for creation and tombstone events to the
room-history and shows buttons to allow users to navigate between
different version of a room.
2021-12-01 15:25:54 +01:00
Kévin Commaille
59273a7b86
media-viewer: Fix race condition
It would cause a crash if the menu popover wasn't set yet.
2021-12-01 11:32:36 +01:00
Kévin Commaille
f21eccfc15
session: Add Media Viewer 2021-11-30 19:32:24 +01:00
Kévin Commaille
a92c21770a
content: Move ItemRow's Event actions to its own trait
This will allow to use the same actions on other widgets.
2021-11-30 14:36:56 +01:00
Julian Sparber
9204479fae explore: fix spacing around listview 2021-11-29 14:22:00 +01:00
Kai A. Hiller
35478155f4 room_menu: Add members item 2021-11-29 12:17:41 +01:00
Kai A. Hiller
0a6a820080 room_details: Add members page 2021-11-29 12:17:41 +01:00
Kévin Commaille
aee59b5371
text: Improve quote styling 2021-11-28 15:08:30 +01:00
Kévin Commaille
68c146d6fb
content: Show image messages in the timeline 2021-11-25 19:48:44 +01:00
Julian Sparber
735bda23f7 verification: Add widget to display incoming verification request 2021-11-19 12:05:22 +01:00
Julian Sparber
ff2a3ca741 verification: Add qr-code scanning for verification
This also moves the error handling to the `IdentityVerification`
2021-11-19 12:04:49 +01:00
Julian Sparber
3514fcdbca Add login requests to the sidebar and remove ContentType
The `ContentType` could be removed because the needed information is
already contained in the `selected-item`. This also addes `EntryType` to
differentiat between different `Entry`s even tought we currently have
only "Explore". This also cleans up how the selected-item is passed
between `Content` and `Sidebar`

This also replaces the `ToDeviceHandler` with `VerificationList` that's
used to track verifications.
2021-11-18 13:02:08 +01:00
Julian Sparber
599e8333ea session-verification: Make sure that all labels are wrap
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/862
2021-11-18 13:01:14 +01:00
Kévin Commaille
b3e3a7c5f7
content: Add MessageFile widget
Display m.file messages so the user can open or save them.
2021-11-16 16:19:15 +01:00
Julian Sparber
05d7b9c356 content: Fix crash when loading room history
This is a workaround https://gitlab.gnome.org/GNOME/gtk/-/issues/4305
Since we don't allow selection right now this has no implication for us.
2021-10-27 15:39:18 +02:00
Julian Sparber
3dea9a3398 session: Use crosssigning to verify new sessions 2021-10-27 15:16:32 +02:00