Rocksolid Light

Welcome to Rocksolid Light

register   nodelist   faq  


rocksolid / rocksolid.nodes.announce / Re: rslight-0.6.5 available

SubjectAuthor
* rslight-0.6.5 availableRetro Guy
+* Re: rslight-0.6.5 availableRetro Guy
|`* Re: rslight-0.6.5 availableRetro Guy
| `* Re: rslight-0.6.5 availableRetro Guy
|  `* Re: rslight-0.6.5 availableRetro Guy
|   `* Re: rslight-0.6.5 availableRetro Guy
|    `* Re: rslight-0.6.5 availableanonymous
|     `* Re: rslight-0.6.5 availableanon
|      `* Re: rslight-0.6.5 availableRetro Guy
|       `* Re: rslight-0.6.5 availableanon
|        +* Re: rslight-0.6.5 availableRetro Guy
|        |`- Re: rslight-0.6.5 availableRetro Guy
|        `* Re: rslight-0.6.5 availableRetro Guy
|         `* Re: rslight-0.6.5 availableRetro Guy
|          `* Re: rslight-0.6.5 availableRetro Guy
|           `* Re: rslight-0.6.5 availableRetro Guy
|            `* Re: rslight-0.6.5 availableRetro Guy
|             `* Re: rslight-0.6.5 availableRetro Guy
|              `* Re: rslight-0.6.5 availableRetro Guy
|               `* Re: rslight-0.6.5 availableRetro Guy
|                `* Re: rslight-0.6.5 availableRetro Guy
|                 `* Re: rslight-0.6.5 availableRetro Guy
|                  `* Re: rslight-0.6.5 availableRetro Guy
|                   `* Re: rslight-0.6.5 availableRetro Guy
|                    `* Re: rslight-0.6.5 availableRetro Guy
|                     `* Re: rslight-0.6.5 availableRetro Guy
|                      `* Re: rslight-0.6.5 availableRetro Guy
|                       +* Re: rslight-0.6.5 availableanon
|                       |`* Re: rslight-0.6.5 availableRetro Guy
|                       | +- Re: rslight-0.6.5 availableanonymous
|                       | `* Re: rslight-0.6.5 availableqa
|                       |  `* Re: rslight-0.6.5 availableanon
|                       |   +* Re: rslight-0.6.5 availableanon
|                       |   |`* Re: rslight-0.6.5 availableanonymous
|                       |   | +* Re: rslight-0.6.5 availableanonymous
|                       |   | |`* Re: rslight-0.6.5 availableRetro Guy
|                       |   | | `- Re: rslight-0.6.5 availableRetro Guy
|                       |   | `- Re: rslight-0.6.5 availableRetro Guy
|                       |   +- Re: rslight-0.6.5 availableRetro Guy
|                       |   `* Re: rslight-0.6.5 availableRetro Guy
|                       |    +- Re: rslight-0.6.5 availableRetro Guy
|                       |    `- Re: rslight-0.6.5 availableanon
|                       `* Re: rslight-0.6.5 availableRetro Guy
|                        `* Re: rslight-0.6.5 availableRetro Guy
|                         `* Re: rslight-0.6.5 availableRetro Guy
|                          `* Re: rslight-0.6.5 availableRetro Guy
|                           `* Re: rslight-0.6.5 availableRetro Guy
|                            `* Re: rslight-0.6.5 availableRetro Guy
|                             `- Re: rslight-0.6.5 availableRetro Guy
+* Re: rslight-0.6.5 availableanon
|+- Re: rslight-0.6.5 availableRetro Guy
|`- Re: rslight-0.6.5 availableRetro Guy
+- Re: rslight-0.6.5 availableanon
`* syncronetAnonymous
 `- Re: syncronetRetro Guy

Subject: Re: rslight-0.6.5 available
From: retroguy@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid
Date: Fri, 15 May 2020 06:27 UTC
anon wrote:


so, this is nice, it runs like it should, just this one bug with the error
message on posting.

I'll check the newsportal code to see what specifically leads to that error.
I know that a badly formatted message can do that, but rslight shouldn't do
that. A message that is too big can also (big attachment). I saw your
message with the code snippet, so I'll take a look.

that went well. finally i went a bit bananas on the logo to celebrate :-)

I like that logo :) Also, in /var/www/html/common/, there is a 'mods'
directory (or there should be anyway). You should be able to put a custom
logo in mods/images/, and a custom header.php or style.css in mods/

Either way, overwrite the original or use the mods directory, it should
work. Obviously, if it's in mods, it is used instead of the original files.

so very nice work, this gets easier and easier.

Thanks! I still don't know why sed produces an error (but works anyway) on
debian. It doesn't do that on freebsd.

the questions i have:

1) the cron.php calls all the other scripts, if I understand well. How do
you avoid two update runs at the same time ?

The scripts write a lock file in /tmp. If the scripts read/write the same
data as other scripts, they use the same lock file. Even if you run cron
every minute and it's not done the next time, the scripts will just exit on
seeing the pid in the lock file is still running.

2) talking about integrating other stuff, what would be the best interface
? i guess just calling the server, huh ? or directly manipulating the
spool ?

rslight works by posting via the nntp server, and reading directly from the
spool files, but also asking the server for some data to provide xover
information.

Writing to the spool files to post is not a good idea, as the xover data
will not be written (unless you write that also). You can post by just using
the nntp server to POST, or you can drop a ready to go message in
/var/spool/rslight/rocksolid/outgoing/

If you drop a message there, it will be sent to your upstream server on the
next cron.php run, then will show up on your system when spoolnews.php grabs
it from upstream and adds it to the spool.

I do have a function in nntp.php (insert_article), that can be used to
insert the article right away in the local system so you don't need to wait
for it to be pulled back by spoolnews. This is how the nntp server makes the
message available immediately.

Creating a custom function for vichan shouln't be hard to do, so it should
be able to post immediately also.

I'm going to read more of your messages now before I toss out more ideas.

Retro Guy




Subject: Re: rslight-0.6.5 available
From: retroguy@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid
Date: Fri, 15 May 2020 06:47 UTC
anonymous wrote:

what do the first two lines do ? you check if you have either success
(240) or failure (441) ? or i don't understand the code right...

You understand the code as much as I do lol! It doesn't really make sense as
it seems to say "if it succeeded or failed do this, else..." strange.

nntp.php will never send "441 435", but of course will send "240" or "441"

435 can mean "Bad Message-ID", but nntp.php doesn't send that ever. You can
get that from upstream, and it will show up in
/var/spool/rslight/log/spoolnews.log

I need to look more closely at this code, it's carried over from newsportal
and I'm guessing there is some point to it so I don't want to just quickly
change it.

Retro Guy




Subject: Re: rslight-0.6.5 available
From: retroguy@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid
Date: Fri, 15 May 2020 06:51 UTC
Retro Guy wrote:

anonymous wrote:

just this one bug with the error message on posting.

ok, this seems to be history now. would be interesting why it showed up.

what's with the identifier in the footer (displaying from which side you
posted) ? It's kind of a neat feature, i am just not sure if i want it on
all the time.

Awesome, I'm glad def2 is back! :)

The footer can be disabled in /etc/rslight/rslight.inc.php by setting:
$postfooter="";

Also, you can remove the domain name part and still have a footer by editing
/var/www/html/rocksolid/lib/post.inc.php near line 219:

if ((isset($postfooter)) && ($postfooter!="")) {
    $body.="\n-- \n".$postfooter."\n".$_SERVER['HTTP_HOST'];
}

just change the $body line to:
$body.="\n-- \n".$postfooter;

I should add this as a toggle in config. I'll do that in a future version as
if you change post.inc.php it will be overwritten by an upgrade.

But again, just set $postfooter="" in rslight.inc.php to disable completely
if you wish.

Retro Guy




Subject: Re: rslight-0.6.5 available
From: retroguy@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid
Date: Fri, 15 May 2020 07:25 UTC
anon wrote:


so, this is nice, it runs like it should, just this one bug with the error
message on posting.

i used standard directories this time, as I suspected this could be a
problem. the sed command displayed the same error message as last time
(and this is a different machine, with a different debian). the files are
updated anyway. after installation i needed to copy the groups.txt from
/rocksolid to groups.txt in /spoolnews before anything happened. after
that went well. finally i went a bit bananas on the logo to celebrate :-)

That's odd, it shouldn't be necessary. The groups.txt in
/etc/rslight/<section>/groups.txt should be specific to the section.

The groups.txt on all my systems in /etc/rslight/spoolnews only contains
groups I want on the nntp server, but don't want to display on the site
(like rocksolid.spam).

All the groups.txt files get added together and placed in
/var/spool/rslight/spoolnews/groups.txt If that's the file you're talking
about then either the wrong permissions are set for the directory (so it
can't be written), or for some reason cron.php isn't creating the file (see
near the top of cron.php).

I haven't seen this issue myself, I'll have to consider what it might be,
please just let me know which spoolnews/groups.txt file, in
/var/spool/rslight or /etc/rslight

Thanks!

Retro Guy




Subject: Re: rslight-0.6.5 available
From: retroguy@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid
Date: Fri, 15 May 2020 07:27 UTC
Also, if you want to add any of the sections you see on rslight.i2p (and
have on def3), just let me know and I can send you the groups.txt files for
them. That's probably easier than retyping them all.

Retro Guy




Subject: Re: rslight-0.6.5 available
From: anon@anon.com (anon)
Newsgroups: rocksolid.nodes.announce
Organization: def5
Date: Sat, 16 May 2020 00:16 UTC

/etc/rslight

in etc, i did not touch the other at all. most likely it is something with the rights imo.

Posted on def4


Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Wed, 10 Jun 2020 00:57 UTC
Recent mods to rslight:

Fix display of multi-byte characters in overboard. Detect encoding and recode to display properly.

Added support for banning by username or email address. Simply add to a text file and it's done. I'm not much into banning, but some users just need it.

Added support for decoding attachments from fudforum.

Identify if a post came from "this" site, and italicize the username if this is the case. Yes, this does have a purpose :)

Strengthen self identification of a site to make it harder to spoof. There will be more changes in this area, but for now it is much better than before.

Added ability to pull articles from nntp server by message-id for ARTICLE, BODY and HEAD.

Currently the nntp server can serve articles as json (serialized). This will be removed as it is no longer necessary (it was a test). If anyone wants it to remain, they will need to let me know or it will not be in the next release.

Some minor css changes to improve useability on mobile devices.

Check if spool is being updated for group before inserting a newly posted article directly. If update is in process, spool post for next run (don't insert immediately). This avoids the same local article number being chosen by two processes at the same time for two different articles.

Show timestamp on all entries for logging of nntp.php. Add entry to show if new post was inserted or queued (this is for debugging purposes and will eventually be a config option).

Retro Guy

--
Posted on: Rocksolid Light
www.novabbs.com



Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Sun, 14 Jun 2020 09:33 UTC
Latest changes in rslight 0.6.5...

Fixed handling of inline attachments. This has been disabled for a long time until I could finally devote some time to getting it working properly. I'd rather not see inline attachments at all, but fudforum sends them, so let's support them.

Added config option for which groups to ignore when displaying the overboard. These groups will still show latest messages if you click "view latest" or click the 'Latest" button on the group list, just not in the Section overboard.

Checking for obvious bugs. There will always be bugs, but waiting a bit longer before adding any features to see if I need to address anything critical.

Thinking over future features (wish list). I have a few ideas...

Retro Guy

--
Posted on: Rocksolid Light
www.novabbs.com



Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Wed, 17 Jun 2020 08:32 UTC
Retro Guy wrote:

Latest changes in rslight 0.6.5...

Fixed handling of inline attachments. This has been disabled for a long time until I could finally devote some time to getting it working properly. I'd rather not see inline attachments at all, but fudforum sends them, so let's support them.

Added config option for which groups to ignore when displaying the overboard. These groups will still show latest messages if you click "view latest" or click the 'Latest" button on the group list, just not in the Section overboard.

Checking for obvious bugs. There will always be bugs, but waiting a bit longer before adding any features to see if I need to address anything critical.

Thinking over future features (wish list). I have a few ideas...

A few more improvements (hopefully):

rslight now checks inline attachments for mime-type, instead of relying on file extension. It's always done this for attachments, but not inlne attachments. This is fixed now.

Now displaying attached images inside the post (reduced size). You can still click on the iamge to view full size or download. I plan to add a config option to enable/disable this feature.

Also, added list of attachments at the bottom of a message instead of just the header (where it's not very obvious).

Retro Guy

--
Posted on: Rocksolid Light
www.novabbs.com


Subject: Re: rslight-0.6.5 available
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Organization: Rocksolid Light
Date: Mon, 29 Jun 2020 09:06 UTC
Currently working on better creation of accounts. They create fine already, but more tightly integrating Synchronet account creation. Right now it runs as a cron job, but I'm going to put it into the account creation script instead.

Also, I plan to detach account syncing between rslight and retrobbs (novabbs and rocksolidbbs). This won't disable any accounts, it will just mean that if you create an account on one, it won't automatically create it on the other. I don't think this will cause anyone any issues, or really that anyone would notice anyway.

Most of the next minor changes will have to do with better Synchronet integration, so I may release 0.6.5e before going to much further into that. I will probably wrap up changes to account creation, release the next version, then continue with Synchront integration mods.

0.6.5e will contain a few bug changes from 0.6.5d, and a few improvements. It's not a critical upgrade, but the latest release is always recommended.

Retro Guy

--
Posted on: Rocksolid Light
www.novabbs.com



Pages:123456
rocksolid light 0.6.5f
clearnet i2p tor