ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Welcome to MangoLassi!

    Announcements
    10
    32
    11.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dafyreD
      dafyre
      last edited by

      Plus you dont' necessarily want everybody to have access to the reporting engine or what-not.

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @dafyre
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • dafyreD
          dafyre
          last edited by

          How are you getting these numbers by hand? Using existing reports in NodeBB or what?

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @dafyre
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • dafyreD
                dafyre
                last edited by

                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.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @dafyre
                  last edited by

                  @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.

                  dafyreD 1 Reply Last reply Reply Quote 0
                  • dafyreD
                    dafyre @scottalanmiller
                    last edited by

                    @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/

                    StrongBadS 1 Reply Last reply Reply Quote 0
                    • StrongBadS
                      StrongBad @dafyre
                      last edited by StrongBad

                      @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 🙂

                      1 Reply Last reply Reply Quote 1
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        Yeah, knowing what to query is the tough part.

                        1 Reply Last reply Reply Quote 0
                        • dafyreD
                          dafyre
                          last edited by

                          Perhaps something like https://github.com/variety/variety would be useful?

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            Might be a good place to start!

                            1 Reply Last reply Reply Quote 0
                            • 1
                            • 2
                            • 1 / 2
                            • First post
                              Last post