Thread View: rocksolid.nodes.announce
10 messages
10 total messages
Started by Retro Guy
Wed, 14 Apr 2021 01:40
Next minor changes to rslight
Author: Retro Guy
Date: Wed, 14 Apr 2021 01:40
Date: Wed, 14 Apr 2021 01:40
17 lines
2396 bytes
2396 bytes
It seems right now that no major bugs are showing themselves in rslight, which is nice. Of course, there are still things I want to improve (not new features right now, just improvements). Here's is what I plan to work on over the next couple of weeks: 1. Take the hostname out of the message id and use 'email_tail' variable to end msgid. Right now, you can tell what network a user connected from by reading the message id. So if a site is available in more than one network, it's exposed there. The posting site will always announce itself, but the network used will not. Spoofing a site is already handled by internal keys. 2. Give more options of where to 'return' to after posting. Now it goes to the group, but you may wish to go back to overboard or somewhere else. I need to make this more versatile. 3. Clean up the page header. It's ugly :) For one thing, if you are only hosting one 'section', there really doesn't need to be a link for it at top. I'm not good with html/css formatting, so this will take me some time. 4. Stop creating empty databases for groups listed in Newsgroups: header that are not available on the site. This happens now and it's harmless, but it's also not necessary. 5. More minor stuff that I can't think of right now. Hopefully I'll have time to work on these without being interrupted by some major thing :) Retro Guy -- Posted on Rocksolid Light
Re: Next minor changes to rslight
Author: Anonymous
Date: Wed, 14 Apr 2021 11:28
Date: Wed, 14 Apr 2021 11:28
10 lines
1325 bytes
1325 bytes
From running def4 on rslight for a while now, I can confirm that there is no major bug showing up (still could be there, of course, but for now, this machine just runs). It also installed easily, using the script. The only thing you might want to look into is the setup of the cronjobs, which did not work for me for some reason (so the cronjob was installed via crontab, but there was just nothing happening). Might be machine specific as well, anyway I ended up with running a bash script :-). Other than this, all good. cheers trw -- Posted on def2
Re: Next minor changes to rslight
Author: Retro Guy
Date: Thu, 15 Apr 2021 08:30
Date: Thu, 15 Apr 2021 08:30
23 lines
2655 bytes
2655 bytes
Anonymous wrote: > From running def4 on rslight for a while now, I can confirm that there is no major bug showing up (still could be there, of course, but for now, this machine just runs). > It also installed easily, using the script. Thanks for the nice comments, I'm glad it's running smoothly :) > The only thing you might want to look into is the setup of the cronjobs, which did not work for me for some reason (so the cronjob was installed via crontab, but there was just nothing happening). Might be machine specific as well, anyway I ended up with running a bash script :-). That's strange, I haven't noticed any issues with that, but of course I'm really the only one running rslight other than yourself (that I'm aware of anyway). Can you tell me was it in the crontab for root? This is necessary. It starts as root to create directories if necessary, and to start the nntp server daemon. Also, cron.php must be run from $webroot/spoolnews as 'php $config_dir/scripts/cron.php' Here's my crontab entry for one of my sites: */5 * * * * cd /var/www/news/spoolnews ; bash -lc "php /etc/rslight/scripts/cron.php" >/dev/null 2>&1 Any hints of what might have been wrong are appreciated. I'd like to fix something like that if I can pin down the problem. Reminds me also, you previously mentioned that nocem.php complained about no gnupg, so I still need to just make that script immediately exit if nocem is disabled. I'll add that to my current list of minor fixes. Thanks again for the feedback! Retro Guy -- Posted on Rocksolid Light
Re: Next minor changes to rslight
Author: Anonymous
Date: Thu, 15 Apr 2021 16:17
Date: Thu, 15 Apr 2021 16:17
5 lines
1353 bytes
1353 bytes
this is my crontab: */5 * * * * cd /var/spool/news/rslight_webroot/spoolnews ; bash -lc "php /etc/rslight/scripts/cron.php" -- Posted on Rocksolid Light
Re: Next minor changes to rslight
Author: Retro Guy
Date: Thu, 15 Apr 2021 20:15
Date: Thu, 15 Apr 2021 20:15
21 lines
2032 bytes
2032 bytes
Anonymous wrote: > this is my crontab: > */5 * * * * cd /var/spool/news/rslight_webroot/spoolnews ; bash -lc "php /etc/rslight/scripts/cron.php" If you are serving web pages from that location, then that should work. The directory you list as: '/var/spool/news/rslight_webroot/spoolnews' should be where rslight web scripts are installed. So you should have: /var/spool/news/rslight_webroot/index.php /var/spool/news/rslight_webroot/common /var/spool/news/rslight_webroot/rocksolid /var/spool/news/rslight_webroot/spoolnews and be running 'php /etc/rslight/scripts/*.php' from the spoolnews directory. You can also manually cd to that location and as root run 'php /etc/rslight/scripts/cron.php' and see if any errors are echoed. Retro Guy -- Posted on Rocksolid Light
Re: Next minor changes to rslight
Author: Retro Guy
Date: Fri, 16 Apr 2021 02:28
Date: Fri, 16 Apr 2021 02:28
11 lines
1691 bytes
1691 bytes
Retro Guy wrote: > 1. Take the hostname out of the message id and use 'email_tail' variable to end msgid. Right now, you can tell what network a user connected from by reading the message id. So if a site is available in more than one network, it's exposed there. The posting site will always announce itself, but the network used will not. Spoofing a site is already handled by internal keys. I believe this is done. It was simple, so simple maybe I didn't even change it :) Anyway, if the msgid for this post does not indicate I'm posting via tor in the Message-ID, then it worked. Retro Guy -- Posted on Rocksolid Light
Re: Next minor changes to rslight
Author: Retro Guy
Date: Sat, 17 Apr 2021 08:17
Date: Sat, 17 Apr 2021 08:17
9 lines
1579 bytes
1579 bytes
Retro Guy wrote: > 2. Give more options of where to 'return' to after posting. Now it goes to the group, but you may wish to go back to overboard or somewhere else. I need to make this more versatile. This is now working. You should have access to the group and section from the header, and the generated link will take you back to your previous page. So if you started a new thread, you go back to the threads page, if you replied to an article, you go back to the thread. > Retro Guy -- Posted on Rocksolid Light
Re: Next minor changes to rslight
Author: Retro Guy
Date: Wed, 21 Apr 2021 05:28
Date: Wed, 21 Apr 2021 05:28
5 lines
1410 bytes
1410 bytes
I found a minor bug in rslight-lib.php which really doesn't affect the interface at all, only maybe some newsreader clients. I finxed the bug and in the process did some cleaning up of the script. Searching by msgid via news client should work much better now (faster). -- Posted on Rocksolid Light
Re: Next minor changes to rslight
Author: Retro Guy
Date: Wed, 28 Apr 2021 07:24
Date: Wed, 28 Apr 2021 07:24
11 lines
1930 bytes
1930 bytes
I found an issue that only appears in php > 7.0. At this point, I'm still not sure what is different, but I was able to make things work properly in the newer php. This relates to spoolnews.php, and only appears when initially creating groups. On a plus note, the fix fixes the minor issue where it starts to pull articles (during initial pull only) after the first batch where it would start from one message number back. So spoolnews.log would always show the first article as a duplicate. This is now fixed. I need to keep looking into why this broke spoolnews in php > 7.0. It doesn't now, but I'm not thrilled with the fact I don't really know what the real cause of the issue was. Anyway, it's working fine now. Retro Guy -- Posted on Rocksolid Light
Re: Next minor changes to rslight
Author: Retro Guy
Date: Sat, 01 May 2021 10:56
Date: Sat, 01 May 2021 10:56
11 lines
1785 bytes
1785 bytes
I still have #3 and #4 to work on, but haven't yet. Soon, I hope. I did add one minor feature as I was curious how accurate it would be. rslight now displays the number of active users at the bottom of the groups and threads pages. This is users active within the past 10 minutes, and they must have clicked to view a thread or a message. Once they haven't done either of those in 10 minutes, they drop off (are not counted). I'm not sure 10 minutes is the best choice, but it's what I'm using now and it's easy to change. Retro Guy -- Posted on Rocksolid Light
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads