Commit graph

247 commits

Author SHA1 Message Date
Kévin Commaille
09df14ed16
login: Use AdwEntryRow and AdwPasswordEntryRow 2022-09-28 15:28:46 +02:00
Kévin Commaille
0b9519e370
account-settings: Use AdwEntryRow 2022-09-28 15:25:21 +02:00
Julian Sparber
a2e9ee4c57 Add release notes and update version 2022-09-25 19:33:26 +02:00
Kévin Commaille
a3374872c3 verification: Use the Matrix spec i18n data for emoji names 2022-09-24 15:24:00 +00:00
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>
2022-09-24 09:54:57 +00:00
Kévin Commaille
e35c2b4464
room-history: Allow to send replies 2022-09-15 18:03:58 +02:00
Kévin Commaille
8127a52199
message-row: Allow to embed messages content preview
Provide a more compact format for message content.
2022-09-15 18:02:34 +02:00
Julian Sparber
988e6bf1c9 room-details: Move general page to own subclass 2022-09-15 14:09:38 +02:00
Julian Sparber
ac86979c01 invite: Improve wording on status pages 2022-09-15 14:09:38 +02:00
Julian Sparber
15bda14f05 room-details: Rework navigation and fix listview styles
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/900
2022-09-15 14:09:38 +02:00
Kévin Commaille
f8e9147f7d
room-history: Implement mention of users in the message entry
Show a popover triggered by the character `@` or the `Tab` key.
2022-09-15 11:17:43 +02:00
Kévin Commaille
c5d696e600
components: Fix alignment of Pills in GtkTextViews
Fixes #880
2022-09-15 11:14:01 +02:00
Julian Sparber
9604fb9bd0 room-history: Remove open action for files
Some files could contain malicious code. E.g. htm/html files can contain
an explode to take over a web browser. This makes it a little bit harder
to open a file by mistake.

Note: this resolves a security issue that was identified by the security
audit.

Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1153>
2022-09-15 07:49:14 +00:00
Julian Sparber
99911c3fcf sidebar: Fix oscillating scrollbar when hovered at the right place
This is a hack to fix this till the upstream bug is resolved.
See: https://gitlab.gnome.org/GNOME/gtk/-/issues/4938

Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/925
2022-09-14 12:13:02 +02:00
Julian Sparber
7ffbf9849f room-history: Show selection when context menu is open
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/938
2022-09-09 12:20:13 +02:00
Kirill Schmidt
425891310f room-history: Implement Permalink creation for rooms
Enhances #891

Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1146>
2022-09-03 20:31:01 +00:00
Kirill Schmidt
ae2f430917 event-actions: Implement Permalink creation for Events
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1146>
2022-09-03 20:31:01 +00:00
Kévin Commaille
ac96a7546a misc: Improve appstream metadata
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1145>
2022-09-03 16:52:48 +00:00
Kévin Commaille
69b6b57906 misc: Reorganize metainfo
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1145>
2022-09-03 16:52:48 +00:00
Harshil Patel
546dae1e4f room-history: Increase message line height
Unfortuntely line height on multi-height labels is way too tight by default in GTK4, so we need to work around it in apps.
One very visible instance of this is the message bodies in the timeline.

I fixed issue by adding css line-height property on .room-history row css class.

https://gitlab.gnome.org/GNOME/fractal/-/issues/1030

Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1141>
2022-09-02 18:49:06 +05:30
Daniel Maloschik
92e3aeb97b Make the account switcher check smaller 2022-08-31 08:04:25 +00:00
Harshil Patel
0ccaad6375 room-history: Make text reactions smaller
data/resources/style.css: Added class for font on applying reaction
src/session/content/room_history/message_row/reaction.rs: Added check if reaction contains text or not
src/utils.rs: Added regex function for general purpose

Even if it's their primary use in clients is to send emoji reactions, reactions can actually contain any text.
We have to make sure that we ellipsize long texts, and we need to fix the font as it's currently too big.

To fix this issue, I used regex function to check whether reaction contains text or not.

