Claire
bf6b66bf32
Move more modules from flavours/glitch/utils to flavours/glitch
2022-10-11 12:25:45 +02:00
Claire
874cd0e883
Rename flavours/glitch/util into flavours/glitch/utils
2022-10-11 11:31:11 +02:00
Claire
3bf201ddaa
Move flavours/glitch/util/initial_state to flavours/glitch/initial_state
2022-10-11 10:17:04 +02:00
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>
2021-05-09 10:50:39 +02:00
Thibaut Girka
34b08796de
Fix unsightly re-layout delay for media previews
2020-11-04 18:53:52 +01:00
Thibaut Girka
2775132b00
Fix WebUI crash in edge case when media display size causes scroll
...
Fixes #1406
2020-08-17 15:46:18 +02:00
Sasha Sorokin
2e73171628
[Glitch] Replace repetitive blurhash code with component ( #14267 )
...
Port 7418e0e613
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 16:59:53 +02:00
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>
2020-07-02 17:31:09 +02:00
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>
2020-05-28 14:08:05 +02:00
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>
2020-03-08 20:45:36 +01:00
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>
2020-01-20 15:30:45 +01:00
BSKY
e02b77a1f4
[Glitch] Add noopener and/or noreferrer
...
Port 483cf4d52a
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:36:25 +01:00
Thibaut Girka
080bdf6949
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
2019-09-09 18:36:43 +02:00
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>
2019-09-05 14:02:04 +02:00
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>
2019-09-05 13:06:41 +02:00
ThibG
dd97db20d0
[Glitch] Add option to disable blurhash previews
...
Port 4b3d91dc2c
to glitch-soc
2019-06-26 23:19:26 +02:00
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>
2019-06-24 16:00:42 +02:00
Thibaut Girka
c1619a5c24
[Glitch] Add keyboard shortcut to hide/show media
...
Port 7ee189fa60
and 9e238804ea
to glitch-soc
2019-05-27 19:43:15 +02:00
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>
2019-05-04 20:41:21 +02:00
Eugen Rochko
3b9ff1fa34
[Glitch] Change account gallery in web UI
...
Port db73f8e585
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:54:57 +02:00
Eugen Rochko
87a7a9a4df
[Glitch] Add blurhash
...
Port front-end changes from a6d2fe7165
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:07:44 +02:00
Thibaut Girka
ae88690fa6
Fix opening/closing gifv sometimes making the timeline scroll
2019-04-16 22:20:23 +02:00
Thibaut Girka
043978a20e
Remove leftover console.log
2019-03-11 14:39:45 +01:00
ash lea
00bc35891b
add local setting to auto reveal media behind cw
2019-03-11 12:14:45 +01:00
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.
2019-02-10 22:54:25 +01:00
Thibaut Girka
fc64d1d03e
[Glitch] Stop gifv timeline preview explicitly when open the media gallery
...
Port 2a113f0185
to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka
e80f770118
Render placeholder instead of image when MediaGallery container width isn't known
2018-11-25 11:29:56 +01:00
Thibaut Girka
ca163ec35d
In detailed status view, take displayMedia setting into account when changing media
...
Fixes #819
2018-11-15 16:38:50 +01:00
Thibaut Girka
9614abc713
Update mediaGallery component's width when opening CWs
2018-10-21 16:09:07 +02:00
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"
2018-10-01 16:48:55 +02:00
Thibaut Girka
6af379cf53
Prevent clicks on video from initiating selections
2018-09-21 12:56:13 +02:00
Thibaut Girka
8099901c9a
Disable focus points for letterboxed media
2018-09-04 13:31:55 +02:00
Thibaut Girka
4567e42341
Media gallery styling closer to upstream's
2018-09-04 13:31:55 +02:00
Thibaut Girka
d83eb4f9c7
[Glitch] Do not override ctrl/cmd+click in media gallery
2018-09-04 13:31:55 +02:00
Thibaut Girka
1295515bd4
[Glitch] Add missing video descriptions
...
Port 5b773a2c9c
to glitch-soc
2018-08-27 20:21:23 +02:00
Thibaut Girka
a68e7db2fb
[Glitch] Fix Chrome issue with sizes="0px"
2018-07-10 10:53:36 +02:00
Thibaut Girka
3315877afe
Fix width only being set for standalone media
2018-05-21 18:25:41 +02:00
Thibaut Girka
df3fa2cb78
[Glitch] Use real container width in MediaGallery srcSet
...
Port 765a8dad9a
to glitch-soc
2018-05-21 17:55:07 +02:00
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.
2018-05-07 15:00:55 +02:00
beatrix
1b58c44557
Merge pull request #435 from ThibG/glitch-soc/features/public-modals
...
[Glitch] Show media modal on public pages
2018-04-22 12:07:29 -04:00
Thibaut Girka
d6693f3ae3
[Glitch] Show media modal on public pages
...
Port 47d2277ef1
to glitch-soc
2018-04-20 15:58:36 +02:00
Thibaut Girka
9b72f23fdd
Only compute height dynamically for standalone media
...
This prevents changing the status' height and triggering jumps in the TL
2018-04-19 11:16:18 +02:00
Thibaut Girka
e0bffe8856
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 865c7e7178
* 62d18a3f9b
* 15ec9431be
* c1d44284ca
2018-04-19 11:16:18 +02:00
Thibaut Girka
c4209e12f6
Use javascript to set MediaGallery height automatically
2018-04-19 11:16:18 +02:00
Thibaut Girka
b283f463c9
Revert some glitch-specific refactoring
...
In order to keep my sanity when porting changes between glitch-soc and upstream.
2018-04-19 11:16:18 +02:00
Thibaut Girka
6153d6a6dc
[Glitch] Fix media button type
...
Port 6cb5d71e5f
to glitch-soc
2018-04-14 12:30:55 +02:00
Thibaut Girka
4b1909612a
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 219b28e172
to glitch-soc
2018-04-14 12:27:14 +02:00
kibigo!
ff6ecdda4e
Add missing comma
2018-01-08 18:38:28 -08:00
kibigo!
95459fc5bd
Show SENSITIVE tag on sensitive images ( #267 )
2018-01-08 18:25:29 -08:00
kibigo!
882055afd0
Rename themes -> flavours ? ?
2017-12-03 23:26:40 -08:00