Commit graph

2096 commits

Author SHA1 Message Date
Yuki Okushi
80b3fe61fc
Remove unnecessary rustfmt config 2020-08-13 14:19:01 +09:00
Daniel García Moreno
dbd6e95551 flatpak: Do not cleanup /share
The cleanup of /share breaks translations in flatpak so we should avoid
to cleanup /share completely on any module.
2020-08-07 14:02:09 +02:00
Daniel García Moreno
be6501f923 Release 4.4.0 2020-08-07 10:28:36 +02:00
Daniel García Moreno
cb0125acbe Use custom either with custom version number
This is needed to avoid the cargo vendor error:
found duplicate version of package `either v1.5.3

I've just updated the version number of either in our custom fork to
1.5.99 so we've no conflict here.
2020-08-07 10:28:36 +02:00
Alexandre Franke
c8ca4c53a1 Update release notes for 4.4 2020-08-07 09:18:37 +02:00
Daniel García Moreno
0febc26f53 Fix join to room by alias
The join_room method parameter was a RoomId so it was not possible to
join to a room by alias. This patch changes that parameter to a
RoomIdOrAliasId so we can use a RoomId or an AliasId.

This patch also encode the `#` in the AliasId because in other case, the
url is not correct and the request will fail.

Besides the above fixes, this patch also improves a bit the error
management for the join_room method, so the error dialog will have more
information, for example if the room is not found on the server or
something like that. This information is the direct response from the
matrix server, but I think it's okay to show that to the user as
feedback because in other case the user should run Fractal in debug mode
to know what's happening.

Fixes https://gitlab.gnome.org/GNOME/fractal/-/issues/658
2020-08-05 20:06:15 +02:00
Daniel García Moreno
de339b569f directory: Fix search for other homeservers
The matrix server request expect the "server" parameter to be a string.
If the "server" in Parameters is "Option<Host<String>>" it serializes to
somethign like 'Domain("matrix.org")'.

This patch makes the server parameter a string so the request is built
correctly everytime. The "Host" enum is converted to an string during
the parsing.
2020-08-05 06:13:39 +00:00
Rafael Fontenelle
e420e2756d Update Brazilian Portuguese translation 2020-08-04 14:34:21 +00:00
Jordan Petridis
a28d0cdf34 ci: make the dependency of nightly push explicit 2020-08-03 21:41:23 +00:00
Jordan Petridis
372c99e3d6 ci: flatpak: remove meson-args variable
We no longer need to manually keep it in sync with the ci.
2020-08-03 21:40:41 +00:00
Daniel García Moreno
ecde3e070c Merge branch 'jcaesar/fractal-master' 2020-08-03 08:20:43 +02:00
Lionir Deadman
d4ba46d402 Apply 1 suggestion(s) to 1 file(s) 2020-08-02 12:05:13 +00:00
Lionir Deadman
6bcb5e90ab The effort to get encryption in Fractal has changed, this is made to reflect that. 2020-08-02 12:05:13 +00:00
Piotr Drąg
92e6195980 Update Polish translation 2020-08-02 13:33:44 +02:00
Thibault Martin
feaabb2215 Update French translation 2020-07-31 14:12:03 +00:00
Kukuh Syafaat
f291b08659 Update Indonesian translation 2020-07-31 12:16:25 +00:00
Baurzhan Muftakhidinov
d68e62e1a5 Add Kazakh translation 2020-07-31 11:57:40 +00:00
Daniel Mustieles
0e0a549a85 Updated Spanish translation 2020-07-31 13:52:58 +02:00
Daniel Șerbănescu
e7240b789e Update Romanian translation 2020-07-31 11:23:07 +00:00
Daniel García Moreno
06f4e6ed14 Fix dw_media errors 2020-07-30 16:31:16 +00:00
Jonas Platte
0ee41c6897 Upgrade ruma-identifiers to 0.17 and use DeviceId more 2020-07-30 16:31:16 +00:00
Daniel García Moreno
9f7c92c498 Add access token to get_profile requests
Some servers requires the authentication to retrieve the user profile so
we need to include the access_token in these requests.

