Commit graph

69 commits

Author SHA1 Message Date
Kévin Commaille
0225b10ab7
room-history: Fix parsing of matrix.to URIs
ruma_common::serde::urlencoded::de chokes when there are several identical
keys, so replace it with form_urlencoded.

URIs with encoded HTML entities now recognize & in the query.
2022-10-10 12:06:17 +02:00
Kévin Commaille
dd1f5b8246 session: Send media info with attachments
Generate thumbnails for images.

Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1173>
2022-10-10 08:45:13 +00:00
Kévin Commaille
91085e91df chore: Update matrix-sdk to 0.6.0 and ruma to 0.7.4
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1177>
2022-10-05 10:04:40 +00:00
Kévin Commaille
6203ba01b3 chore: Switch to Rust 2021 edition
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1176>
2022-10-05 09:36:22 +00:00
Paul van Tilburg
85b5af0f37
room-history: Use geo_uri crate for geo URI parsing/generation 2022-10-05 08:44:06 +02:00
Kévin Commaille
ea937599e3
chore: Update libshumate dependency
Switch to the first stable release
2022-10-03 22:08:31 +02:00
Kévin Commaille
af1bbba90e
chore: Update libadwaita dependency 2022-09-28 15:24:18 +02:00
Julian Sparber
a2e9ee4c57 Add release notes and update version 2022-09-25 19:33:26 +02:00
Kévin Commaille
dc33441fad chore: Update matrix-sdk
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1157>
2022-09-24 09:54:57 +00:00
Paul van Tilburg
49c868c680
Update html2pango to 0.5
This adds support for more types of markup:
* Superscript (`<sup>`) and subscript `<sub>`
* Horizontal rules (`<hr>`)
* Text foreground (`data-mx-color`) and background (`data-mx-bg-color`)
  color

It also fixes space collapsing in block elements such that newlines in
HTML are no longer rendered as line breaks and fixes support for `<br>`.
2022-09-24 11:28:39 +02:00
Kévin Commaille
e35c2b4464
room-history: Allow to send replies 2022-09-15 18:03:58 +02:00
Kévin Commaille
f8e9147f7d
room-history: Implement mention of users in the message entry
Show a popover triggered by the character `@` or the `Tab` key.
2022-09-15 11:17:43 +02:00
Kévin Commaille
d4f3a7005b chore: update dependencies
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1152>
2022-09-15 08:19:35 +00:00
Julian Sparber
96d1cb3a69 chore: Update libadwaita 2022-08-03 12:31:39 +02:00
Kévin Commaille
58faca5e38
chore: Update dependencies 2022-08-02 09:11:49 +02:00
Kévin Commaille
bbad1bb6b1
misc: Bump MSRV to 1.60
Because of matrix-sdk
2022-05-20 10:54:01 +02:00
Julian Sparber
6345b24d2f chore: Update matrix-sdk 2022-05-17 18:47:25 +02:00
Kévin Commaille
d740fd4f11 chore: Update matrix-sdk 2022-05-09 16:45:36 +00:00
Bilal Elmoussaoui
90d93def43 Bump ashpd
Fixes the location portal precision
2022-04-13 15:43:01 +00:00
Bilal Elmoussaoui
d5749f75a4 Room history: Send/display static location events
Fixes #952
2022-04-13 13:00:26 +00:00
Kévin Commaille
01d1e3c674
chore: Update libsecret
Fixes #984
2022-04-06 20:33:57 +02:00
Julian Sparber
e20d00adf0 Generate debug symbols in release mode 2022-04-04 17:27:05 +02:00
Kévin Commaille
a0561e010c doc: Document the MSRV 2022-04-03 09:52:02 +00:00
Julian Sparber
83575f825e Change version to follow scheme used by GNOME 2022-03-30 15:17:46 +02:00
Kévin Commaille
a6cd20aca9
chore: Update matrix-sdk 2022-03-30 13:02:51 +02:00
JCWasmx86
d8e58a76aa login: Add SSO support 2022-03-22 15:45:22 +01:00
Kévin Commaille
8de2c0da68
Update matrix-sdk 2022-03-17 10:30:32 +01:00
Julian Sparber
ad1e5690b5 Update deps and switch to master sdk 2022-03-02 11:55:06 +01:00
Kévin Commaille
60a0207ee2
secret: Switch to libsecret 2022-02-25 12:06:39 +01:00
Julian Sparber
3f3614f15b Enable 'unstable-pre-spec' ruma feature 2022-02-23 16:00:17 +01:00
Julian Sparber
b530e11a68 timeline: Use streaming api to load timeline
This load the timeline only once the user opends the room.
This also updates some deps, including the sdk.
2022-02-14 21:54:09 +01:00
Kévin Commaille
cfe2fe0281
message-media: Use custom player
Allows to play media without sound.

Closes #881
2022-02-01 09:06:24 +01:00
Julian Sparber
f3cc9dd09f doc: Improve readme and fix doc issues 2022-01-24 12:55:58 +01:00
Kévin Commaille
967c6206ae
chore: Update dependencies 2022-01-19 23:16:01 +01:00
Kévin Commaille
7f4f7cc8f8
chore: Update gtk-rs to 0.4.4
Update also:
  - libdwaita to 0.1.0
  - sourceview5 to 0.4.0
  - gstreamer, gstreamer-base and gstreamer video to 0.18
  - ashpd to 0.2.0-beta-1
2022-01-19 23:15:39 +01:00
Kévin Commaille
ec3f7cfeae sidebar: Enable changing room category with drag-and-drop
Part of #757
2022-01-18 16:33:32 +00:00
Julian Sparber
5bb7e52470 qr-code-scanner: Use is_camera_present() and allow multiple starts
This now uses `is_camera_present()` to check whether we have a camera.
It also makes sure that a pipeline is closed before a new one is
started.
2022-01-13 14:50:16 +01:00
Kévin Commaille
9ef753950d content: Use unique names for media files
Avoids conflicts when several files have the same name.

Avoids errors when the filename is not set.
2022-01-13 10:59:45 +00:00
Kévin Commaille
15c2803c70
message-text: Make emoji-only messages bigger 2021-12-25 10:42:05 +01:00
Kévin Commaille
df8bca6f86
secret: Improve storage in SecretService
Only store one secret and use attributes recognized by Seahorse

Fixes #28 and #864
2021-12-01 10:54:17 +01:00
Julian Sparber
ff2a3ca741 verification: Add qr-code scanning for verification
This also moves the error handling to the `IdentityVerification`
2021-11-19 12:04:49 +01:00
Julian Sparber
3dea9a3398 session: Use crosssigning to verify new sessions 2021-10-27 15:16:32 +02:00
Julian Sparber
71b09ebcc9 bump deps 2021-09-30 15:20:04 +02:00
Julian Sparber
a160680d32 use unmerged version of matrix-sdk 2021-09-09 11:43:47 +02:00
Julian Sparber
1c3d0aa5c3 Enable optimization for deps 2021-09-08 13:17:00 +00:00
Kai A. Hiller
a20259ddec room_details: Enable editing of room avatar 2021-08-23 13:33:25 +02:00
Julian Sparber
002bdd9ab6 Use deps releases and bump matrix-sdk 2021-06-29 09:38:00 +02:00
Julian Sparber
da3a1000c3 bump deps 2021-06-22 11:04:40 +02:00
Julian Sparber
540198a209 bump deps 2021-06-10 16:53:47 +02:00
Kévin Commaille
704773abfb
room: Use ruma's markdown feature 2021-05-21 16:18:16 +02:00