Commit graph

250 commits

Author SHA1 Message Date
Kévin Commaille
0487df15ab login: Split in pages and cleanup 2022-10-11 13:33:41 +00:00
Kévin Commaille
27e96f4acb
room-history: Add an icon to files in replies 2022-10-11 14:16:54 +02:00
Kévin Commaille
19d5f87e48
room-history: Fix corners of media messages in replies 2022-10-11 14:16:49 +02:00
Kévin Commaille
f0e5d97684
account-settings: UI fixes 2022-10-10 12:49:39 +02:00
Kévin Commaille
6e82ea2f60
account-settings: Use AdwPasswordEntryRow 2022-10-10 12:49:35 +02:00
Kévin Commaille
4270577625
account-settings: Don't use AdwPreferencesPage when not needed 2022-10-10 12:49:04 +02:00
Kévin Commaille
5d7d49a973 session: Allow to join a room by ID, alias or permalink 2022-10-07 17:10:40 +00:00
Kévin Commaille
0232d98dc1
explore: Allow to explore custom matrix servers 2022-10-05 16:37:51 +02:00
Paul van Tilburg
76ddc9c45a
room-history: Show location viewer error when geo URI parsing fails
This is only used for displaying locations. When previewing/sending a
location, it is assumed to be valid, so no error overlay is necessary.

* Pass a `GeoUri` object to the `LoctionViewer` and `MediaContentViewer`
  instead of a geo URI string so it is known to be valid
* Wrap the `LocationViewer` component in a `GtkOverlay` in the
  `ContentMessageLocation` component that can overlay an error message
  over the location viewer if coordinate parsing fails
2022-10-05 08:44:06 +02:00
Kévin Commaille
4e355341a3
content: Fix unwanted rounded corners in location preview 2022-10-02 17:32:07 +02:00
Kévin Commaille
00b8bcc83a
login: Add message for translators 2022-09-28 18:37:35 +02:00
Kévin Commaille
3d12e38336
misc: Ensure UI files use enum variant short name consistently 2022-09-28 16:41:46 +02:00
Kévin Commaille
6ae4c6e846
login: Mark strings as translatable 2022-09-28 16:41:00 +02:00
Kévin Commaille
a190f17ea3
account-settings: Mark strings as translatable 2022-09-28 16:26:39 +02:00
Kévin Commaille
77c9c73175
components: Remove EntryRow 2022-09-28 15:29:11 +02:00
Kévin Commaille
ef7010d950
session-verification: Use AdwPasswordEntryRow 2022-09-28 15:29:02 +02:00
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
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
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