mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00

Some checks are pending
Docker / build-and-push (frontend) (push) Waiting to run
Docker / build-and-push (backend) (push) Waiting to run
Deploy HD2 docs to Netlify / Deploys to netlify (push) Waiting to run
E2E Tests / backend-sqlite (push) Waiting to run
E2E Tests / backend-mariadb (push) Waiting to run
E2E Tests / backend-postgres (push) Waiting to run
E2E Tests / Build test build of frontend (push) Waiting to run
E2E Tests / frontend-cypress (1) (push) Blocked by required conditions
E2E Tests / frontend-cypress (2) (push) Blocked by required conditions
E2E Tests / frontend-cypress (3) (push) Blocked by required conditions
Lint and check format / Lint files and check formatting (push) Waiting to run
REUSE Compliance Check / reuse (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Static Analysis / Njsscan code scanning (push) Waiting to run
Static Analysis / CodeQL analysis (push) Waiting to run
Run tests & build / Test and build with NodeJS 20 (push) Waiting to run
Thanks to all HedgeDoc team members for the time discussing, helping with weird Nest issues, providing feedback and suggestions! Co-authored-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2.1 KiB
2.1 KiB
Notes
environment variable | default | example | description |
---|---|---|---|
HD_FORBIDDEN_NOTE_IDS |
- | notAllowed, alsoNotAllowed |
A list of note ids (separated by , ), that are not allowed to be created or requested by anyone. |
HD_MAX_DOCUMENT_LENGTH |
100000 | The maximum length of any one document. Changes to this will impact performance for your users. | |
HD_GUEST_ACCESS |
write |
deny , read , write , create |
Defines the maximum access level for guest users to the instance. If guest access is set lower than the "everyone" permission of a note then the note permission will be overridden. |
HD_PERMISSION_DEFAULT_LOGGED_IN |
write |
none , read , write |
The default permission for the "logged-in" group that is set on new notes. |
HD_PERMISSION_DEFAULT_EVERYONE |
read |
none , read , write |
The default permission for the "everyone" group (logged-in & guest users), that is set on new notes created by logged-in users. Notes created by guests always set this to "write". |
HD_PERSIST_INTERVAL |
10 | 0 , 5 , 10 , 20 |
The time interval in minutes for the periodic note revision creation during realtime editing. 0 deactivates the periodic note revision creation. |