Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

We all live in a state of ambitious poverty. -- Decimus Junius Juvenalis


rocksolid / Rocksolid Nodes Help / RSlight commits

SubjectAuthor
* RSlight commitsRetro Guy
+* RSlight commitsvga256
|`* RSlight commitsvga256
| `* RSlight commitsRetro Guy
|  `* RSlight commitsvga256
|   `* RSlight commitsRetro Guy
|    `* RSlight commitsvga256
|     `* RSlight commitsRetro Guy
|      +* RSlight commitsvga256
|      |`* RSlight commitsvga256
|      | `* RSlight commitsRetro Guy
|      |  `* RSlight commitsvga256
|      |   `* RSlight commitsvga256
|      |    `* RSlight commitsRetro Guy
|      |     `* RSlight commitsRetro Guy
|      |      +* RSlight commitsvga256
|      |      |`* RSlight commitsvga256
|      |      | +* RSlight commitsRetro Guy
|      |      | |+- RSlight commitsvga256
|      |      | |`* RSlight commitsSyber Shock
|      |      | | `- RSlight commitsRetro Guy
|      |      | `* RSlight commitsAnonymous
|      |      |  `* RSlight commitsRetro Guy
|      |      |   `* RSlight commitsvga256
|      |      |    `* RSlight commitsRetro Guy
|      |      |     `- RSlight commitsRetro Guy
|      |      `* RSlight commitsRetro Guy
|      |       `- RSlight commitsRetro Guy
|      `* RSlight commitsSyber Shock
|       `* RSlight commitsRetro Guy
|        `* RSlight commitsRetro Guy
|         `* RSlight commitsSyber Shock
|          `* RSlight commitsRetro Guy
|           `- RSlight commitsSyber Shock
`* RSlight commitsvga256
 `* RSlight commitsRetro Guy
  `* RSlight commitsRetro Guy
   `- RSlight commitsRetro Guy

Pages:12
RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: RSlight commits
Date: Fri, 7 Jul 2023 20:33:30 +0000
Organization: RetroBBS
Message-ID: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2532933"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.3
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Rslight-Site: $2y$10$h22pwDLq3FyWYrdhMFWjuelUAN1nV96Ap71KIo3xv68p8XiHlfn/O
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Fri, 7 Jul 2023 20:33 UTC

I have applied a good percentage of vga-256 commits to rslight, thanks!

Unless I'm missing it, I think the commit:
* moved $ssl_dir setting to config.inc.php, which I see twice, does not revert
changes to nntp-ssl.php

Both commits seem to revert cron.php only.

I'm running the latest in a test vm, and have not pushed to github.com yet,
so no changes there atm.

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sun, 9 Jul 2023 01:35:44 +0000
Organization: Rocksolid Light
Message-ID: <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2660206"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.3
X-Rslight-Site: $2y$10$NLCXdU71NvbkSEu7fBNrsOf4P/HJI3P6GAPmD4nkI9vHasmSrpef.
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: vga256 - Sun, 9 Jul 2023 01:35 UTC

woops, absolutely correct - thanks! i forgot to add nntp-ssl.php to my git repo. just pushed it to my repo.

--
Posted on Rocksolid Light

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Thu, 13 Jul 2023 02:31:10 +0000
Organization: Rocksolid Light
Message-ID: <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3090670"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Site: $2y$10$i1zpyrq8jkSdaiaf9taVx.WM7q9AWBrFYrGk2XJ4eJYXwgO4nACsS
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
 by: vga256 - Thu, 13 Jul 2023 02:31 UTC

