Commit graph

793 commits

Author SHA1 Message Date
Yuri Chornoivan
eea328556a Update Ukrainian translation 2022-09-24 11:49:31 +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
dc33441fad chore: Update matrix-sdk
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1157>
2022-09-24 09:54:57 +00:00
Paul van Tilburg
49c868c680
Update html2pango to 0.5
This adds support for more types of markup:
* Superscript (`<sup>`) and subscript `<sub>`
* Horizontal rules (`<hr>`)
* Text foreground (`data-mx-color`) and background (`data-mx-bg-color`)
  color

It also fixes space collapsing in block elements such that newlines in
HTML are no longer rendered as line breaks and fixes support for `<br>`.
2022-09-24 11:28:39 +02:00
Alan Mortensen
f21ddab879 Update Danish translation 2022-09-20 17:04:24 +00:00
Piotr Drąg
917838f685 Update Polish translation 2022-09-18 16:41:38 +02:00
Kévin Commaille
f8d2ceb871
chore: Update libadwaita min version in meson.build 2022-09-16 23:16:03 +02:00
Yuri Chornoivan
3e3eeaec8e Update Ukrainian translation 2022-09-16 18:57:21 +00:00
Kévin Commaille
47b6163c83
event: Update matrix event when pure event changes 2022-09-15 18:29:27 +02:00
Kévin Commaille
852dd05462
room-history: Dont overwrite message row parent's CSS classes 2022-09-15 18:04:01 +02: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
Kévin Commaille
454bb4e5e4
room-history: Update event actions when its source changes 2022-09-15 17:13:00 +02:00
Kévin Commaille
0b8d78c7e3 timeline: Remove event when it should be hidden after decryption 2022-09-15 14:41:26 +00:00
Yuri Chornoivan
65e5e69445 Update Ukrainian translation 2022-09-15 14:03:21 +00:00
Julian Sparber
988e6bf1c9 room-details: Move general page to own subclass 2022-09-15 14:09:38 +02:00
Julian Sparber
92fd9afa35 room-history: Disable invite entry in menu when invitation isn't allowed 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
31e3cbc240
room-history: Detect mentions with an iterator
Allow to reuse the logic in other places
2022-09-15 11:17:20 +02:00
Kévin Commaille
bf91e99bbb
member-list: Separate inserting and updating members
It might update already existing members that objects might be watching so we
have to drop the mutable borrow first.
2022-09-15 11:17:17 +02:00
Kévin Commaille
5fea3cd583
room: Keep track of user activity
Allow to sort the members list by activity
2022-09-15 11:16:20 +02:00
Kévin Commaille
b884635efa
room: Move count_as_unread as a method of Event
Reduce boilerplate when calling the method
2022-09-15 11:16:17 +02:00
Kévin Commaille
c5d696e600
components: Fix alignment of Pills in GtkTextViews
Fixes #880
2022-09-15 11:14:01 +02:00
Kévin Commaille
d4f3a7005b chore: update dependencies
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1152>
2022-09-15 08:19:35 +00: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
Andre Klapper
7d0a61bbc1 Fix invalid Slovenian help translation 2022-09-10 16:36:57 +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
Anders Jonsson
5f0a4b48a7 Update Swedish translation 2022-09-08 19:13:56 +00:00
Rafael Fontenelle
b7f93de80d Update Brazilian Portuguese translation 2022-09-06 01:05:32 +00:00
Luming Zh
0479e9755f Update Chinese (China) translation 2022-09-04 18:09:48 +00:00
Piotr Drąg
f44405abb1 Update Polish translation 2022-09-04 13:39:31 +02:00
Yuri Chornoivan
428b40e056 Update Ukrainian translation 2022-09-04 08:20:05 +00: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
Kirill Schmidt
76d2de4338 event-actions: Add toast for copied messages
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1146>
2022-09-03 20:31:01 +00:00
Kévin Commaille
e0d89e8da1
docs: Add badge with link to install Fractal Nightly 2022-09-03 21:24:40 +02: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
Kévin Commaille
cb8cc2006a docs: Update for switch to fd.o 22.08 runtime
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1144>
2022-09-03 09:58:46 +02:00
Kévin Commaille
0b2ebd3aae ci: Update for switch to fd.o 22.08 runtime
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1144>
2022-09-03 09:58:01 +02:00
Kévin Commaille
60e5057c57 room-history: Show message links URL on hover
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1143>
2022-09-02 14:04:29 +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
Kévin Commaille
1bf078c585
room: Print error message when deserialization fails 2022-09-01 10:07:34 +02:00
Kévin Commaille
837444b572
room: Improve decryption error logs
Don't print the encrypted source as it is not useful and can be obtained via
view source.
Lower log level to debug because it's common to lack encryption keys.
Print more details about the event when decryption fails to be able to find it.
2022-09-01 10:01:05 +02:00
Kévin Commaille
b48a325c39 misc: Update .gitignore for fenv
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1140>
2022-08-31 18:47:53 +00:00
Kévin Commaille
489f297fbd docs: Move build instructions and improve contributing guidelines
Co-authored-by: Alexandre Franke <afranke@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1140>
2022-08-31 18:47:53 +00:00
Daniel Maloschik
92e3aeb97b Make the account switcher check smaller 2022-08-31 08:04:25 +00:00