Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You look like a million dollars. All green and wrinkled.


rocksolid / Rocksolid Nodes Help / [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header

SubjectAuthor
* [bug][rslight] disabled menu.conf entries cause blank HTML links output in page Byrl Raze Buckbriar
`* Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in pRetro Guy
 `* Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in pRetro Guy
  `* Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in pByrl Raze Buckbriar
   `* Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in pRetro Guy
    +* Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in pRetro Guy
    |+- Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in pRetro Guy
    |`- Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in pByrl Raze Buckbriar
    `- Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in pByrl Raze Buckbriar

1
Subject: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
From: Byrl Raze Buckbriar
Newsgroups: rocksolid.nodes.help
Organization: OCTADE
Date: Wed, 16 Oct 2024 20:15 UTC
Attachments: unnamed (application/pgp-signature)
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: news0@octade.net (Byrl Raze Buckbriar)
Newsgroups: rocksolid.nodes.help
Subject: [bug][rslight] disabled menu.conf entries cause blank HTML links
output in page header
Date: Wed, 16 Oct 2024 20:15:47 +0000
Organization: OCTADE
Message-ID: <2b659a1a30c587e4888c8f527a047f17$1@octade.net>
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
micalg="PGP-SHA256";
boundary="Signature=_Wed__16_Oct_2024_15_15_43_-0500_5qfqVRbF=6W/.Oj="
Injection-Info: i2pn2.org;
logging-data="2341647"; mail-complaints-to="usenet@i2pn2.org";
posting-account="OI6weT9bZt7saiRF3+XsJJTIMUPjpyh/q6ChV6DtztU";
User-Agent: OCTADE
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Newsreader: OCTADE
View all headers

[bug][rslight] disabled menu.conf entries cause blank HTML links output in page header

config/menu.conf looks like this:

```
# Add your sections below:
rocksolid:1:1
USENET:1:1
NEWS:1:1
:BLUEWORLDHOSTING:1:1
:MIXMIN:1:1
```

The two tail entries are disabled using the leading colon character.

Although disabled, Rocksolid Light still outputs blank html table cells and hyperlinks in the header button bar for those disabled entries. The pasted code here demonstrates:

```
<p align="center" class="np_header_button_bar">
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<form target="_self" action="../rocksolid">
<button class="np_header_button_link" type="submit">
rocksolid</button>
</form>
</td>
<td>
<form target="_self" action="../USENET">
<button class="np_header_button_link" type="submit">
USENET</button>
</form>
</td>
<td>
<form target="_self" action="../NEWS">
<button class="np_header_button_link" type="submit">
NEWS</button>
</form>
</td>
#### DISABLED ENTRY CODE ####
<td>
<form target="_self" action="../">
<button class="np_header_button_link" type="submit">
</button>
</form>
</td>
#### DISABLED ENTRY CODE ####
<td>
<form target="_self" action="../">
<button class="np_header_button_link" type="submit">
</button>
</form>
</td>
</tr>
</tbody>
</table>
</p>
```

In some themes these blank links in the header bar are not visible because of the lack of text. But they still take up screen real estate and are clickable links. If theme colors are changed to create border or background color the elements become visible and break visual appearance.

If I add more colon-disabled entries then one new table cell and link is output for each such entry.

Expected behavior is for the engine to skip disabled entries so they have no effect on the generated page source.

--
Byrl Raze Buckbriar . OCTADE . < https://octade.net >
Hacker Hotline . voice & SMS . (781) OCT-AGON
KeyOxide . < https://keyoxide.org/keyoxide0@octade.net >

Attachments: unnamed (application/pgp-signature)
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Wed, 16 Oct 2024 20:24 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
Date: Wed, 16 Oct 2024 13:24:40 -0700
Organization: Rocksolid Light
Message-ID: <d27c9e41968aa1b8bab7785176b7ff38$1@novabbs.org>
References: <2b659a1a30c587e4888c8f527a047f17$1@octade.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.org;
logging-data="2342523"; mail-complaints-to="usenet@i2pn2.org";
posting-account="PGd4t4cXnWwgUWG9VtTiCsm47oOWbHLcTr4rYoM0Edo";
User-Agent: 40tude_Dialog/2.0.15.41
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Wed, 16 Oct 2024 20:15:47 +0000, Byrl Raze Buckbriar wrote:

> [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
>
> config/menu.conf looks like this:
>
> ```
> # Add your sections below:
> rocksolid:1:1
> USENET:1:1
> NEWS:1:1
>:BLUEWORLDHOSTING:1:1
>:MIXMIN:1:1
> ```
>
> The two tail entries are disabled using the leading colon character.
>
> Although disabled, Rocksolid Light still outputs blank html table cells and hyperlinks in the header button bar for those disabled entries. The pasted code here demonstrates:
>
> ```
> <p align="center" class="np_header_button_bar">
> <table cellpadding="0" cellspacing="0">
> <tbody>
> <tr>
> <td>
> <form target="_self" action="../rocksolid">
> <button class="np_header_button_link" type="submit">
> rocksolid</button>
> </form>
> </td>
> <td>
> <form target="_self" action="../USENET">
> <button class="np_header_button_link" type="submit">
> USENET</button>
> </form>
> </td>
> <td>
> <form target="_self" action="../NEWS">
> <button class="np_header_button_link" type="submit">
> NEWS</button>
> </form>
> </td>
> #### DISABLED ENTRY CODE ####
> <td>
> <form target="_self" action="../">
> <button class="np_header_button_link" type="submit">
> </button>
> </form>
> </td>
> #### DISABLED ENTRY CODE ####
> <td>
> <form target="_self" action="../">
> <button class="np_header_button_link" type="submit">
> </button>
> </form>
> </td>
> </tr>
> </tbody>
> </table>
> </p>
> ```
>
> In some themes these blank links in the header bar are not visible because of the lack of text. But they still take up screen real estate and are clickable links. If theme colors are changed to create border or background color the elements become visible and break visual appearance.
>
> If I add more colon-disabled entries then one new table cell and link is output for each such entry.
>
> Expected behavior is for the engine to skip disabled entries so they have no effect on the generated page source.

This has been fixed, but it's in devel. I only noticed that a couple of
days ago.

Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Wed, 16 Oct 2024 23:06 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.mixmin.net!news.neodome.net!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output
in page header
Date: Wed, 16 Oct 2024 23:06:00 +0000
Organization: Rocksolid Light
Message-ID: <6065bf8f9896c2f25a44bddf58f065bd@www.novabbs.org>
References: <2b659a1a30c587e4888c8f527a047f17$1@octade.net> <d27c9e41968aa1b8bab7785176b7ff38$1@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="2358941"; mail-complaints-to="usenet@i2pn2.org";
posting-account="HNchV9coSOli+kkOHciCZlGs2VaRn7Emh38jWV1k174";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$jM74KjwG6opiGC7WBSFUleGhyF6vOLjzaElvw/6OX9yulEEhekVgC
X-Rslight-Posting-User: 28547bffeec402cc2e544e2f8e28cc9329f66434
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
View all headers

On Wed, 16 Oct 2024 20:24:40 +0000, Retro Guy wrote:

> On Wed, 16 Oct 2024 20:15:47 +0000, Byrl Raze Buckbriar wrote:
>
>> [bug][rslight] disabled menu.conf entries cause blank HTML links output
>> in page header
>>
>> config/menu.conf looks like this:
>>
>> ```
>> # Add your sections below:
>> rocksolid:1:1
>> USENET:1:1
>> NEWS:1:1
>>:BLUEWORLDHOSTING:1:1
>>:MIXMIN:1:1
>> ```
<snip>
>> In some themes these blank links in the header bar are not visible
>> because of the lack of text. But they still take up screen real estate
>> and are clickable links. If theme colors are changed to create border or
>> background color the elements become visible and break visual
>> appearance.
>>
>> If I add more colon-disabled entries then one new table cell and link is
>> output for each such entry.
>>
>> Expected behavior is for the engine to skip disabled entries so they
>> have no effect on the generated page source.
>
> This has been fixed, but it's in devel. I only noticed that a couple of
> days ago.

devel has now been merged into master and pushed to gitlab.

--
Retro Guy

Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
From: Byrl Raze Buckbriar
Newsgroups: rocksolid.nodes.help
Organization: OCTADE
Date: Thu, 17 Oct 2024 03:28 UTC
References: 1 2 3
Attachments: unnamed (application/pgp-signature)
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.quux.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: news0@octade.net (Byrl Raze Buckbriar)
Newsgroups: rocksolid.nodes.help
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML
links output in page header
Date: Thu, 17 Oct 2024 03:28:44 +0000
Organization: OCTADE
Message-ID: <ec08d819742576c44219561c0e0e50b0$1@octade.net>
References: <2b659a1a30c587e4888c8f527a047f17$1@octade.net>
<d27c9e41968aa1b8bab7785176b7ff38$1@novabbs.org>
<6065bf8f9896c2f25a44bddf58f065bd@www.novabbs.org>
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
micalg="PGP-SHA256";
boundary="Signature=_Wed__16_Oct_2024_22_28_43_-0500__g/3=iFXpUbEPCz2"
Injection-Info: i2pn2.org;
logging-data="2386527"; mail-complaints-to="usenet@i2pn2.org";
posting-account="OI6weT9bZt7saiRF3+XsJJTIMUPjpyh/q6ChV6DtztU";
User-Agent: OCTADE
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Newsreader: OCTADE
View all headers

On Wed, 16 Oct 2024 23:06:00 +0000
Retro Guy <retroguy@novabbs.com> wrote:

> On Wed, 16 Oct 2024 20:24:40 +0000, Retro Guy wrote:
>
> > On Wed, 16 Oct 2024 20:15:47 +0000, Byrl Raze Buckbriar wrote:
> >
> >> [bug][rslight] disabled menu.conf entries cause blank HTML links output
> >> in page header
> >>
> >> config/menu.conf looks like this:
> >>
> >> ```
> >> # Add your sections below:
> >> rocksolid:1:1
> >> USENET:1:1
> >> NEWS:1:1
> >>:BLUEWORLDHOSTING:1:1
> >>:MIXMIN:1:1
> >> ```
> <snip>
> >> In some themes these blank links in the header bar are not visible
> >> because of the lack of text. But they still take up screen real estate
> >> and are clickable links. If theme colors are changed to create border or
> >> background color the elements become visible and break visual
> >> appearance.
> >>
> >> If I add more colon-disabled entries then one new table cell and link is
> >> output for each such entry.
> >>
> >> Expected behavior is for the engine to skip disabled entries so they
> >> have no effect on the generated page source.
> >
> > This has been fixed, but it's in devel. I only noticed that a couple of
> > days ago.
>
> devel has now been merged into master and pushed to gitlab.
>
> --
> Retro Guy

I pulled master from gitlab and upgraded. Then I ran cron. The extrad code generation still persists.

I rebooted and tried again. The extra code still persists.

I upgraded to rocksolid light 0.9.159.

If I prefix the lines with a hashtag the extraneous code is no longer produced in the web pages. If I remove the lines the bug is also resolved. But if I prefix them with a colon it stays the same. I assumed that menu.conf uses the same prefix syntax as groups.txt. Was my assumption wrong?

--
Byrl Raze Buckbriar . OCTADE . < https://octade.net >
Hacker Hotline . voice & SMS . (781) OCT-AGON
KeyOxide . < https://keyoxide.org/keyoxide0@octade.net >

Attachments: unnamed (application/pgp-signature)
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Thu, 17 Oct 2024 09:28 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output
in page header
Date: Thu, 17 Oct 2024 09:28:27 +0000
Organization: Rocksolid Light
Message-ID: <a54bf5f6a963080d457507d60c970e00@www.novabbs.org>
References: <2b659a1a30c587e4888c8f527a047f17$1@octade.net> <d27c9e41968aa1b8bab7785176b7ff38$1@novabbs.org> <6065bf8f9896c2f25a44bddf58f065bd@www.novabbs.org> <ec08d819742576c44219561c0e0e50b0$1@octade.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="2417788"; mail-complaints-to="usenet@i2pn2.org";
posting-account="HNchV9coSOli+kkOHciCZlGs2VaRn7Emh38jWV1k174";
User-Agent: Rocksolid Light
X-Rslight-Posting-User: 28547bffeec402cc2e544e2f8e28cc9329f66434
X-Spam-Checker-Version: SpamAssassin 4.0.0
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$Edg5NSUCJ3j2NLMcE1FS5ODbKjYbrJcjXKxAsKguiluUYJKbMz9CC
View all headers

On Thu, 17 Oct 2024 3:28:44 +0000, Byrl Raze Buckbriar wrote:

> On Wed, 16 Oct 2024 23:06:00 +0000
> Retro Guy <retroguy@novabbs.com> wrote:
>
>> On Wed, 16 Oct 2024 20:24:40 +0000, Retro Guy wrote:
>>
>>> On Wed, 16 Oct 2024 20:15:47 +0000, Byrl Raze Buckbriar wrote:
>>>
>>>> [bug][rslight] disabled menu.conf entries cause blank HTML links output
>>>> in page header
>>>>
>>>> config/menu.conf looks like this:
>>>>
>>>> ```
>>>> # Add your sections below:
>>>> rocksolid:1:1
>>>> USENET:1:1
>>>> NEWS:1:1
>>>>:BLUEWORLDHOSTING:1:1
>>>>:MIXMIN:1:1
>>>> ```
>> <snip>
>>>> In some themes these blank links in the header bar are not visible
>>>> because of the lack of text. But they still take up screen real estate
>>>> and are clickable links. If theme colors are changed to create border or
>>>> background color the elements become visible and break visual
>>>> appearance.
>>>>
>>>> If I add more colon-disabled entries then one new table cell and link is
>>>> output for each such entry.
>>>>
>>>> Expected behavior is for the engine to skip disabled entries so they
>>>> have no effect on the generated page source.
>>>
>>> This has been fixed, but it's in devel. I only noticed that a couple of
>>> days ago.
>>
>> devel has now been merged into master and pushed to gitlab.
>>
>> --
>> Retro Guy
>
> I pulled master from gitlab and upgraded. Then I ran cron. The extrad
> code generation still persists.
>
> I rebooted and tried again. The extra code still persists.
>
> I upgraded to rocksolid light 0.9.159.
>
> If I prefix the lines with a hashtag the extraneous code is no longer
> produced in the web pages. If I remove the lines the bug is also
> resolved. But if I prefix them with a colon it stays the same. I assumed
> that menu.conf uses the same prefix syntax as groups.txt. Was my
> assumption wrong?

Ah, I see now what you mean. I'm not so smart lol.

Anyway, the bug I had fixed was causing exactly the problem you mention
if there was a blank line in menu.conf. I see now that you mean starting
with a colon.

The colon in groups.txt is how Newsportal read that file. The ':Groups
Title' was how it displayed a header on a page, which RSLight does not
do, but the colon remains.

menu.conf does not recognize a colon as the start of a line to ignore.
TO remove a section from the menu you would do this:

# Add your sections below:
rocksolid:1:1
USENET:1:1
NEWS:1:1
BLUEWORLDHOSTING:0:1
MIXMIN:0:1

To completely remove them use '#' at the start of the line.

I hope that is what was your goal and that I understand correctly. If
not, let me know and I'll try harder :)

--
Retro Guy

Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Thu, 17 Oct 2024 11:31 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output
in page header
Date: Thu, 17 Oct 2024 11:31:40 +0000
Organization: Rocksolid Light
Message-ID: <53f5327ef6ed9a0ae44d58c598edfe20@www.novabbs.org>
References: <2b659a1a30c587e4888c8f527a047f17$1@octade.net> <d27c9e41968aa1b8bab7785176b7ff38$1@novabbs.org> <6065bf8f9896c2f25a44bddf58f065bd@www.novabbs.org> <ec08d819742576c44219561c0e0e50b0$1@octade.net> <a54bf5f6a963080d457507d60c970e00@www.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="2431801"; mail-complaints-to="usenet@i2pn2.org";
posting-account="HNchV9coSOli+kkOHciCZlGs2VaRn7Emh38jWV1k174";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$YIljqtdXGjeyZbbM0t.St.BihoE/BZZlYl0b4XWPN05zSSE4IPLNq
X-Rslight-Posting-User: 28547bffeec402cc2e544e2f8e28cc9329f66434
X-Spam-Checker-Version: SpamAssassin 4.0.0
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|
View all headers

On Thu, 17 Oct 2024 9:28:27 +0000, Retro Guy wrote:

> On Thu, 17 Oct 2024 3:28:44 +0000, Byrl Raze Buckbriar wrote:
>
>> On Wed, 16 Oct 2024 23:06:00 +0000
>> Retro Guy <retroguy@novabbs.com> wrote:
>>
>>> On Wed, 16 Oct 2024 20:24:40 +0000, Retro Guy wrote:
>>>
>>>> On Wed, 16 Oct 2024 20:15:47 +0000, Byrl Raze Buckbriar wrote:
>>>>
>>>>> [bug][rslight] disabled menu.conf entries cause blank HTML links output
>>>>> in page header
>>>>>
>>>>> config/menu.conf looks like this:
>>>>>
>>>>> ```
>>>>> # Add your sections below:
>>>>> rocksolid:1:1
>>>>> USENET:1:1
>>>>> NEWS:1:1
>>>>>:BLUEWORLDHOSTING:1:1
>>>>>:MIXMIN:1:1
>>>>> ```
>>> <snip>
>>>>> In some themes these blank links in the header bar are not visible
>>>>> because of the lack of text. But they still take up screen real estate
>>>>> and are clickable links. If theme colors are changed to create border or
>>>>> background color the elements become visible and break visual
>>>>> appearance.
>>>>>
>>>>> If I add more colon-disabled entries then one new table cell and link is
>>>>> output for each such entry.
>>>>>
>>>>> Expected behavior is for the engine to skip disabled entries so they
>>>>> have no effect on the generated page source.
>>>>
>>>> This has been fixed, but it's in devel. I only noticed that a couple of
>>>> days ago.
>>>
>>> devel has now been merged into master and pushed to gitlab.
>>>
>>> --
>>> Retro Guy
>>
>> I pulled master from gitlab and upgraded. Then I ran cron. The extrad
>> code generation still persists.
>>
>> I rebooted and tried again. The extra code still persists.
>>
>> I upgraded to rocksolid light 0.9.159.
>>
>> If I prefix the lines with a hashtag the extraneous code is no longer
>> produced in the web pages. If I remove the lines the bug is also
>> resolved. But if I prefix them with a colon it stays the same. I assumed
>> that menu.conf uses the same prefix syntax as groups.txt. Was my
>> assumption wrong?
>
> Ah, I see now what you mean. I'm not so smart lol.
>
> Anyway, the bug I had fixed was causing exactly the problem you mention
> if there was a blank line in menu.conf. I see now that you mean starting
> with a colon.
>
> The colon in groups.txt is how Newsportal read that file. The ':Groups
> Title' was how it displayed a header on a page, which RSLight does not
> do, but the colon remains.
>
> menu.conf does not recognize a colon as the start of a line to ignore.
> TO remove a section from the menu you would do this:
>
> # Add your sections below:
> rocksolid:1:1
> USENET:1:1
> NEWS:1:1
> BLUEWORLDHOSTING:0:1
> MIXMIN:0:1
>
> To completely remove them use '#' at the start of the line.
>
> I hope that is what was your goal and that I understand correctly. If
> not, let me know and I'll try harder :)

I'm now reading menu.conf in only one function, and checking that the
line starts with an alphanumeric. If it is blank, starts with '#' or
anything else non-alphanumeric, the line is ignored.

This file is read in a lot of scripts, so I want to test it for a day or
so to make sure I didn't break anything. Once done, it'll be easy to
modify just being in one function.

--
Retro Guy

Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
From: Retro Guy
Newsgroups: rocksolid.nodes.help
Organization: Rocksolid Light
Date: Thu, 17 Oct 2024 11:49 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: retroguy@novabbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output
in page header
Date: Thu, 17 Oct 2024 11:49:34 +0000
Organization: Rocksolid Light
Message-ID: <107c4eabf9ac41630e717efa731e009c@www.novabbs.org>
References: <2b659a1a30c587e4888c8f527a047f17$1@octade.net> <d27c9e41968aa1b8bab7785176b7ff38$1@novabbs.org> <6065bf8f9896c2f25a44bddf58f065bd@www.novabbs.org> <ec08d819742576c44219561c0e0e50b0$1@octade.net> <a54bf5f6a963080d457507d60c970e00@www.novabbs.org> <53f5327ef6ed9a0ae44d58c598edfe20@www.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="2433351"; mail-complaints-to="usenet@i2pn2.org";
posting-account="HNchV9coSOli+kkOHciCZlGs2VaRn7Emh38jWV1k174";
User-Agent: Rocksolid Light
X-Rslight-Posting-User: 28547bffeec402cc2e544e2f8e28cc9329f66434
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$27vNuNHWSAWyJBxFe9i5U.YRwJaLtGr71zbRnVsLswClgQ2DpLmiu
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Thu, 17 Oct 2024 11:31:40 +0000, Retro Guy wrote:

> On Thu, 17 Oct 2024 9:28:27 +0000, Retro Guy wrote:
>
>> On Thu, 17 Oct 2024 3:28:44 +0000, Byrl Raze Buckbriar wrote:
>>
>>> On Wed, 16 Oct 2024 23:06:00 +0000
>>> Retro Guy <retroguy@novabbs.com> wrote:
>>>
>>>> On Wed, 16 Oct 2024 20:24:40 +0000, Retro Guy wrote:
>>>>
>>>>> On Wed, 16 Oct 2024 20:15:47 +0000, Byrl Raze Buckbriar wrote:
>>>>>
>>>>>> [bug][rslight] disabled menu.conf entries cause blank HTML links output
>>>>>> in page header
>>>>>>
>>>>>> config/menu.conf looks like this:
>>>>>>
>>>>>> ```
>>>>>> # Add your sections below:
>>>>>> rocksolid:1:1
>>>>>> USENET:1:1
>>>>>> NEWS:1:1
>>>>>>:BLUEWORLDHOSTING:1:1
>>>>>>:MIXMIN:1:1
>>>>>> ```
>>>> <snip>
>>>>>> In some themes these blank links in the header bar are not visible
>>>>>> because of the lack of text. But they still take up screen real estate
>>>>>> and are clickable links. If theme colors are changed to create border or
>>>>>> background color the elements become visible and break visual
>>>>>> appearance.
>>>>>>
>>>>>> If I add more colon-disabled entries then one new table cell and link is
>>>>>> output for each such entry.
>>>>>>
>>>>>> Expected behavior is for the engine to skip disabled entries so they
>>>>>> have no effect on the generated page source.
>>>>>
>>>>> This has been fixed, but it's in devel. I only noticed that a couple of
>>>>> days ago.
>>>>
>>>> devel has now been merged into master and pushed to gitlab.
>>>>
>>>> --
>>>> Retro Guy
>>>
>>> I pulled master from gitlab and upgraded. Then I ran cron. The extrad
>>> code generation still persists.
>>>
>>> I rebooted and tried again. The extra code still persists.
>>>
>>> I upgraded to rocksolid light 0.9.159.
>>>
>>> If I prefix the lines with a hashtag the extraneous code is no longer
>>> produced in the web pages. If I remove the lines the bug is also
>>> resolved. But if I prefix them with a colon it stays the same. I assumed
>>> that menu.conf uses the same prefix syntax as groups.txt. Was my
>>> assumption wrong?
>>
>> Ah, I see now what you mean. I'm not so smart lol.
>>
>> Anyway, the bug I had fixed was causing exactly the problem you mention
>> if there was a blank line in menu.conf. I see now that you mean starting
>> with a colon.
>>
>> The colon in groups.txt is how Newsportal read that file. The ':Groups
>> Title' was how it displayed a header on a page, which RSLight does not
>> do, but the colon remains.
>>
>> menu.conf does not recognize a colon as the start of a line to ignore.
>> TO remove a section from the menu you would do this:
>>
>> # Add your sections below:
>> rocksolid:1:1
>> USENET:1:1
>> NEWS:1:1
>> BLUEWORLDHOSTING:0:1
>> MIXMIN:0:1
>>
>> To completely remove them use '#' at the start of the line.
>>
>> I hope that is what was your goal and that I understand correctly. If
>> not, let me know and I'll try harder :)
>
> I'm now reading menu.conf in only one function, and checking that the
> line starts with an alphanumeric. If it is blank, starts with '#' or
> anything else non-alphanumeric, the line is ignored.
>
> This file is read in a lot of scripts, so I want to test it for a day or
> so to make sure I didn't break anything. Once done, it'll be easy to
> modify just being in one function.

I'm testing this with a pretty messed up menu.conf:

# Add your sections below:
aus+uk:1:1

rocksolid:1:1
other:1:1
:deutsch:0:1
dupe:1:1
usenet:1:1

All seems to work fine. I may push this to master later today.

--
Retro Guy

Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
From: Byrl Raze Buckbriar
Newsgroups: rocksolid.nodes.help
Organization: OCTADE
Date: Thu, 17 Oct 2024 12:37 UTC
References: 1 2 3 4 5
Attachments: unnamed (application/pgp-signature)
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: news0@octade.net (Byrl Raze Buckbriar)
Newsgroups: rocksolid.nodes.help
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML
links output in page header
Date: Thu, 17 Oct 2024 12:37:15 +0000
Organization: OCTADE
Message-ID: <4da927f5853bb527e1c00283cea4272d$1@octade.net>
References: <2b659a1a30c587e4888c8f527a047f17$1@octade.net>
<d27c9e41968aa1b8bab7785176b7ff38$1@novabbs.org>
<6065bf8f9896c2f25a44bddf58f065bd@www.novabbs.org>
<ec08d819742576c44219561c0e0e50b0$1@octade.net>
<a54bf5f6a963080d457507d60c970e00@www.novabbs.org>
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
micalg="PGP-SHA256";
boundary="Signature=_Thu__17_Oct_2024_07_36_04_-0500_YelkG=m6ueNT/b5H"
Injection-Info: i2pn2.org;
logging-data="2438456"; mail-complaints-to="usenet@i2pn2.org";
posting-account="OI6weT9bZt7saiRF3+XsJJTIMUPjpyh/q6ChV6DtztU";
User-Agent: OCTADE
X-Newsreader: OCTADE
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Thu, 17 Oct 2024 09:28:27 +0000
Retro Guy <retroguy@novabbs.com> wrote:

> On Thu, 17 Oct 2024 3:28:44 +0000, Byrl Raze Buckbriar wrote:
>
> > On Wed, 16 Oct 2024 23:06:00 +0000
> > Retro Guy <retroguy@novabbs.com> wrote:
> >
> >> On Wed, 16 Oct 2024 20:24:40 +0000, Retro Guy wrote:
> >>
> >>> On Wed, 16 Oct 2024 20:15:47 +0000, Byrl Raze Buckbriar wrote:
> >>>
> >>>> [bug][rslight] disabled menu.conf entries cause blank HTML links output
> >>>> in page header
> >>>>
> >>>> config/menu.conf looks like this:
> >>>>
> >>>> ```
> >>>> # Add your sections below:
> >>>> rocksolid:1:1
> >>>> USENET:1:1
> >>>> NEWS:1:1
> >>>>:BLUEWORLDHOSTING:1:1
> >>>>:MIXMIN:1:1
> >>>> ```
> >> <snip>
> >>>> In some themes these blank links in the header bar are not visible
> >>>> because of the lack of text. But they still take up screen real estate
> >>>> and are clickable links. If theme colors are changed to create border or
> >>>> background color the elements become visible and break visual
> >>>> appearance.
> >>>>
> >>>> If I add more colon-disabled entries then one new table cell and link is
> >>>> output for each such entry.
> >>>>
> >>>> Expected behavior is for the engine to skip disabled entries so they
> >>>> have no effect on the generated page source.
> >>>
> >>> This has been fixed, but it's in devel. I only noticed that a couple of
> >>> days ago.
> >>
> >> devel has now been merged into master and pushed to gitlab.
> >>
> >> --
> >> Retro Guy
> >
> > I pulled master from gitlab and upgraded. Then I ran cron. The extrad
> > code generation still persists.
> >
> > I rebooted and tried again. The extra code still persists.
> >
> > I upgraded to rocksolid light 0.9.159.
> >
> > If I prefix the lines with a hashtag the extraneous code is no longer
> > produced in the web pages. If I remove the lines the bug is also
> > resolved. But if I prefix them with a colon it stays the same. I assumed
> > that menu.conf uses the same prefix syntax as groups.txt. Was my
> > assumption wrong?
>
> Ah, I see now what you mean. I'm not so smart lol.
>
> Anyway, the bug I had fixed was causing exactly the problem you mention
> if there was a blank line in menu.conf. I see now that you mean starting
> with a colon.
>
> The colon in groups.txt is how Newsportal read that file. The ':Groups
> Title' was how it displayed a header on a page, which RSLight does not
> do, but the colon remains.
>
> menu.conf does not recognize a colon as the start of a line to ignore.
> TO remove a section from the menu you would do this:
>
> # Add your sections below:
> rocksolid:1:1
> USENET:1:1
> NEWS:1:1
> BLUEWORLDHOSTING:0:1
> MIXMIN:0:1
>
> To completely remove them use '#' at the start of the line.
>
> I hope that is what was your goal and that I understand correctly. If
> not, let me know and I'll try harder :)
>
> --
> Retro Guy

OK, I was assuming wrongly.

--
Byrl Raze Buckbriar . OCTADE . < https://octade.net >
Hacker Hotline . voice & SMS . (781) OCT-AGON
KeyOxide . < https://keyoxide.org/keyoxide0@octade.net >

Attachments: unnamed (application/pgp-signature)
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML links output in page header
From: Byrl Raze Buckbriar
Newsgroups: rocksolid.nodes.help
Organization: OCTADE
Date: Thu, 17 Oct 2024 12:37 UTC
References: 1 2 3 4 5 6
Attachments: unnamed (application/pgp-signature)
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: news0@octade.net (Byrl Raze Buckbriar)
Newsgroups: rocksolid.nodes.help
Subject: Re: [bug][rslight] disabled menu.conf entries cause blank HTML
links output in page header
Date: Thu, 17 Oct 2024 12:37:13 +0000
Organization: OCTADE
Message-ID: <9a317be57f817a45e1afafaa489c04f9$1@octade.net>
References: <2b659a1a30c587e4888c8f527a047f17$1@octade.net>
<d27c9e41968aa1b8bab7785176b7ff38$1@novabbs.org>
<6065bf8f9896c2f25a44bddf58f065bd@www.novabbs.org>
<ec08d819742576c44219561c0e0e50b0$1@octade.net>
<a54bf5f6a963080d457507d60c970e00@www.novabbs.org>
<53f5327ef6ed9a0ae44d58c598edfe20@www.novabbs.org>
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature";
micalg="PGP-SHA256";
boundary="Signature=_Thu__17_Oct_2024_07_35_31_-0500_uefL.=3wT.jM7KEH"
Injection-Info: i2pn2.org;
logging-data="2438456"; mail-complaints-to="usenet@i2pn2.org";
posting-account="OI6weT9bZt7saiRF3+XsJJTIMUPjpyh/q6ChV6DtztU";
User-Agent: OCTADE
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Newsreader: OCTADE
View all headers

On Thu, 17 Oct 2024 11:31:40 +0000
Retro Guy <retroguy@novabbs.com> wrote:

> On Thu, 17 Oct 2024 9:28:27 +0000, Retro Guy wrote:
>
> > On Thu, 17 Oct 2024 3:28:44 +0000, Byrl Raze Buckbriar wrote:
> >
> >> On Wed, 16 Oct 2024 23:06:00 +0000
> >> Retro Guy <retroguy@novabbs.com> wrote:
> >>
> >>> On Wed, 16 Oct 2024 20:24:40 +0000, Retro Guy wrote:
> >>>
> >>>> On Wed, 16 Oct 2024 20:15:47 +0000, Byrl Raze Buckbriar wrote:
> >>>>
> >>>>> [bug][rslight] disabled menu.conf entries cause blank HTML links output
> >>>>> in page header
> >>>>>
> >>>>> config/menu.conf looks like this:
> >>>>>
> >>>>> ```
> >>>>> # Add your sections below:
> >>>>> rocksolid:1:1
> >>>>> USENET:1:1
> >>>>> NEWS:1:1
> >>>>>:BLUEWORLDHOSTING:1:1
> >>>>>:MIXMIN:1:1
> >>>>> ```
> >>> <snip>
> >>>>> In some themes these blank links in the header bar are not visible
> >>>>> because of the lack of text. But they still take up screen real estate
> >>>>> and are clickable links. If theme colors are changed to create border or
> >>>>> background color the elements become visible and break visual
> >>>>> appearance.
> >>>>>
> >>>>> If I add more colon-disabled entries then one new table cell and link is
> >>>>> output for each such entry.
> >>>>>
> >>>>> Expected behavior is for the engine to skip disabled entries so they
> >>>>> have no effect on the generated page source.
> >>>>
> >>>> This has been fixed, but it's in devel. I only noticed that a couple of
> >>>> days ago.
> >>>
> >>> devel has now been merged into master and pushed to gitlab.
> >>>
> >>> --
> >>> Retro Guy
> >>
> >> I pulled master from gitlab and upgraded. Then I ran cron. The extrad
> >> code generation still persists.
> >>
> >> I rebooted and tried again. The extra code still persists.
> >>
> >> I upgraded to rocksolid light 0.9.159.
> >>
> >> If I prefix the lines with a hashtag the extraneous code is no longer
> >> produced in the web pages. If I remove the lines the bug is also
> >> resolved. But if I prefix them with a colon it stays the same. I assumed
> >> that menu.conf uses the same prefix syntax as groups.txt. Was my
> >> assumption wrong?
> >
> > Ah, I see now what you mean. I'm not so smart lol.
> >
> > Anyway, the bug I had fixed was causing exactly the problem you mention
> > if there was a blank line in menu.conf. I see now that you mean starting
> > with a colon.
> >
> > The colon in groups.txt is how Newsportal read that file. The ':Groups
> > Title' was how it displayed a header on a page, which RSLight does not
> > do, but the colon remains.
> >
> > menu.conf does not recognize a colon as the start of a line to ignore.
> > TO remove a section from the menu you would do this:
> >
> > # Add your sections below:
> > rocksolid:1:1
> > USENET:1:1
> > NEWS:1:1
> > BLUEWORLDHOSTING:0:1
> > MIXMIN:0:1
> >
> > To completely remove them use '#' at the start of the line.
> >
> > I hope that is what was your goal and that I understand correctly. If
> > not, let me know and I'll try harder :)
>
> I'm now reading menu.conf in only one function, and checking that the
> line starts with an alphanumeric. If it is blank, starts with '#' or
> anything else non-alphanumeric, the line is ignored.
>
> This file is read in a lot of scripts, so I want to test it for a day or
> so to make sure I didn't break anything. Once done, it'll be easy to
> modify just being in one function.
>
> --
> Retro Guy

Somewhere in the bowels of the darknet, some 31337 haXor has been running a rslight server with 30 section names beginning with odd punctuation characters. When he upgrades and notices something is off he will be so frustrated that he sets an autodialer to call psychiatric hotlines for three days straight. Then he will throw his server down a well after which he will join a monastery where computers are forbidden.

You just may have saved his soul!

--
Byrl Raze Buckbriar . OCTADE . < https://octade.net >
Hacker Hotline . voice & SMS . (781) OCT-AGON
KeyOxide . < https://keyoxide.org/keyoxide0@octade.net >

Attachments: unnamed (application/pgp-signature)
1

rocksolid light 0.9.8
clearnet tor