[Bugfix for RSL user.php](https://github.com/novabbs/rocksolid-light/commit/8fd735aea70471eebbed8e337c40aefe5e75f35e)

Relevant part of the commit:

$userdata = unserialize(file_get_contents($userfile));
// critical: must check if array has data before trying to sort it (cannot sort null!)
if ($userdata)
ksort($userdata);
echo 'Configuration Saved for '.$_POST['username'];

--
Posted on Rocksolid Light

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Thu, 13 Jul 2023 13:54:52 +0000
Organization: RetroBBS
Message-ID: <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3142893"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$a/5RSoPdfQ.JVPNsscpMXuzULVYc0wy1.VsLhBh1D5a/ixL8U1ka2
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Thu, 13 Jul 2023 13:54 UTC

vga256 wrote:

> [Bugfix for RSL user.php](https://github.com/novabbs/rocksolid-light/commit/8fd735aea70471eebbed8e337c40aefe5e75f35e)

> Relevant part of the commit:

> $userdata = unserialize(file_get_contents($userfile));
> // critical: must check if array has data before trying to sort it (cannot sort null!)
> if ($userdata)
> ksort($userdata);
> echo 'Configuration Saved for '.$_POST['username'];

Thank you for this. I'll apply on my end.

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Thu, 13 Jul 2023 16:46:19 +0000
Organization: Rocksolid Light
Message-ID: <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3158613"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Site: $2y$10$aFYYFHRPnTrVODeKTePUt.eIz9zKQ5cAhx/65ZV79WQTJAuPwTHIW
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
 by: vga256 - Thu, 13 Jul 2023 16:46 UTC

Cheers!

Tiny bugfix for newsportal.php - some typos in the use of PDOException:

https://github.com/vga-256/tomo-rslight/commit/4ee94a35cc74f705a95cad54aa0dd2d5840e0bf9

--
Posted on Rocksolid Light

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Thu, 13 Jul 2023 17:22:14 +0000
Organization: RetroBBS
Message-ID: <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3161630"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$6iyMkse2xxxYCdslnLhbmesBlFYClZ5fJOWXGQYPgBLT5zh0DLNEW
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Thu, 13 Jul 2023 17:22 UTC

vga256 wrote:

> Cheers!

> Tiny bugfix for newsportal.php - some typos in the use of PDOException:

Thanks again!

I "may" have copy/pasted those lines when creating those functions, lol :)

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Fri, 14 Jul 2023 16:25:52 +0000
Organization: Rocksolid Light
Message-ID: <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3272593"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Site: $2y$10$GJ7KyQR5RrOVDJfKAakmO.mLSTEEdWBDXekfyEjOK22wiuHDhJdTa
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
 by: vga256 - Fri, 14 Jul 2023 16:25 UTC

Not really a bug, just something worth considering - currently there is no limit on username length, which gets kinda goofy when the usernames are stored in the filesystem as filenames.

https://github.com/novabbs/rocksolid-light/commit/354f100fffe6f0699132b7e047043c5872b8c07f

I hardcoded a limit of 30 characters, but this could easily be added as a config option.

--
Posted on Rocksolid Light

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Fri, 14 Jul 2023 16:54:11 +0000
Organization: RetroBBS
Message-ID: <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3274524"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$nWbq3p4NNJnghSMWPQaWx.DbI6hxbfz.kkO8o/gkLoTjVL4utZ9e6
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Fri, 14 Jul 2023 16:54 UTC

vga256 wrote:

> Not really a bug, just something worth considering - currently there is no limit on username length, which gets kinda goofy when the usernames are stored in the filesystem as filenames.

> https://github.com/novabbs/rocksolid-light/commit/354f100fffe6f0699132b7e047043c5872b8c07f

> I hardcoded a limit of 30 characters, but this could easily be added as a config option.

Good call. I will apply that here also.

NOTE: I plan in the future to move the users and userconfig dirs to a dir in /var in the future. It looks like newer Debians and maybe other linuxes may be moving toward disallowing writing in /etc by the web server in the future. Already 'touch' does not work from the log in script (function) in /etc. It does in var (I know because I do that on i2pn2.org).

It's a good idea anyway as /etc really shouldn't contain such things.

This will add a fourth rslight dir, and a new variable to contain it's location. I'll try to be very careful when I do this, and post here the changes. It won't be very soon, but eventually.

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Fri, 14 Jul 2023 19:24:33 +0000
Organization: Rocksolid Light
Message-ID: <473a269b62036d42252d58cc83e071ba@news.novabbs.org>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3287511"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Rslight-Site: $2y$10$Jz3w9iX/LXk0g4PhrsEFqOcU9.eKFOHzVrOYAbxrHMdcBkw7ne0W2
 by: vga256 - Fri, 14 Jul 2023 19:24 UTC

> NOTE: I plan in the future to move the users and userconfig dirs to a dir in /var in the future. It looks like newer Debians and maybe other linuxes may be moving toward disallowing writing in /etc by the web server in the future. Already 'touch' does not work from the log in script (function) in /etc. It does in var (I know because I do that on i2pn2.org).

> It's a good idea anyway as /etc really shouldn't contain such things.

> This will add a fourth rslight dir, and a new variable to contain it's location. I'll try to be very careful when I do this, and post here the changes. It won't be very soon, but eventually.

Ha ha - we must be on the same wavelength, because I started moving scripts out of /etc last week :D

FWIW - I am now halfway to a working, granular, very simple RBAC-style permissions system. The admin can create roles (groups), which have permissions that can be added/removed at will. I wanted to continue with RSL's flatfile database approach, but doing a relational database this way was pretty gnarly. I resorted to sqlite3 against my desires, and it seems to be working fine. The back end is all built, and now I'm just building out the admin.php page so permissions/roles can be set and changed.

--
Posted on Rocksolid Light

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED!not-for-mail
From: admin@sybershock.com (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Fri, 14 Jul 2023 14:45:18 -0500
Organization: sybershock.com
Message-ID: <c091dba5bb6aa85d2c2dccfaf21fc683$1@sybershock.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com>
<acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org>
<73a235585db5d0a107c08bba9a8864e8@news.novabbs.org>
<f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com>
<89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org>
<ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com>
<82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org>
<f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org;
logging-data="415597"; mail-complaints-to="usenet@novabbs.org";
posting-account="TzG3Hl99Aa0Fgb506WreKRgRTO2mG9+aGjVDifyfNqo";
 by: Syber Shock - Fri, 14 Jul 2023 19:45 UTC

On Fri, 14 Jul 2023 16:54:11 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> vga256 wrote:
>
> > Not really a bug, just something worth considering - currently
> > there is no limit on username length, which gets kinda goofy when
> > the usernames are stored in the filesystem as filenames.
>
> > https://github.com/novabbs/rocksolid-light/commit/354f100fffe6f0699132b7e047043c5872b8c07f
> >
>
> > I hardcoded a limit of 30 characters, but this could easily be
> > added as a config option.
>
> Good call. I will apply that here also.
>
> NOTE: I plan in the future to move the users and userconfig dirs to a
> dir in /var in the future. It looks like newer Debians and maybe
> other linuxes may be moving toward disallowing writing in /etc by the
> web server in the future. Already 'touch' does not work from the log
> in script (function) in /etc. It does in var (I know because I do
> that on i2pn2.org).
>
> It's a good idea anyway as /etc really shouldn't contain such things.
>
> This will add a fourth rslight dir, and a new variable to contain
> it's location. I'll try to be very careful when I do this, and post
> here the changes. It won't be very soon, but eventually.

Please ensure the installer can still choose custom path for install
directories. This is a vital feature for running on some system
configurations.

--

SugarBug | https://sybershock.com

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sat, 15 Jul 2023 14:52:02 +0000
Organization: RetroBBS
Message-ID: <91ed58bb15215c117ac8447674b37dac@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com> <c091dba5bb6aa85d2c2dccfaf21fc683$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3375527"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Site: $2y$10$mrEf23SqU3DMG7VhZpXm2O1aPtVuj77rAkzwdY4VJmdWyCGySTtxm
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
 by: Retro Guy - Sat, 15 Jul 2023 14:52 UTC

Syber Shock wrote:

> On Fri, 14 Jul 2023 16:54:11 +0000
> retro.guy@rocksolidbbs.com (Retro Guy) wrote:

>> This will add a fourth rslight dir, and a new variable to contain
>> it's location. I'll try to be very careful when I do this, and post
>> here the changes. It won't be very soon, but eventually.

> Please ensure the installer can still choose custom path for install
> directories. This is a vital feature for running on some system
> configurations.

That's the plan. There may be an added dir, but they will all be
configurable at install.

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sat, 15 Jul 2023 17:06:13 +0000
Organization: RetroBBS
Message-ID: <f9b0642dea80e2b99c1b55c39dfda802@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com> <c091dba5bb6aa85d2c2dccfaf21fc683$1@sybershock.com> <91ed58bb15215c117ac8447674b37dac@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3386888"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Site: $2y$10$Q.qixm3wFgwqzNsxZNJwrOCODG9/KAzcnjnEH/zXNSf8hPRSMgK3O
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Sat, 15 Jul 2023 17:06 UTC

Retro Guy wrote:

> Syber Shock wrote:

>> On Fri, 14 Jul 2023 16:54:11 +0000
>> retro.guy@rocksolidbbs.com (Retro Guy) wrote:

>>> This will add a fourth rslight dir, and a new variable to contain
>>> it's location. I'll try to be very careful when I do this, and post
>>> here the changes. It won't be very soon, but eventually.

>> Please ensure the installer can still choose custom path for install
>> directories. This is a vital feature for running on some system
>> configurations.

> That's the plan. There may be an added dir, but they will all be
> configurable at install.

Hi Syber Shock. You also previously mentioned that your specfic setup
requires the use of different directories.

Since most of my experience is just with the plain shell and command line,
I'm not familiar working with hosting control panels. I'm guessing that
is what you are using. Please correct me if I'm wrong.

Anyway, my thought is that web stuff goes in /var/www
Spool in /var/spool
Config in /etc

Then I plan to take scripts and user data out of /etc (it never belonged there)
and move it to var. So maybe /var/rslight/bin /var/rslight/users ?

Thoughts anyone?

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED!not-for-mail
From: admin@sybershock.com (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sat, 15 Jul 2023 13:38:24 -0500
Organization: sybershock.com
Message-ID: <1b41245a34c7ea44ac00ee04b22a6e70$1@sybershock.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com>
<acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org>
<73a235585db5d0a107c08bba9a8864e8@news.novabbs.org>
<f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com>
<89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org>
<ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com>
<82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org>
<f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com>
<c091dba5bb6aa85d2c2dccfaf21fc683$1@sybershock.com>
<91ed58bb15215c117ac8447674b37dac@rocksolidbbs.com>
<f9b0642dea80e2b99c1b55c39dfda802@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org;
logging-data="555273"; mail-complaints-to="usenet@novabbs.org";
posting-account="TzG3Hl99Aa0Fgb506WreKRgRTO2mG9+aGjVDifyfNqo";
 by: Syber Shock - Sat, 15 Jul 2023 18:38 UTC

On Sat, 15 Jul 2023 17:06:13 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> Retro Guy wrote:
>
> > Syber Shock wrote:
>
> >> On Fri, 14 Jul 2023 16:54:11 +0000
> >> retro.guy@rocksolidbbs.com (Retro Guy) wrote:
>
> >>> This will add a fourth rslight dir, and a new variable to contain
> >>> it's location. I'll try to be very careful when I do this, and
> >>> post here the changes. It won't be very soon, but eventually.
>
> >> Please ensure the installer can still choose custom path for
> >> install directories. This is a vital feature for running on some
> >> system configurations.
>
> > That's the plan. There may be an added dir, but they will all be
> > configurable at install.
>
> Hi Syber Shock. You also previously mentioned that your specfic setup
> requires the use of different directories.
>
> Since most of my experience is just with the plain shell and command
> line, I'm not familiar working with hosting control panels. I'm
> guessing that is what you are using. Please correct me if I'm wrong.
>
> Anyway, my thought is that web stuff goes in /var/www
> Spool in /var/spool
> Config in /etc
>
> Then I plan to take scripts and user data out of /etc (it never
> belonged there) and move it to var. So maybe /var/rslight/bin
> /var/rslight/users ?
>
> Thoughts anyone?
>

I would suggest a single directory under /var/ with subdirectories for
'config' and 'spool' and all rslight data and config dirs. I've always
preferred all files related to an application to be in one directory
rather than the Linux idea of kinds or classes of files irrespective of
the parent application. IMHO that's why we have symlinks. If one
application needs to be aware of the files of another, a directory
symlink could be in the common or file class location pointing to the
actual application folder.

In some panels the web root is under the user account for a domain so
it would look like this:

/home/$USER/web/domain.name/www/public_html

Then all the web files are owned by that user instead of www-data.
Otherwise a hole in the security would possibly allow www-data to
traverse to other domain web files. This is also useful for honeypot
tripwires as many fake users and their directories can be set up with
inotify watchers to lockout IPs and send alerts if any of their folders
or files are accessed.

In my case the web server can only access public_html. Neither the
server nor any of its spawn processes can access 'www'. Configuring it
to access the files that go in /var and /etc required some study and
config file foo.

--

SugarBug | https://sybershock.com

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sun, 16 Jul 2023 15:10:12 +0000
Organization: RetroBBS
Message-ID: <43399f8bede77cfb36fb6fd8003eb9d6@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com> <c091dba5bb6aa85d2c2dccfaf21fc683$1@sybershock.com> <91ed58bb15215c117ac8447674b37dac@rocksolidbbs.com> <f9b0642dea80e2b99c1b55c39dfda802@rocksolidbbs.com> <1b41245a34c7ea44ac00ee04b22a6e70$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3485818"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Rslight-Site: $2y$10$jgGB8XAC3zz/KJClFuKKC.oK8r3iseLMHy.8e91WXtGEqdtz7oZG2
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Sun, 16 Jul 2023 15:10 UTC

Syber Shock wrote:

> On Sat, 15 Jul 2023 17:06:13 +0000
> retro.guy@rocksolidbbs.com (Retro Guy) wrote:

>> Retro Guy wrote:
>>
>> > Syber Shock wrote:
>>
>> >> On Fri, 14 Jul 2023 16:54:11 +0000
>> >> retro.guy@rocksolidbbs.com (Retro Guy) wrote:
>>
>> >>> This will add a fourth rslight dir, and a new variable to contain
>> >>> it's location. I'll try to be very careful when I do this, and
>> >>> post here the changes. It won't be very soon, but eventually.
>>
>> >> Please ensure the installer can still choose custom path for
>> >> install directories. This is a vital feature for running on some
>> >> system configurations.
>>
>> > That's the plan. There may be an added dir, but they will all be
>> > configurable at install.
>>
>> Hi Syber Shock. You also previously mentioned that your specfic setup
>> requires the use of different directories.
>>
>> Since most of my experience is just with the plain shell and command
>> line, I'm not familiar working with hosting control panels. I'm
>> guessing that is what you are using. Please correct me if I'm wrong.
>>
>> Anyway, my thought is that web stuff goes in /var/www
>> Spool in /var/spool
>> Config in /etc
>>
>> Then I plan to take scripts and user data out of /etc (it never
>> belonged there) and move it to var. So maybe /var/rslight/bin
>> /var/rslight/users ?
>>
>> Thoughts anyone?
>>

> I would suggest a single directory under /var/ with subdirectories for
> 'config' and 'spool' and all rslight data and config dirs. I've always
> preferred all files related to an application to be in one directory
> rather than the Linux idea of kinds or classes of files irrespective of
> the parent application.

I think I agree with you here, as far as how I should default the install.
Everything in /var. This is how some other packages do it, and I see why.

I personally prefer the separation '/var/www' '/etc', etc. so I can do that
during install simply enough. Just that default be '/var'.

I do plan at some point in the future to make a Debian package, and that
can match Debian's dictates on directories. It should all work fine.

> IMHO that's why we have symlinks. If one
> application needs to be aware of the files of another, a directory
> symlink could be in the common or file class location pointing to the
> actual application folder.

I do find that some of my Linux installs do not allow some features to
write to '/etc/rslight/...' even when symlinked to '/var/something'. If I
move it to '/var/something', it works. I foundd this when writing and
implementing my rslight -> wordpress userbase syncing script.

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!i2pn.org!rocksolid2!.POSTED!not-for-mail
From: admin@sybershock.com (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sun, 16 Jul 2023 15:23:54 -0500
Organization: sybershock.com
Message-ID: <0bab253a04bf365cc40112a15ebe1042$1@sybershock.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com>
<acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org>
<73a235585db5d0a107c08bba9a8864e8@news.novabbs.org>
<f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com>
<89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org>
<ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com>
<82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org>
<f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com>
<c091dba5bb6aa85d2c2dccfaf21fc683$1@sybershock.com>
<91ed58bb15215c117ac8447674b37dac@rocksolidbbs.com>
<f9b0642dea80e2b99c1b55c39dfda802@rocksolidbbs.com>
<1b41245a34c7ea44ac00ee04b22a6e70$1@sybershock.com>
<43399f8bede77cfb36fb6fd8003eb9d6@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org;
logging-data="702915"; mail-complaints-to="usenet@novabbs.org";
posting-account="TzG3Hl99Aa0Fgb506WreKRgRTO2mG9+aGjVDifyfNqo";
 by: Syber Shock - Sun, 16 Jul 2023 20:23 UTC

On Sun, 16 Jul 2023 15:10:12 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> > IMHO that's why we have symlinks. If one
> > application needs to be aware of the files of another, a directory
> > symlink could be in the common or file class location pointing to
> > the actual application folder.
>
> I do find that some of my Linux installs do not allow some features
> to write to '/etc/rslight/...' even when symlinked to
> '/var/something'. If I move it to '/var/something', it works. I
> foundd this when writing and implementing my rslight -> wordpress
> userbase syncing script.

The symlink issue illustrates one of the reasons I dislike the concept
of distros. I wish the Linux 'community' would just focus all their
effort on one universal solution that works the same across the board.
Of course this is wishful thinking.

All the many distros and versions of everything increase grunt work an
order of magnitude for everyone who tries to use the platform. There
are endless nags and snags to sort out. So most free software is not
really free, if you value your time.

--
SugarBug | https://sybershock.com

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Mon, 17 Jul 2023 16:58:38 +0000
Organization: Rocksolid Light
Message-ID: <4adbea73a7abf97f99d5b88a59d69cb0@news.novabbs.org>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3605785"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Site: $2y$10$YT3YPRoI35O/vFHki5xO9eUhHOpCQTo4.X8XxtYzP4WQtTAOsXnxq
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
 by: vga256 - Mon, 17 Jul 2023 16:58 UTC

tiny update to rslight:

line 143 of spoolnews.php has an absolute path/filename for /etc/rslight/banned_names.conf

renamed this to:

$banned_names = file($user_ban_file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);

afterwards, i added the $user_ban_file variable to config.inc.php

--
Posted on Rocksolid Light

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Mon, 17 Jul 2023 17:09:01 +0000
Organization: RetroBBS
Message-ID: <ebacd738c79c3d8de71489619737c14b@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <4adbea73a7abf97f99d5b88a59d69cb0@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3606677"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$ZEzyDg4KxBDKFKvkAy17ZOe2zuvAlS8EmCmgcEc0nzmsYENG26pD2
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
 by: Retro Guy - Mon, 17 Jul 2023 17:09 UTC

vga256 wrote:

> tiny update to rslight:

> line 143 of spoolnews.php has an absolute path/filename for /etc/rslight/banned_names.conf

Good catch. I used to do this often before deciding to make rslight available (it was just for one site for me). I thought I caught all the hard-coded paths by now, but I guess not, lol :)

> renamed this to:

> $banned_names = file($user_ban_file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);

> afterwards, i added the $user_ban_file variable to config.inc.php

I'll check this out.

Thanks!

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Tue, 18 Jul 2023 16:21:12 +0000
Organization: RetroBBS
Message-ID: <ba94343f6103e6f0310e472f843c59e3@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <4adbea73a7abf97f99d5b88a59d69cb0@news.novabbs.org> <ebacd738c79c3d8de71489619737c14b@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3710964"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Site: $2y$10$NVAXkJbe2a.a0ig6MLN2EOZtOo8xBVxYOp55aIP2foTy9vu52hrUu
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
 by: Retro Guy - Tue, 18 Jul 2023 16:21 UTC

New commit to novabbs/rocksolid-light

Fix possible fatal article number error in remote_groupfile.

https://github.com/novabbs/rocksolid-light/commit/1b8f31fe34ac40c1a1d6bc0e012ca11a1963cffb7

Where <groupname>:<artnum> and 'artnum' is flawed in some way, spoolnews,php would crash. This commit checks that 'artnum' is_numeric, and if not, assigns '1', which allows spoolnews.php to continue and then write correct 'artnum' after this run.

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Tue, 18 Jul 2023 16:48:00 +0000
Organization: RetroBBS
Message-ID: <8dd11d8ed5ce1087e6b43d4199e4bc9d@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <4adbea73a7abf97f99d5b88a59d69cb0@news.novabbs.org> <ebacd738c79c3d8de71489619737c14b@rocksolidbbs.com> <ba94343f6103e6f0310e472f843c59e3@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3712873"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Rslight-Site: $2y$10$bAwbdXvAREDLTLsktioZZeXWHLglVPiOBRg0OBJzltxD2sGYWlUYe
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Tue, 18 Jul 2023 16:48 UTC

Retro Guy wrote:

> New commit to novabbs/rocksolid-light

> Fix possible fatal article number error in remote_groupfile.

> https://github.com/novabbs/rocksolid-light/commit/1b8f31fe34ac40c1a1d6bc0e012ca11a1963cffb7

> Where <groupname>:<artnum> and 'artnum' is flawed in some way, spoolnews,php would crash. This commit checks that 'artnum' is_numeric, and if not, assigns '1', which allows spoolnews.php to continue and then write correct 'artnum' after this run.

Fix link (I hope):

https://github.com/novabbs/rocksolid-light/commit/1b8f31fe34ac40c1a1d6bc0e012ca11a1963cffb

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Wed, 19 Jul 2023 18:22:02 +0000
Organization: Rocksolid Light
Message-ID: <05e340190a18331fccaefc0bea0b82ae@news.novabbs.org>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com> <473a269b62036d42252d58cc83e071ba@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="3830066"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Rslight-Site: $2y$10$/ICcoQ4EdtM0RD8eXZw1IOtm7UXIpR9CF.8/b4rP5kSyJzDCyCBue
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: vga256 - Wed, 19 Jul 2023 18:22 UTC

Spent the past week on a Roles & Permissions system, as well as rewriting the Authentication system. I wish I could provide commits for these, but they're so wide-ranging that they really do require my tomo fork of RSLight.

Authentication:
If anyone's interested, I've migrated user creation, password, encyption key, pkey, e-mail address and verification storage all to an sqlite db. All authentication happens via the user database, and no longer uses ~/spoolnews/username to store user info in flat files.

Roles & Permissions:
All areas of the site can be assigned Permissions which check to see if the user has been assigned a role that allows them access to the area, or to run an action. Now it's possible to create moderators that can delete messages, co-sysops who can add/delete users, users with reading but no posting permissions, etc.

If anyone's interested in these commits, they're [over here](https://bitbucket.org/svga256/tomobbs/src/master/) over the past week or so. The file structure has been changed significantly to suit my own needs (e.g. most of the project runs from a single directory, and not all over the filesystem, now), and I've created a ./database folder to store user info. Merging this into RSL would also add all new installation steps (generating a SQL db, adding default users to it, etc), so it's probably not a good candidate for RSL.

That being said, these changes add a ton of configurability to the front end. I'm going to be moving all of the user.config stuff into the user sqlite db as well, over the next week.

--
Posted on Rocksolid Light

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sat, 22 Jul 2023 14:51:57 +0000
Organization: RetroBBS
Message-ID: <09bc94780921cab662e9fe1c684f70b3@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com> <473a269b62036d42252d58cc83e071ba@news.novabbs.org> <05e340190a18331fccaefc0bea0b82ae@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="4146935"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$PQmvdBS/IqNQQ0AlcrtwguLkBA55UNYa6H7zV4HzNKCWYYO0zpQwO
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Sat, 22 Jul 2023 14:51 UTC

vga256 wrote:

> Spent the past week on a Roles & Permissions system, as well as rewriting the Authentication system. I wish I could provide commits for these, but they're so wide-ranging that they really do require my tomo fork of RSLight.

> Authentication:

> Roles & Permissions:

> If anyone's interested in these commits, they're [over here](https://bitbucket.org/svga256/tomobbs/src/master/) over the past week or so. The file structure has been changed significantly to suit my own needs (e.g. most of the project runs from a single directory, and not all over the filesystem, now), and I've created a ./database folder to store user info. Merging this into RSL would also add all new installation steps (generating a SQL db, adding default users to it, etc), so it's probably not a good candidate for RSL.

The feature list sounds great! tomo BBS should be a great choice for a site with thorough moderation tools. Glad to see it!

I did try to install today, but it did not work. Just in a VM, no risk to anything here.

I notice that the chosen install dirs in debian-install.sh are not written to common/config.inc.php. I needed to modify that file manually. Then it seems that no matter what directories you've chosen, $bbsroot_dir is hardcoded to be one level above the web dir, so what you choose in install doesn't really matter.

I did stop there for now as I believe you are working on more important features/tasks, and cleaning up install can wait. Just wanted to let you know my experience.

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sat, 22 Jul 2023 16:32:54 +0000
Organization: Rocksolid Light
Message-ID: <7a9e9db15b8e930eb1419881ae65675e@news.novabbs.org>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com> <473a269b62036d42252d58cc83e071ba@news.novabbs.org> <05e340190a18331fccaefc0bea0b82ae@news.novabbs.org> <09bc94780921cab662e9fe1c684f70b3@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="4155466"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Rslight-Site: $2y$10$aeXpA1u/80Hp1IJHlnDLOeYMZI1seqXU3PyuAj.CtqjR8gPW77z.e
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: vga256 - Sat, 22 Jul 2023 16:32 UTC

I did try to install today, but it did not work. Just in a VM, no risk to anything here.

> I notice that the chosen install dirs in debian-install.sh are not written to common/config.inc.php. I needed to modify that file manually. Then it seems that no matter what directories you've chosen, $bbsroot_dir is hardcoded to be one level above the web dir, so what you choose in install doesn't really matter.

> I did stop there for now as I believe you are working on more important features/tasks, and cleaning up install can wait. Just wanted to let you know my experience.

Oh yikes haha! I haven't even touched or looked at the installer yet - that is an absolute final step for me. All of the values in the configuration files are hardcoded. I have to spend a day or two rewriting the installer to handle all of the new paths I've added, as well as make them system agnostic.

For now I'm focusing on building out core functionality. I'll put up a public test server somewhere so you can take it for a spin and see it in its current, broken, but feature-rich, state :)

--
Posted on Rocksolid Light

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: vga@vga256.com (vga256)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sun, 23 Jul 2023 17:55:19 +0000
Organization: Rocksolid Light
Message-ID: <5877853f8232aed16a7a18421f8f4728@news.novabbs.org>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com> <473a269b62036d42252d58cc83e071ba@news.novabbs.org> <05e340190a18331fccaefc0bea0b82ae@news.novabbs.org> <09bc94780921cab662e9fe1c684f70b3@rocksolidbbs.com> <7a9e9db15b8e930eb1419881ae65675e@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="74367"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: Rocksolid Light 0.8.5
X-Rslight-Posting-User: 9d50238f0c8e65588ce75c7d7eaad42d47312328
X-Rslight-Site: $2y$10$ltY.q8CJsfImhbYAW69DrOMHABnhrxPGmfoU7IwQ6OgM1I2hLsX0C
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: vga256 - Sun, 23 Jul 2023 17:55 UTC

This is more of a cosmetic change to RSL, but I'll offer the commit here anyway: if you put empty text in the 'remote_server' and 'remote_port' fields of the configuration, you end up with a goofy filename in "/spoolnews/:.txt"

it took me weeks to figure out how that weird filename was ending up there every time i ran a cron job :D

Scroll down to spoolnews.php:

https://bitbucket.org/svga256/tomobbs/commits/d04226927317d4a44a55bcf7431501bb6acec1e8

--
Posted on Rocksolid Light

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sun, 23 Jul 2023 18:23:43 +0000
Organization: RetroBBS
Message-ID: <6e688ee27fe3c126f2f67291e86a3666@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com> <473a269b62036d42252d58cc83e071ba@news.novabbs.org> <05e340190a18331fccaefc0bea0b82ae@news.novabbs.org> <09bc94780921cab662e9fe1c684f70b3@rocksolidbbs.com> <7a9e9db15b8e930eb1419881ae65675e@news.novabbs.org> <5877853f8232aed16a7a18421f8f4728@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="76797"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$gRT2Zh8m8hqRRVkxdGiFAu6XWDOBnDea1jmU1q7WKUj5njUVsMS1O
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
 by: Retro Guy - Sun, 23 Jul 2023 18:23 UTC

vga256 wrote:

> This is more of a cosmetic change to RSL, but I'll offer the commit here anyway: if you put empty text in the 'remote_server' and 'remote_port' fields of the configuration, you end up with a goofy filename in "/spoolnews/:.txt"

> it took me weeks to figure out how that weird filename was ending up there every time i ran a cron job :D

Thank you, I have implemented this change.

I was tempted to add a default for '$CONFIG['remote_port']' in config.inc.php, but decided against it. Just require it be set in config. I am 70% convinced I won't bother with that change, lol.

--
Retro Guy

Re: RSlight commits
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: RSlight commits
Date: Sat, 29 Jul 2023 00:40:30 +0000
Organization: RetroBBS
Message-ID: <0eb7d6b2fab7d94364ecd100462ee715@rocksolidbbs.com>
References: <48f3b762ea1b773c2b5bbf31c4e21f3f@rocksolidbbs.com> <acf1c52ec3f5da5c5fd71c33c34482b5@news.novabbs.org> <73a235585db5d0a107c08bba9a8864e8@news.novabbs.org> <f6302ee1d14cc6fae777030eb4cd865a@rocksolidbbs.com> <89de840b87cc206f6edff7c73d5a9d53@news.novabbs.org> <ae847c3e3700580080bb15d6f31d763e@rocksolidbbs.com> <82dc8b9f4847fe09e240208c9ac5c165@news.novabbs.org> <f59b8b8398beb31ee9616511faccfc7d@rocksolidbbs.com> <473a269b62036d42252d58cc83e071ba@news.novabbs.org> <05e340190a18331fccaefc0bea0b82ae@news.novabbs.org> <09bc94780921cab662e9fe1c684f70b3@rocksolidbbs.com> <7a9e9db15b8e930eb1419881ae65675e@news.novabbs.org> <5877853f8232aed16a7a18421f8f4728@news.novabbs.org> <6e688ee27fe3c126f2f67291e86a3666@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="659313"; mail-complaints-to="usenet@i2pn2.org";
posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light 0.8.5
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on i2pn2.org
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$AHP2VJLZ9Qsy/TscThbPYOUlImBD.YsPtGDqO03XfwxQUYSDJbtDi
 by: Retro Guy - Sat, 29 Jul 2023 00:40 UTC

Retro Guy wrote:

> vga256 wrote:

>> This is more of a cosmetic change to RSL, but I'll offer the commit here anyway: if you put empty text in the 'remote_server' and 'remote_port' fields of the configuration, you end up with a goofy filename in "/spoolnews/:.txt"

In addition to the mod above, we can add the following to line 28 in send.php to exit the script if there is no remote_server set (we don't want to 'send' anything):

if ($CONFIG['remote_server'] == '') {
exit();
}

In spoolnews.php, the following has been commented out (at line 201 in my copy):

// Broken message on last run? Let's try again.
/*
if($article > ($detail[3])) {
$article = $detail[3];
}
*/

This code fixed an old bug, but the bug no longer exists, and it was causing rslight to try to pull ONE message back everytime it polls the server. It would see it is a duplicate and no problem, but it's a waste of bandwith, and a waste of log file space.

--
Retro Guy

Pages:12
server_pubkey.txt

rocksolid light 0.9.5
clearnet tor