Kévin Commaille
deaee7393d
avatar-data: Port to glib::Properties macro
2 years ago
Kévin Commaille
51f03cd850
chore: Upgrade crate dependencies
2 years ago
Kévin Commaille
1bfeb7a5cb
qr-code: Port to glib::Properties macro
2 years ago
Kévin Commaille
0241d7f3f2
window: Port to glib::Properties macro
2 years ago
Kévin Commaille
a2e5af0e84
system-settings: Port to glib::Properties macro
2 years ago
Kévin Commaille
a110e89056
expression-list-model: Port to glib::Properties macro
2 years ago
Kévin Commaille
39412bcd3b
session-list: Port to glib::Properties macro
2 years ago
Kévin Commaille
e13604e5bc
login: Port to glib::Properties macro
2 years ago
Kévin Commaille
122484d3e1
account-switcher: Port to glib::Properties macro
2 years ago
Kévin Commaille
8cfa4bfde5
components: Port to the glib::Properties macro
2 years ago
Kévin Commaille
e6ad5558f8
account-details: Put user ID before homeserver
...
It is probably the most useful advanced information for a regular user.
2 years ago
Kévin Commaille
2043c6dc8f
misc: Always use the 'success' class with the 'verified' shield
...
The reason we show them is because it's a good thing. This makes it
clearer.
2 years ago
Kévin Commaille
8d8e5848b0
misc: Be consistent in the time formats
2 years ago
Kévin Commaille
41a8106460
app: Follow system setting for clock format
...
i.e. 12h or 24h time format.
2 years ago
Kévin Commaille
c6c3c73c3b
members-list: Open user details page on click
...
Replaces the toggle button with the menu.
2 years ago
Kévin Commaille
81660826c2
verification: Set flow ID as optional
...
Since it is not set if an error happens when trying to create one.
We might forget to check whether creation failed or not.
2 years ago
Kévin Commaille
556d470074
members-list-view: Refactor list items
...
Have a more consistent styling accross items.
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
6557a8b62a
session: Fix constructor for new session
...
glib::Boxed panics if not provided with construct_only.
2 years ago
Kévin Commaille
6e4abaa591
timeline: Do not use channels to pass data from streams
...
Even with a buffer of 100 values, sometimes it is not enough during
startup. That makes the task panic, and no more diffs are received in
the timeline.
Instead of growing the buffer to an arbitrary value that might be
way too much or that might break in some cases, let's just use
glib::SendWeakRef and upgrade them when the diff arrives.
2 years ago
Kévin Commaille
f64aadb39a
login: Remove link to reset password
...
It only works for matrix.org accounts by default as it's not possible
to change the homeserver on that page.
There is no easy solution to fix this.
2 years ago
Kévin Commaille
66d3e84010
notifications: Show notifications for rooms other than the active one
...
Prior to this, we would only show notifications for sessions other than
the active one.
The expectation should be to have notifications for any room that is
not currently opened.
2 years ago
Kévin Commaille
6754e9653f
session-list: Make sure sessions are always listed in the same order
2 years ago
Kévin Commaille
589ae9b840
session-list: Create SessionListSettings to manage session settings
2 years ago
Kévin Commaille
57f7b6663c
account-switcher: Bind AccountSwitcherButton's visibility in Rust code
...
Somehow if it's done in the UI file it triggers a critical error when
closing the app.
2 years ago
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.
2 years ago
Kévin Commaille
efabeea00c
application: Don't keep reference to main window
...
GtkApplication already does that.
Includes also some refactoring.
2 years ago
Kévin Commaille
c993377ed1
session-list: Handle restoring sessions in SessionList
2 years ago
Kévin Commaille
56da95ee68
window: Show account switcher on loading and error pages
...
If there are any sessions
2 years ago
Kévin Commaille
bed14c3b99
account-switcher: Create AccountSwitcherButton
...
That is compatible with any SessionInfo
2 years ago
Kévin Commaille
741f1dc5e0
account-switcher: Rename AccountSwitcher to AccountSwitcherPopover
2 years ago
Kévin Commaille
8955b92463
window: Support failed and initializing sessions
2 years ago
Kévin Commaille
51797294dc
avatar-data: Allow to construct without AvatarImage
...
We might need to show an avatar without having a Session.
2 years ago
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.
2 years ago
Kévin Commaille
a4bd482e8c
misc: Be consistent for setting the key binding to close dialogs
2 years ago
Felipe Kinoshita
654ef1b4e6
event_source_dialog: Close dialog on Escape
...
Fixes #1292
2 years ago
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.
2 years ago
Kévin Commaille
635e7e13c3
account-settings: Add buttons to copy advanced information
2 years ago
Automeris naranja
8292b2e37d
account_settings: Use .property style class in rows from user page
...
Closes https://gitlab.gnome.org/GNOME/fractal/-/issues/1301
2 years ago
Kévin Commaille
78aaef60ff
meson: Make sure everything works without a pre-release version
2 years ago
Kévin Commaille
6daa803a5e
join-room-dialog: Fix action when dialog closes
2 years ago
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.
2 years ago
Kévin Commaille
d6d2c43c71
sidebar: Rename Entry to IconItem
...
Entry is confusing because GtkEntry is where we input text.
2 years ago
Kévin Commaille
eeb9d6f5ae
misc: Fix positioning of popovers
...
Align the corner to the pointer (to the bottom right in LTR languages).
2 years ago
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.
2 years ago
Kévin Commaille
e0fd735622
message-row: Use the default button style for reactions
2 years ago
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.
2 years ago
Kévin Commaille
1c4d275394
components: Move LoadingState into utils
2 years ago
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.
2 years ago
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
2 years ago