Commit graph

67 commits

Author SHA1 Message Date
Julian Sparber
44c96d3d4c login: Show network state
This only disables navigation when no network is available, since the
homeserver may be on a local network.
2022-08-16 12:19:38 +02:00
Kirill Schmidt
ac03df8db8 invite-subpage: Allow inviting users by id to a room
Fixes #879 #1062
2022-08-13 15:05:37 +02:00
Kévin Commaille
7592994a96 message-location: Move location view logic in LocationViewer component
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1085>
2022-04-27 12:58:17 +00:00
Kévin Commaille
c216e78edf media-viewer: Split media content display logic into MediaContentViewer
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1085>
2022-04-27 12:58:17 +00:00
Kévin Commaille
5ac882eaa1
context-menu-bin: Fix non-working actions
Destroying the popover on close results in the action not being
called.

Instead do like the members list and keep a single popover for the
whole list. To do that we need to pass a weak reference to the
closest common parent of the list items, via the list view factory.
2022-04-13 18:22:53 +02:00
Bilal Elmoussaoui
d5749f75a4 Room history: Send/display static location events
Fixes #952
2022-04-13 13:00:26 +00:00
Kévin Commaille
8d94e90c5c
timeline: Use subclass instead of enum for timeline items
Part of #939
2022-04-11 13:19:57 +02:00
Kévin Commaille
5de88e83ff
i18n: Add formatting i18n methods compatible with xgettext 2022-04-06 19:17:39 +02:00
Julian Sparber
0bf6a4ff32 Remove Next from app-id 2022-03-30 14:36:28 +02:00
Kévin Commaille
c1a97472b4
login: Move to its own module 2022-03-28 17:45:47 +02:00
Maximiliano Sandoval R
57b2640035 Implement attachments
With drag and drop.

Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/121, https://gitlab.gnome.org/GNOME/fractal/-/issues/764.
2022-03-22 14:25:25 +00:00
Kévin Commaille
60a0207ee2
secret: Switch to libsecret 2022-02-25 12:06:39 +01:00
Kévin Commaille
5c8c627cec
account-settings: Add General tab 2022-02-25 09:19:26 +01:00
Kévin Commaille
6dc9084ec7
components: Create EditableAvatar 2022-02-25 09:19:26 +01:00
Kévin Commaille
3079b7faca
room-history: Show audio messages in timeline 2022-02-03 11:36:50 +01:00
Julian Sparber
d2f8f105ec qr-code-scanner: Use a singleton to access the Camera
This also adds a no-camera page.
2022-02-02 16:47:21 +00:00
Kévin Commaille
f4611d73bb
login: Add auto-discovery of homeserver
Also check if the url provided is a valid homeserver.

Closes #769
2022-02-01 14:24:58 +01:00
Kévin Commaille
74cf22df84
app: Separate greeter and login screens 2022-02-01 14:24:57 +01:00
Kévin Commaille
614b17f0c6
po: Sort POTFILES.in and add missing files 2022-01-19 23:33:40 +01:00
Julian Sparber
1d8de86b55 verification: Add InfoBar for user verifications 2022-01-13 14:50:16 +01:00
Kévin Commaille
a432a76af3
po: Add utils.rs to POTFILES.in
Regression introduced in 9ef75395 after 5f2321a9
2022-01-13 14:40:27 +01:00
Kévin Commaille
5f2321a9af
po: Fix POTFILES.in
Only include files with translatable strings.
2021-12-31 17:06:56 +01:00
Julian Sparber
15afbb7022 verification: Move widgets to content and rename some 2021-12-17 18:43:19 +01: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
f7016fa310 user-facing-error: Rename file to be more consistent 2021-12-09 13:01:42 +00:00
Kévin Commaille
8193be8e2c room-history: Show video messages in the timeline 2021-12-09 12:49:31 +00:00
Julian Sparber
a2fd4de501 room-details: Implement user invitiation 2021-12-09 02:26:53 +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
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
a5a484be8a content: Move room-history to it's own module 2021-11-30 11:59:36 +01:00
Kai A. Hiller
0a6a820080 room_details: Add members page 2021-11-29 12:17:41 +01:00
Kévin Commaille
68c146d6fb
content: Show image messages in the timeline 2021-11-25 19:48:44 +01:00
Kai A. Hiller
fe8ad34895 member: Add member role 2021-11-25 13:53:56 +00:00
Julian Sparber
377c0a0bac Add Member to POTFILES 2021-11-25 13:53:56 +00:00
Julian Sparber
511ab92a5f Add MemberList to meson and POFILES 2021-11-25 13:53:56 +00: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
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
Kévin Commaille
b653ca7933
content: Add MessageText widget
Start to separate code for MessageRow, to avoid having every message
type implementation in the same file.
2021-11-16 15:17:01 +01:00
Kévin Commaille
622850cb21
content: Move MessageRow to its own folder 2021-11-16 15:00:59 +01:00
Julian Sparber
3dea9a3398 session: Use crosssigning to verify new sessions 2021-10-27 15:16:32 +02:00
Julian Sparber
f01d402dd6 room: Add dialog to create new rooms 2021-09-29 12:48:22 +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
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
7c202b9488 Add account switcher 2021-09-06 14:19:07 +02:00
Kai A. Hiller
a52456741a clippy_inception: 3. Fix code 2021-08-31 16:25:39 +00:00
Kai A. Hiller
23aff232b0 room_details: Add basic window 2021-08-23 09:10:26 +02:00