Mélanie Chauvel
dbca2ad3a5
[Glitch] Make media_gallery.toggle_visible less confusing to translate
...
Port 978d92a628
to glitch-soc
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Thibaut Girka
34b08796de
Fix unsightly re-layout delay for media previews
4 years ago
Thibaut Girka
2775132b00
Fix WebUI crash in edge case when media display size causes scroll
...
Fixes #1406
4 years ago
Sasha Sorokin
2e73171628
[Glitch] Replace repetitive blurhash code with component ( #14267 )
...
Port 7418e0e613
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
9d737108a6
[Glitch] Fix audio/video/images/cards not reacting to window resizes in web UI
...
Port d0dc37eadb
to glitch-soc
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Mélanie Chauvel
437f457b9f
[Glitch] Change wording from “Hide media” to “Hide image/images” in Web UI
...
Port 006af53406
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Mélanie Chauvel (ariasuni)
8dede28b01
[Glitch] Change the tooltip "Toggle visibility" to "Hide media" in web UI
...
Port 399fa48f8e
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
d6235f63a5
[Glitch] Change reported media attachments to always be hidden in admin UI
...
Port e499b6ad7e
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
BSKY
e02b77a1f4
[Glitch] Add noopener and/or noreferrer
...
Port 483cf4d52a
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
080bdf6949
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
5 years ago
Eugen Rochko
8f54a3efe0
[Glitch] Fix uncached media in web UI not being clickable
...
Port acf168f1a2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
8ecdf54a75
[Glitch] Add "not available" label on unknown media attachments
...
Port 59d873e1e5
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
dd97db20d0
[Glitch] Add option to disable blurhash previews
...
Port 4b3d91dc2c
to glitch-soc
5 years ago
Eugen Rochko
a0abbbe8cd
[Glitch] Add media description as title to links of unknown media attachments
...
Port front-end changes from a266d7f1a2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
c1619a5c24
[Glitch] Add keyboard shortcut to hide/show media
...
Port 7ee189fa60
and 9e238804ea
to glitch-soc
6 years ago
Eugen Rochko
8050f86d04
[Glitch] Make the "mark media as sensitive" button more obvious in web UI
...
Port cc39785d45
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
3b9ff1fa34
[Glitch] Change account gallery in web UI
...
Port db73f8e585
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
87a7a9a4df
[Glitch] Add blurhash
...
Port front-end changes from a6d2fe7165
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
ae88690fa6
Fix opening/closing gifv sometimes making the timeline scroll
6 years ago
Thibaut Girka
043978a20e
Remove leftover console.log
6 years ago
ash lea
00bc35891b
add local setting to auto reveal media behind cw
6 years ago
Thibaut Girka
3d5ef5c497
Avoid two-step rendering of statuses as much as possible
...
Cache width shared by Video player, MediaGallery and Cards at the
ScrollableList level, pass it down through StatusList and Notifications.
6 years ago
Thibaut Girka
fc64d1d03e
[Glitch] Stop gifv timeline preview explicitly when open the media gallery
...
Port 2a113f0185
to glitch-soc
6 years ago
Thibaut Girka
e80f770118
Render placeholder instead of image when MediaGallery container width isn't known
6 years ago
Thibaut Girka
ca163ec35d
In detailed status view, take displayMedia setting into account when changing media
...
Fixes #819
6 years ago
Thibaut Girka
9614abc713
Update mediaGallery component's width when opening CWs
6 years ago
Thibaut Girka
536d95ae7c
[Glitch] Add support for new display_media setting
...
Port bb8afc4608
to glitch-soc
[API] [vanilla required] [glitch-soc optional] initial_state show_sensitive_media boolean changed to show_media string with options "default", "hide_all", "show_all"
6 years ago
Thibaut Girka
6af379cf53
Prevent clicks on video from initiating selections
6 years ago
Thibaut Girka
8099901c9a
Disable focus points for letterboxed media
6 years ago
Thibaut Girka
4567e42341
Media gallery styling closer to upstream's
6 years ago
Thibaut Girka
d83eb4f9c7
[Glitch] Do not override ctrl/cmd+click in media gallery
6 years ago
Thibaut Girka
1295515bd4
[Glitch] Add missing video descriptions
...
Port 5b773a2c9c
to glitch-soc
6 years ago
Thibaut Girka
a68e7db2fb
[Glitch] Fix Chrome issue with sizes="0px"
6 years ago
Thibaut Girka
3315877afe
Fix width only being set for standalone media
7 years ago
Thibaut Girka
df3fa2cb78
[Glitch] Use real container width in MediaGallery srcSet
...
Port 765a8dad9a
to glitch-soc
7 years ago
Thibaut Girka
3333cce41e
Hide media in report modal regardless of whether they are marked sensitive
...
The rationale behind this is that if the user wants to report violent media,
they might not want to see it repeatedly. The “sensitive” property is still
kept, displaying different messages for hidden media depending on whether
they are marked as sensitive.
7 years ago
beatrix
1b58c44557
Merge pull request #435 from ThibG/glitch-soc/features/public-modals
...
[Glitch] Show media modal on public pages
7 years ago
Thibaut Girka
d6693f3ae3
[Glitch] Show media modal on public pages
...
Port 47d2277ef1
to glitch-soc
7 years ago
Thibaut Girka
9b72f23fdd
Only compute height dynamically for standalone media
...
This prevents changing the status' height and triggering jumps in the TL
7 years ago
Thibaut Girka
e0bffe8856
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 865c7e7178
* 62d18a3f9b
* 15ec9431be
* c1d44284ca
7 years ago
Thibaut Girka
c4209e12f6
Use javascript to set MediaGallery height automatically
7 years ago
Thibaut Girka
b283f463c9
Revert some glitch-specific refactoring
...
In order to keep my sanity when porting changes between glitch-soc and upstream.
7 years ago
Thibaut Girka
6153d6a6dc
[Glitch] Fix media button type
...
Port 6cb5d71e5f
to glitch-soc
7 years ago
Thibaut Girka
4b1909612a
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 219b28e172
to glitch-soc
7 years ago
kibigo!
ff6ecdda4e
Add missing comma
7 years ago
kibigo!
95459fc5bd
Show SENSITIVE tag on sensitive images ( #267 )
7 years ago
kibigo!
882055afd0
Rename themes -> flavours ? ?
7 years ago