Commit graph

1615 commits

Author SHA1 Message Date
Christopher Davis
d0887529fa media_viewer: Remove zoom controls
Until we get a proper image viewer widget, we've
decided that it's best to remove the zoom controls
instead of having broken ones.
2019-04-02 07:43:04 +00:00
Piotr Drąg
f39555bbc4 Update Polish translation 2019-03-25 12:55:41 +01:00
Crom (Thibaut CHARLES)
d60ce58cf3
power_level badges for users in room settings
Used Avatar::circle badge parameter in MemberBox

rustfmt

Show power level next to the matrix user ID

Fix mxid & power level forcing window width

new design closer to @bertob's proposal

Gap around avatar's badge

Power level roles translation

css-themed avatar's colored dot

Reduced badge height
2019-03-18 20:46:12 +01:00
Balázs Meskó
ef8f3c8e58 Update Hungarian translation 2019-03-16 17:21:33 +00:00
Piotr Drąg
6ae32b5aa2 Update Polish translation 2019-03-16 11:34:35 +01:00
Daniel García Moreno
24913ca32c Merge branch 'merge-requests/389'
Slightly inaccurate flatpak build instructions

https://gitlab.gnome.org/GNOME/fractal/merge_requests/389
2019-03-15 21:42:39 +01:00
Christopher Davis
79f02009d5 Minor style changes to typing notifications
* In typing notifications with 2 people, bold both names
* Match the size of emotes
2019-03-15 11:08:14 +00:00
Daniel García Moreno
d62bcc2cbd Replace tabs with spaces in app macro 2019-03-15 10:50:49 +00:00
Xiang Fan
bdb4d5c7af account: Make stack non-homogeneous
The spinner should be at the center of the view, not the other child of
the stack.
2019-03-15 15:53:19 +08:00
Xiang Fan
5ea9b0c6a3 account: Fix foci
Some labels have focus and some buttons don't. This should fix it.
2019-03-15 15:52:31 +08:00
Christopher Davis
908a837b78 room_history: re-enable kinetic scrolling after loading more
Previously kinetic scrolling was disabled while loading more
messages and was never re-enabled. This could lead to rooms
not scrolling with touch gestures.

Now after we add widgets to the top, we re-enable kinetic
scrolling for our ScrolledWindow.

Fixes https://gitlab.gnome.org/GNOME/fractal/issues/458
2019-03-14 13:46:29 +00:00
Anders Jonsson
2421ac1bd7 Update Swedish translation 2019-03-13 09:59:27 +00:00
Daniel García Moreno
54a1144ea8 Merge branch 'merge-requests/387'
account_settings: Remove revealer boxes

https://gitlab.gnome.org/GNOME/fractal/merge_requests/387
2019-03-13 10:40:57 +01:00
Xiang Fan
04aca0129c account: Downgrade scroll for callbacks 2019-03-13 09:00:46 +00:00
Xiang Fan
330bca114b account: Reduce unwanted scrolling
"size-allocate" signal can be triggered even when the revealer's state
doesn't change, so we need to check if the revealer is actually
revealing.

The 'obvious' solutions for this don't work. If we connect to
"child-revealed", the scroll only happens *after* expanding the
revealer. If we connect to "reveal-child", we'll only scroll to the
bottom at the beginning of the revealer's expansion, so the list will
grow longer without scrolling.

The handling is still imperfect though, since we always scroll to bottom
regardless where the revealer is.
2019-03-13 09:00:46 +00:00
Christopher Davis
a3654a6ae1 fractal-gtk: Clean up some mistakes with loggerv
When allowing stable builds to test verbosity, there
were a few mistakes that caused the stable build to fail.
This commit cleans up those mistakes and makes sure
we don't have an unused variable that produced a warning
for stable builds.
2019-03-10 05:13:52 +00:00
Rafael Fontenelle
4637c042a3 Update Brazilian Portuguese translation 2019-03-09 21:34:24 +00:00
Daniel Mustieles
1327faef17 Update Spanish translation 2019-03-08 11:46:41 +00:00
Nathan Follens
f52f26449d Add Dutch translation 2019-03-08 10:14:08 +00:00
Christopher Davis
8995697f54 fractal-gtk: Use clap to set verbosity for release builds
By default, a release build of Fractal will only log errors.
A debug build will use the max level for development
purposes.

Running `fractal -v` will get users the same verbosity as
the debug build. Subsequent `-v`s will use increased
verbosity that will include extra info from our dependencies.
2019-03-07 20:59:51 +00:00
Christopher Davis
8f8a2d0a94 fractal-gtk: Use loggerv for log output
Previously we moved from println! to the `log` crate, but `log` requires you to set a logger in order to output anything. `loggerv` is one such logger, with detailed output that tells you exactly where a log comes from.

