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
Kévin Commaille
194125f795
session: Remove session.show-room action
2021-05-05 11:06:59 +02:00
Kévin Commaille
d97f425d99
sidebar: Add selected-room property
...
Bind it to Session's selected-room
2021-05-05 11:06:59 +02:00
Kévin Commaille
dfc41bb596
session: Add selected-room property
...
Bind it to Content's room property
2021-05-05 10:59:25 +02:00
Julian Sparber
d529e0d576
content: Send room messages
2021-05-04 18:47:31 +02:00
Julian Sparber
d2004f0618
user: Expose user-id as property
2021-05-04 18:47:31 +02:00
Julian Sparber
5f1ec13631
session: Create User for the logged in user
2021-05-04 18:47:28 +02:00
Julian Sparber
e23bcff951
add comrak dependency
2021-05-04 16:40:07 +02:00
Julian Sparber
f2fd208f84
room: Use only one hashmap to link ids to Events
2021-05-04 16:40:07 +02:00
Julian Sparber
8923b82b47
content: Add property room
...
This adds a new property to `Content` to keep track of the currently
shown room.
2021-05-04 09:25:35 +02:00
Julian Sparber
adf678a568
session: Enable lazy loading for sync
2021-05-03 09:00:41 +00:00
Veli Tasali
f85a530ba1
sidebar: Implement room filtering
...
Filtering is done by lowercasing of the room name
and of the filtering criterion.
Closes https://gitlab.gnome.org/GNOME/fractal/-/issues/750 .
2021-05-03 07:26:04 +00:00
Veli Tasali
02fc50e972
meson: Add libadwaita dependency
...
Closes https://gitlab.gnome.org/GNOME/fractal/-/issues/747 .
2021-05-02 22:09:09 +03:00
Veli Tasali
3b5bde2540
ci: docs: Install gtksourceview & enable index page
...
This will fix `pages` deployment which started to
fail after the addition of `gtksourceview`. Also,
add `--enable-index-page` because it looks better
that way.
2021-05-02 22:02:35 +03:00
Kévin Commaille
d9a2144753
session: Fix handle_sync_response
2021-05-02 09:17:38 +02:00
Julian Sparber
16bba4dc44
content: Implement room history
2021-04-30 18:35:01 +00:00
Julian Sparber
f352fc3cff
Reimplement sidebar using TreeListModel and session::room::Room
2021-04-30 18:35:01 +00:00
Julian Sparber
d98e616872
Add wrapper object for room, room events and room members
2021-04-30 18:35:01 +00:00