Kévin Commaille
d13b03a85e
misc: Put UI files next to the corresponding Rust files
2023-05-21 23:38:58 +02:00
Kévin Commaille
b15c5f0c8b
session: Reorganize submodules between model and view
2023-05-21 17:09:17 +02:00
Kévin Commaille
af85d0b4e5
chore: Replace deprecated gtk::show_uri with GtkUriLauncher
2023-03-26 12:47:23 +00:00
Kévin Commaille
4b9d400e65
auth-dialog: AuthDialog doesn't extend GtkDialog
2023-03-26 12:47:23 +00:00
Kévin Commaille
33e775e9e1
chore: Replace deprecated WidgetExt::show and hide methods
2023-03-26 12:47:23 +00:00
Kévin Commaille
fc49b657e7
chore: Fix clippy nightly warnings
2023-03-07 07:24:42 +01:00
Kévin Commaille
5223cbcb95
auth-dialog: Use Ruma's AuthData type
...
Now that it is owned we can use it instead of having to declare our own
type.
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1221 >
2023-02-13 16:57:42 +00:00
Kévin Commaille
0484870f25
chore: Update matrix-sdk and ruma
...
Switch to the new timeline API.
2023-02-10 12:15:08 +01:00
Kévin Commaille
96237c5271
chore: Fix clippy warnings
...
Triggered by the `uninlined_format_args` lint in nightly
2023-01-07 14:30:41 +00:00
Kévin Commaille
fff8839846
chore: Rename `priv_` variables to `imp`
...
To be consistent with the method name.
2022-11-05 12:01:57 +01:00
Kévin Commaille
f71961a1b7
chore: Use ParamSpec builders
...
Use the description of the property to document getters and setters.
2022-11-05 11:57:15 +01:00
Kévin Commaille
fbc9b26d5c
chore: Update gtk and related dependencies
2022-11-05 11:40:26 +01:00
Kévin Commaille
7e46ea6a35
misc: Don't specify type if it's not needed
2022-09-28 17:51:56 +02:00
Kévin Commaille
d19bb254d5
misc: Remove RefCell or OnceCell wrapping WeakRefs
2022-09-28 17:32:50 +02:00
Julian Sparber
96d1cb3a69
chore: Update libadwaita
2022-08-03 12:31:39 +02:00
Kévin Commaille
d6670ea27c
chore: Fix new clippy nightly warnings
...
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1116 >
2022-07-05 10:02:08 +00:00
Julian Sparber
0bf6a4ff32
Remove Next from app-id
2022-03-30 14:36:28 +02:00
Kévin Commaille
a6cd20aca9
chore: Update matrix-sdk
2022-03-30 13:02:51 +02:00
Julian Sparber
e6740768ca
Update matrix-sdk
2022-03-11 12:21:29 +01: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
Kévin Commaille
c68e24d2e1
app: Replace imp::from_instance with obj.imp()
2022-01-24 16:52:43 +01:00
Kévin Commaille
fe2ff7c79a
app: Apply new formatting rules
2022-01-20 09:24:22 +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
Julian Sparber
d3286c6257
AuthDialog: pass Client direclty to closure
2021-10-27 15:16:32 +02:00
Julian Sparber
0dc85869e1
AuthDialog: Make authenticate() more generic
2021-10-27 15:16:32 +02:00
Julian Sparber
9c63f188c1
bump deps
2021-10-21 14:46:04 +02:00
Julian Sparber
ba5a601b78
Drop do_async()
...
We use now the macros `spawn!()` and `spawn_tokio!()` which helps debug
issues with tokio task using the tokio-console.
2021-10-14 10:46:51 +02:00
Julian Sparber
56d1b08e44
Use unsync variant of OnceCell
2021-10-13 11:49:06 +02:00
Julian Sparber
8ea3f3fae9
Remove uneeded oneshots
...
When spawning a future on the tokio runtime we can use the handle to
obtain the result of the operation therefore the oneshots arn't needed.
2021-10-13 11:37:56 +02:00
Julian Sparber
aea756afbe
session: Implement session logout
...
Currently the logout action isn't exposed to the user.
2021-10-11 11:39:27 +00:00
Julian Sparber
213b33cc97
AuthDialog: Remove workaround for action signals
2021-10-11 13:28:21 +02:00
Julian Sparber
d9b9d009bd
Fix some issue pointed out by clippy
2021-10-11 13:18:55 +02:00
Julian Sparber
5878b1abff
Fix Session dispose
...
We kept many references to Session, therefore we leaked it when the
application is closed.
This also removes the loading page from the `Window` and cleans up how
a Session is restored.
2021-10-09 11:25:27 +02:00
Julian Sparber
e25cb64d90
auth-data: Add dialog to ask for authentication
...
This is the base for
https://gitlab.gnome.org/GNOME/fractal/-/issues/835 , but does only
implement Authentication via Password and the Browser Fallback.
2021-09-24 11:58:06 +02:00