Commit graph

1255 commits

Author SHA1 Message Date
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
Julian Sparber
7101c3f852 Add loading spinner for session
We won't show a loading spinner as in-app-notifcation, but we show a big
loading spinner when a new session is created (via a successful login)
and when we restore a previously created session.

Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/775
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/776
2021-05-10 19:48:15 +02:00
Julian Sparber
601ddee7c3 Actually make state store presistent
This sets a passphrase and path for the state store created by the sdk.
The additional information is stored in via the SecretService.
This sets opt-level for deps to 3, because otherwise the statestore
would be really slow because of the passphrase.
2021-05-10 19:48:13 +02:00
Kévin Commaille
fc02302620 content: Improve style 2021-05-10 09:11:06 +00:00
Veli Tasali
7f65b20f78 i18n: Add files to POTFILES
Closes https://gitlab.gnome.org/GNOME/fractal/-/issues/752.
2021-05-08 20:47:58 +00:00
Kévin Commaille
ce9bfd8922
Add navigation support for small screens 2021-05-07 08:51:09 +02:00
Julian Sparber
8a3150f6fa bump deps 2021-05-06 22:26:18 +00:00
Veli Tasali
4d93119299
flatpak: drop uneeded env variables
67468b7ef2
2021-05-06 19:30:50 +03:00
Veli Tasali
503ff3eadf
build-aux: Move cargo-home to the root of build dir
This avoids rebuilding all the dependencies
everytime in GNOME Builder.

51c3732bea
2021-05-06 19:17:33 +03:00
Julian Sparber
af5f427ad5 session: cleanup session creation 2021-05-05 21:34:48 +02:00
Julian Sparber
863b5125f9 session: Set lazy-loading on state events instead of the timeline
Element does enable it only for state events and for timeline no speed
improvment can be observed.

fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/768
2021-05-05 19:55:19 +02:00
Julian Sparber
86b753cb4a categories: add new rooms in batch
This reduces the number of times the singal `items-changed` is emited.
Which improves performance when adding many new rooms
2021-05-05 13:02:51 +00:00
Kévin Commaille
477fae8380
sidebar: Fix arrow color 2021-05-05 12:34:40 +02:00
Veli Tasali
28b18f7cc8 ci: docs: Don't manually install deps & use meson 2021-05-05 09:32:10 +00:00
Veli Tasali
389bc11aec meson: Add option to skip cargo-build target
This is only needed when building docs or similar
to avoid overhead.
2021-05-05 09:32:10 +00:00
Veli Tasali
f0b7e64eab meson: Get libadwaita & gtksourceview as fallback 2021-05-05 09:32:10 +00:00
Kévin Commaille
f414a6f5ba sidebar: Improve interactions with a custom SelectionModel
Closes #749
2021-05-05 11:08:13 +02:00
Kévin Commaille
29a98b2e2b sidebar: Improve items look 2021-05-05 11:08:12 +02:00