Julian Sparber
8993f5fdfd
avatar: refactor avatar loading and caching
...
* use the same method everywhere to display an avatar
* move code to generate letter avatars to a separate crate
* use the generated avatar as a fallback till the real avatar is
avaibile
* remove gtk dependecies from fractal-matrix-api
Note: The avatar in room details dialog is borken but the dialog will be
replaced soon. Also updating the username in the room history doesn't
work, the room history needs a refactor to resolve some issues.
8 years ago
Alexandre Franke
33fa0560a9
Merge branch 'timeout-fixme-note' into 'master'
...
media_viewer.rs: Add a FIXME for an improvement
See merge request World/fractal!153
8 years ago
Eisha CHEN-YEN-SU
9a3a156876
media_viewer.rs: Add a FIXME for an improvement
...
This adds a FIXME that points to possible improvement that would require
further investigation.
8 years ago
Daniel Garcia Moreno
c83cb1b20f
Merge branch 'fullscreen-button-icon' into 'master'
...
MediaViewer: Change full screen button icon
See merge request World/fractal!152
8 years ago
Eisha CHEN-YEN-SU
5c0240313b
MediaViewer: Change full screen button icon
...
This changes the full screen's button icon when in full screen mode to
show the icon "view-restore-symbolic" as it is more appropriate.
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Daniel García Moreno
f74fbb5729
Escape management in only one method
...
I've moved the leave full screen on escape from the media_viewer to the
existing escape method in state.rs to have all the behaviour in only one
place.
Doing this I've also added the functionality to go back to the chat when
we're in the MediaViewer and to do this I've to modify a little the
autocomplete, to avoid the close when we press escape on the
autocomplete popover.
I've also changed the key management on key press instead of key release
because the keypress is grabbed by child windows or popovers and the
release isn't.
Close #277
8 years ago
Daniel García Moreno
6999de5777
Merge branch 'media-viewer-headerbar-fullscreen'
8 years ago
Daniel García Moreno
03b3366d01
MediaViewer: replace if-let chain with and_then
...
I've replaced the 4 deep if-let using the Option and_then and map
methods.
The last map method transform the ptr to an Option<bool> type, to be
able to use the ? operator inside this closure.
8 years ago
Daniel García Moreno
0365818900
MediaViewer: Fullscreen bar with full width
8 years ago
Piotr Drąg
a305429a17
Update Polish translation
8 years ago
Eisha CHEN-YEN-SU
936e552236
MediaViewer: Modify a button to leave full screen
...
This modifies the full screen button so that it enables the user to
leave the full screen mode when already in full screen.
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Eisha CHEN-YEN-SU
ad61ec17c9
MediaViewer: Hide some buttons in FS header bar
...
This hides the back and close buttons in the full screen header bar
in order to avoid unexpected behaviors.
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Eisha CHEN-YEN-SU
64f6c06fcb
MediaViewer: Implement the headerbar timer
...
This implements the timer that will hide the headerbar after some
time of inactivity.
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Eisha CHEN-YEN-SU
b914269109
MediaViewer: Implement the revealing of headerbar
...
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Eisha CHEN-YEN-SU
9d3769fa7a
MediaViewer: Move headerbar in full screen mode
...
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Eisha CHEN-YEN-SU
3a00618fcc
UI: Add a headerbar revealer to the overlay
...
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Daniel Garcia Moreno
abc0716586
Merge branch 'translation' into 'master'
...
Add Catalan language
See merge request World/fractal!151
8 years ago
Jordi Mas
45658532f9
Add Catalan language
8 years ago
Daniel Mustieles
d1dba649c0
Update Spanish translation
8 years ago
Jordan Petridis
0310a7cfd3
CI: disable gitlab pages docs for now
...
There seems to be some kind of problem with the CI runners and where they get their cache that causes them to not find the gstreamer deps.
8 years ago
Daniel Garcia Moreno
86edb9f1c5
Merge branch 'wip/piotrdrag/grammar-fix' into 'master'
...
message: Grammar fix in a translatable string
See merge request World/fractal!148
8 years ago
Piotr Drąg
2055d427ad
message: Grammar fix in a translatable string
8 years ago
Piotr Drąg
714c6d3099
Update POTFILES.in
8 years ago
Jordan Petridis
215aef2ecb
CI: add the rest of the gst deps.
8 years ago
Daniel García Moreno
51e8172ed6
ci: Add gstreamer dep to pages deploy step
8 years ago
Jordan Petridis
98f6a60a3b
AudioPlayer: Use Weak ref counting in order to not keep the object alive.
...
We were passing a strong ref to the gstreamer callbacks which was causing
them to keep the `AudioPlayerWidget` struct alive even after the gtk widget
had been destroyed.
8 years ago
Jordan Petridis
d1cfc8b633
Update gst crates and add pulseaudio to the flatpak manifest.
8 years ago
Jordan Petridis
16a062c105
build: do not append params if they don't exist.
8 years ago
Jordan Petridis
c4f69d6f6c
backend: Add command to retrieve a media url.
8 years ago
Jordan Petridis
5a9ffa1b25
Message: Move the download btn to the right of the audio player.
8 years ago
Jordan Petridis
f291efed67
AudioPlayer: Wire it to the Message widget.
8 years ago
Jordan Petridis
8df8182b2a
AudioPlayer: Add an api to initialize a stream.
8 years ago
Jordan Petridis
733e279461
AudioPlayer: Rename the widget to AudioPlayerWidget.
8 years ago
Jordan Petridis
efb685ac6a
AudioPlayer: Wire the labels and slider to the gst_player.
8 years ago
Jordan Petridis
aba59f6197
AudioPlayer: Initial yak shaving, not wired up yet.
8 years ago
Jordan Petridis
fe2da0bfb3
AudioPlayer: add the glade .ui file containing the widget.
8 years ago
Daniel García Moreno
d959acfb01
css: Tmp message background based on theme_bg_color
...
Fix #275
8 years ago
Jordan Petridis
49769c7cad
build: Cache CARGO_HOME again
...
This was accidentally deleted in 1905a2b5d1
8 years ago
Jordan Petridis
b581ae4d01
fractal-gtk: Remove pining of some deps.
...
This was due to a bug. It has since been fixed and
it's no longer needed.
8 years ago
Jordan Petridis
3c86e30c59
Move some `extern crate` declarations to the main.rs file.
8 years ago
Daniel García Moreno
7250f95206
New release 3.29.1
...
New features:
* Media viewer for images
8 years ago
Daniel García Moreno
5e562cd324
MediaViewer: refactor code to avoid repetition
8 years ago
Eisha CHEN-YEN-SU
9feebe734c
MediaViewer: Resize image in full screen mode
...
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Eisha CHEN-YEN-SU
fbabd1e839
MediaViewer: Adjust zoom buttons sensitivity
...
This allows to adjust the zoom buttons sensitivity when the user is
not supposed to be able to zoom in or out.
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Eisha CHEN-YEN-SU
58f479d623
UI: Add a 6px padding to the popover menu
...
See https://gitlab.gnome.org/World/fractal/issues/265
8 years ago
Piotr Drąg
4383ad805e
Update Polish translation
8 years ago
Daniel Mustieles
8817877930
Update Spanish translation
8 years ago
Daniel García Moreno
6d436d36e1
i18n: Detect plural i18n functions
8 years ago
Daniel García Moreno
0ff496d507
Use i18n functions instead of direct gettext
8 years ago
Daniel García Moreno
c934f38c39
i18n: Error control in regex
8 years ago