Fix https://gitlab.gnome.org/GNOME/fractal/-/issues/522
2020-07-30 15:10:30 +00:00
Anders Jonsson
eea6086097 Update Swedish translation 2020-07-30 11:33:42 +00:00
Yuri Chornoivan
22cb4dc88b Update Ukrainian translation 2020-07-29 13:59:17 +00:00
Alexandre Franke
5921e2b1ee media: add tooltip to fullscreen button
Fixes #272
2020-07-28 20:17:12 +02:00
Bilal Elmoussaoui
ab56037822 misc: use the nightly icon for devel
this also remove the desktop file suffix
as it's not needed to distinguish both versions anymore
2020-07-28 13:22:51 +02:00
Alejandro Domínguez
1c75b554f5 Remove usage of Url in (de)serialization structs
It seems that Synapse sometimes sends junk data in fields where a URL
is expected. Since there are plans to use the ruma libraries and they
don't use Url intentionally, doing this fixes #642 and adapts the code
for the future inclusion of ruma.
2020-07-23 05:29:10 +02:00
Daniel García Moreno
cd012a8a17 fractal-gtk: Remove avatar from cache on update
When the avatar is updated the cached image should be removed in order
to force a download of the new one.

This patch adds a new function to remove a user info from the cache and
do call to this new function when the user avatar is updated.
2020-07-22 11:39:57 +02:00
Daniel García Moreno
b60122beb5 fractal-gtk: Add AppOp to AccountSettings
During the App::connect_gtk the login_data is None, so the
AccountSettings is not initialized correctly.

We need to get the login_data when we are going to change the avatar,
because that data can change during the app usage.

This patch uses the AppOp shared reference to get the updated data just
on click.

Fix https://gitlab.gnome.org/GNOME/fractal/-/issues/652
2020-07-22 10:30:01 +02:00
Alejandro Domínguez
66a642530f Separate the use of URLs and local paths 2020-07-21 16:39:19 +02:00
Alexandre Franke
283301a848 Update French translation 2020-07-21 10:11:45 +00:00
Boyuan Yang
6cfeb6445c Update Chinese (China) translation 2020-07-19 17:55:51 +00:00
Piotr Drąg
b2581d5333 Update Polish translation 2020-07-19 13:55:28 +02:00
Rafael Fontenelle
7bd7523d90 Update Brazilian Portuguese translation 2020-07-18 11:08:47 +00:00
James Westman
36ce8cd1cf media_viewer: Swipe to navigate
Adds a swipe gesture to navigate back and forth in the media viewer.

Also removes the scrolled window and viewport, since they aren't necessary.
2020-07-16 16:16:51 -05:00
Florentina Mușat
b2de1700ca Update Romanian translation 2020-07-16 11:12:39 +00:00
Florentina Mușat
914f6ea531 Update Romanian translation 2020-07-14 15:03:02 +00:00
Yuri Chornoivan
4f95f832af Update Ukrainian translation 2020-07-14 10:35:02 +00:00
Alejandro Domínguez
b1d7311bb2 Return errors without conversion 2020-07-13 17:09:22 +02:00
Alejandro Domínguez
0f15121615 Make get_client() infallible
If getting the system proxies fails, the request will fail.
This will enable us to use only the reqwest error type easily
in many places.
2020-07-12 17:51:38 +02:00
Piotr Drąg
783e7d388e Update Polish translation 2020-07-12 13:19:36 +02:00
Florentina Mușat
f314183ca5 Update Romanian translation 2020-07-10 13:41:29 +00:00
Alejandro Domínguez
23641cf436 Remove unused crates 2020-07-10 07:05:56 +00:00
Alejandro Domínguez
5854606889 Remove glib_thread stuff 2020-07-10 07:05:56 +00:00
Alejandro Domínguez
7c694015dd Fix account details loading
Applies the changes proposed by Link Dupont. Fix #592
2020-07-09 17:18:21 +00:00
Yuri Chornoivan
31fc6f259e Update Ukrainian translation 2020-07-09 11:32:41 +00:00
Alejandro Domínguez
67c7b018b7 Get rid of upgrade_weak! and use glib::clone! where possible 2020-07-09 06:03:19 +00:00
Alejandro Domínguez
4c425b9a6c Use clone! macro from glib 2020-07-09 06:03:19 +00:00
Florentina Mușat
4bd7a0223c Update Romanian translation 2020-07-08 11:52:37 +00:00
Daniel García Moreno
173681729b Update POTFILES.in with latest source files 2020-07-07 18:05:14 +02:00