Commit graph

513 commits

Author SHA1 Message Date
Julian Sparber
40a77bd6f6 verification: Ask for confirmation after scanning 2022-03-21 12:22:35 +01:00
Julian Sparber
22ec222870 verification: Use correct CancelCode for SAS mismatch 2022-03-21 10:58:58 +01:00
Julian Sparber
fb31c43734 verification: Add debug log for cross-signing key state 2022-03-17 17:57:02 +01:00
Julian Sparber
63d828edbb verification: Fix QrCode scanning
We need to wait for the scan confirmation before confirming the
verification.
2022-03-17 17:55:30 +01:00
Kévin Commaille
8de2c0da68
Update matrix-sdk 2022-03-17 10:30:32 +01:00
Kévin Commaille
e0d235ef04
session: Use whole event for local echo
Fixes #953
2022-03-15 20:30:53 +01:00
Julian Sparber
e6740768ca Update matrix-sdk 2022-03-11 12:21:29 +01:00
Kirill Schmidt
3bd9afe788 device-row: Use Log Out for current session
device-row: Add is-current-device property
device-row: Implement Logout and check current device
mod: Set is-current-device-property to true
2022-03-07 08:46:30 +01:00
Kévin Commaille
c6d4d614c4
secret: Fix infinite spinner 2022-03-06 10:43:12 +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
Kévin Commaille
6b024e9884
account-settings: Close when the session is logged out 2022-02-25 09:19:26 +01:00
Kévin Commaille
5c8c627cec
account-settings: Add General tab 2022-02-25 09:19:26 +01:00
Kévin Commaille
577f582b6e
components: Create ButtonRow 2022-02-25 09:19:26 +01:00
Kévin Commaille
7bf16d34f5
components: Create EntryRow and PasswordEntryRow 2022-02-25 09:19:26 +01:00
Kévin Commaille
6dc9084ec7
components: Create EditableAvatar 2022-02-25 09:19:26 +01:00
Kévin Commaille
c7de7eb431
components: Create ActionButton 2022-02-25 09:19:26 +01:00
Maximiliano Sandoval R
3c837f5cb7 flatpak: Drop a11y sandbox hole
This is very undesirable, flatpak handles this for us.
2022-02-24 11:29:43 +00:00
Kévin Commaille
953466029d app: Show spinner by default instead of greeter 2022-02-23 17:07:14 +00:00
Kévin Commaille
6f8ead2d15 account-settings: Replace AdwToast with Toast 2022-02-23 16:42:50 +00:00
Kévin Commaille
78c890f071 pill: Add constructors for room or user 2022-02-23 16:42:50 +00:00
Kévin Commaille
ec94bfb555 window: Rename append_error to add_toast 2022-02-23 16:42:50 +00:00
Kévin Commaille
d5b4b3f3f2 toast: Simplify the API 2022-02-23 16:42:50 +00:00
Kévin Commaille
757373f87b app: Rename Error to Toast and move to components 2022-02-23 16:42:50 +00:00
Kévin Commaille
dc3918fa66 sidebar: Hide spaces
Closes #927
2022-02-23 15:27:43 +00:00
Julian Sparber
3f3614f15b Enable 'unstable-pre-spec' ruma feature 2022-02-23 16:00:17 +01:00
Kévin Commaille
c6db032149
room: Do not preload history of left or outdated rooms 2022-02-15 19:33:26 +01:00
Julian Sparber
34778cf2e3 Fix missing sdk commit 2022-02-15 15:09:02 +01:00
Julian Sparber
aed326e12f room: Don't create Event objs from a SyncResponse 2022-02-14 21:54:09 +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
Julian Sparber
762973ce19 room-history: Show error page on loading errors
This only shows the error page when the timeline is empty.
Adds also a enum for the timeline state.
2022-02-14 20:28:44 +01:00
Kirill Schmidt
f43b1850fd event-actions: Implement Copy Emote 2022-02-14 09:13:56 +00:00
Kai A. Hiller
af8e512c45 auth_dialog: Always prefer supported stage
Changes the logic of choosing the next auth stage. Instead of using the
first stage matching the current prefix (which is always the first stage
in the list for the empty starting prefix), it now checks and prefers
those stages that are actually supported by Fractal.
2022-02-12 15:52:58 +01:00
Kai A. Hiller
5a8c85b2ff auth_dialog: Split out stage handlers 2022-02-12 15:52:58 +01:00
Kai A. Hiller
0c2b2c9310 auth_dialog: Avoid use of event type strings 2022-02-12 15:52:58 +01:00
Kai A. Hiller
d82b7ed19c auth_dialog: Add AuthError 2022-02-12 15:52:58 +01:00
Kai A. Hiller
8d89ec2d3e auth_dialog: Add doc comments 2022-02-12 10:10:08 +01:00
Daniel García Moreno
53a11894ce session: force_auth in RequestConfig
This will send the auth_token to every request, fixing the issue with
some matrix servers that requires authentication to get the user
profile and other possible issues with different servers configurations
and other API endpoints.

This change is based on this matrix-rust-sdk comment:
https://github.com/matrix-org/matrix-rust-sdk/issues/488#issuecomment-1034917858

There's also an update of the matrix-rust-sdk with a fix for the login
with force_auth option:
4b5aae1123

Fix https://gitlab.gnome.org/GNOME/fractal/-/issues/934
2022-02-11 17:16:58 +01:00
Julian Sparber
1ac16d8064 Revert "session: force_auth in RequestConfig"
This reverts commit 855c9ee8e0
2022-02-11 12:21:09 +00:00
Daniel García Moreno
855c9ee8e0 session: force_auth in RequestConfig
This will send the auth_token to every request, fixing the issue with
some matrix servers that requires authentication to get the user
profile and other possible issues with different servers configurations
and other API endpoints.

This change is based on this matrix-rust-sdk comment:
https://github.com/matrix-org/matrix-rust-sdk/issues/488#issuecomment-1034917858

Fix https://gitlab.gnome.org/GNOME/fractal/-/issues/934
2022-02-10 16:39:15 +01:00
Daniel García Moreno
5f06500e08 Set wrap property in mesage_entry
Fix https://gitlab.gnome.org/GNOME/fractal/-/issues/895
2022-02-09 18:30:27 +00:00
Kirill Schmidt
b0f8647200 event-actions: Implement remove message action
reaction-list: Add function to remove all reactions
event: Ensure that reactions are removed properly &
Ensure that reactions cannot be added if an event
was redacted
2022-02-09 18:22:08 +01:00
Kévin Commaille
c1100266ba
session: Fix typos 2022-02-08 16:12:35 +01:00
Kévin Commaille
059841ff35
reaction-group: Fix typo 2022-02-08 16:12:03 +01:00
Kévin Commaille
3079b7faca
room-history: Show audio messages in timeline 2022-02-03 11:36:50 +01:00
Julian Sparber
687fcb51d0 qr-code-scanner: Add round corners to video 2022-02-02 16:47:21 +00:00
Julian Sparber
9c433d3caa verification: Check if a camera is available 2022-02-02 16:47:21 +00:00
Julian Sparber
b73b504390 verification: Drop screenshot support 2022-02-02 16:47:21 +00:00
Julian Sparber
d2f8f105ec qr-code-scanner: Use a singleton to access the Camera
This also adds a no-camera page.
2022-02-02 16:47:21 +00:00
Julian Sparber
1aa1383897 verification: Allow to set supported methods on construction 2022-02-02 16:47:21 +00:00