@prologic@twtxt.net My pod, which is running the same commit you are, does not return an error like that. It returns the same HTML it always has. Try it. I nuked my cache before restarting.
Edit: Oh wait, the plot thickens. I do get an error if I use curl or if I use a web browser that isnāt logged in. Thatās good!
@movq@www.uninformativ.de pretty cool! Switched, and pulled. Nice update on README
!
@falsifian@www.falsifian.org have you tried jennyās fetch-context
branch? It works great!
mutt
/neomutt
users out here, what's the trick to highlight threads with new messages? No user interaction, just upon opening, or while opened, have threads with new, unread messages in it highlighted. Thanks!
@bender@twtxt.net yup, this works well. I needed those extra settings.
mutt
/neomutt
users out here, what's the trick to highlight threads with new messages? No user interaction, just upon opening, or while opened, have threads with new, unread messages in it highlighted. Thanks!
@movq@www.uninformativ.de I think I have got it, but need to test upon receiving further posts. I added:
set uncollapse_new = yes # open threads when new mail
set uncollapse_jump = yes # jump to unread message when uncollapse
set collapse_unread = no # don't collapse threads with unread mails
Letās see how it goes.
Maybe the @yarn_police@twtxt.net can take this case, and shed some light.
@bender@twtxt.net, cool, so I can join the threads, but your edit to the original will never show at my end. Will have @bender@twtxt.net show the screenshot.
neomutt
. I have now edited this one. Let's go!
OK. @quark@ferengi.one did not see this update, but should see this reply now, as broken.
neomutt
.
@bender@twtxt.net, letās break it!
@prologic@twtxt.net Iām not sure what this update does, but
https://twtxt.net/external?uri=https://google.com&nick=lovetocode999
still exhibits the same problem, on your pod and on mine, after the latest update.
@prologic@twtxt.net OK, I just updated to commit 77d527
, which looks to be the same one youāre running right now. I forgot to blow away my cache before restarting, so I just deleted the cache
file and restarted.
@abucci@anthony.buc.ci appreciate it if you find the time to update again š
Had to disable support functions because Iāve received three spammy support emails today. Thanks for that feature @prologic@twtxt.net
@bender@twtxt.net Hey, want to go in halfsies on one?
@bender@twtxt.net Oh look at that, the same problem is still happening on twtxt.net
too. I tested a different link but that one gave an error. Maybe that means my pod isnāt behaving different from twtxt.net
after all.
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net I deleted a file named cache
in my yarn data and restarted. Problem persists.
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net āRefresh cache in Poderator Settingsā
Is there some other way to do that?
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net What? I compiled, updated, and restarted. If you check what my pod reports, it gives that 7a⦠SHA. I donāt know what that other screenshot is showing but it seems to be out of date. That was the SHA I was running before this update.
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net Hereās a log entry:
Aug 27 15:59:43 buc yarnd[1200580]: [yarnd] 2024/08/27 15:59:43 (IP_REDACTED) "GET /external?nick=lovetocode999&uri=https://URL_REDACTED HTTP/1.1" 200 35442 14.554763ms
HTTP 200 status, not 404.
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net This does not seem to fix the problem for me, or Iāve done something wrong. I did the following:
- Pull the latest version from
git
(I have commit7ad848
, same as ontwtxt.net
I believe).
make build
andmake install
- Restart
yarnd
- Refresh cache in Poderator Settings
Yet I still see these bogus /external
things on my pod when I hit URLs like the one I sent you recently. When I hit such a URL with curl
I think itās giving an error? But in a web browser, the (buggy) response is the same as it was before I updated.
So, this problem is not fixed for me.
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net Aha, now it gives an error. OK Iām updating to this to see if it fixes the issue on my pod! Thank you.
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net I believe you are not seeing the problem I am describing.
Hit this URL in your web browser:
https://twtxt.net/external?nick=lovetocode999&uri=https://socialmphl.com/story19510368/doujin
Thatās your pod. I assume you donāt have a user named lovetocode999
on your pod. Yet that URL returns HTTP status 200, and generates HTML, complete with a link to https://socialmphl.com/story19510368/doujin
, which is not a twtxt feed (thatās where the twtxt.txt
link goes if you click it). That link could be to anything, including porn, criminal stuff, etc, and it will appear to be coming from your twtxt.net domain.
What I am saying is that this is a bug. If there is no user lovetocode999
on the pod, hitting this URL should not return HTTP 200 status, and it should definitely not be generating valid HTML with links in it.
Edit: Oops, I misunderstood the purpose of this /external
endpoint. Still, since the uri
is not a yarn
pod, let alone one with a user named lovetocode999
on it, I stand by the belief that URLs like this should be be generating valid HTML with links to unknown sites. Shouldnāt it be possible to construct a valid target URL from the nick
and uri
instead of using the podās /external
endpoint?
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net @bender@twtxt.net I partially agree with bender on this one I think. The way this person is abusing the /external
endpoint on my pod seems to be to generate legitimate-looking HTML content for external sites, using a username that does not exist on my pod. One āsemantically correctā thing to do would be to error out if that username does not exist on the pod. Itās not unlike having a mail server configured as an open relay at this point.
It would also be very helpful to give the pod administrator control over whatās being fetched this way. I donāt want people using my pod to redirect porn sites or whatever. If I could have something as simple as the ability to blacklist URLs thatād already help.
@lyse@lyse.isobeef.org Interesting. The yarnd --help
currently says (for me):
-R, --open-registrations whether or not to have open user registgration
meaning it doesnāt give the default setting or warn you that you need to use -R=false
and not -R false
. It also leaves unclear whether --open-registrations false
would work or if you need to do --open-registrations=false
. Itās also unclear whether the setting change in the user interface is overridden by the command line arguments, overrides the command line arguments, is persisted across restarts.
Maybe all this is worth posting an issue for additional documentation on the git repo if there isnāt one already.
āregistgrationā is misspelled that way in the help by the way.
@lyse@lyse.isobeef.org in Australia, take everything you have learned, and do the opposite. After all, it is the land down under! :-D
@quark@ferengi.one LOL we repair everything in here š ⦠I just have a problem with trusting people with my stuff because of past experiences. āBetter a half broken screen than no screenā kind of thing.
@aelaraji@aelaraji.com didnāt know there was a place to fix them; in here we toss them. Wish it was cheap to ship stuff. I have a couple of decent monitors in the garage that will soon take a trip to the curveā¦
@lyse@lyse.isobeef.org I have no Idea, I still havenāt found a repair shop I can trust with my monitor. As for the blackouts, they donāt have consistent frequency. Sometimes itās once every 3 months⦠other times itās 3 times a day š
@lyse@lyse.isobeef.org ugh, how come didnāt this occurred to meā¦! Oh well, I am good now, but noted. Thanks!
@abucci@anthony.buc.ci You can also use -R=false
on the command line or leave it out entirely. When explicitly stating -R=false
, there has to be an equal sign. With a space (-R false
) itās somehow parsed as -R
which is equivalent to -R=true
. O_o Very weird. Iād really like to see an error instead.
I still have to figure out the precedence of the settings.yaml or command line arguments. Iām probably holding it wrong, but it seems to give me different resultsā¦
@prologic@twtxt.net Iāve just went in a case b) on @abucci@anthony.buc.ci ās pod, if I click on their nickname I get a Log-in page. And if I click on anyone elseās I a profile page. Is that normal?
@prologic@twtxt.net saltāem to keep them viable longer. Saltāem! :-D
vim
cursor at the end of the first line on replies, and forks. I have tried adding to this to jenny
's configuration:
@quark@ferengi.one @movq@www.uninformativ.de A general workaround in these cases is to wrap the command in a shell script and reference said script instead.
@yarn_police@twtxt.net yay! Law and order on the watch!
@movq@www.uninformativ.de Yeah, havenāt seeing the @yarn_police@twtxt.net for a while. I often wonder if we are, finally, crime free. :-D
@lyse@lyse.isobeef.org Ha, sweet thanks for this! For some reason I thought you had to do this with an environmental variable or command-line option and I didnāt think to check the settings. š¤¦āā
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net Ah nice, thank you! Do you think this fix is ready for me to test it or do you think I should wait til you poke at it?
@quark@ferengi.one Weāre having a nice day out here, Clear sky, 26.2 °C (altough it feels like a ~30 °C) ⦠no storms! And the most annoying thing is, THIS happens to my monitor whenever there is a power outage:
With each one a row of pixels gets chipped out ⦠and no I canāt afford a UPS at the moment.
vim
cursor at the end of the first line on replies, and forks. I have tried adding to this to jenny
's configuration:
@movq@www.uninformativ.de woot! Yes! Perfect now. Hitting reply opens it with insert, and prompt at the end of the first line. Just as I wanted it. Thank you much!
vim "+normal $"
, how cool! :-) Thanks @quark!
@lyse@lyse.isobeef.org welcome! :-) I am doing my best to get more acquaintance with vi
/vim
. I think nano
has spoiled me too much. LOL.
vim
cursor at the end of the first line on replies, and forks. I have tried adding to this to jenny
's configuration:
@movq@www.uninformativ.de hmm, I am already using au BufNewFile,BufRead jenny-posting.eml setl completefunc=jenny#CompleteMentions fo-=t wrap
, from jenny
. How would I go to incorporate that there?
@lyse@lyse.isobeef.org āgood, good, and fascinating indeedā ā says Quark, all while eating an overflowing toast with butter, and blackberry jam. :-D
@mckinley@twtxt.net Wow, I was not aware, that there are different kinds of blackberries. But of course there are. Everything has all sorts of different species, why would it be different with these tasty guys? :-)
I just read up on them and ā surprise, surprise ā it turns out, the Himalayans are not native to most of Europe either. Doh! It gets even more interesting, their origin is unclear. Maybe Armenia and the Caucasus region. Fascinating!
@aelaraji@aelaraji.com power outages happen here almost every single time strong storms pass by, I know the feeling mate. It truly sucks.
@yarn_police@twtxt.net I was just about to remove this feed from my config because it was stale ⦠š
vim
cursor at the end of the first line on replies, and forks. I have tried adding to this to jenny
's configuration:
@movq@www.uninformativ.de hmm, I guess I could do that too. I have startinsert
set on my .vimrc
, so I will either have to take it out, or exit insert, $
, then insert again. I think the way you do it would be the way to go.
I tried setting VISUAL
to be something like vim -c 'star!'
, which does the same thing, but no dice. :-/
@abucci@anthony.buc.ci Thank you for using Lyseās Unofficial Yarnd Help Desk: https://lyse.isobeef.org/tmp/yarnd-disable-registrations.png
vim
cursor at the end of the first line on replies, and forks. I have tried adding to this to jenny
's configuration:
Today, I learned about vim "+normal $"
, how cool! :-) Thanks @quark@ferengi.one!
@movq@www.uninformativ.de, maybe you can help me with this. I want to place the vim
cursor at the end of the first line on replies, and forks. I have tried adding to this to jenny
ās configuration:
"editor": "vim \"+normal $\"",
But that doesnāt work. How would you go about it?
yarnd
that's been around for awhile and is still present in the current version I'm running that lets a person hit a constructed URL like
@prologic@twtxt.net sounds fair. Letās see how it works for @abucci@anthony.buc.ci. Speedy fix, thatās awesome! :-)