Eugen Rochko
5e143db13a
[Glitch] Don't show translate button to logged-out users
...
Port part of e623c302d5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
b5ee275ed9
[Glitch] Fix translations not being formatted, other issues in web UI
...
Port 55a2e9b5be
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
a3052dad04
[Glitch] Add user content translations with configurable backends
...
Port 0d6b878808
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
2bc22be66c
[Glitch] Add aria-expanded to content warning toggle button
...
Port 622f603ac7
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
a2942fd0b8
[Glitch] Fix `nofollow` rel being removed in web UI
...
Port 9757c917da
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
d3879c07b1
Rename flavours/glitch/util into flavours/glitch/utils
2 years ago
Claire
26b687160b
Move flavours/glitch/util/initial_state to flavours/glitch/initial_state
2 years ago
Claire
a5f81e1abd
Improve interaction between out-of-CW attachments and collapsed toots
2 years ago
Jeong Arm
1db92b510d
[Glitch] Add lang html attr to each posts
...
Port dc7e2985e6
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
a7f6524c6b
[Glitch] Change routing paths to use usernames in web UI
...
Port 52e5c07948
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire
7aa4d481db
Fix media icons not being added in CWs
3 years ago
Claire
6bbcd99f14
Fix media attachments not being displayed on polls
...
Fixes #1595
3 years ago
Claire
ddf3f4cf85
Fix clicking on the pop-up player placeholder expanding the clicked toot
3 years ago
ThibG
e1fa06c459
[Glitch] Change custom emoji to be animated when hovering container
...
Port 3efa0c54b6
to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
ThibG
c48e2a48ba
[Glitch] Fix Google Translate breaking web interface
...
Port 7d0031a515
to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Eugen Rochko
b0722fbc14
[Glitch] Change RTL detection to rely on unicode-bidi paragraph by paragraph
...
Port 1f564051b6
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
4 years ago
Thibaut Girka
d42a23fdbe
Fix clicking the audio player also opening toots in detailed view
4 years ago
Thibaut Girka
cf5b769857
Add support for xmpp: and magnet: URIs to misleading link detection code
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
Eugen Rochko
4ee167d89b
[Glitch] Remove `lang` attribute from individual statuses
...
Port 538db85d3c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
2aa0cdf7e6
Use the `Icon` component instead of directly using `i` tag
5 years ago
Thibaut Girka
f3ac4a4411
Fix clicking on the new audioplayer opening the toot in detailed view
5 years ago
Thibaut Girka
3282bbe454
Add option to rewrite mentions to mentioned user's username or acct
...
Fixes #666
5 years ago
Eugen Rochko
e8ad0a8006
[Glitch] Fix hashtag links always being lowercase
...
Port 5e35aa8280
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
3ea7a334d8
Fix up try/catch block in invalid URL handling
5 years ago
Thibaut Girka
cbd75fe128
Remove href attribute of invalid links instead of crashing
5 years ago
Thibaut Girka
ff0ceb28b3
Remove link rewriting option as it is easily bypassable
5 years ago
Thibaut Girka
76b80a1511
Perform case-insensitive comparison for international domain names
...
Note: this uses `toLowerCase()` instead of doing proper case folding
5 years ago
Thibaut Girka
43b137e1f9
Perform case-insensitive comparison of non-International domain names
5 years ago
Thibaut Girka
c01de0f721
Ensure link rewriting setting changes are immediately applied
5 years ago
Thibaut Girka
6600da0f7b
Handle Mastodon-generated links for targets starting with “www.” properly
5 years ago
Thibaut Girka
df866a464d
Add options to highlight misleading links in statuses
...
Fixes #1162
5 years ago
ThibG
7f147acea6
[Glitch] Change contrast of status links that are not mentions nor hashtags
...
Port 10e78ecf57
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
91da921dbb
Fix links in status media having their title rewritten
5 years ago
Thibaut Girka
48c68eafb7
Handle animated emoji on mouse hover in CWs and poll options
5 years ago
ThibG
c1231a846a
[Glitch] Play animated custom emoji on hover
...
Port 7de8c51873
to glitch-soc
5 years ago
Thibaut Girka
ef249a2718
Rename status__text to status__content__text for consistency with upstream
6 years ago
Thibaut Girka
659f972bed
Do not switch to italic for status media buttons
6 years ago
Thibaut Girka
14bad3f472
Do not handle clicks in detailed status content
6 years ago
Eugen Rochko
614bd3f8d4
[Glitch] Add `lang` attribute to statuses in web UI
...
Port JS changes from e6cfa7ab89
to glitch-soc
6 years ago
Thibaut Girka
e80fabfd84
Fix toots opening in dynamic column when trying to interact with them
...
This fixes inline preview cards and polls, preventing them from opening
the toot in detailed view when clicking on an interactive element.
6 years ago
Thibaut Girka
1a70fca168
Fix CW unfolding not triggering re-layout in public hashtag page
6 years ago
Thibaut Girka
9d6788b30b
Prevent click on video from opening detailed toot
7 years ago
Thibaut Girka
2154bd1b5a
Widen clickable area of toots
7 years ago
Thibaut Girka
64d8d0464d
Add show more/less toggle for entire threads in web UI
...
Inspired from b6003afcdb
but using component
properties instead of redux store for hidden/revealed state.
7 years ago
Thibaut Girka
2888f74c12
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
7 years ago
Thibaut Girka
53eab4470d
Render toots with empty contents
...
This is necessary to display toots with media but otherwise no contents,
as glitch-soc displays the media as a child of StatusContent, unlike
Mastodon.
7 years ago
Thibaut Girka
841ef606a9
Remove text requirement when media attached from statuses ( fixes #381 )
...
Ports cfa9b6e13a
to glitchsoc
7 years ago
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
7 years ago