akoizumi @social.kyoko-project.wer.ee
Follow
I'm crazy but that doesn't mean I'm wrong, I'm mad but not ill
Block / Report User
If this user/feed is violating this Pod's (yarn.meff.me) community guidelines as set out in the Abuse Policy, please report them immediately!
You are also free to Unfollow or Mute this user or feed. Muting will also remove that user/feed's content from your view and you will no longer see content from that user/feed anywhere.
@akoizumi does not follow you (they may not see your replies!)
Recent Twts
Recent twts from akoizumi
#eohfpra
#tkmaahq
(#e2hjhua) this is lovely Iām not gonna lie
#c5s22qq
(#e2hjhua)
doas -u _postgresql psql --dbname=maddy --host=localhost --username=maddy -c "UPDATE passwords SET value = '$(maddy hash --password "$1")' WHERE key = '$2'"
take 2, without the 3rd argument
#2gfmeja
I wrote this little thing
doas -u _postgresql psql --dbname=maddy --host=localhost --username=maddy "UPDATE passwords SET value = '$(maddy hash --password "$1")' WHERE key = '$2' AND value = '$(maddy hash --password "$3")'"
First argument is the new password (hashed of course), the second being the username, the third being the old (current) password. I havenāt yet tried this but I might now.
#e2hjhua
(#av2eurq) @prologic@twtxt.net holy crap
#5c637yq
(#6wzkhqa) @lyse@lyse.isobeef.org lol yeah I just realized.
#kjocfba
(#6wzkhqa) This is an updated revision (which throws the same error though):
#!/usr/local/bin/haserl --accept-all
Content-Type: text/html
<html>
<head>
<link rel="stylesheet" href="https://cdn.kyoko-project.wer.ee/@mirage/mirageCSS/dark.css">
<title>KyokoMail: Change account password</title>
</head>
<body>
<h1>Change account password for KyokoMail</h1>
<p>Warning: to use this form you <b>must</b> have an account on this service, otherwise, get out.</p>
<form action="<% /usr/local/maddy/maddy creds password --password %>" method="GET">
<p>
Username:
<input type="text" name="username" cols="20" placeholder="username@kyoko-project.wer.ee" required="required"/>
</p>
<p>
New password:
<input type="password" name="new_password" cols="20" required="required"/>
</p>
<input type="submit" value="Go" />
</form>
</body>
</html>
Looks like I canāt make use of haserl for these kind of things
#iakzzda
(#6wzkhqa) this totally looks fine to me, but it seems to be taken in the wrong order and with duplicate parameters besides the two I want it to actually read, and it errors out.
#gobyfsa
(#6wzkhqa)
#!/usr/local/bin/haserl --accept-all
Content-Type: text/html
<html>
<head>
<link rel="stylesheet" href="https://cdn.kyoko-project.wer.ee/@mirage/mirageCSS/dark.css">
<title>KyokoMail: Change account password</title>
</head>
<body>
<h1>Change account password for KyokoMail</h1>
<p>Warning: to use this form you <b>must</b> have an account on this service, otherwise, get out.</p>
<form action="<% /usr/local/bin/maddy creds password --password $FORM_new_password_again $FORM_username %>" method="GET">
<p>
Username:
<input type="text" name="username" cols="20" placeholder="username@kyoko-project.wer.ee" required="required"/>
</p>
<p>
Current password:
<input type="password" name="old_password" cols="20" required="required"/>
</p>
<p>
New password:
<input type="password" name="new_password" cols="20" required="required"/>
</p>
<p>
New password (repeat):
<input type="password" name="new_password_again" cols="20" required="required"/>
</p>
<input type="submit" value="Go" />
</form>
</body>
</html>
#kd5rwaq
Oh geez this is driving me mad, I canāt get maddy to do that one thing I want it to do on a CGI script I wrote.
#6wzkhqa
(#xurjy2q) @prologic@twtxt.net Web3! >;P
#dgwnpqq
(#66wqhra) @xuu@txt.sour.is got any clues? Iām kinda lost here
#veeppiq
Trying to figure out what sql query maddy does to change user passwords, but first, iām looking for the subcommand that actually does thatā¦ on the source code
#66wqhra
(#n43hgfa) @prologic@twtxt.net me neither. I guess itās just OS troubles as usual
#rkb45wq
(#n43hgfa) @prologic@twtxt.net iām using defaults for everything (havenāt bothered with custom templates on this one), although the error actually comes from typing anything thatās not a twt hash soā¦.
#leqsiba
#gkgceia
(#n43hgfa) @prologic@twtxt.net nope, iām using default āSimpleCSS Darkā right now
#mwynt7q
(#64r6qra) Granted iām personally a pacifist
#c66qqta
(#n43hgfa) @prologic@twtxt.net well, I think I carried this thing over since 0.14.x and 0.15.x just still happens to have it
#netmyma
(#64r6qra) @prologic@twtxt.net US never does anything good, and Biden had already shown his own desires of war (instead of what people would actually expect, and itās not surprising at all)
#wtedlkq
(#n43hgfa) plus I just updated to 0.15.1
#csauasq
(#n43hgfa) @prologic@twtxt.net https://social.kyoko-project.wer.ee/search?tag=lol
(anything will do)
#bzhbj7q
error executing template search: template: search:187:12: executing "twt" at <urlForRootConv $.Twt $.User>: error calling urlForRootConv: runtime error: invalid memory address or nil pointer dereference
search tags input bar throws this
#n43hgfa
(#xitcy5q) @movq@www.uninformativ.de plus the earthquakes are god awful on those buildings
#3ib6utq
(#z6htzwa) @carsten@yarn.zn80.net iirc your pod host doesnāt allow docker right? or is it somewhere else? ;P
#nowg6eq
Iāve got gopherproxy and kineto set up couple hours ago, both using the main siteās CSS, looks kind of weird but it works :tm:
#w5z6exa
Guess Iāll update my pod later today
#jehztaq
(#dd3wnxq) @prologic@twtxt.net i donāt personally think itād be any useful (plus why not just use UTC for everything otherwise)
#zoxohxq
(#aysyaiq) @abucci@anthony.buc.ci ditto (plus hardly anybody knows about kyokonet)
#h6wwhna
(#rdmu5xq) @carsten@yarn.zn80.net ~darch went to @darch@neotxt.dk
#kggrriq
(#bpukq7q) @abucci@anthony.buc.ci same
#6qe52rq
(#tnqkkjq) @aryak@yn.vern.cc lmfao thereās your problem. prologicās stuff uses https://github.com/tdewolff/minify (which BTW is actually better than the node.js variant)
#k6eyhla
(#lqb4vvq) @prologic@twtxt.net plus itās also getting confusing so might as well just do it @abucci@anthony.buc.ci
#5fbklca
(#qnrgs4a) @abucci@anthony.buc.ci Iām not surprised at all to be fair
#vlkwquq
#5xeasvq
#5editza
I wonder how go-gopher actually renders gophermaps into html
#woh24pa
(#eu5qmna) @movq@www.uninformativ.de pretty much yeah, there are other browsers too but theyāre actually either toys or just trash
#nn5ndha
(#hu5gnka) fixed those āfeaturesā and pushed them to https://git.kyoko-project.wer.ee/Mirage/midori. Problem is, I canāt compile it, lol
#2fi7wuq
(#scbt4ja) @prologic@twtxt.net then you havenāt seen GNU info files, those are the worst, lmao
#pbshxea
(#eu5qmna) the worst part of all this insanity is that the developer got brainwashed into [redacted]
#azfvaaa
(#eu5qmna) only problem iām having right now is that the browser treats the Backspace key as a Back key, when I think it shouldnāt
#hu5gnka
(#eu5qmna)
#whablaa
midori browser my beloved. man, if it werenāt turned into just another chromium clone iād continue to take it seriously. right now iām using the last version with webkit2gtk
#eu5qmna
(#7tfgmaq) @aryak@yn.vern.cc hmm it works fine on my end
https://search.kyoko-project.wer.ee
#2fyxl6q
bah, listmonk aināt working as it is supposed to, mlmmj doesnāt either, ugh
#x2ycysa
(#rmvhcwq) nothing has changed ever since the last time I had this message appearing
#7wlrwza
#rmvhcwq
(#e2nxw4a) @abucci@anthony.buc.ci didnāt mean that, actually.
glares at crabs and monads
#7465ywq