Commit graph

40 commits

Author SHA1 Message Date
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
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
Kévin Commaille
f0f0c4cbb9 session: Use a single room list with GtkFilterListModels 2021-05-19 06:24:29 +00:00
Kévin Commaille
ca07e240fa
room: Replace chrono::DateTime with glib::DateTime 2021-05-11 14:16:40 +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
Julian Sparber
8a3150f6fa bump deps 2021-05-06 22:26:18 +00:00
Julian Sparber
e23bcff951 add comrak dependency 2021-05-04 16:40:07 +02:00
Julian Sparber
6e31eff455 Add futures as deps 2021-04-30 18:35:01 +00:00
Julian Sparber
8f2017cebd Add sourceview5 as deps 2021-04-30 18:35:01 +00:00
Julian Sparber
a92c6d8b05 add html2pango and chrono as deps 2021-04-20 22:35:26 +02:00
Julian Sparber
b0be9d47f1 update deps
run cargo update
2021-04-20 22:35:23 +02:00
Julian Sparber
c1b65dc69c bump matrix-sdk
The new commit includes improvments for how the sdk handles http request
errors, and allows us to configure how often a request should be
retried.
2021-04-07 12:38:33 +02:00
Julian Sparber
4e409bb329 add logging for the matrix-sdk
The sdk uses tracing for loging therefore we can't use
pretty-env_logger. We are still able to set the log level via the env
variable RUST_LOG.
2021-03-31 22:11:12 +02:00
Julian Sparber
abf2361a80 login: Use SecretService to store previous session 2021-03-24 23:35:34 +01:00
Julian Sparber
37c8e18416 login: Add password login and session creation
Since the login flow for matrix will change soonish, therefore, we
implement only login via password.
2021-03-24 15:10:01 +01:00
Julian Sparber
22890128ee Add matrix-sdk 2021-03-24 12:47:38 +01:00
Julian Sparber
9e8fa8aab5 Add base layout 2021-02-16 11:30:41 +01:00
Julian Sparber
ea50cb2ec1 Add libadwaita as dep 2021-02-13 00:11:59 +01:00
Alejandro Domínguez
49dab8eeaa Init with GTK Rust Template 2021-02-04 20:46:36 +01:00