Welcome to MangoLassi!
-
Plus you dont' necessarily want everybody to have access to the reporting engine or what-not.
-
@dafyre said:
Plus you dont' necessarily want everybody to have access to the reporting engine or what-not.
Exactly, although in theory we could control that with a plugin and the ML authentication system. But that, I think, would be more work rather than less.
-
How are you getting these numbers by hand? Using existing reports in NodeBB or what?
-
@dafyre said:
How are you getting these numbers by hand? Using existing reports in NodeBB or what?
NodeBB generates them. It was the update applied around February that started to give us these stats. That's why we have nothing from before then.
-
Because of the use of socket.io, NodeBB itself has to generate any stats as other tools would not know how to read the traffic. Since MangoLassi is actually a "single page application" that loads and runs page generation inside of the JavaScript app that then communicates via its own connection on socket.io it looks very little like normal web pages.
The nGinx proxy, for example, has no idea what traffic is going through it.
-
I wonder if there's an easier way to iterate through all the posts from October 1 to October 31s and count them.
It would seem like they could put a monthly views tracker on each Post...
iterate through all the posts and count new views...That is to say, I wonder that a MongoDB query would look like for that.
-
@dafyre said:
I wonder if there's an easier way to iterate through all the posts from October 1 to October 31s and count them.
Just need a query and an interface for it.
-
@scottalanmiller said:
@dafyre said:
I wonder if there's an easier way to iterate through all the posts from October 1 to October 31s and count them.
Just need a query and an interface for it.
There are several REST interfaces for it... https://docs.mongodb.org/ecosystem/tools/http-interfaces/
-
@dafyre said:
There are several REST interfaces for it... https://docs.mongodb.org/ecosystem/tools/http-interfaces/
As additional apps that connect to it. Might be easier to run queries from the command line.... once you know what queries to run
-
Yeah, knowing what to query is the tough part.
-
Perhaps something like https://github.com/variety/variety would be useful?
-
Might be a good place to start!