LynxChan 2.0: Magnus

Thank you, that's good to know - but Endchan provides them paged even with json=1, and I do want to support Endchan.
I acknowledge that problem doesn't exist in current Lynxchan.

Ah yes, it is paged alright.
That is because the data is fetched from a single place and then the plain text is formed based on the same data either on json or html.

The size of pages is configurable by the site. I implemented this way to prevent abuse. That way if the site wants to serve everything on a single page they can, otherwise they can split in how many pages they wish.

What kind of abuse? Could boards.js be cached?

Hardly, every single post made on the site would change it. Unless you change the logic around and either give delayed or reduced information there.

lurk moar

Is that supposed to be there?

That is not tbh
:^)

Yup, this was introduced in 2.0 with the new mongodb driver changing something around.
It is ignoring the projection I set and outputting all fields.

Oh fuck me. They changed it so you don't pass the projection directly, but an object with the projection on a field. This is going to be a pain in the ass.

W E W

pajeetware btfo