Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

This is now. Later is later.


devel / rocksolid.programming / Re: status update

SubjectAuthor
* vichan to do listAnonymous
+- threadsAnonymous
+* subjectAnonymous
|`* subjectRetro Guy
| `* subjectRetro Guy
|  `* subjectRetro Guy
|   `- subjectanon
+* status updateAnonymous
|`* status updateRetro Guy
| `* status updateRetro Guy
|  +- status updateRetro Guy
|  `* status updateanon
|   +* status updateanon
|   |`* status updateRetro Guy
|   | `* status updateanon
|   |  `* status updateanon
|   |   `* status updateRetro Guy
|   |    +- status updateRetro Guy
|   |    `* status updateanon
|   |     `* status updateRetro Guy
|   |      `- status updateRetro Guy
|   `- status updateRetro Guy
+* vichan to do listanon
|+- vichan to do listRetro Guy
|`* vichan to do listanon
| `* vichan to do listRetro Guy
|  `* vichan to do listRetro Guy
|   `* vichan to do listRetro Guy
|    `* vichan to do listanonymous
|     `* vichan to do listRetro Guy
|      `* vichan to do listanon
|       `* vichan to do listRetro Guy
|        `* vichan to do listRetro Guy
|         `* vichan to do listRetro Guy
|          `* vichan to do listanon
|           +- vichan to do listanon
|           `* vichan to do listRetro Guy
|            `* vichan to do listRetro Guy
|             `* vichan to do listanonymous
|              `* vichan to do listanonymous
|               +- vichan to do listanonymous
|               `- vichan to do listRetro Guy
+* vichan to do listanon
|`* vichan to do listanon
| `- vichan to do listMarc SCHAEFER
+* vichan to do listanon
|`- vichan to do listRetro Guy
+* i just uploaded my code hereAnonymous
|`- i just uploaded my code hereRetro Guy
+- so far seems to workAnonymous
+- alright, multi server updateAnonymous
+* posting to new serverAnonymous
|`- posting to new serverRetro Guy
+- errorAnonymous
+* posting articlesAnonymous
|`- posting articlesRetro Guy
+* alright, i have it goingAnonymous
|`* alright, i have it goingRetro Guy
| `- alright, i have it goingRetro Guy
+* overchanAnonymous
|`- overchanRetro Guy
+- send to rslightAnonymous
+- btw, what about your vichan ?Anonymous
+* jsonAnonymous
|`- jsonMarc SCHAEFER
+- jsonAnonymous
+- date problemsAnonymous
+- ok, fixed the dateAnonymous
+* almost donetrw
|`- almost doneRetro Guy
+- almost doneAnonymous
`* latest codeAnonymous
 `* latest codeRetro Guy
  `* latest codeRetro Guy
   `* latest codeanon
    `* latest codeRetro Guy
     `* latest codeanon
      `* latest codeanon
       `* latest codeanon
        `* latest codeanon
         `- latest codereshmakavi

Pages:1234
vichan to do list

<code.100.gmepn@anon.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=535&group=rocksolid.programming#535

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: pos...@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Subject: vichan to do list
Date: Wed, 27 May 2020 15:03:30 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <code.100.gmepn@anon.com>
Content-Type: text/plain; charset=UTF-8
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="16334"; mail-complaints-to="usenet@i2pn2.org"
 by: Anonymous - Wed, 27 May 2020 22:03 UTC

-fix date for message import
-fix proper handling of attachments from imported messages
-fix catalog link in the footer, catalog is off

threads

<code.101.3pc5kd@anon.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=536&group=rocksolid.programming#536

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: pos...@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Subject: threads
Date: Thu, 28 May 2020 02:55:52 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <code.101.3pc5kd@anon.com>
References: <code.100.gmepn@anon.com>
Content-Type: text/plain; charset=UTF-8
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="31306"; mail-complaints-to="usenet@i2pn2.org"
 by: Anonymous - Thu, 28 May 2020 09:55 UTC

-fix threading

subject

<code.103.43ieq1@anon.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=538&group=rocksolid.programming#538

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: pos...@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Subject: subject
Date: Sat, 30 May 2020 08:43:42 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <code.103.43ieq1@anon.com>
References: <code.100.gmepn@anon.com>
Content-Type: text/plain; charset=UTF-8
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="27626"; mail-complaints-to="usenet@i2pn2.org"
 by: Anonymous - Sat, 30 May 2020 15:43 UTC

