Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Ramon Navarro Bosch
    @bloodbare
    @runyaga I love cockroach support, all arround its design, but there is nobody using it on production right now and avoids us to use more powerful functionallity from postgres and at the same time makes code more difficult to maintain. Do you have a use case with cockroach ?
    Nobody that we are aware, of course :)
    alan runyan
    @runyaga
    no use case. guys i know whom use it are doing it for multiDC;i was curious. would be nice to see what the status of g.
    Ramon Navarro Bosch
    @bloodbare
    Its quite a nice usecase the multiDC, my plan for cockroach will be to move it to a external package so it can be an addon instead of a core feature if anybody wants to work on it. You should not miss the Status of G talk at PC2020 :) Lots of improvements this year and a nice roadmap for G7
    Robert Kuzma
    @balavec
    Hey guys… I am playing around with guillotina_react … I get it to work, but not abel to login … not sure what I am missing. It keeps messaging me: “Failed to fetch data: Backend not running?”
    and the request is 401:
    INFO:     ::1:54940 - "POST /%40login HTTP/1.1" 401 Unauthorized
    I am able to login using postman
    I would love some sugestions.
    Robert Kuzma
    @balavec
    Another clue:
    Origin http://localhost:3000 not allowed
    Robert Kuzma
    @balavec
    One step closer: CORS plugin for chrome
    Jordi Masip
    @masipcat_gitlab
    Are you using the root password or a user created with dbusers?
    Robert Kuzma
    @balavec
    root
    Let me try to create with dbusers
    root is blocked?
    Jordi Masip
    @masipcat_gitlab
    no, it should work
    hmm
    Robert Kuzma
    @balavec
    Before I added the CORS to chrome the message in the browser was: “Failed to fetch data: Backend not running?"
    After I added it: “Failed! Invalid credentials"
    but in the guillotina terminal
    in both cases there is message:
    Origin http://localhost:3000 not allowed
    INFO:     ::1:57230 - "POST /%40login HTTP/1.1" 401 Unauthorized
    Jordi Masip
    @masipcat_gitlab
    ok
    can you try with this value in the config https://github.com/plone/guillotina/blob/master/config.yaml#L33-L34 ?
    Marwan Rabbâa
    @waghanza
    Hi,
    Thanks @masipcat_gitlab for the-benchmarker/web-frameworks#3600. Is there any recommandation for guillotina deploymennt ?
    Jordi Masip
    @masipcat_gitlab
    Hi @waghanza , I'm not sure what do you mean, but since Guillotina is an ASGI web framework, I'd say the same deployment used for Quart/Starlette
    Marwan Rabbâa
    @waghanza
    the author of quart recommend hypercorn and starlette recommandation (at least what it is written on it website) is to use uvicorn. I known that any asgi server could be used, but which one (if their is) do you recommend for a production-grade app ?
    Jordi Masip
    @masipcat_gitlab
    I guess we recommend uvicorn. It the one we ship by default
    Ramon Navarro Bosch
    @bloodbare
    Merry christmas every body @here! 2021 will be an amazing year for Guillotina 🎉🎉🎉
    sven
    @svx
    Hm,I just tried again building the docs with Python 3.8 and that failed. Building with Python 3.7 works. Does someone else encountered that, too or is it my setup?
    sven
    @svx
    Screenshot 2021-01-11 at 16.59.05.png
    Back to work a bit on the docs :smile:
    Jordi Masip
    @masipcat_gitlab
    This theme looks great!
    sven
    @svx
    Yeah, it is by all means not finished yet but maybe this could be the base of something
    Ramon Navarro Bosch
    @bloodbare
    👏🏼👏🏼
    @sven which 3.8?
    sven
    @svx
    @bloodbare Python 3.8.7
    Ramon Navarro Bosch
    @bloodbare
    Maybe a problem building python deps? Can u try with 3.8.2?
    sven
    @svx
    Yeah I will try later :) Thanks!
    Jordi Collell
    @jordic
    Yeah, just found that we are on a ranking :)
    Jordi Collell
    @jordic
    Hey? What's the endpoint to discover if add-ons are installed?
    Ramon Navarro Bosch
    @bloodbare
    @addons ?
    Jordi Collell
    @jordic
    this only works for root user.
    the idea is to be able to show a docs tab with the swagger embeded if swagger is installed
    Jordi Collell
    @jordic
    On another thing, does makes sense to split guillotina gmi in it's on pip package?
    Jordi Masip
    @masipcat_gitlab

    On another thing, does makes sense to split guillotina gmi in it's on pip package?

    I think this would be great! We'll be able to support multiple guillotina versions (like G6 and G7) without porting the changes to each version

    Jordi Collell
    @jordic
    Released firt version of guillotina_gmi on pypi, if anyone is interested testing.
    Nathan Van Gheem
    @vangheem
    @bloodbare @masipcat_gitlab maybe the real problem here is that on local role change, you need to reindex all children? plone/guillotina#1097
    because this can happen on any tree -- getting local roles on container doesn't necessarily solve the problem
    Ferran Llamas
    @lferran

    @bloodbare @masipcat_gitlab would you be OK with adding a depth limit for content creation? Limit would be configurable through app settings.

    Something like that:

    https://github.com/plone/guillotina/pull/1098/files

    Maybe inside create_content_in_container instead.

    lmk your thoughts :)

    Anh Tu Nguyen
    @xgenvn
    hi guys