Kévin Commaille
21b5cd056e
room-history: Make sure there is enough space for overlays on small media
11 months ago
Kévin Commaille
97a528c5d3
account-settings: Always disconnect session via account management URL when it is available
...
A homeserver that supports the OAuth 2.0 API doesn't allow to disconnect
a session via the Matrix API, even if the session was connected before
the move to the OAuth 2.0 API.
11 months ago
Yuri Chornoivan
bca6fd7f67
Update Ukrainian translation
11 months ago
Kévin Commaille
5307cb1fe0
notifications: Truncate body if it is too long
...
This avoids performance issues with GNOME Shell.
11 months ago
Kévin Commaille
21b6e3b74b
room-history: Fix enabling and disabling copy-image action
...
We now track all the way down if there is currently a texture and
update whenever the texture is added/removed.
This prevents a race condition when the image is loaded before the child
is added to its parent and works with showing and hiding media previews
too.
11 months ago
Kévin Commaille
426b99ec73
utils: Add extension trait for reusing child widget
...
There would be less duplication if Rust allowed generic implementations
with different bounds. Oh well…
11 months ago
Ekaterine Papava
b5ef87f99f
Update Georgian translation
11 months ago
Kévin Commaille
57941187dd
utils: Fix loading animated images in encrypted rooms
11 months ago
Kévin Commaille
10776c0f52
room-details: Respect media previews safety setting for media history viewer
...
Do not show the previews if they are not shown in the room history.
This also adds support for blurhashes.
11 months ago
Kévin Commaille
5ea7f82c2f
room-history: Add support for Blurhashes
...
It is displayed while the media is being downloaded, or instead of the
preview if the preview is hidden.
11 months ago
Kévin Commaille
5ef500e916
build: Disable grass submodules
...
It seems that they are only necessary for some tests, that we don't run.
11 months ago
Kévin Commaille
5c774ceccc
build: Properly clean up grass
...
This is the right way, removing all files generated by the module.
11 months ago
Kévin Commaille
16661287c3
utils: Don't send items-changed signal for new groups in GroupingListModel
...
Sending the items-changed signal for groups after signalling that the
group was added results in duplicates for APIs that only care about that
signal, not about the actual number of items.
11 months ago
Anders Jonsson
c8015d121d
Update Swedish translation
11 months ago
Kévin Commaille
8a88b7fb07
build: Properly clean up grass
11 months ago
Daniel Rusek
cebd738569
Update Czech translation
11 months ago
Luming Zh
71e4f016dd
Update Chinese (China) translation
11 months ago
Yuri Chornoivan
6616969582
Update Ukrainian translation
11 months ago
Kévin Commaille
c5325049f6
Release Fractal 11.rc
11 months ago
Kévin Commaille
b7c45229d0
flatpak: Properly clean up grass
11 months ago
Martin
8a7e0fe8ff
Update Slovenian translation
11 months ago
Kévin Commaille
cb6c0ecffe
room-history: Fix justification of text in media preview placeholder
11 months ago
Kévin Commaille
865733b151
Upgrade glycin
11 months ago
Álvaro Burns
67f6808f6d
Update Brazilian Portuguese translation
11 months ago
Kévin Commaille
e0a7eb4cd1
room-history: Group contiguous state events
...
They are replaced by an item that shows the count of state rows that
are hidden. This item can be expanded to show all the hidden state rows.
11 months ago
Kévin Commaille
316e7296e4
misc: Fixes
...
Small unrelated fixes
11 months ago
Kévin Commaille
da2e81fbdb
timeline: Clean up TimelineItem API
...
Remove the `selectable` property which is not used, and move properties
about the header to Event, which is the only child type using it.
11 months ago
Kévin Commaille
4372f80a6b
room-history: Replace ItemRow by more specific widgets
...
It is now basically the new EventRow, since only events have a context
menu.
All the widgets that can be direct children of GtkListItem use the
`room-history-row` class for CSS styling.
11 months ago
Kévin Commaille
93ccda449f
utils: Rename DummyObject to PlaceholderObject
...
"dummy" can be viewed as offensive
11 months ago
Yuri Chornoivan
9396a8b036
Update Ukrainian translation
11 months ago
Kévin Commaille
213b5bd5dd
account-settings: Add safety setting to choose which rooms should show media previews
...
It is a global choice between all rooms, only private rooms, or no
rooms.
11 months ago
Daniel Rusek
d29766fad5
Update Czech translation
11 months ago
Yuri Chornoivan
930ab34755
Update Ukrainian translation
11 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
Daniel Rusek
f07d350628
Update Czech translation
11 months ago
Kévin Commaille
5c9f9a2aff
Upgrade protobuf-c
...
Use new release.
11 months ago
Kévin Commaille
69da78094c
matrix: Disable event cache storage
11 months ago
Kévin Commaille
163fe968f2
Upgrade matrix-sdk
...
Use new release
11 months ago
Álvaro Burns
d702e0bb56
Update Brazilian Portuguese translation
11 months ago
Kévin Commaille
2c66f77be7
notifications: Use same algorithm as libadwaita to find initials
...
To avoid avatar discrepancies between the window and the notifications.
11 months ago
Kévin Commaille
15f21d1467
timeline: Filter timeline start item if we have room create event
...
The code was removed when the SDK was updated recently, because the SDK
now provides the timeline start item, so the logic had to change. This
re-adds the old code and adapts it to filter the SDK items.
11 months ago
Kévin Commaille
d870c1497d
misc: Use SingleItemListModel where possible
...
Instead of GListStore.
11 months ago
Ekaterine Papava
7a1d8ffa19
Update Georgian translation
11 months ago
Kévin Commaille
a2cc7999c3
verification: Refactor and clean up
11 months ago
Kévin Commaille
8e623c55c4
notifications: Refactor and clean up
...
Fixes a regression where clicking on notifications would not open the
app anymore.
11 months ago
Kévin Commaille
834a06612a
Upgrade crates
...
Gets rid of tokio advisory
11 months ago
Kévin Commaille
d63a96c509
utils: Allow to get the JoinHandle of the spawn! macro
...
That way the result of the task can be `.await`ed if wanted.
11 months ago
Kévin Commaille
3dc3333d99
Bump Rust version
...
To match the version from the matrix-sdk crates.
11 months ago
Kévin Commaille
c46404cbbf
utils: Refactor toast macro
...
Simplify the rules for using the macro:
- The message must always implement `AsRef<str>`,
- The variables values must implement `ToString`,
- Trailing commas are always optional.
Use functions for code that doesn't actually need to be in the macro,
it allows to have linting of the code.
11 months ago
Kévin Commaille
b2dd3acd08
system-settings: Refactor
11 months ago