Article View: rocksolid.nodes.announce
Article #320Re: rslight-0.6.6
From: Retro Guy
Date: Sat, 21 Nov 2020 01:41
Date: Sat, 21 Nov 2020 01:41
60 lines
4064 bytes
4064 bytes
On Sat, 14 Nov 2020 11:33:28 +0000 retro.guy@rocksolidbbs.com (Retro Guy) wrote: > My list of bugs is reasonably small now. I'm sure there are plenty, > but the ones I'm aware of have been addressed and seem ok. Been working on a newsportal bug that only shows itself in large busy groups. I think I finally found why it happens and have made a change to minimize the chances, but it's still not written the way I would like. I'll leave it for now, but eventually improve it. Basically, when it adds new messages (pulls them from upstream or they are posted), it of course puts them into the proper threads (tries to anyway). newsportal was deleting the .dat file that contains the info, then threading, then writing the new .dat file. This caused a problem if someone read the group while the .dat file didn't exist (even though a very short time). When that happens, it starts threading all the way from the beginning, which in a group with tens of thousands of messages takes a while. I simply moved the file deletion (unlink) to just before creating it again. That way while it's threading and going to add the new articles, the .dat file still exists, then doesn't exist for a very very short time. Much shorter time than the whole time it's threading. I still need to improve this as the file should really always exist, but for now I hope it's better. > Once the web configuration script is complete, and a couple of minor > changes are done, I plan to release 0.6.6. I won't be adding any more > features until that is done. Configuration of settings (rslight.inc.php) is now completely handled in the browser. You can still manually edit the file but it's not necessary. So on a new install, or to make changes, just pull up config in your browser and read the descriptions of settings, make changes and save. I spent a good bit of time trying to find a reasonably secure way to do this so that only you (the admin) can access the config data and change it and I think I've achieved that. I still recommend moving the config script out of the web dir when not in use, but that's probably not necessary, just recommended. I wanted to do this without web server authentication, without .htaccess files, without cookies, without javascript and without sessions. No config data resides in web accessible directories at all and it was interesting to work this out. Hopefully it's ok :) I may apply some css to the config page as right now it looks like you're configuring NCSA Mosaic, but that's for another time. It works and making it pretty isn't as important. I like to get things working, then make them look nice (if possible). Log rotation, and proper config file names is all done and working fine. I'll be monitoring how everything is working and fixing whatever shows up, but no new features until this is ready. So, basically wrapping up 0.6.6 for the next release (when ready). Retro Guy
Technical Details
Message-ID:
<20201120184139.036b2b55@desktop14.dt>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mailReferences:
<747c3b2808c45b33f11c88f117d9a9d5$1@rslight.i2p> <52b088edea7432ccb0d33399782102ba$1@www.rocksolidbbs.com> <4f97d64af04016d1eb8c4ee464924efe$1@news.novabbs.org> <20201031044222.481fa9c2@desktop14.dt> <100b7bdb6a6a70cf9d883665db95fa64$1@www.novabbs.com>Show Full Headers
Complete Article Headers
Message-ID: <20201120184139.036b2b55@desktop14.dt> Subject: Re: rslight-0.6.6 Date: Fri, 20 Nov 2020 18:41:39 -0700 From: Retro Guy <retro_guy@retrobbs.rocksolidbbs.com> References: <747c3b2808c45b33f11c88f117d9a9d5$1@rslight.i2p> <52b088edea7432ccb0d33399782102ba$1@www.rocksolidbbs.com> <4f97d64af04016d1eb8c4ee464924efe$1@news.novabbs.org> <20201031044222.481fa9c2@desktop14.dt> <100b7bdb6a6a70cf9d883665db95fa64$1@www.novabbs.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!rocksolid2!.POSTED.localhost!not-for-mail Newsgroups: rocksolid.nodes.announce Organization: RetroBBS Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: novabbs.org; posting-account="retrobbs1"; posting-host="localhost:127.0.0.1"; logging-data="24432"; mail-complaints-to="usenet@novabbs.org" X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)