Time |
Nick |
Message |
00:00 |
|
olliy joined #minetest-dev |
00:00 |
|
olliy joined #minetest-dev |
00:04 |
|
panwolfram joined #minetest-dev |
00:18 |
|
fluxionary joined #minetest-dev |
01:25 |
|
TheCoffeMaker joined #minetest-dev |
01:26 |
|
fluxionary joined #minetest-dev |
02:37 |
|
Guest0 joined #minetest-dev |
02:41 |
Guest0 |
Hello. I noticed that the .po translation files are outdated. |
02:41 |
Guest0 |
My translation file has a link to a non-existent file "builtin/mainmenu/dlg_settings_advanced.lua", maybe others too |
02:41 |
Guest0 |
Is there any way to create up-to-date versions of the files? |
03:12 |
|
proller joined #minetest-dev |
03:55 |
|
[MTMatrix] joined #minetest-dev |
03:55 |
|
thelounge650 joined #minetest-dev |
03:56 |
|
MisterE123 joined #minetest-dev |
03:56 |
MisterE123 |
test |
03:57 |
[MTMatrix] |
<MisterE>test |
03:58 |
MTDiscord |
<mistere_123> fyi, the matrix bridge is back up |
04:00 |
|
MTDiscord joined #minetest-dev |
04:01 |
|
[MTMatrix] joined #minetest-dev |
04:05 |
|
[MTMatrix] joined #minetest-dev |
04:09 |
|
[MTMatrix] joined #minetest-dev |
04:12 |
MisterE123 |
Matrix bridge is down again due to discord user ids not showing up in matrix |
04:15 |
|
fluxionary_ joined #minetest-dev |
06:04 |
|
calcul0n joined #minetest-dev |
06:08 |
|
tekakutli joined #minetest-dev |
06:25 |
|
calcul0n_ joined #minetest-dev |
06:58 |
|
calcul0n_ joined #minetest-dev |
07:35 |
|
calcul0n_ joined #minetest-dev |
08:46 |
|
appguru joined #minetest-dev |
08:47 |
|
Desour joined #minetest-dev |
09:34 |
sfan5 |
didn't the matrix bridge get disabled?# |
09:35 |
|
YuGiOhJCJ joined #minetest-dev |
09:37 |
pgimeno |
this seems to be a matrix bridge bot |
09:38 |
celeron55 |
i asked on matrix if anyone there would be up for setting up a 3rd party bridge. that's what's happening now |
09:39 |
celeron55 |
if matrix some day fixes their automatic bridging to libera, then it will be taken out of use obviously |
09:39 |
celeron55 |
however, there is no timeline for that and people don't seem to be very hopeful |
11:34 |
MTDiscord |
<mistere_123> Unfortunately, as you saw, on matrix the bridge yeets discord user names, so its useless, and I don't have time to figure it out. The only quick solution would be to change how the discord relay displayes discord user names in irc. (so it doesn't include < >) |
11:35 |
MTDiscord |
<mistere_123> So the bot is disabled via the config for now |
11:35 |
MTDiscord |
<mistere_123> *my bot |
11:48 |
MTDiscord |
<mistere_123> I just looked at my phone and realized the discord user id vanishing act is not even a bug with my bridge, its a bug with element desktop. Element mobile displayes the discord user id, element desktop removes the id which is in the format <user_id> |
11:48 |
Desour |
do the matrix clients interpret the <username> as xml? |
11:49 |
MTDiscord |
<mistere_123> Desktop |
11:49 |
MTDiscord |
<mistere_123> https://cdn.discordapp.com/attachments/747163566800633906/1144961766334419065/image_20230826074905.png |
11:49 |
MTDiscord |
<mistere_123> Mobile |
11:49 |
MTDiscord |
<mistere_123> https://cdn.discordapp.com/attachments/747163566800633906/1144961809875484682/Screenshot_20230826_073946_Element_20230826074902.jpg |
11:50 |
MTDiscord |
<mistere_123> Desour: possibly? |
11:55 |
|
vampirefrog joined #minetest-dev |
13:45 |
celeron55 |
that's a pretty silly problem to have. is the bridge broken or is element desktop broken? i can't tell as i don't know the protocol |
13:46 |
|
behalebabo joined #minetest-dev |
13:47 |
celeron55 |
i'd imagine it wouldn't be difficult to modify the bridge to re-format anything that looks like "<username>" to whatever format seems to work on element desktop |
13:48 |
celeron55 |
requiring changes from the discord bot to aid this doesn't seem fair |
13:49 |
celeron55 |
but, if you don't have the time, let's wait for a better time (or someone else to make an attempt) |
13:51 |
Desour |
the matrix bridge is not the only thing that has issues with how discord usernames are displayed. I, for example, also sometimes have a hard time seeing that two messages come from different discord users |
13:53 |
celeron55 |
what could solve it? |
13:53 |
celeron55 |
it would be recless to make the bot output colors or something, some people would immediately leave the channel. i think if it's hard to see, you should just set up suitable client side highlighting |
13:53 |
celeron55 |
reckless* |
13:54 |
Desour |
the matrix bridge shows its usernames on irc like irc usernames |
13:54 |
celeron55 |
that was the special integration effort directly between libera and matrix. it's not doable by 3rd parties |
13:55 |
celeron55 |
and we're at their mercy for when, if ever, they re-launch it. the problem was spam, privacy issues and unreliability from the matrix side, according to libera's reports |
13:55 |
Desour |
oh, I see |
13:56 |
MTDiscord |
<luatic> Is the bridge sending messages as HTML or as Markdown? |
13:56 |
celeron55 |
anyway, if MisterE doesn't have time to debug his bridge, we're at a dead end here. someone else needs to give it a try |
14:03 |
|
appguru joined #minetest-dev |
14:26 |
|
olliy joined #minetest-dev |
14:27 |
|
TheCoffeMaker joined #minetest-dev |
14:36 |
|
TheCoffeMaker_ joined #minetest-dev |
15:10 |
|
TheCoffeMaker joined #minetest-dev |
15:19 |
|
TheCoffeMaker_ joined #minetest-dev |
16:34 |
|
Fleckenstein joined #minetest-dev |
16:52 |
|
Fleckenstein joined #minetest-dev |
17:09 |
|
fluxionary joined #minetest-dev |
17:35 |
|
fluxionary joined #minetest-dev |
17:53 |
|
appguru joined #minetest-dev |
18:34 |
|
Fleckenstein joined #minetest-dev |
18:57 |
MTDiscord |
<mistere_123> I'm waiting on a message to GreenXenith to possibly change the format that discord transmits usernames. If it changes to something other than using <user>, then it will work. Also, its a bug with Element, not my bridge |
18:58 |
MTDiscord |
<mistere_123> *change how the discord bridge transmits usernames |
18:58 |
MTDiscord |
<luatic> It's most probably a bug with the bridge |
18:59 |
MTDiscord |
<luatic> I'm pretty sure the bridge isn't properly escaping the angle brackets and then sending that as raw HTML, which causes the sanitizer to strip the unrecognized tag. |
19:00 |
MTDiscord |
<luatic> Have you tried looking at the raw JSON data? (on Element: hover over message > options > show raw data) |
19:01 |
MTDiscord |
<luatic> perhaps it's sanitized even earlier by the bridge; that would still be a bridge bug though |
19:03 |
celeron55 |
https://paste.centos.org/view/raw/8f9e3bed |
19:03 |
celeron55 |
that's what "view source" shows on element |
19:04 |
MTDiscord |
<luatic> yep, I was right: https://github.com/42wim/matterbridge/blob/master/bridge/matrix/matrix.go#L254C5-L254C45 |
19:04 |
MTDiscord |
<warr1024> "format": "org.matrix.custom.html" |
19:04 |
celeron55 |
so it seems the bridge is broken |
19:04 |
MTDiscord |
<luatic> should be a simple fix though |
19:04 |
MTDiscord |
<mistere_123> In config? |
19:04 |
MTDiscord |
<luatic> no, in the code |
19:04 |
MTDiscord |
<luatic> i linked one such place, grep for them, look up the correct "format" value for plaintext |
19:04 |
MTDiscord |
<warr1024> You could modify the config to pre-escape the brackets and that should be an adequate workaround. |
19:05 |
MTDiscord |
<warr1024> It depends on how hard it is to actually change the code; I assume it's nontrivial. |
19:05 |
MTDiscord |
<luatic> it's go lmao |
19:05 |
MTDiscord |
<warr1024> "it's go" doesn't really tell me anything. |
19:05 |
MTDiscord |
<mistere_123> Remember, discord bridge (not my matterbridge) brakets are sanitized |
19:06 |
MTDiscord |
<mistere_123> *removed |
19:07 |
MTDiscord |
<mistere_123> Luatic, if you fix it in the code, I could run your version |
19:07 |
MTDiscord |
<luatic> that's what I plan on doing |
19:07 |
MTDiscord |
<luatic> one moment |
19:07 |
MTDiscord |
<mistere_123> It would be cool to PR that upstream probably too |
19:10 |
MTDiscord |
<luatic> Looks like there is a bool b.GetBool("HTMLDisable") |
19:10 |
MTDiscord |
<luatic> you should be able to just set that |
19:11 |
MTDiscord |
<luatic> @mistere_123 set HTMLDisable=true in matterbridge.toml |
19:11 |
MTDiscord |
<warr1024> Disabling html would be better since interpreting instead of just displaying tags from IRC would better match IRC |
19:11 |
MTDiscord |
<mistere_123> Ok! Ill change/try it tonight |
19:52 |
|
diceLibrarian joined #minetest-dev |
20:37 |
|
appguru joined #minetest-dev |
21:05 |
|
proller joined #minetest-dev |
21:10 |
|
proller joined #minetest-dev |
22:32 |
|
panwolfram joined #minetest-dev |
22:33 |
|
[MTMatrix] joined #minetest-dev |
22:33 |
MTDiscord |
<mistere_123> ok, here's a test |
22:34 |
[MTMatrix] |
MisterE | Yay, the bridge works! Thank you, luatic! |
22:35 |
thelounge650 |
Or not_luatic, whoever you are calling yourself in Discord (this is a test message) |
22:41 |
|
[MTMatrix] joined #minetest-dev |
22:42 |
|
fluxionary joined #minetest-dev |
22:43 |
MTDiscord |
<luatic> np |
22:53 |
|
LizzyFleck joined #minetest-dev |
22:54 |
|
LizzyFleck joined #minetest-dev |
22:57 |
|
Fleckenstein joined #minetest-dev |