Eugen Rochko
377b2ce8d3
[Glitch] Don't show translate button to logged-out users
...
Port part of cd9a0f136d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
Eugen Rochko
10b5e85e7c
[Glitch] Fix translations not being formatted, other issues in web UI
...
Port 798ed9890d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
Eugen Rochko
24583c3194
[Glitch] Add user content translations with configurable backends
...
Port a593188ded
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
Claire
d4a1711d5a
[Glitch] Add aria-expanded to content warning toggle button
...
Port b2a132bf9c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-07 20:04:31 +01:00
Eugen Rochko
ccdf8b587f
[Glitch] Fix nofollow
rel being removed in web UI
...
Port b01fad5dbd
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:24:02 +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
Claire
711301519a
Improve interaction between out-of-CW attachments and collapsed toots
2022-07-24 13:16:03 +02:00
Jeong Arm
4c43ac85d6
[Glitch] Add lang html attr to each posts
...
Port 9adb7dde33
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-06-02 10:58:54 +02:00
Eugen Rochko
e28fcc78ee
[Glitch] Change routing paths to use usernames in web UI
...
Port ce84967ee4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-09-26 21:35:57 +02:00
Claire
05f1a6fec3
Fix media icons not being added in CWs
2021-09-09 17:14:09 +02:00
Claire
def45ddc91
Fix media attachments not being displayed on polls
...
Fixes #1595
2021-09-08 16:36:30 +02:00
Claire
d5672b56e5
Fix clicking on the pop-up player placeholder expanding the clicked toot
2021-07-12 16:24:53 +02:00
ThibG
2b877cad16
[Glitch] Change custom emoji to be animated when hovering container
...
Port e57047f213
to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-02-03 17:16:22 +01:00
ThibG
8d9092600a
[Glitch] Fix Google Translate breaking web interface
...
Port c9d9e96e75
to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-01-21 16:59:47 +01:00
Eugen Rochko
1c781bb05d
[Glitch] Change RTL detection to rely on unicode-bidi paragraph by paragraph
...
Port 812f2bdb8f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2020-12-15 16:42:39 +01:00
Thibaut Girka
3876df0390
Fix clicking the audio player also opening toots in detailed view
2020-07-10 10:28:05 +02:00
Thibaut Girka
26c449515e
Add support for xmpp: and magnet: URIs to misleading link detection code
2020-01-28 20:25:56 +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
Eugen Rochko
0450cec6ce
[Glitch] Remove lang
attribute from individual statuses
...
Port f3ca2825e5
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-10 21:00:13 +02:00
Thibaut Girka
9b0b130299
Use the Icon
component instead of directly using i
tag
2019-09-09 19:00:20 +02:00
Thibaut Girka
c544962ee9
Fix clicking on the new audioplayer opening the toot in detailed view
2019-08-29 17:32:22 +02:00
Thibaut Girka
5de49ea272
Add option to rewrite mentions to mentioned user's username or acct
...
Fixes #666
2019-08-29 11:59:29 +02:00
Eugen Rochko
37294ee595
[Glitch] Fix hashtag links always being lowercase
...
Port 277acb8772
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-07 15:35:44 +02:00
Thibaut Girka
bd0a478252
Fix up try/catch block in invalid URL handling
2019-08-06 13:09:49 +02:00
Thibaut Girka
e6272f1af0
Remove href attribute of invalid links instead of crashing
2019-08-06 12:32:06 +02:00
Thibaut Girka
50553e097d
Remove link rewriting option as it is easily bypassable
2019-08-04 22:25:56 +02:00
Thibaut Girka
aad48a1d5b
Perform case-insensitive comparison for international domain names
...
Note: this uses `toLowerCase()` instead of doing proper case folding
2019-08-04 22:25:56 +02:00
Thibaut Girka
ac64cdae72
Perform case-insensitive comparison of non-International domain names
2019-08-04 22:25:56 +02:00
Thibaut Girka
69c03e0ef4
Ensure link rewriting setting changes are immediately applied
2019-08-04 22:25:56 +02:00
Thibaut Girka
9e2e7f6628
Handle Mastodon-generated links for targets starting with “www.” properly
2019-08-04 22:25:56 +02:00
Thibaut Girka
2f4cb78803
Add options to highlight misleading links in statuses
...
Fixes #1162
2019-08-04 22:25:56 +02:00
ThibG
1c3117f682
[Glitch] Change contrast of status links that are not mentions nor hashtags
...
Port 6701b9329d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 16:47:36 +02:00
Thibaut Girka
df7b27753c
Fix links in status media having their title rewritten
2019-07-24 21:46:09 +02:00
Thibaut Girka
bf93e0c7c0
Handle animated emoji on mouse hover in CWs and poll options
2019-07-23 16:24:21 +02:00
ThibG
b01e5e372f
[Glitch] Play animated custom emoji on hover
...
Port 99b3dd5b00
to glitch-soc
2019-07-23 16:24:21 +02:00
Thibaut Girka
ce2da44c2c
Rename status__text to status__content__text for consistency with upstream
2019-04-24 22:40:17 +02:00
Thibaut Girka
fea727c61a
Do not switch to italic for status media buttons
2019-04-22 23:07:14 +02:00
Thibaut Girka
b83e693c40
Do not handle clicks in detailed status content
2019-04-03 19:58:18 +02:00
Eugen Rochko
f6767a00d4
[Glitch] Add lang
attribute to statuses in web UI
...
Port JS changes from 0e730974cd
to glitch-soc
2019-03-26 16:09:59 +01:00
Thibaut Girka
bd97259b57
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.
2019-03-06 00:20:43 +01:00
Thibaut Girka
a9078c18eb
Fix CW unfolding not triggering re-layout in public hashtag page
2019-02-06 15:32:48 +01:00
Thibaut Girka
72c5d3dd80
Prevent click on video from opening detailed toot
2018-05-18 17:49:51 +02:00
Thibaut Girka
b6133837ad
Widen clickable area of toots
2018-05-18 17:33:58 +02:00
Thibaut Girka
4e4a5fc1ad
Add show more/less toggle for entire threads in web UI
...
Inspired from b9b01bf14a
but using component
properties instead of redux store for hidden/revealed state.
2018-04-22 19:19:01 +02:00
Thibaut Girka
5ab80ffadd
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
2018-04-22 19:18:15 +02:00
Thibaut Girka
4975cee02f
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.
2018-03-28 21:13:45 +02:00
Thibaut Girka
cb3a0bf3ed
Remove text requirement when media attached from statuses ( fixes #381 )
...
Ports 0c2a08adeb
to glitchsoc
2018-03-12 18:39:07 +01:00
kibigo!
882055afd0
Rename themes -> flavours ? ?
2017-12-03 23:26:40 -08:00