Rocksolid Light

Welcome to novaBBS

register   nodelist   faq  

Your account also provides newsreader access to all groups at news.i2pn2.org port 119 or 563 (TLS)


rocksolid / Rocksolid Nodes / Re: hey, what do know ? vichan supports nntp

SubjectAuthor
* Re: hey, what do know ? vichan supports nntpanon
`* Re: hey, what do know ? vichan supports nntpanonymous
 +- Re: hey, what do you know....anon
 `* Re: hey, what do know ? vichan supports nntpanonymous
  `* Re: hey, what do know ? vichan supports nntpRetro Guy
   `- Re: hey, what do know ? vichan supports nntpanon

1
Subject: Re: hey, what do know ? vichan supports nntp
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Organization: def5
Date: Sun, 24 May 2020 16:22 UTC
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: anon <anon@anon.com>
Newsgroups: rocksolid.nodes
Message-ID: <96872abfea21a7f3d415a30e15921a3b@def4>
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sun, 24 May 2020 16:22:42+0000
Organization: def5
In-Reply-To: <7b6448e9ac3e8f40f5ff6b8fa9b433b6@def4>
References: <7b6448e9ac3e8f40f5ff6b8fa9b433b6@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Xref: rslight2 rocksolid.nodes:42
Message-ID: <96872abfea21a7f3d415a30e15921a3b@def4>

to dig out the thread starting message, this code should do it, right ? (from article-flat.php):