https://gitlab.gnome.org/GNOME/fractal/-/issues/1044

Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1134>
2022-08-23 12:31:19 +00:00
Julian Sparber
d61a6e93ea explore: Improve styling 2022-08-16 11:50:29 +00:00
Julian Sparber
d82c1e21a3 window: Show network state on the loading page 2022-08-16 12:19:38 +02:00
Julian Sparber
44c96d3d4c login: Show network state
This only disables navigation when no network is available, since the
homeserver may be on a local network.
2022-08-16 12:19:38 +02:00
Julian Sparber
8a6a209f54 session: Mark offline when homeserver isn't reachable
This also shows a infobar to the user when offline.
This completely ignores the connecticity state since it's unrelaibale
and the server may be reachable even without internet connection.
2022-08-15 13:55:46 +02:00
Kirill Schmidt
ac03df8db8 invite-subpage: Allow inviting users by id to a room
Fixes #879 #1062
2022-08-13 15:05:37 +02:00
Julian Sparber
d076bd2441 toast: Use libadwaita toast
Fixes: #857, #967
2022-08-03 12:31:39 +02:00
Kirill Schmidt
f5b12387fe event-actions: Implement save for media files
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1115>
2022-07-05 10:29:16 +00:00
Marco Melorio
f7f65d3e93 qr-code: Make it always black-on-white
Also add .card style. Fixes #1052.
2022-06-16 06:59:31 +00:00
Kévin Commaille
e7de31ffa6
sidebar: Remove "Preferences" entry from main menu
There are no general preferences available or planned for now
and it is misleading for users.
2022-06-04 11:43:53 +02:00
Jacob Hughes
6331bf022e attachment-dialog: Set default focus to send button 2022-05-26 15:30:38 -04:00
Julian Sparber
f8263c003b room-details: Improve UI for name and topic in edit mode
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/921
2022-05-20 13:24:04 +00:00
Tobias Bernard
feab9a5011 sidebar: 2px margin between rows
This avoids rows blending together when hovering a row next to the
active one.
2022-05-16 08:28:29 +00:00
Tobias Bernard
16c270ad94 Sidebar: use currentColor for notification count
This fixes the broken bubbles in dark mode.
2022-05-16 08:28:29 +00:00
Tobias Bernard
e31690bee3 sidebar: tighter row spacing 2022-05-16 08:28:29 +00:00
Tobias Bernard
dd61665a96 sidebar: larger avatar in headerbar 2022-05-16 08:28:29 +00:00
Kévin Commaille
7592994a96 message-location: Move location view logic in LocationViewer component
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1085>
2022-04-27 12:58:17 +00:00
Kévin Commaille
74b5b025e2 attachment-dialog: Use MediaContentViewer
Preview more file types

Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1085>
2022-04-27 12:58:17 +00:00
Kévin Commaille
c216e78edf media-viewer: Split media content display logic into MediaContentViewer
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1085>
2022-04-27 12:58:17 +00:00
Julian Sparber
311ffd55c3 sidebar: Add category people
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/931>
2022-04-27 13:40:28 +02:00
Julian Sparber
534d2bcec3 sidebar: Improve context menu entires
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/931>
2022-04-27 13:40:28 +02:00
Kévin Commaille
e5c97c2517 sidebar: Bundle expander arrow and update behavior
The icon and its behavior has been changed upstream.

Bundle it so we don't have inconsistent behavior if it is updated upstream again.
2022-04-26 12:40:01 +00:00
Kévin Commaille
1614ce9179 verification: Move in-room verification outside of Timeline 2022-04-26 09:10:06 +00:00
Kévin Commaille
dc04e0e714
room-history: Swap "emoji" and "more" buttons next to message entry 2022-04-23 11:19:48 +02:00
Kévin Commaille
b65188cdb6 misc: Create developers flatpak variant
Be able to use nightly while hacking
2022-04-20 08:17:04 +00:00
Marco Melorio
89b89024c9 window: Add a global paste action to paste media
Now it's possible to paste an image even when the message entry is not focused.
2022-04-20 08:03:51 +00:00
Julian Sparber
e069053cda session: Replace listview with listbox in AccountSwitcher
This reworks the entiere account switcher.

Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/931
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/898
2022-04-19 20:04:51 +00:00
Kévin Commaille
5ac882eaa1
context-menu-bin: Fix non-working actions
Destroying the popover on close results in the action not being
called.

Instead do like the members list and keep a single popover for the
whole list. To do that we need to pass a weak reference to the
closest common parent of the list items, via the list view factory.
2022-04-13 18:22:53 +02:00
Julian Sparber
c11393e3f6 session: Improve accessibility and focus
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/197

Room history navigation isn't good yet, but this improves navigation by a lot.
2022-04-13 15:22:33 +00:00