Eugen Rochko
008063d562
[Glitch] Change reported media attachments to always be hidden in admin UI
...
Port 1ded3bb752
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
BSKY
59946f9231
[Glitch] Add noopener and/or noreferrer
...
Port fccf83e1f2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
f2b307af25
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
b86292af33
[Glitch] Fix uncached media in web UI not being clickable
...
Port 34adc8784a
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
23c513846a
[Glitch] Add "not available" label on unknown media attachments
...
Port d344289431
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
4175f13155
[Glitch] Add option to disable blurhash previews
...
Port 3086c645fd
to glitch-soc
6 years ago
Eugen Rochko
d7eb580053
[Glitch] Add media description as title to links of unknown media attachments
...
Port front-end changes from 49ebda4d49
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
b4d4138cf9
[Glitch] Add keyboard shortcut to hide/show media
...
Port a472190729
and 988342a56c
to glitch-soc
6 years ago
Eugen Rochko
f59973cc85
[Glitch] Make the "mark media as sensitive" button more obvious in web UI
...
Port 05ef3462ba
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
a5da59f140
[Glitch] Change account gallery in web UI
...
Port 3f143606fa
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
ccf4f3240a
[Glitch] Add blurhash
...
Port front-end changes from fba96c808d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
fbec0edf08
Fix opening/closing gifv sometimes making the timeline scroll
6 years ago
Thibaut Girka
a1c6e6de1b
Remove leftover console.log
6 years ago
ash lea
f534f4869e
add local setting to auto reveal media behind cw
6 years ago
Thibaut Girka
049c9a3b97
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
e03813cf0a
[Glitch] Stop gifv timeline preview explicitly when open the media gallery
...
Port cf3c0fc38c
to glitch-soc
6 years ago
Thibaut Girka
0d3612482e
Render placeholder instead of image when MediaGallery container width isn't known
6 years ago
Thibaut Girka
86527024aa
In detailed status view, take displayMedia setting into account when changing media
...
Fixes #819
6 years ago
Thibaut Girka
dfa5b0576f
Update mediaGallery component's width when opening CWs
6 years ago
Thibaut Girka
6ad7606909
[Glitch] Add support for new display_media setting
...
Port f7a6f9489d
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
925c185ef9
Prevent clicks on video from initiating selections
6 years ago
Thibaut Girka
8622dccaf1
Disable focus points for letterboxed media
6 years ago
Thibaut Girka
be644e3b7c
Media gallery styling closer to upstream's
6 years ago
Thibaut Girka
8183d2ed55
[Glitch] Do not override ctrl/cmd+click in media gallery
6 years ago
Thibaut Girka
937cd03a9a
[Glitch] Add missing video descriptions
...
Port ac092d03e7
to glitch-soc
6 years ago
Thibaut Girka
33c1607c83
[Glitch] Fix Chrome issue with sizes="0px"
7 years ago
Thibaut Girka
d0b2f71501
Fix width only being set for standalone media
7 years ago
Thibaut Girka
3ad3cee44c
[Glitch] Use real container width in MediaGallery srcSet
...
Port 22e067bf5c
to glitch-soc
7 years ago
Thibaut Girka
658ac4396c
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
Thibaut Girka
7a68079b3f
[Glitch] Show media modal on public pages
...
Port ff7941e652
to glitch-soc
7 years ago
Thibaut Girka
779aa707ec
Only compute height dynamically for standalone media
...
This prevents changing the status' height and triggering jumps in the TL
7 years ago
Thibaut Girka
dcc1c10937
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 90f12f2e5a
* b170627ceb
* 11697d6894
* 56eb5c3f34
7 years ago
Thibaut Girka
f1e25b672a
Use javascript to set MediaGallery height automatically
7 years ago
Thibaut Girka
a95f8271be
Revert some glitch-specific refactoring
...
In order to keep my sanity when porting changes between glitch-soc and upstream.
7 years ago
Thibaut Girka
c5dd4ed1d5
[Glitch] Fix media button type
...
Port ecdac9017e
to glitch-soc
7 years ago
Thibaut Girka
dfe8abb8cd
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 76f3d5d16b
to glitch-soc
7 years ago
kibigo!
60433d03f5
Add missing comma
7 years ago
kibigo!
5d2ef7a616
Show SENSITIVE tag on sensitive images ( #267 )
7 years ago
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
7 years ago
kibigo!
672ace5a20
Media styling
7 years ago
kibigo!
45c44989c8
Forking glitch theme
7 years ago
Nolan Lawson
3de22a82bf
Refactor initial state: reduce_motion and auto_play_gif ( #5501 )
7 years ago
Daggertooth
b110cc542f
Add image descriptions to title attribute to view on mouse hover/long-press. ( #5137 )
...
* Add image descriptions to `title` attribute to view on mouse hover/long-press.
* Too many title properties may spoil the broth.
7 years ago
Nolan Lawson
0060f98847
Remove react-sizeme ( #5143 )
...
* Remove react-sizeme
* Fix aspect ratio in "sensitive" mode
7 years ago
Eugen Rochko
4ec1771165
Add ability to specify alternative text for media attachments ( #5123 )
...
* Fix #117 - Add ability to specify alternative text for media attachments
- POST /api/v1/media accepts `description` straight away
- PUT /api/v1/media/:id to update `description` (only for unattached ones)
- Serialized as `name` of Document object in ActivityPub
- Uploads form adjusted for better performance and description input
* Add tests
* Change undo button blend mode to difference
7 years ago
Lynx Kotoura
259181c41a
Fix size of single media in media-gallery ( #5098 )
7 years ago
abcang
e756c4f5ec
Fix media spoiler of DetailedStatus ( #5071 )
7 years ago
Eugen Rochko
2f079573ed
In detail status view, display attachment uncropped if there's only one ( #5054 )
...
* In detail status view, display attachment uncropped if there's only one
* Make media spoiler the size of the media it hides, enable on static
7 years ago
Naoki Kosaka
cea5597722
Fix hasSize condition in secSet and sizes. ( #4969 )
7 years ago
Sorin Davidoi
e44f03bc71
Improve accessibility (part 7) ( #4457 )
...
* fix(media_modal): Keyboard navigation
* fix(column_back_button): Use native button
* fix(media_gallery): Keyboard navigation
* fix(status_content): Make CW content focusable
8 years ago