Closes https://gitlab.gnome.org/GNOME/fractal/issues/430
2019-03-07 20:59:51 +00:00
Piotr Drąg
a91a1a1681 Update Polish translation 2019-03-07 11:59:15 +01:00
Rasmus Rendal
48c8013be4 Add typing notifications
Add handler for incoming typing notifications in the sync loop
Add an appop handler for typing notifications to the frontend

Feature added for #305
2019-03-07 08:40:03 +00:00
Crom (Thibaut CHARLES)
b9071454fd
Slightly inaccurate flatpak build instructions 2019-03-06 18:43:41 +01:00
Xiang Fan
b2135efac2 account_settings: Remove revealer boxes 2019-03-04 09:53:47 +00:00
Christopher Davis
6c68fd2d40 build: Bump libhandy to 0.0.8
libhandy 0.0.8 fixes RTL support for HdyLeaflet.

Closes https://gitlab.gnome.org/GNOME/fractal/issues/444
2019-02-28 08:36:07 +00:00
Xiang Fan
9e92d3e1ab room_history: Add missing day divider between existing and old messages 2019-02-27 10:04:13 +00:00
Daniel Mustieles
ecbf32d489 Updated Spanish translation 2019-02-26 09:17:39 +01:00
mairandomness
e795177d27 create get_file_media_info 2019-02-25 14:41:41 -05:00
Piotr Drąg
2fa9b3f32b Update Polish translation 2019-02-25 13:49:59 +01:00
Robert Griesel
b4b38868ad Save and restore window state
Size, position and window maximize state are saved in gsettings
when closing Fractal. They are then restored on startup.

Window position is not working on all windowing systems.

Fixes #123
2019-02-25 11:01:33 +00:00
Xiang Fan
d7d7ae3004 cache: Fix reinitializing cache after destroying it
Currently the cache's directory is only initialized at first access. If
the cache gets destroyed the directory won't be created again, so future
cache data in the process cannot be saved. This can be reproduced by
logging in immediately after logout.
2019-02-25 07:54:14 +00:00
Xiang Fan
bba93fc3ea account: Fix minor typo 2019-02-24 21:37:50 +08:00
mairandomness
74fd2379be bump gst-editing services version to 1.14 2019-02-24 07:58:57 -05:00
mairandomness
9eb315a816 delete temporary thumbnail file 2019-02-24 07:58:57 -05:00
mairandomness
d71da4afec change thumb path to random file name in temp 2019-02-24 07:58:57 -05:00
mairandomness
a384c19472 create upload_thumbnail
change get_image_media_info to include thumbnail

propagate need for backend

try to debug the code

remove a println I forgot

Progress on using channel for thumb uploads

move thumbnail code to the backend

fix mimetype on json and only call ge_image_media_info on image files

remove random 'e' from util.rs

move get_image_media_info back to the frontend

create Info struct

hehe

lol
2019-02-24 07:58:57 -05:00
Mario Blättermann
25c369655f Update German translation 2019-02-22 21:49:34 +00:00
mairandomness
e8bb1c71e2 add proper type categorization on audio file upload
add duration to

remove unwraps and put early return in place

change branch in flatpak file to master for our master branch

add gstreamer-editing-services dependency

trade match statements for the ? operator

start video upload support

match mime types from the matrix-sdk library

delete meee
2019-02-21 20:59:01 -05:00
Yuri Myasoedov
6375f530eb Add Russian translation 2019-02-20 18:36:14 +00:00
Julian Sparber
6aa7230cdf use gspell from crates 2019-02-18 09:25:44 +00:00
Julian Sparber
29a87501af backend: use gloable timeout for http request 2019-02-18 08:55:22 +00:00
Julian Sparber
dd9a14ddce backend: create only one reqwest client 2019-02-18 08:55:22 +00:00
Balázs Meskó
9446b2d716 Add Hungarian translation
(cherry picked from commit aedbeb241e)
2019-02-17 23:44:21 +00:00
Artem Polishchuk
5753d37582 Add Ukrainian translation 2019-02-16 14:32:12 +00:00
Christopher Davis
345c267d9f fractal-gtk: Use HdyDialog for Dialogs
HdyDialog is an adaptive version of GtkDialog that's always modal and adapts to fit the size of the screen if folded with HdyLeaflet. In the process of changing to use HdyDialog the width_request of the dialogs was moved from the window to their HeaderBars.

Related to https://gitlab.gnome.org/GNOME/fractal/issues/377
2019-02-15 12:03:11 -05:00
Christopher Davis
1d355eacb6 meson.build: Bump libhandy dependency
HdyDialog is a new feature in 0.0.7 that we need.
2019-02-15 11:58:04 -05:00
Alejandro Domínguez
2d8e9764e3 API: use global variable for device name 2019-02-15 13:19:52 +00:00
Alejandro Domínguez
dc924b1be0 API: Implement and use user request and response types 2019-02-15 13:19:52 +00:00
Alejandro Domínguez
1ce06f4245 API: rework authentication in register model 2019-02-15 13:19:52 +00:00