Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

Old mail has arrived.


rocksolid / Rocksolid Nodes Announce / More improvements in rslight

SubjectAuthor
* More improvements in rslightRetro Guy
`- Re: More improvements in rslightRetro Guy

1
Subject: More improvements in rslight
From: Retro Guy
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Fri, 2 Apr 2021 06:46 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: More improvements in rslight
Date: Fri, 2 Apr 2021 06:46:23 +0000
Organization: Rocksolid Light
Message-ID: <bca37653a5294626125af153d931fef3$1@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="29568"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$/hBelsu56fGura5BFzIg6.7NEq79jEhqsDhJGZZ6gSQ6FsEq9W3Ue
View all headers
At least I hope they're improvements :)

I recently split 'interests' on two of my sites by adding 'tech' and moving groups there. Since the section name is in the url, that would mean that the moved groups would no longer work by incoming links (/interests/<some_group> would be incorrect). Now rslight detects if the group requested is in the section in the url and if not, it rewrites the url to the correct section. I could make it work fine without rewriting the url and just allowing the group to display in any section, but then settings specific to a section would be incorrect. For example, you would be able to use a section allowing anonymous posting to post to groups the admin does not wish to allow anonymous. One of my sites (retrobbs) uses a completely different upstream server for one section, so the settings are quite different. Rewriting the url solves these issues.

Hopefully it works ok. It's running now on rslight.

Retro Guy
--
Posted on Rocksolid Light


Subject: Re: More improvements in rslight
From: Retro Guy
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Sat, 3 Apr 2021 07:56 UTC
References: 1
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: More improvements in rslight
Date: Sat, 3 Apr 2021 00:56:06 -0700
Organization: Rocksolid Light
Message-ID: <20210403005606.753629e9c00f179aab2e5f81@novabbs.com>
References: <bca37653a5294626125af153d931fef3$1@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="19737"; mail-complaints-to="usenet@i2pn2.org"
X-Newsreader: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
View all headers
On Fri, 2 Apr 2021 06:46:23 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

At least I hope they're improvements :)

Now rslight detects if the group requested is in the section in the url and if not, it rewrites the url to the correct section. I could make it work fine without rewriting the url and just allowing the group to display in any section, but then settings specific to a section would be incorrect. For example, you would be able to use a section allowing anonymous posting to post to groups the admin does not wish to allow anonymous.
 
Hopefully it works ok. It's running now on rslight.

This seems to be working fine. So, outdated links will put you in the right section automatically and if you then send a link, the new section is there.

Now, just fixed a "bug" that made page loading slow. It was actually a problem in newsportal from quite a while ago that I worked around to get last article info displayed. newsportal used to read/write it's groups files without locking and everytime someone posted while someone was reading it would cause the group to completely rebuild, and to have incorrect last article info data. I fixed that a while back but my workaround, which was slow, was still in the code.

I've removed the workaround and depend now on the modified newsportal code to provide the info. Since the info is kept in one small file per group, it is very fast. Hopefully group page loading is much faster now.

Retro Guy



1
rocksolid light 0.7.2
clearneti2ptor