!oaRMJImPLfUnnXzwnN:shivering-isles.com

HedgeDoc

742 Members
We run, support and develop the community project HedgeDoc | Latest version: https://demo.hedgedoc.org/ | Repository: https://github.com/hedgedoc/hedgedoc | Forum: https://community.hedgedoc.org | Follow us at: https://social.hedgedoc.org/ | Development chat: https://chat.hedgedoc.org/dev221 Servers

Load older messages


SenderMessageTime
23 Aug 2021
@gwenprime:cyberia.clubgwenprime * hi all,
is there a way to search for all notes which have two specific tags? IE I want to find any note that had both tag A and tag B
It seems that the default is searching for tag A or tag B
18:53:44
@erik:michelson.euErik [🦔-dev] I'm sorry currently there is no such function.
We track the feature request in https://github.com/hedgedoc/react-client/issues/1382.
19:50:21
@erik:michelson.euErik [🦔-dev]* I'm sorry currently there is no such function. We track the feature request in https://github.com/hedgedoc/react-client/issues/138219:50:50
@gwenprime:cyberia.clubgwenprime
In reply to @erik:michelson.eu
I'm sorry currently there is no such function.
We track the feature request in https://github.com/hedgedoc/react-client/issues/1382
ah ok! no worries, I was just wondering if it was something i missed
19:53:39
@gwenprime:cyberia.clubgwenprimethank you for the answer 🙂19:53:48
@andrew:matrix.reticu.liAndrew joined the room.22:39:34
@andrew:matrix.reticu.liAndrewI cannot get Keycloak Oauth to work with a fresh HedgeDoc installation. I followed this guide for configuration: https://docs.hedgedoc.org/guides/auth/keycloak/22:55:16
@andrew:matrix.reticu.liAndrewI have CodiMD working with this Keycloak server. The symptom is that authentication succeeds but the page that loads is still the initial HedgeDoc page with the Log in button. The JavaScript console shows no errors22:56:39
@sheogorath:shivering-isles.comSheogorath Andrew: https://docs.hedgedoc.org/guides/reverse-proxy/#reverse-proxy-config <-- check that you have the X-forward headers set, especially the protocol one 22:57:20
@andrew:matrix.reticu.liAndrewAh, I don't think I'm doing that. It's behind Traefik.22:57:56
@andrew:matrix.reticu.liAndrewSpeaking of which, I actually have a separate nginx server deployed to reverse proxy my base path. I wonder if it's easier to apply that config to this server or if I have to apply it to Traefik?22:59:28
@erik:michelson.euErik [🦔-dev]So you're running HedgeDoc from a sub-path of your domain?23:00:00
@andrew:matrix.reticu.liAndrewThat's right23:00:27
@sheogorath:shivering-isles.comSheogorathTraefik should be fine. (this is the config I used until yesterday: https://git.shivering-isles.com/shivering-isles/infrastructure/-/blob/cace679f49ea812237aa2f87e0b8a98169bd9532/roles/hedgedoc/templates/docker-compose.yml#L76-87)23:00:29
@sheogorath:shivering-isles.comSheogorathSo your setup looks like this? traefik -> nginx -> hedgedoc? or traefik -> hedgedoc?23:01:16
@erik:michelson.euErik [🦔-dev]
In reply to @andrew:matrix.reticu.li
That's right
In that case you might want to set the CMD_URL_PATH environment variable (or the corresponding config.json property).
https://docs.hedgedoc.org/configuration/#hedgedoc-location
23:01:36
@andrew:matrix.reticu.liAndrew

traefik -> nginx -> hedgedoc

But I could simplify that with Traefik CRDs. This is on Kubernetes

23:02:10
@erik:michelson.euErik [🦔-dev]You're not using OKD by coincidence?23:02:50
@sheogorath:shivering-isles.comSheogorathNa, then he wouldn't use traefik I guess :D23:03:54
@andrew:matrix.reticu.liAndrewNo, don't think so. I don't know what that is.23:04:04
@andrew:matrix.reticu.liAndrewhttps://gitlab.com/nsf-muses/kubernetes/-/blob/61b07f4f41a6ca46096271c2d28a174ad9bb48e6/charts/hedgedoc/templates/deployment.yaml23:04:09
@andrew:matrix.reticu.liAndrewThere's my config23:04:14
@sheogorath:shivering-isles.comSheogorathhttps://git.shivering-isles.com/hedgedoc/helm-v2 leaves that here :D It's too new to be actually pushed more official, but if you are interested in collaboration, that would be great thing :D23:05:42
@andrew:matrix.reticu.liAndrewKudos on the Matrix room by the way. I'm creating web services for a new science collaboration and I deployed a Matrix server, mostly to evangelize the protocol 😃23:05:45
@sheogorath:shivering-isles.comSheogorath
In reply to @andrew:matrix.reticu.li

traefik -> nginx -> hedgedoc

But I could simplify that with Traefik CRDs. This is on Kubernetes

Back to your problem: I would say your problem comes from nginx not forwarding these headers. Have you configured upstream trust?
23:06:28
@andrew:matrix.reticu.liAndrewI do not believe I have, because I don't know what upstream trust is...23:08:15
@sheogorath:shivering-isles.comSheogorath
In reply to @andrew:matrix.reticu.li
I do not believe I have, because I don't know what upstream trust is...
https://www.loadbalancer.org/blog/nginx-and-x-forwarded-for-header/ <-- basically telling nginx from which IP (yes, very kubernetes like 😓) nginx will accept something like X-forward headers as real
23:10:15
@sheogorath:shivering-isles.comSheogorathyou could probably make your life a lot easier, if you get the nginx out of that setup :D23:11:49
@andrew:matrix.reticu.liAndrew I believe for Traefik I'll want to use this Middlewares 23:12:04
@sheogorath:shivering-isles.comSheogorathTraefik sets the needed headers automatically AFAIK. But nginx won't forward them unless you explicitly tell it to, since they have implications.23:12:45

There are no newer messages yet.


Back to Room ListRoom Version: 7