Commit Graph

1638 Commits

Author SHA1 Message Date
Kévin Commaille 0b8709ee25
chore: Upgrade openssl crate
Due to a RustSec advisory
2023-11-29 15:33:16 +01:00
Kévin Commaille 6390f1e984
application: Move the SessionList to the application
Necessary to run the app in the background or to split sessions between
several windows.
2023-11-29 14:57:52 +01:00
Kévin Commaille efabeea00c
application: Don't keep reference to main window
GtkApplication already does that.
Includes also some refactoring.
2023-11-29 14:45:36 +01:00
Kévin Commaille c993377ed1
session-list: Handle restoring sessions in SessionList 2023-11-29 14:45:31 +01:00
Kévin Commaille 56da95ee68
window: Show account switcher on loading and error pages
If there are any sessions
2023-11-28 16:09:13 +01:00
Kévin Commaille bed14c3b99
account-switcher: Create AccountSwitcherButton
That is compatible with any SessionInfo
2023-11-28 16:09:13 +01:00
Kévin Commaille 741f1dc5e0
account-switcher: Rename AccountSwitcher to AccountSwitcherPopover 2023-11-28 16:09:13 +01:00
Kévin Commaille 8955b92463
window: Support failed and initializing sessions 2023-11-28 16:09:13 +01:00
Kévin Commaille 51797294dc
avatar-data: Allow to construct without AvatarImage
We might need to show an avatar without having a Session.
2023-11-28 16:09:13 +01:00
Luming Zh a88ff226af Update Chinese (China) translation 2023-11-28 14:33:33 +00:00
Yuri Chornoivan 5596a352ce Update Ukrainian translation 2023-11-27 20:42:38 +00:00
Alexandre Franke fe00603f56 metainfo: put features in description 2023-11-27 18:03:22 +00:00
Kévin Commaille 7a4af244c5
readme: Move Flathub setup instructions to parent section 2023-11-27 18:22:21 +01:00
Kévin Commaille 3c97cb5525
readme: Update remaining pre-v5 instructions 2023-11-27 18:22:21 +01:00
Kévin Commaille 34dc72699e meson: Do not create new cargo config file with dist script
Instead append to the existing one.
2023-11-27 16:51:20 +00:00
Artur S0 f5dd08d114 Update Russian translation 2023-11-27 16:29:00 +00:00
Kévin Commaille 2e86784161 secret: Serialize secret as JSON
MessagePack creates issues with Secret Service providers that expect a
valid string.
We don't really care about saving a few bytes when storing secrets.
2023-11-27 12:17:28 +00:00
Yuri Chornoivan d534071ad2 Update Ukrainian translation 2023-11-26 19:55:03 +00:00
Kévin Commaille a4bd482e8c
misc: Be consistent for setting the key binding to close dialogs 2023-11-26 14:47:53 +01:00
Felipe Kinoshita 654ef1b4e6 event_source_dialog: Close dialog on Escape
Fixes #1292
2023-11-26 13:32:44 +00:00
Felipe Kinoshita f28021fce3
sidebar: Use standard padding values
GNOME apps usually use multiples of 6 for padding/margin so let's stick
with that.

Fixes #1308
2023-11-26 06:44:27 -03:00
Kévin Commaille c276b1b2bd
ci: Fix docs job 2023-11-25 17:19:39 +01:00
Kévin Commaille 68291d7abc
build: Remove Hack manifest and profile
Now that the stable release is on the same codebase, it should be less
necessary to have 2 development builds.
Also since most performance issues have been fixed, it should not be
necessary anymore to build the nightly version in release mode.
2023-11-25 15:22:22 +01:00
Kévin Commaille 5e9e7600f4
ci: Run tests
There are tests to make sure our data is valid for Flathub
2023-11-25 14:08:37 +01:00
Kévin Commaille 635e7e13c3
account-settings: Add buttons to copy advanced information 2023-11-25 13:48:04 +01:00
Automeris naranja 8292b2e37d account_settings: Use .property style class in rows from user page
Closes https://gitlab.gnome.org/GNOME/fractal/-/issues/1301
2023-11-25 10:11:39 +00:00
Kévin Commaille a9ac0d482c
ci: Allow dirty folder when running meson dist
The build directory is not ignored.
2023-11-24 21:46:36 +01:00
Kévin Commaille 81868ed463
metainfo: Remove final dots in captions
Flathub (aka `appstream-cli validate`) doesn't like them.
2023-11-24 21:45:00 +01:00
Kévin Commaille 091a311f51
meson: Fix meson dist directory 2023-11-24 21:44:07 +01:00
Alexandre Franke 6c48cde678
Release 5 2023-11-24 19:05:09 +01:00
Kévin Commaille 78aaef60ff
meson: Make sure everything works without a pre-release version 2023-11-24 15:14:39 +01:00
Daniel Rusek b64f1dced2 Update Czech translation 2023-11-23 21:06:46 +00:00
Daniel Rusek 3700bc7036 Update Czech translation 2023-11-23 19:01:50 +00:00
Kévin Commaille 6daa803a5e
join-room-dialog: Fix action when dialog closes 2023-11-21 10:51:37 +01:00
Kévin Commaille 9d0409124c
misc: Do not change line height
It makes the text blurry on non-HiDPI screens.
This change is temporary for the Fractal 5 release.
2023-11-21 10:34:17 +01:00
Kévin Commaille d6d2c43c71
sidebar: Rename Entry to IconItem
Entry is confusing because GtkEntry is where we input text.
2023-11-19 17:58:22 +01:00
Kévin Commaille eeb9d6f5ae
misc: Fix positioning of popovers
Align the corner to the pointer (to the bottom right in LTR languages).
2023-11-19 17:03:17 +01:00
Kévin Commaille d5d84fdb3f
sidebar: Fix positioning of sidebar entries
Rename CSS class to sidebar-entry to avoid getting the style from
GtkEntry.
Align text of entry with room names.
2023-11-19 17:01:26 +01:00
Kévin Commaille e0fd735622
message-row: Use the default button style for reactions 2023-11-19 14:29:24 +01:00
Alexandre Franke 24c720518f Update French translation 2023-11-19 12:42:19 +00:00
Kévin Commaille 05adb8408b user-facing-error: Do not consume errors
Some errors do not implement Clone and we might want to keep them
around.
2023-11-19 11:46:09 +00:00
Kévin Commaille 1c4d275394 components: Move LoadingState into utils 2023-11-19 11:46:09 +00:00
Kévin Commaille 5e03a39f41 secret: Handle per-session errors and migrations
Per-session errors should never happen in practice, it should be fine
to just log them.
Migrations already swallow any errors.
2023-11-19 11:46:09 +00:00
Kévin Commaille d26c313542 application: Do not assume we always have a main window
Prepares the case where we run the application in the background
2023-11-19 11:46:09 +00:00
Kévin Commaille fd37835049 application: Move some actions to the main window
They are only useful if there is a main window.
2023-11-19 11:46:09 +00:00
Anders Jonsson de6c8af2f3 Update Swedish translation 2023-11-19 11:45:11 +00:00
Luming Zh 03f19a30aa Update Chinese (China) translation 2023-11-18 00:34:49 +00:00
Sabri Ünal b03bb3ed95 Update Turkish translation 2023-11-17 17:51:09 +00:00
Kévin Commaille f25bf6ef77
utils: Disconnect signals on drop for BoundObject(WeakRef)
This is always something we need to do anyway.
2023-11-17 15:48:03 +01:00
Kévin Commaille 992fbaeda6
chore: Fix clippy warnings 2023-11-17 13:04:58 +01:00