Commit graph

122 commits

Author SHA1 Message Date
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
Marco Melorio
e91b876bfe style: Remove deprecated .sidebar class 2021-10-24 18:06:07 +02:00
Marco Melorio
afc4998327 style: Rename .sidebar class to .sidebar-list
Needed to avoid using the deprecated .sidebar class.
2021-10-24 18:04:15 +02:00
Julian Sparber
f46d15e187 login: Show errors as in-app-notification
This also improves how the error message is created and passed from the
`Session` to the `Login` widget.
2021-10-13 12:28:36 +02:00
Maximiliano Sandoval R
6ac746bcfb login: Add translator note
The application name set via g_set_application_name is not translatable,
any appearance of the name should have a note indicating this.
2021-10-09 09:46:39 +00:00
Marco Melorio
d60992f816 session: Add a separator between the Sidebar and Content
This is needed because libadwaita recently dropped the separator in the .sidebar class.
2021-10-09 09:35:42 +00:00
Julian Sparber
5878b1abff Fix Session dispose
We kept many references to Session, therefore we leaked it when the
application is closed.

This also removes the loading page from the `Window` and cleans up how
a Session is restored.
2021-10-09 11:25:27 +02:00
Julian Sparber
f01d402dd6 room: Add dialog to create new rooms 2021-09-29 12:48:22 +02:00
Julian Sparber
f3f570fc7e content: Update message sending toolbar for libadwaita changes 2021-09-27 10:53:12 +02:00
Julian Sparber
3346669c37 error: Use only a single in-app-notifcation
This simplifies the code and allows easier emittion of errors
2021-09-25 12:41:25 +02:00
Julian Sparber
9bf216a854 account-settings: Add device list
This allows also the remove devices
2021-09-24 13:15:29 +02:00
Julian Sparber
e25cb64d90 auth-data: Add dialog to ask for authentication
This is the base for
https://gitlab.gnome.org/GNOME/fractal/-/issues/835, but does only
implement Authentication via Password and the Browser Fallback.
2021-09-24 11:58:06 +02:00
John Renner
ceab82dc16 Fix clipping on login view 2021-09-17 09:48:58 +00:00
Julian Sparber
e51fe5cb1a account-switcher: Show user avatar on button 2021-09-10 17:30:31 +02:00
Julian Sparber
c8d86d1c74 account-switcher: Remove with border around checkmark 2021-09-10 16:44:01 +02:00
Alejandro Domínguez
3b8afaad7c Improve the account switcher by Tobias suggestions 2021-09-10 12:09:07 +02:00
Julian Sparber
17532d7ba2 session: Fix keyboard shortcuts 2021-09-09 11:32:33 +02:00
Julian Sparber
99f1317277 Add loading spinner while restoring session 2021-09-08 13:17:00 +00:00
Julian Sparber
19d71dd96a room-history: Add automatic scrolling and scroll down button 2021-09-06 18:23:32 +02:00
Alejandro Domínguez
5369d720cf Account switcher: Show hints in account entry for visible session 2021-09-06 14:19:35 +02:00
Alejandro Domínguez
500cddf390 Add button in login page to go back to sessions page 2021-09-06 14:19:07 +02:00
Alejandro Domínguez
7c202b9488 Add account switcher 2021-09-06 14:19:07 +02:00
Kai A. Hiller
ef6d965c33 message_entry: Stop accepting tab 2021-08-26 09:53:45 +00:00