!oaRMJImPLfUnnXzwnN:shivering-isles.com

HedgeDoc

805 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/dev246 Servers

Load older messages


SenderMessageTime
23 Aug 2021
@andrew:matrix.reticu.liAndrew So are you saying that HedgeDoc will handle an arbitrary basepath if I use that env var CMD_URL_PATH? 23:12:58
@sheogorath:shivering-isles.comSheogorathIt should? Maybe? 23:13:34
@sheogorath:shivering-isles.comSheogorath I have never tried it myself. Erik [🦔-dev] might know better? 23:14:06
@andrew:matrix.reticu.liAndrew
In reply to @sheogorath:shivering-isles.com
Traefik sets the needed headers automatically AFAIK. But nginx won't forward them unless you explicitly tell it to, since they have implications.
interesting. Okay, I'll remove the NGINX reverse proxy and just leave the Traefik ingress controller. If the env var isn't enough for the basepath I will use Traefik middlewares to add/remove the basepath
23:14:14
@erik:michelson.euErik [🦔-dev]
In reply to @sheogorath:shivering-isles.com
I have never tried it myself. Erik [🦔-dev] might know better?
I never used that for production only one, two times with just nginx in front of HedgeDoc for tests.
23:17:49
@erik:michelson.euErik [🦔-dev]
In reply to @sheogorath:shivering-isles.com
I have never tried it myself. Erik [🦔-dev] might know better?
* I never used that for production. Only one, two times with just nginx in front of HedgeDoc for tests.
23:18:28
24 Aug 2021
@andrew:matrix.reticu.liAndrew I tried a thousand configurations but in the end, the only thing that worked was using a dedicated subdomain, and in this case the configuration was so simple it didn't even need the special instructions in the Keycloak example docs. With a dedicated domain, the Traefik ingress is the most basic with no middlewares, and the Keycloak client settings require no id client scope nor mapper. 01:11:00
@andrew:matrix.reticu.liAndrew Ironically, my primary motivation for upgrading to HedgeDoc from CodiMD was the support for access roles. While the CMD_OAUTH2_ACCESS_ROLE env var does indeed only allow users with the proper role to login, it still issues a 500 internal server error if someone tries to log in who does not have this role. That's acceptable, because it still maintains access control, but I was hoping it would show a more graceful error message and reload the home page or something. 01:13:36
@fayet:matrix.orgdani joined the room.09:29:03
@fayet:matrix.orgdaniimage.png
Download image.png
09:29:33
@fayet:matrix.orgdaniHelp me!09:30:16
@davebloggt:kif.rocksDavid [🦔-backend]CodiMD is not HedgeDoc, sorry09:30:37
@davebloggt:kif.rocksDavid [🦔-backend] * CodiMD 2 is not HedgeDoc, sorry09:31:19
@fayet:matrix.orgdaniwhat's the difference?09:32:34
@davebloggt:kif.rocksDavid [🦔-backend]The history is explained here: https://hedgedoc.org/history09:33:08
@fayet:matrix.orgdani changed their display name from fajar alfayet to dani.09:43:51
@jahl:matrix.orgjhl joined the room.10:47:27
@jahl:matrix.orgjhlHi, i'm new to hedgedoc and matrix so I don't know if this is the right place to ask but does Hedgedoc store the notes themselves in .md format? If so where inside the Linux-Server container can I find them? My plan would be to mount the directory and sync it my other devices using syncthing but I couldn't find them so far10:54:42
@erik:michelson.euErik [🦔-dev]Hi, HedgeDoc does not store the notes as files on the server but uses a database to store the note contents and additional metadata.10:55:29
@jahl:matrix.orgjhlAh ok. My plan won't work then I guess10:59:40
@hanser:hofra.rockshanserDo you only want to copy md files from hedgedoc elsewhere or do you also want to bring changes back to hedgedoc?11:03:31
@jahl:matrix.orgjhlIdeally I'd like to edit them. But copying should work for my usecase too11:06:43
@hanser:hofra.rockshanserThen you could download your list of notes as md-files via a cron-job and sync them afterwards via syncthing. You would just loose edits made to the files.11:08:00
@hanser:hofra.rockshanser

/<NOTE>/download should do the trick

This was also my question just recently

11:08:54
@erik:michelson.euErik [🦔-dev]HedgeDoc currently has no way of editing stored notes outside HedgeDoc itself. However maybe you want to take a look at the CLI? https://github.com/hedgedoc/cli11:08:54
@jahl:matrix.orgjhl
In reply to @erik:michelson.eu
HedgeDoc currently has no way of editing stored notes outside HedgeDoc itself. However maybe you want to take a look at the CLI? https://github.com/hedgedoc/cli
Thanks. Gonna take a look at that
11:14:47
@fayet:matrix.orgdaniimage.png
Download image.png
11:55:56
@fayet:matrix.orgdaniWhat is wrong?11:58:46
@erik:michelson.euErik [🦔-dev] Did you download a pre-built package or did you run yarn install && yarn build in beforehand? 11:59:49
@fayet:matrix.orgdaniyes12:00:40

Show newer messages


Back to Room ListRoom Version: 7