-mime encode subject if needed

Re: subject

<724b2a6ca4773b4599b3bed5ce70ea59$1@nyccgjh5cjapsf7frrhxqw73gb5hxj2ucau72ztn2oenxwetxr5q.b32.i2p>

 copy mid

https://novabbs.com/devel/article-flat.php?id=539&group=rocksolid.programming#539

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@example.com (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: subject
Date: Sun, 31 May 2020 00:04 UTC
Organization: rslight Debian test site
Message-ID: <724b2a6ca4773b4599b3bed5ce70ea59$1@nyccgjh5cjapsf7frrhxqw73gb5hxj2ucau72ztn2oenxwetxr5q.b32.i2p>
References: <code.100.gmepn@anon.com> <code.103.43ieq1@anon.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="24165"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on i2pwall.i2p
X-Rslight-Site: $2y$10$u74kuqHGoTgH24XksJkAGOt5lJSLinIUwBe7XYI7E7Er/UKc4vdVC
 by: Retro Guy - Sun, 31 May 2020 00:04 UTC

I use the method shown here:

$ cat test.php
<?php
echo "Subject: ".mb_encode_mimeheader(quoted_printable_decode($argv[1]))."rn";
?>

$ php ./test.php Unnecessary
Subject: Unnecessary
$ php ./test.php измена
Subject: =?UTF-8?B?0LjQt9C80LXQvdCw?=
$ php ./test.php "High измена"
Subject: High =?UTF-8?B?0LjQt9C80LXQvdCw?=

--
Posted on: rslight Debian test site
nyccgjh5cjapsf7frrhxqw73gb5hxj2ucau72ztn2oenxwetxr5q.b32.i2p

Re: subject

<86ea765f916bd87a126e3362f80b8c45$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=540&group=rocksolid.programming#540

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: subject
Date: Sun, 31 May 2020 01:11 UTC
Organization: Rocksolid Light
Message-ID: <86ea765f916bd87a126e3362f80b8c45$1@www.novabbs.com>
References: <code.100.gmepn@anon.com> <code.103.43ieq1@anon.com> <724b2a6ca4773b4599b3bed5ce70ea59$1@nyccgjh5cjapsf7frrhxqw73gb5hxj2ucau72ztn2oenxwetxr5q.b32.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="31277"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$Mpj9zSgwE6TlMJR4hFY1FuENEPqNKkc/zSBA0e/UHqwcH4IIF9lmC
 by: Retro Guy - Sun, 31 May 2020 01:11 UTC

Retro Guy wrote:

> I use the method shown here:

> $ cat test.php
> <?php
> echo "Subject: ".mb_encode_mimeheader(quoted_printable_decode($argv[1]))."rn";
> ?>

> $ php ./test.php Unnecessary
> Subject: Unnecessary
> $ php ./test.php измена
> Subject: =?UTF-8?B?0LjQt9C80LXQvdCw?=
> $ php ./test.php "High измена"
> Subject: High =?UTF-8?B?0LjQt9C80LXQvdCw?=

The above message is on my test site, but not on def2...

Retro Guy

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

Re: subject

<b2695293103cb8f20dcaf1a677372cfb$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=541&group=rocksolid.programming#541

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: subject
Date: Sun, 31 May 2020 01:39 UTC
Organization: Rocksolid Light
Message-ID: <b2695293103cb8f20dcaf1a677372cfb$1@www.novabbs.com>
References: <code.100.gmepn@anon.com> <code.103.43ieq1@anon.com> <724b2a6ca4773b4599b3bed5ce70ea59$1@nyccgjh5cjapsf7frrhxqw73gb5hxj2ucau72ztn2oenxwetxr5q.b32.i2p> <86ea765f916bd87a126e3362f80b8c45$1@www.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="2021"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$IdyH9os2sjk79/SJ30Su5uVpul52pQXRkp/ZN97tb./MBLo1dw6WW
 by: Retro Guy - Sun, 31 May 2020 01:39 UTC

Retro Guy wrote:

> Retro Guy wrote:

>> I use the method shown here:

>> $ cat test.php
>> <?php
>> echo "Subject: ".mb_encode_mimeheader(quoted_printable_decode($argv[1]))."rn";
>> ?>

>> $ php ./test.php Unnecessary
>> Subject: Unnecessary
>> $ php ./test.php измена
>> Subject: =?UTF-8?B?0LjQt9C80LXQvdCw?=
>> $ php ./test.php "High измена"
>> Subject: High =?UTF-8?B?0LjQt9C80LXQvdCw?=

> The above message is on my test site, but not on def2...

BTW, I have my test site using the same server and b32.i2p address as def2 uses for upstream. I wanted to duplicate as closely as possible. Also to note, the upstream server (i2p2n) is not local to me, so I'm not syncing with a server in the same location, i2pn2 is a remote leased server and my test server is a local to me vm.

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

Re: subject

<e4d11ff7b952f8044f638f70c05fecf2@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=542&group=rocksolid.programming#542

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <e4d11ff7b952f8044f638f70c05fecf2@def4>
Subject: Re: subject
Date: Sun, 31 May 2020 14:21:49+0000
Organization: def5
In-Reply-To: <b2695293103cb8f20dcaf1a677372cfb$1@www.novabbs.com>
References: <b2695293103cb8f20dcaf1a677372cfb$1@www.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Sun, 31 May 2020 14:21 UTC

>The above message is on my test site, but not on def2...

yeah, saw that. it is on neither side of def2. seems linked to the group (although the group as such is displayed again on rslight, but not social).

Posted on def4

status update

<code.109.12wt7t@anon.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=544&group=rocksolid.programming#544

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: pos...@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Subject: status update
Date: Mon, 01 Jun 2020 14:17:28 -0700
Organization: i2pn2 (i2pn.org)
Message-ID: <code.109.12wt7t@anon.com>
References: <code.100.gmepn@anon.com>
Content-Type: text/plain; charset=UTF-8
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="3623"; mail-complaints-to="usenet@i2pn2.org"
 by: Anonymous - Mon, 1 Jun 2020 21:17 UTC

open:

-fix date for message import
-fix proper handling of attachments from imported messages

closed:
-fix catalog link in the footer, catalog is off: i thought i had to change the templates, but it is just a switch in the config
-fix threading: fixed some issues in the import script
-mime encode subject if needed: thx to Retro Guys line
Posted on def2.i2p

Re: status update

<7b8221a4b4800a8ca2e62aa49f66eb72$1@rslight.i2p>

 copy mid

https://novabbs.com/devel/article-flat.php?id=550&group=rocksolid.programming#550

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: retro...@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: status update
Date: Tue, 02 Jun 2020 17:41:51 -0700
Organization: Rocksolid
Lines: 20
Message-ID: <7b8221a4b4800a8ca2e62aa49f66eb72$1@rslight.i2p>
References: <code.100.gmepn@anon.com> <code.109.12wt7t@anon.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7Bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="11058"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: KNode/4.14.1
 by: Retro Guy - Wed, 3 Jun 2020 00:41 UTC

Anonymous wrote:

> open:
>
> -fix date for message import
> -fix proper handling of attachments from imported messages
>
> closed:
> -fix catalog link in the footer, catalog is off: i thought i had to change
> the templates, but it is just a switch in the config -fix threading: fixed
> some issues in the import script

> -mime encode subject if needed: thx to
> Retro Guys line

This mod will require php-mbstring. Just mentioning here so you know to list
that if you ever need to list dependencies.

Retro Guy

Re: status update

<92b006323f451cbcb0e66bade11eb0b0$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=551&group=rocksolid.programming#551

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: status update
Date: Wed, 3 Jun 2020 07:15 UTC
Organization: Rocksolid Light
Message-ID: <92b006323f451cbcb0e66bade11eb0b0$1@www.novabbs.com>
References: <code.100.gmepn@anon.com> <code.109.12wt7t@anon.com> <7b8221a4b4800a8ca2e62aa49f66eb72$1@rslight.i2p>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="21866"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
X-Rslight-Site: $2y$10$1u1JRlqJywetOhKpWhtpXutOs8UylZZ3TOcJUGk64Ia0bRKz1FoYm
 by: Retro Guy - Wed, 3 Jun 2020 07:15 UTC

I've written a script that will pull an article, and convert it to the output I think you need for vichan. I can add this to the nntp server, so you can send a command like:

GROUP rocksolid.shared.test
VICHAN 90

and the article will be sent in a serialized format. This is necessary to transfer the data over tcpip:

$ ./vichan_send.php rocksolid.shared.test 90
O:11:"messageType":2:{s:6:"header";O:10:"headerType":26:{s:6:"number";N;s:2:"id";s:24:"<ts.338.39ms37@anon.com>";s:4:"from";s:15:"poster@anon.com";s:4:"name";s:9:"Anonymous";s:7:"subject";s:3:"yes";s:10:"newsgroups";s:21:"rocksolid.shared.test";s:8:"followup";N;s:4:"date";i:1590584048;s:11:"date_thread";N;s:12:"organization";s:16:"i2pn2 (i2pn.org)";s:10:"xnoarchive";N;s:10:"references";a:1:{i:0;s:59:"<635faa159efe9999f6f2b469d70207e6$1@z5bqfv5v75kxy7pj.onion>";}s:13:"bestreference";N;s:25:"content_transfer_encoding";s:4:"8bit";s:12:"mime_version";N;s:12:"content_type";a:1:{i:0;s:10:"text/plain";}s:20:"content_type_charset";a:1:{i:0;s:5:"utf-8";}s:17:"content_type_name";a:1:{i:0;s:7:"unnamed";}s:21:"content_type_boundary";N;s:19:"content_type_format";a:1:{i:0;s:5:"fixed";}s:7:"answers";N;s:8:"isAnswer";b:0;s:8:"username";s:6:"poster";s:10:"user_agent";N;s:7:"isReply";N;s:10:"threadsize";N;}s:4:"body";a:1:{i:0;s:18:"all still working
";}}

Then, you can '$class_i_want = $unserialize($response);' and you should have your class containing the message info. Is this of any use?

Retro Guy

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

Re: status update

<0105d4dfd97554becb98ebbc21c0df55$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=552&group=rocksolid.programming#552

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: status update
Date: Wed, 3 Jun 2020 09:27 UTC
Organization: Rocksolid Light
Message-ID: <0105d4dfd97554becb98ebbc21c0df55$1@www.novabbs.com>
References: <code.100.gmepn@anon.com> <code.109.12wt7t@anon.com> <7b8221a4b4800a8ca2e62aa49f66eb72$1@rslight.i2p> <92b006323f451cbcb0e66bade11eb0b0$1@www.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="5978"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
X-Rslight-Site: $2y$10$bz/FVHhwGo7Wgb1/cXF7v.PCxK108QkOqpm1vFiYi8mGO0V2i/WzK
 by: Retro Guy - Wed, 3 Jun 2020 09:27 UTC

I've applied to my test nntp server. You should be able to test here:

cm6lpdymfvvndq3wxpu676m7wd2cjimhy7axdlebdejbv7uk3hcq.b32.i2p

200 Rocksolid Light NNTP Server ready (no posting)
group rocksolid.shared.test
211 170 1 170 rocksolid.shared.test
vichan 90
O:11:"messageType":2:{s:6:"header";O:10:"headerType":26:{s:6:"number";N;s:2:"id";s:24:"<ts.338.39ms37@anon.com>";s:4:"from";s:15:"poster@anon.com";s:4:"name";s:9:"Anonymous";s:7:"subject";s:3:"yes";s:10:"newsgroups";s:21:"rocksolid.shared.test";s:8:"followup";N;s:4:"date";i:1590584048;s:11:"date_thread";N;s:12:"organization";s:16:"i2pn2 (i2pn.org)";s:10:"xnoarchive";N;s:10:"references";a:1:{i:0;s:59:"<635faa159efe9999f6f2b469d70207e6$1@z5bqfv5v75kxy7pj.onion>";}s:13:"bestreference";N;s:25:"content_transfer_encoding";s:4:"8bit";s:12:"mime_version";N;s:12:"content_type";a:1:{i:0;s:10:"text/plain";}s:20:"content_type_charset";a:1:{i:0;s:5:"utf-8";}s:17:"content_type_name";a:1:{i:0;s:7:"unnamed";}s:21:"content_type_boundary";N;s:19:"content_type_format";a:1:{i:0;s:5:"fixed";}s:7:"answers";N;s:8:"isAnswer";b:0;s:8:"username";s:6:"poster";s:10:"user_agent";N;s:7:"isReply";N;s:10:"threadsize";N;}s:4:"body";a:1:{i:0;s:18:"all still working
";}}
quit
205 closing connection - goodbye!

You will need to take that output and run it through 'unserialize($data);'

Right now I don't check to see if the article exists, just testing if this will be useful or helpful for you. If it is, I'll clean up the command and add error checking, etc.

Retro Guy

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

Re: status update

<de82dbc861dba21f324a4940ee9214cc@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=553&group=rocksolid.programming#553

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <de82dbc861dba21f324a4940ee9214cc@def4>
Subject: Re: status update
Date: Wed, 03 Jun 2020 11:15:21+0000
Organization: def5
In-Reply-To: <92b006323f451cbcb0e66bade11eb0b0$1@www.novabbs.com>
References: <92b006323f451cbcb0e66bade11eb0b0$1@www.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Wed, 3 Jun 2020 11:15 UTC

>I've written a script that will pull an article, and convert it to the output I think you need for vichan. I can add this to the nntp server, so you can send a command like:

this is more or less what i began to write as well :-).
i believe though it is best to not change the severs answers as such, but to make any necessary conversion for vichan on the clients side after the message has been obtained using the regular commands. this way you could use any news server to pull messages from, not just one that is adapted for the purpose.

Posted on def4

Re: status update

<c18e5f4529b30c4c4a1893dde93b9bc5@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=554&group=rocksolid.programming#554

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <c18e5f4529b30c4c4a1893dde93b9bc5@def4>
Subject: Re: status update
Date: Wed, 03 Jun 2020 11:19:06+0000
Organization: def5
In-Reply-To: <de82dbc861dba21f324a4940ee9214cc@def4>
References: <de82dbc861dba21f324a4940ee9214cc@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Wed, 3 Jun 2020 11:19 UTC

>to make any necessary conversion for vichan on the clients side

and this is all the more true because for vichan to build threads all answers need to have the op as the first reference, which is not respected by def3 and def4 when composing the messages. so some internal logic needs to implemented anyway on the clients side for this to work.

Posted on def4

Re: status update

<c490c66d1442203098caee9055f96e24$1@news.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=555&group=rocksolid.programming#555

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: status update
Date: Wed, 3 Jun 2020 10:03 UTC
Organization: Rocksolid Light
Message-ID: <c490c66d1442203098caee9055f96e24$1@news.novabbs.com>
References: <92b006323f451cbcb0e66bade11eb0b0$1@www.novabbs.com> <de82dbc861dba21f324a4940ee9214cc@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="10470"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$.pxPqRGQ3ew2nylyT3OAOOdazxYFm8eOXcddFSxAiVQi2xyWvI2Jq
 by: Retro Guy - Wed, 3 Jun 2020 10:03 UTC

anon wrote:

>>I've written a script that will pull an article, and convert it to the output I think you need for vichan. I can add this to the nntp server, so you can send a command like:

> this is more or less what i began to write as well :-).
> i believe though it is best to not change the severs answers as such, but to make any necessary conversion for vichan on the clients side after the message has been obtained using the regular commands. this way you could use any news server to pull messages from, not just one that is adapted for the purpose.

Sounds good. I can send you the script if you want it. I'm not currently at a computer where I have access to it but I can send it tomorrow. Just let me know.

Also, I do plan to add features to the rslight nntp server that handles things like file and private message transfer (for admins), and auto-update stuff (if authenticated by pgp), so a vichan command is no problem. But the idea that vichan can use any nntp server is a good idea :)

Retro Guy

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

Re: status update

<84127b57d4546bb615adb477327c0001$1@news.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=556&group=rocksolid.programming#556

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: status update
Date: Wed, 3 Jun 2020 10:05 UTC
Organization: Rocksolid Light
Message-ID: <84127b57d4546bb615adb477327c0001$1@news.novabbs.com>
References: <de82dbc861dba21f324a4940ee9214cc@def4> <c18e5f4529b30c4c4a1893dde93b9bc5@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="11004"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$QGgE87UcOkDicI0G8D6Fn.tAOwW4PIdYKYuyiAyj1Ykho26oi4tA.
 by: Retro Guy - Wed, 3 Jun 2020 10:05 UTC

anon wrote:

>>to make any necessary conversion for vichan on the clients side

> and this is all the more true because for vichan to build threads all answers need to have the op as the first reference, which is not respected by def3 and def4 when composing the messages. so some internal logic needs to implemented anyway on the clients side for this to work.

I believe rslight lists the first reference (that it's aware of) in the References: header. I didn't write that code, but I think it works that way.

Retro Guy

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

Re: status update

<00a4fb31e64d1274ca61557968b69df0@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=557&group=rocksolid.programming#557

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!i2pn.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <00a4fb31e64d1274ca61557968b69df0@def4>
Subject: Re: status update
Date: Wed, 03 Jun 2020 11:41:17+0000
Organization: def5
In-Reply-To: <84127b57d4546bb615adb477327c0001$1@news.novabbs.com>
References: <84127b57d4546bb615adb477327c0001$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Wed, 3 Jun 2020 11:41 UTC

>I believe rslight lists the first reference (that it's aware of) in the References: header. I didn't write that code, but I think it works that way.

yes, rslight does this, but not fudforum and bbs. so all messages need to checked and modified (if necessary), before they can be posted to vichan.
of course you could also change this on fudforum and bbs, but it is more work, and you would have to redo this each time you adopt a new software. better to do this on the side of the software that needs it, i think.

Posted on def4

Re: status update

<e1b3f0ea3a75d079f53437bd27cda2af@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=558&group=rocksolid.programming#558

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!i2pn.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <e1b3f0ea3a75d079f53437bd27cda2af@def4>
Subject: Re: status update
Date: Thu, 04 Jun 2020 01:43:41+0000
Organization: def5
In-Reply-To: <00a4fb31e64d1274ca61557968b69df0@def4>
References: <00a4fb31e64d1274ca61557968b69df0@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 4 Jun 2020 01:43 UTC

>open:

>-fix date for message import
>-fix proper handling of attachments from imported messages

the 2nd one turns out to be harder than it looked. only to parse out the textparts from a multipart message still fails too often, partly due to the many different ways clients use to compose the message body i guess. damn. that sure was easy with message_read from newsportal...
found some libs on github for email parsing (which should be basically the same thing), but they are either not functional or with a lot of deps again. damn...
guess i will have to implement this by myself, before i can even think about detecting and decoding attachments.

any thoughts ?

trw

Posted on def4

Re: status update

<888808f25de8a9cd83de13f1d2432d1b$1@news.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=559&group=rocksolid.programming#559

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: status update
Date: Thu, 4 Jun 2020 05:53 UTC
Organization: Rocksolid Light
Message-ID: <888808f25de8a9cd83de13f1d2432d1b$1@news.novabbs.com>
References: <00a4fb31e64d1274ca61557968b69df0@def4> <e1b3f0ea3a75d079f53437bd27cda2af@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="29510"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$726cej1FRPyINNpwQmFYoOLtUgLVxshJY4ECPAmDtKd52mU21lEsm
 by: Retro Guy - Thu, 4 Jun 2020 05:53 UTC

anon wrote:

>>open:

>>-fix date for message import
>>-fix proper handling of attachments from imported messages

> the 2nd one turns out to be harder than it looked. only to parse out the textparts from a multipart message still fails too often, partly due to the many different ways clients use to compose the message body i guess. damn. that sure was easy with message_read from newsportal...
> found some libs on github for email parsing (which should be basically the same thing), but they are either not functional or with a lot of deps again. damn...
> guess i will have to implement this by myself, before i can even think about detecting and decoding attachments.

> any thoughts ?

I'll send you my script when I get home later.
It's basically message_read separate from newsportal

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

Re: status update

<ad8de33b502d2648cac41b56bd842458$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=560&group=rocksolid.programming#560

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: status update
Date: Thu, 4 Jun 2020 08:12 UTC
Organization: Rocksolid Light
Message-ID: <ad8de33b502d2648cac41b56bd842458$1@www.novabbs.com>
References: <00a4fb31e64d1274ca61557968b69df0@def4> <e1b3f0ea3a75d079f53437bd27cda2af@def4> <888808f25de8a9cd83de13f1d2432d1b$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: multipart/mixed;boundary="------------5ed8acf1319980.87545718"
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="13535"; mail-complaints-to="usenet@i2pn2.org"
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$Iw4T6qiLEu9uhwUy5U.kc.MpVqDoeJI1zqx2ZpwpEgZyZqQEWJrha
 by: Retro Guy - Thu, 4 Jun 2020 08:12 UTC
Attachments: vichan.php.txt (text/plain)

Retro Guy wrote:

> anon wrote:

>>>open:

>>>-fix date for message import
>>>-fix proper handling of attachments from imported messages

>> the 2nd one turns out to be harder than it looked. only to parse out the textparts from a multipart message still fails too often, partly due to the many different ways clients use to compose the message body i guess. damn. that sure was easy with message_read from newsportal...
>> found some libs on github for email parsing (which should be basically the same thing), but they are either not functional or with a lot of deps again. damn...
>> guess i will have to implement this by myself, before i can even think about detecting and decoding attachments.

>> any thoughts ?

> I'll send you my script when I get home later.
> It's basically message_read separate from newsportal

It's attached here. It's all the code necessary from rslight to produce the output, but it is not linked to the site, so it can be run independently.

If you want to use it, it needs a little cleaning up as the spool location is hard coded, and probably a couple of other things.

Retro Guy

Attachments: vichan.php.txt (text/plain)
Re: status update

<d6bfa13b54cd14c2db4d2d05edc28d4a@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=561&group=rocksolid.programming#561

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <d6bfa13b54cd14c2db4d2d05edc28d4a@def4>
Subject: Re: status update
Date: Thu, 04 Jun 2020 10:17:26+0000
Organization: def5
In-Reply-To: <888808f25de8a9cd83de13f1d2432d1b$1@news.novabbs.com>
References: <888808f25de8a9cd83de13f1d2432d1b$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 4 Jun 2020 10:17 UTC

>It's basically message_read separate from newsportal

you mean i could just include this without all the rest of newsportal (like a standalone function or class) ? that would be wonderful.

cheers

trw

Posted on def4

Re: status update

<4416d1e5c02fd178184f402f82b565f7$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=562&group=rocksolid.programming#562

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: status update
Date: Thu, 4 Jun 2020 09:10 UTC
Organization: Rocksolid Light
Message-ID: <4416d1e5c02fd178184f402f82b565f7$1@www.novabbs.com>
References: <888808f25de8a9cd83de13f1d2432d1b$1@news.novabbs.com> <d6bfa13b54cd14c2db4d2d05edc28d4a@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="21263"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$XaXiYGChI1Jp1fW2nQlO5O3sbR8X5DvBoIu.wFY5RXsnPvd99E/Di
 by: Retro Guy - Thu, 4 Jun 2020 09:10 UTC

anon wrote:

>>It's basically message_read separate from newsportal

> you mean i could just include this without all the rest of newsportal (like a standalone function or class) ? that would be wonderful.

That "should" be how it works. I ran it numerous times on my test site, and also ran it quite a few times through the nntp server, and I have not noticed any issues.

Retro Guy

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

Re: status update

<4fd91fe3e28e13e7a2a61852cc48e856$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=563&group=rocksolid.programming#563

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: status update
Date: Thu, 4 Jun 2020 09:27 UTC
Organization: Rocksolid Light
Message-ID: <4fd91fe3e28e13e7a2a61852cc48e856$1@www.novabbs.com>
References: <888808f25de8a9cd83de13f1d2432d1b$1@news.novabbs.com> <d6bfa13b54cd14c2db4d2d05edc28d4a@def4> <4416d1e5c02fd178184f402f82b565f7$1@www.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="23656"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$MHUPx3IMEUbgBvQRmb5mWucvPfQ4hOmlPZtYv1IKaHl9hJnAUvO9K
 by: Retro Guy - Thu, 4 Jun 2020 09:27 UTC

Retro Guy wrote:

> anon wrote:

>>>It's basically message_read separate from newsportal

>> you mean i could just include this without all the rest of newsportal (like a standalone function or class) ? that would be wonderful.

> That "should" be how it works. I ran it numerous times on my test site, and also ran it quite a few times through the nntp server, and I have not noticed any issues.

I should say I ran it as a standalone script:
$msg = shell_exec("/etc/rslight/scripts/vichan.php ".$command[1]." ".$group);

It's basically 'vichan.php <article_number> <group>' Right now it echos a serialzed output, that can easily be changed back to the class with unserialize(...);

Again, if you do this you'll need to not hardcode the directories, etc.

Retro Guy

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

Re: vichan to do list

<da6b24f5d7c4dd19a8a2d16f33dff6f9@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=564&group=rocksolid.programming#564

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <da6b24f5d7c4dd19a8a2d16f33dff6f9@def4>
Subject: Re: vichan to do list
Date: Thu, 04 Jun 2020 11:47:38+0000
Organization: def5
In-Reply-To: <code.100.gmepn@anon.com>
References: <code.100.gmepn@anon.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 4 Jun 2020 11:47 UTC

>It's basically 'vichan.php <article_number> <group>' Right now it echos a serialzed output, that can easily be changed back to the class with unserialize(...);

the main thing for me is if i can get the text part of the message and the files nicely separated (bonus points for file detection and decoding of course).
what is the representation of the data when there is an attachment ?
and where can i find the script :-) ?

cheers

trw

Posted on def4

Re: vichan to do list

<e4053b06709a379d85566195b913faaa$1@www.novabbs.com>

 copy mid

https://novabbs.com/devel/article-flat.php?id=565&group=rocksolid.programming#565

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Subject: Re: vichan to do list
Date: Thu, 4 Jun 2020 10:45 UTC
Organization: Rocksolid Light
Message-ID: <e4053b06709a379d85566195b913faaa$1@www.novabbs.com>
References: <code.100.gmepn@anon.com> <da6b24f5d7c4dd19a8a2d16f33dff6f9@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="1049"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$H9GmedwlU8/KkSYmVsKluOJ7/9YylLTWGIXxLJ97L/jLUXIEV/5iq
 by: Retro Guy - Thu, 4 Jun 2020 10:45 UTC

anon wrote:

>>It's basically 'vichan.php <article_number> <group>' Right now it echos a serialzed output, that can easily be changed back to the class with unserialize(...);

> the main thing for me is if i can get the text part of the message and the files nicely separated (bonus points for file detection and decoding of course).
> what is the representation of the data when there is an attachment ?
> and where can i find the script :-) ?

I attached the script to an earlier post, but I just put it on the rslight download site 'vichan.php.txt'.

The output is exactly what message_read would output, just it's serialized so it's one big string. 'unserialze()' will change it back to a class. You should be able to modify it to output whatever format you want.

If I understand correctly, vichan was using the output of message_read, and you should be able to get that same output with this script. You may want another way to introduce the message to the script, but processing should be the same as in rslight.

Retro Guy

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

Re: vichan to do list

<2e515d7a51163f1bba75ee8fc75c37f3@def4>

 copy mid

https://novabbs.com/devel/article-flat.php?id=566&group=rocksolid.programming#566

 copy link   Newsgroups: rocksolid.programming
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: ano...@anon.com (anon)
Newsgroups: rocksolid.programming
Message-ID: <2e515d7a51163f1bba75ee8fc75c37f3@def4>
Subject: Re: vichan to do list
Date: Thu, 04 Jun 2020 12:11:41+0000
Organization: def5
In-Reply-To: <da6b24f5d7c4dd19a8a2d16f33dff6f9@def4>
References: <da6b24f5d7c4dd19a8a2d16f33dff6f9@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
 by: anon - Thu, 4 Jun 2020 12:11 UTC

>cm6lpdymfvvndq3wxpu676m7wd2cjimhy7axdlebdejbv7uk3hcq.b32.i2p

>200 Rocksolid Light NNTP Server ready (no posting)
>group rocksolid.shared.test
>211 170 1 170 rocksolid.shared.test
>vichan 90

this gives me syntax error. but i appreciate this:

>help
>100 Sorry, can't help

lol

Posted on def4

Pages:1234
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor