The margin of the typing_label was not exactly aligned with the text, we
have the padding left of the list (18/6) plus the size of the avatar
(40) plus double of the padding of the row (9 * 2).
With the handy column the list left padding changes from 18 to 6 so we
need to control that case and change the margin according to that.
Fix https://gitlab.gnome.org/GNOME/fractal/issues/492
There was a new release of ges which requires 1.14.5 version of
other gstreamer modules. GStreamer 1.14.5 hasn't landed yet landed in
the Sdk so we pin the module till then.
The sibling_id function has a complex if-else, to flatten that
I've split the functionality in three different functions with
one if-else in each one so the code is easier to read.
- Ctrl+PageUp and Ctrl+PageDown to go to the next/previous room of the list
- Ctrl+Shift+PageUp and Ctrl+Shift+PageUp to go to the next/previous room with unread messages
- Ctrl+Home and Ctrl+End to go to the first/last room of the list
- PageUp and PageDown to go up/down in the history
Fixes#49
Previously on both the room list and the message list,
our GtkScrolledWindows would not scroll with our focus.
This meant users that relied on keyboard navigation were
stuck at the top of our room list and the bottom of our
message list.
Now we scroll both lists as focus moves, improving
navigation for keyboard users.
Events are wrapped in a content block like so:
```
"content" : {
"membership" : "invite"
}
```
However we were parsing it as just `"membership" : "invite"`.
Now we properly expect it to be within a content block.
Fixes https://gitlab.gnome.org/GNOME/fractal/issues/456
Previously we passed a String as "filter" in our
PublicRoomsRequest, but we needed to be passing
a Filter object. Somewhere along the way the String
stopped being accepted, breaking search.
Fixes https://gitlab.gnome.org/GNOME/fractal/issues/451
Previously we cached typing_users when we saved our
state before closing, which lead to odd behaviour
when re-opening Fractal where it showed a user as typing
incorrectly.
Now we reset typing_users as we save the room.
Closes https://gitlab.gnome.org/GNOME/fractal/issues/462
When using lighttpd as a reverse proxy empty POSTs get rejected by the
server if they don't have Content-Length set to zero, so some calls like
marking a room as read fail to make it to the homeserver.
fixes: GNOME/fractal#475
Our current margins are a little too big for a mobile screen.
So, we reduce them to 6px when we detect that the app is
folded with HdyLeaflet.
Closes https://gitlab.gnome.org/GNOME/fractal/issues/480