Discord
Login
Community
DARK THEME

Offline version - Public status of the project.

I am using MicroStudio Offline version.

I set up a few accounts

  • an account called Loginus - here I have my projects
  • account called Public - here I keep source codes downloaded from 'microstudio.dev' - to learn from examples.
  • an account named Lib, an account named Arch

All accounts have passed email verification.

Now my account is to be organized and I am to have quick access to examples and libraries. I change the status of projects from private to public in my 'Public' account - but I can't see these projects in the 'explore' section.

When I add a new 'Tags' to a public project, this tags is immediately visible on the list.

There is also a message in the Firefox logs that the server is trying to download an image from an account that is not present locally.

  GEThttp://localhost:8080/gilles/platformerbasics/sprites/icon.png
  [HTTP/1.1 404 Not Found 9ms]
  GET
      http://localhost:8080/gilles/platformerbasics/sprites/icon.png
  Stan
  404
   Not Found
   Wersja HTTP/1.1
   Zasada polecajÄ…cego strict-origin-when-cross-origin
    Connection
        keep-alive
    Content-Length
        318
    Content-Type
        text/html; charset=utf-8
    Date
        Sat, 25 Jun 2022 16:53:32 GMT
    ETag
        W/"13e-1i6KHAieP4qLDTLDX9nBag4nnJc"
    Keep-Alive
        timeout=5
    Vary
        Accept-Encoding
    X-Powered-By
        Express
        
    Accept
        image/avif,image/webp,*/*
    Accept-Encoding
        gzip, deflate, br
    Accept-Language
        pl,en-US;q=0.7,en;q=0.3
    Connection
        keep-alive
    Cookie
        token=KkF6HrslzWjyyprdecKw9E6LHsBA9G2Z
    DNT
        1
    Host
        localhost:8080
    If-None-Match
        W/"e1-Hl36vfStbWIN812i83pY6zEkzpI"
    Referer
        http://localhost:8080/explore/
    Sec-Fetch-Dest
        image
    Sec-Fetch-Mode
        no-cors
    Sec-Fetch-Site
        same-origin
    User-Agent
        Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0

Hi, thanks for the feedback!

  • I fixed the reference to the missing image (it was a test line that I forgot to remove when releasing plugins)

  • The visibility of projects in the explore section is now subject to approval by the admin / moderators of the site. I did that because some time ago we were having a lot of low value submissions (straight clones of existing projects, submissions with only a drawSprite also too many highly similar games made from the tutorial). Also this allowed me to remove all these checkboxes you had to check before submitting (they were somewhat unfriendly and people seemed to ignore them anyway). I will add a global config option so that you can disable this approval system. In the meantime, you can set the flag "admin" or "moderator" to one of your accounts, then you will have buttons to approve projects / users from the project details page.

Or you can just wait, I will try to fix that quickly.

So I have just created a config option for project moderation (https://github.com/pmgl/microstudio/commit/a1dd15ea3ed9d98fa015ee0736af2bfeb317b489 ). It is off by default, so you don't have to update your config, just fetch the latest version and it should solve your problem :-)

Fix works - I can see public projects from my other accounts.

In what file can the admin or moderator flag be set?

Is there any configuration panel?

There is no configuration panel, you can access user data in data/users/0 and make changes (like add flags) when the server is not running. The data is in JSON format.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community