Kévin Commaille
99b4111cc0
Remove dependency on strum
...
While it is somewhat convenient, let's stop being lazy and implement
more explicit methods manually.
2 weeks ago
Kévin Commaille
e3ced48c9e
session: Remove model module
...
And move submodules directly under session, to reduce nesting.
5 months ago
Kévin Commaille
90397cbc78
account-settings: Move to the root of the crate
...
It is not particularly associated to the session view so there is no
reason for it to be a submodule.
5 months ago
Kévin Commaille
847dcb5110
Bump gtk crates and dependents
...
We use glycin as a git dependency for now because the latest RC doesn't
work, but the latest commit does.
6 months ago
Kévin Commaille
b4bcb46fae
Port to Rust 2024
9 months ago
Kévin Commaille
c646ca611b
account-settings: Fix renamed page name
10 months ago
Kévin Commaille
25c79797d1
account-settings: Reorganize
...
The main goal here is to move safety-related settings to a new tab so
we can add more in the future.
Since we do not want more tabs, we have to:
- Move the sessions to a subpage accessible with a button in the
"General" tab. While we are here, we reorder most of this tab.
- Move the settings that were in the "Privacy" section of the "Security"
tab to a new "Safety" tab.
- Rename the "Security" tab to "Encryption", to avoid confusion between
"Security" and "Safety".
11 months ago
Kévin Commaille
48f569f327
account-settings: Use SDK's OAuth methods rather than implementing our own
12 months ago
Titouan Real
4b846fd9d7
user-sessions-page: Redesign
1 year ago
Kévin Commaille
fd48e88fcc
Add oidc-aware compatibility
...
It requires a few changes during login to only offer SSO when OIDC
compatability is detected,
and most actions that require UIAA in account details must now occur
in the account management UI of MAS.
1 year ago
Kévin Commaille
b97530a327
chore: Enable most of Clippy's pedantic lints
1 year ago
Kévin Commaille
f94357ebe8
account-settings: Fix user sessions page
...
AdwPreferencesPage only allows AdwPreferencesGroup as children so only
provide that.
We only use the GtkStack for the other active sessions by initializing
the current session early.
Includes other refactoring around user sessions.
1 year ago
Kévin Commaille
fd759155b3
chore: Use new glib::clone! macro syntax
2 years ago
Kévin Commaille
a70a12db15
account-settings: Allow to reset completely account recovery to fix any issue with it
2 years ago
Kévin Commaille
7ee749cf54
account-settings: Add support for account recovery
2 years ago
Kévin Commaille
3f7f0cfdb2
chore: Remove unnecessary move with install_action
2 years ago
Kévin Commaille
a5e9c94009
chore: Use ensure_type instead of static_type
...
When we actually want to ensure that the type is registered.
2 years ago
Kévin Commaille
fbfa46f5be
account-settings: Switch to AdwPreferencesDialog
2 years ago
Kévin Commaille
70f8444785
chore: Upgrade gtk-rs crates and dependants
2 years ago
Kévin Commaille
9a0d8db024
account-settings: Rename DevicesPage to UserSessionsPage
...
To be closer to what is shown in the UI
2 years ago
Kévin Commaille
ca4ec3100d
account-settings: Port to glib::Properties macro
2 years ago
Kévin Commaille
0d2a1d25e5
account-settings: Rename UserPage to GeneralPage
...
This is more consistent with the strings in the interface.
Furthermore, I would like to user that name for a page showing a Matrix
User
2 years ago
Kévin Commaille
edc23fb4be
account-settings: Use AdwNavigationPage and AdwToolbarView for subpages
...
Removes the use of deprecated APIs
3 years ago
Kévin Commaille
d13b03a85e
misc: Put UI files next to the corresponding Rust files
3 years ago
Kévin Commaille
b15c5f0c8b
session: Reorganize submodules between model and view
3 years ago
Kévin Commaille
fc49b657e7
chore: Fix clippy nightly warnings
3 years ago
Christopher Davis
5db1d9f902
general: Update to the latest version of the gtk-rs stack
3 years ago
Julian Sparber
11b80862d1
account-settings: Add entry and subpage to confirm log out
...
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/823
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/1083
3 years ago
Kévin Commaille
fff8839846
chore: Rename `priv_` variables to `imp`
...
To be consistent with the method name.
3 years ago
Kévin Commaille
f71961a1b7
chore: Use ParamSpec builders
...
Use the description of the property to document getters and setters.
3 years ago
Kévin Commaille
fbc9b26d5c
chore: Update gtk and related dependencies
3 years ago
Kévin Commaille
dffcc460cc
account-settings: Add basic notifications settings page
3 years ago
Kévin Commaille
d19bb254d5
misc: Remove RefCell or OnceCell wrapping WeakRefs
4 years ago
Kévin Commaille
8dd205ffce
account-settings: Allow to import and export room encryption keys
...
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1157 >
4 years ago
Julian Sparber
96d1cb3a69
chore: Update libadwaita
4 years ago
Julian Sparber
0bf6a4ff32
Remove Next from app-id
4 years ago
Kévin Commaille
6b024e9884
account-settings: Close when the session is logged out
4 years ago
Kévin Commaille
5c8c627cec
account-settings: Add General tab
4 years ago
Kévin Commaille
c68e24d2e1
app: Replace imp::from_instance with obj.imp()
4 years ago
Kévin Commaille
fe2ff7c79a
app: Apply new formatting rules
4 years ago
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
4 years ago
Julian Sparber
3346669c37
error: Use only a single in-app-notifcation
...
This simplifies the code and allows easier emittion of errors
5 years ago
Julian Sparber
9bf216a854
account-settings: Add device list
...
This allows also the remove devices
5 years ago