if($message) {
  // load thread-data and get IDs of the actual subthread
  $thread=thread_load($group);
  $subthread=thread_getsubthreadids($message->header->id,$thread);
  if($thread_articles == false) {
    sort($subthread);
  }

trw

Posted on def4


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Sun, 24 May 2020 21:23 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sun, 24 May 2020 21:23 UTC
Organization: def2
Message-ID: <1f58d56998423c513ee9c6e5e98df25f$1@z5bqfv5v75kxy7pj.onion>
References: <7b6448e9ac3e8f40f5ff6b8fa9b433b6@def4> <96872abfea21a7f3d415a30e15921a3b@def4>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="10701"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$V02o9AfgAbNYaKuY4ltWWurGO9EdrvTq0go1Uyyjktz8v7vtFTWD6
Xref: rslight2 rocksolid.nodes:43
Message-ID: <1f58d56998423c513ee9c6e5e98df25f$1@z5bqfv5v75kxy7pj.onion>
I did my own code to do the threading like vichan expects it, wasn't so hard after all (one recursive function, basically).
I just redo the message import, still get mistakes, but a lot less. seems more and more usable. If only I knew what vichan is expecting exactly as a date (this is the last (obvious) thing to solve).

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion


Subject: Re: hey, what do you know....
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Organization: def5
Date: Sun, 24 May 2020 23:38 UTC
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: anon <anon@anon.com>
Newsgroups: rocksolid.nodes
Message-ID: <6b0ef1d5b22aa3329e5020265a6a3f2b@def4>
Subject: Re: hey, what do you know....
Date: Sun, 24 May 2020 23:38:30+0000
Organization: def5
In-Reply-To: <1f58d56998423c513ee9c6e5e98df25f$1@z5bqfv5v75kxy7pj.onion>
References: <1f58d56998423c513ee9c6e5e98df25f$1@z5bqfv5v75kxy7pj.onion>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Xref: rslight2 rocksolid.nodes:44
Message-ID: <6b0ef1d5b22aa3329e5020265a6a3f2b@def4>

If only I knew what vichan is expecting exactly as a date (this is the last (obvious) thing to solve).

Turns out that it expected what I had been trying at the very start: a unix timestamp. ...it just doesn't respect it !
So for some reason the date of the import is always displayed as the messages time, no matter what the original time is... which is no problem if updates happen in timely manner, but for rebuilding an existing message base it is not so good (at least one context of the messages is gone).
guess the image boards have always been fixated on short term, low latency interaction...

Posted on def4


Subject: Re: hey, what do know ? vichan supports nntp
From: anonym...@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Organization: def2
Date: Mon, 25 May 2020 21:49 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Mon, 25 May 2020 21:49 UTC
Organization: def2
Message-ID: <5647b0460b715d292fd9a74f64a0be13$1@z5bqfv5v75kxy7pj.onion>
References: <7b6448e9ac3e8f40f5ff6b8fa9b433b6@def4> <96872abfea21a7f3d415a30e15921a3b@def4> <1f58d56998423c513ee9c6e5e98df25f$1@z5bqfv5v75kxy7pj.onion>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="def2";
logging-data="27972"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$Afzq/Yq0do2nvWdI0I6l0.aNTtt6uTikwPWylFElmx6JOCu2kGubS
Xref: rslight2 rocksolid.nodes:45
Message-ID: <5647b0460b715d292fd9a74f64a0be13$1@z5bqfv5v75kxy7pj.onion>
had to rewrite the re-indexing code due to some bugs, this is the data exchange format I use now:

---snip

 "<04a2efaf39f90b7fd445b3d34b04e849$1@retrobbs.rocksolidbbs.com>": {
        "parents": [              "<5fa5f7ef9a71f09f4a486c3d579083bf@def4.com>",
            "<fb56c3093f6c0f918ca58cd34ad42065@def4.com>",               "<prlg96$jgf$1@def3.retrobbs.com>"
        ],
        "op": false,
        "ref": "<prlg96$jgf$1@def3.retrobbs.com>",
        "ref_org": "<5fa5f7ef9a71f09f4a486c3d579083bf@def4.com>",
        "solved": true
    },
    "<d11adec78757e4dad3e4b7d2f46880f5$1@dkzerogt6z6ybhcj.onion>": {
        "parents": [],
        "op": true      },
    "<b5d27591156eeb51329e572177153951$1@www.novabbs.com>": {
        "parents": [],
        "op": true
    },
    "<7c83a8ef135c1022d441adde9029441b$1@www.novabbs.com>": {
        "parents": [
            "<b5d27591156eeb51329e572177153951$1@www.novabbs.com>"
        ],
        "op": false,
        "ref": "<b5d27591156eeb51329e572177153951$1@www.novabbs.com>",
        "ref_org": "<b5d27591156eeb51329e572177153951$1@www.novabbs.com>",
        "solved": true
    },

---snap

with this implemented properly, most of the threads should work on vichan as well. than i just have to reindex all messages.
but first the rslight upgrade.

cheers

trw
--
Posted on def2
z5bqfv5v75kxy7pj.onion


Subject: Re: hey, what do know ? vichan supports nntp
From: Retro ...@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Organization: Rocksolid Light
Date: Tue, 26 May 2020 09:07 UTC
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes
Subject: Re: hey, what do know ? vichan supports nntp
Date: Tue, 26 May 2020 09:07 UTC
Organization: Rocksolid Light
Message-ID: <23446718aac5c9bb5100df609426140f$1@www.novabbs.com>
References: <7b6448e9ac3e8f40f5ff6b8fa9b433b6@def4> <96872abfea21a7f3d415a30e15921a3b@def4> <1f58d56998423c513ee9c6e5e98df25f$1@z5bqfv5v75kxy7pj.onion> <5647b0460b715d292fd9a74f64a0be13$1@z5bqfv5v75kxy7pj.onion>
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="4591"; 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$dWDFsiqoV6ItI2LRGxPlOeV3chnlxLhYJFh/QQ61utotCgW5fGVQO
Xref: rslight2 rocksolid.nodes:46
Message-ID: <23446718aac5c9bb5100df609426140f$1@www.novabbs.com>
anonymous wrote:

had to rewrite the re-indexing code due to some bugs, this is the data exchange format I use now:

---snip

with this implemented properly, most of the threads should work on vichan as well. than i just have to reindex all messages.
but first the rslight upgrade.

This is awesome! You're really making some great mods to vichan!

Once you have some code you want applied to spoolnews let me know. I'd like to either get most of it into a function (or two), or a script itself (vichan.php?)

I'll just put a toggle in config like I do with synchronet ($synchronet=true/false).

Retro Guy

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


Subject: Re: hey, what do know ? vichan supports nntp
From: ano...@anon.com (anon)
Newsgroups: rocksolid.nodes
Organization: def5
Date: Tue, 26 May 2020 10:50 UTC
Path: i2pn2.org!rocksolid2!def5!POSTED.localhost!not-for-mail
From: anon <anon@anon.com>
Newsgroups: rocksolid.nodes
Message-ID: <6effa0f2ee99f0f0c4d5ce67b9849296@def4>
Subject: Re: hey, what do know ? vichan supports nntp
Date: Tue, 26 May 2020 10:50:56+0000
Organization: def5
In-Reply-To: <23446718aac5c9bb5100df609426140f$1@www.novabbs.com>
References: <23446718aac5c9bb5100df609426140f$1@www.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Xref: rslight2 rocksolid.nodes:47
Message-ID: <6effa0f2ee99f0f0c4d5ce67b9849296@def4>

This is awesome! You're really making some great mods to vichan!

Thanks for the kind words, it is really fun to work on that.

Just in case some vichan or nntpchan dev should ever read this thread: I'm still standing on the proverbial "shoulders of giants". Anyway, thanks for this nice piece of software.

cheers

trw

Posted on def4


1
rocksolid light 0.6.6
clearnet i2p tor