Welcome to MangoLassi!
-
@lillucia said:
Out of interest, is there a way to find out what posts your reputation points come from?
I know, I know, ego/obsession/etc... Just intriguedAfter all this time, still not a feature that we have.
-
Someone could spend a little time and write the DB query for it easily enough
-
@JaredBusch said:
Someone could spend a little time and write the DB query for it easily enough
We really do need to figure that out for a variety of stuff. Building our own reporting interface for a ton of data would be useful.
-
@scottalanmiller said:
We really do need to figure that out for a variety of stuff. Building our own reporting interface for a ton of data would be useful.
That is the point of open source. build it and make a pull request. or build it as a plugin. either way.
-
@JaredBusch said:
@scottalanmiller said:
We really do need to figure that out for a variety of stuff. Building our own reporting interface for a ton of data would be useful.
That is the point of open source. build it and make a pull request. or build it as a plugin. either way.
I'm thinking that an external tool might make more sense, talking directly to the database rather than through the platform itself. Although doing it as a plugin would let us leverage the authentication system that already exists. Although plugins seem to break so often, I wonder if that is worth the effort.
-
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!