Rocksolid Light

Welcome to Rocksolid Light

register   nodelist   faq  


rocksolid / rocksolid.programming / Re: subject

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

Subject: vichan to do list
From: poster@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Organization: i2pn2 (i2pn.org)
Date: 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


Subject: threads
From: poster@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Organization: i2pn2 (i2pn.org)
Date: Thu, 28 May 2020 09:55 UTC
-fix threading


Subject: subject
From: poster@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Organization: i2pn2 (i2pn.org)
Date: Sat, 30 May 2020 15:43 UTC
-mime encode subject if needed


Subject: Re: subject
From: Retro Guy@example.com (Retro Guy)
Newsgroups: rocksolid.programming
Organization: rslight Debian test site
Date: 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


Subject: Re: subject
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Organization: Rocksolid Light
Date: 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



Subject: Re: subject
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Organization: Rocksolid Light
Date: 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



Subject: Re: subject
From: anon@anon.com (anon)
Newsgroups: rocksolid.programming
Organization: def5
Date: 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


Subject: status update
From: poster@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Organization: i2pn2 (i2pn.org)
Date: 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


Subject: Re: status update
From: retroguy@retrobbs.rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.programming
Organization: Rocksolid
Date: 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




Subject: Re: status update
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Organization: Rocksolid Light
Date: 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



Pages:12345678
rocksolid light 0.6.5e
clearnet i2p tor