Commit graph

122 commits

Author SHA1 Message Date
Julian Sparber
145e9bd026 content: Add leave entry to room menu 2021-05-31 17:08:44 +00:00
Julian Sparber
ef58fdc4af room: Make "category" property writable
This makes sure that a "category" is propagated to the homeserver.
2021-05-31 16:45:00 +00:00
Kévin Commaille
3b538164ef session: Add dialog to view an Event's source 2021-05-31 17:44:07 +02:00
Kévin Commaille
727d063f60 content: Add context menu for ItemRow 2021-05-31 17:33:30 +02:00
Kévin Commaille
f0dfbdb468 components: Fix ContextMenuBin 2021-05-31 16:52:37 +02:00
Kévin Commaille
8f64615dc9 room: Add source property to get the raw JSON of an Event 2021-05-31 16:34:15 +02:00
Julian Sparber
47fc7cc383 content: Use LabelWithWidgets to display inviter 2021-05-31 16:05:46 +02:00
Julian Sparber
70824766b7 Show errors as in-app-notifications 2021-05-31 16:05:46 +02:00
Julian Sparber
3f8ce56f30 room: Emit error signal
This emits the error signal when accepting/rejecting a room fails
2021-05-31 16:05:46 +02:00
Julian Sparber
b439abe55c components: Add widget for in-app-notification 2021-05-31 16:05:46 +02:00
Julian Sparber
88b5c0c984 room: Add error signal
the "error" signal will be emited whenever an error has to be displayed
to the user.
2021-05-31 16:05:46 +02:00
Julian Sparber
ffad9696bf error: Add 'Error' object for handling error 2021-05-31 16:05:46 +02:00
Julian Sparber
1c777a2123 components: Add LabelWithWidgets
This is a Label that places other widgets at the position
where "<widget>" is found inside the label string. The user can also set
a custom placeholder if needed.
2021-05-31 16:05:46 +02:00
Julian Sparber
e214c30937 components: rename UserPill to Pill 2021-05-31 16:05:46 +02:00
Julian Sparber
a9cbcd7d33 components: Allow to use UserPill also for rooms 2021-05-31 16:05:46 +02:00
Julian Sparber
37303dc23f bump deps 2021-05-31 16:05:43 +02:00
Julian Sparber
089f8d54b1 Add missing files to potfiles and meson 2021-05-31 11:36:44 +02:00
Adrien Plazas
34215dd872 login: Fix the indentation
It was purposefully left broken in the previous commit the make the
changes easier to read.
2021-05-30 06:18:13 +00:00
Adrien Plazas
e6609fc30f login: Put the listbox into a clamp
This uses a clamp to more finely control the width of the login listbox,
making it look less cramped when the window is large.

This purposefully leaves the indentaton broken the make the changes
easier to read. They will be fixed in the next commit.
2021-05-30 06:18:13 +00:00
Daniel García Moreno
b7050d9793 meson: Update libadwaita version to match latest
The libadwaita version has changed on the repository and now it's a
lower version number:

faa9f26a2b
2021-05-28 17:44:00 +02:00
Julian Sparber
364da72ecf bump deps 2021-05-28 11:04:33 +02:00
Kévin Commaille
390066e090
content: Update send button action name 2021-05-26 18:31:28 +02:00
Kévin Commaille
d547b9adfc
session: Move RoomList as a child of Session 2021-05-26 14:19:35 +02:00
Kévin Commaille
e3339f36f4
session: Update category when room tag changes 2021-05-26 08:46:20 +02:00
Kévin Commaille
d356745f1d
session: Load rooms and handle sync response in RoomList and Room 2021-05-26 08:29:04 +02:00
Kévin Commaille
cc3b0e5b2e
session: Provide Client and User to RoomList 2021-05-26 08:02:59 +02:00
Julian Sparber
fc5f97448a content: Add invitation widget and implement accept/reject
To fully work this will need some work on the sdk side, since the
inviter isn't available after dropping a SyncResponse, therefore after a
restart the inviter is forgotten. Also the display name isn't shown
always correclty because the sdk doesn't calculate it correclty.
2021-05-24 14:05:15 +00:00
Julian Sparber
a180118a8e components: Add button with loading spinner 2021-05-24 14:05:15 +00:00
Julian Sparber
c2f73e551f components: Add widget for user pills 2021-05-24 14:05:15 +00:00
Julian Sparber
13871637e3 components: Fix missing source file for Components 2021-05-24 14:05:15 +00:00
Julian Sparber
df5408cc8c content: Move room history to it's own widget
This will allow us to add different content widgets, e.g. for invites
2021-05-24 14:05:15 +00:00
Julian Sparber
8a343551ca update deps 2021-05-24 13:27:40 +02:00
Kévin Commaille
38ea59a412
sidebar: Use gtk::INVALID_LIST_POSITION 2021-05-21 17:06:08 +02:00
Kévin Commaille
7617aaa923
sidebar: Use freeze_notify
Closes #763
2021-05-21 17:04:10 +02:00
Kévin Commaille
704773abfb
room: Use ruma's markdown feature 2021-05-21 16:18:16 +02:00
Julian Sparber
f4a7d3f8d7 Update repo url for libadwaita and bindings 2021-05-21 12:40:47 +02:00
Julian Sparber
9b9cea1b51 bump deps 2021-05-21 12:30:05 +02:00
Julian Sparber
5322e9bcdf session: Track changes of room type 2021-05-20 16:52:54 +02:00
Raatty
499555ec6b content: Show room name and topic in header 2021-05-19 06:27:52 +00:00
Kévin Commaille
f0f0c4cbb9 session: Use a single room list with GtkFilterListModels 2021-05-19 06:24:29 +00:00
Kévin Commaille
c614df3724
content: Enable syntax highlighting when markdown is enabled 2021-05-18 18:03:03 +02:00
Kévin Commaille
a680a4e52d
Refactor displayname and fix avatar_url 2021-05-18 16:01:11 +02:00
Kévin Commaille
5248f83af9
content: Build state event messages 2021-05-12 08:32:54 +02:00
Julian Sparber
69fe574e2c session: Load rooms from state store 2021-05-11 21:17:05 +00:00
Julian Sparber
aed7f87116 use different PRIORITIES for async tasks 2021-05-11 21:17:05 +00:00
Veli Tasali
bff60b0607 content: Implement markdown popover
Closes https://gitlab.gnome.org/GNOME/fractal/-/issues/765.
2021-05-11 18:04:08 +03:00
Veli Tasali
5c59282811 settings: Use the application level instance 2021-05-11 14:35:22 +00:00
Kévin Commaille
ca07e240fa
room: Replace chrono::DateTime with glib::DateTime 2021-05-11 14:16:40 +02:00
Kévin Commaille
d33964a99d room: Use room tags for the category 2021-05-11 08:18:05 +00:00
Kévin Commaille
fb00102767 bump matrix-sdk 2021-05-11 08:18:05 +00:00