2022-11-07 21:30:12 +01:00
|
|
|
version = "1.0"
|
|
|
|
|
|
|
|
[main]
|
|
|
|
name = "HedgeDoc configuration"
|
2023-06-07 11:35:17 +02:00
|
|
|
services = ["__APP__"]
|
2022-11-07 21:30:12 +01:00
|
|
|
|
|
|
|
[main.config]
|
|
|
|
name = "Configuration Options"
|
|
|
|
|
|
|
|
[main.config.allow_anonymous]
|
|
|
|
ask = "Allow anonymous usage"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Set to allow anonymous usage (default is true)."
|
2023-08-13 20:38:48 +02:00
|
|
|
bind = "allowAnonymous:__INSTALL_DIR__/config.json"
|
2022-11-07 21:30:12 +01:00
|
|
|
|
2023-01-21 12:35:07 +01:00
|
|
|
[main.config.allow_anonymous_edits]
|
|
|
|
ask = "Allow anonymous edits"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Allow users to select freely permission, allowing guests to edit existing notes."
|
2023-08-13 20:38:48 +02:00
|
|
|
bind = "allowAnonymousEdits:__INSTALL_DIR__/config.json"
|
2023-01-21 12:35:07 +01:00
|
|
|
|
|
|
|
|
2022-11-07 21:30:12 +01:00
|
|
|
[main.config.allow_email_registration]
|
|
|
|
ask = "Allow email registration"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Set to allow registration of new accounts using an email address. If set to false, you can still create accounts using the command line."
|
2023-08-13 20:38:48 +02:00
|
|
|
bind = "allowEmailRegister:__INSTALL_DIR__/config.json"
|
2022-11-07 21:30:12 +01:00
|
|
|
|
2023-01-21 12:24:42 +01:00
|
|
|
[main.config.allow_free_url]
|
2023-01-21 12:30:12 +01:00
|
|
|
ask = "Allow new note creation"
|
2023-01-21 12:24:42 +01:00
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Set to allow new note creation by accessing a nonexistent note URL. This is the behavior familiar from Etherpad."
|
2023-08-13 20:38:48 +02:00
|
|
|
bind = "allowFreeURL:__INSTALL_DIR__/config.json"
|
2023-01-21 12:24:42 +01:00
|
|
|
|
2023-01-21 12:30:12 +01:00
|
|
|
[main.config.require_free_url_authentication]
|
|
|
|
ask = "Require FreeURL authentication"
|
|
|
|
type = "boolean"
|
|
|
|
yes = "true"
|
|
|
|
no = "false"
|
|
|
|
help = "Set to require authentication for FreeURL mode style note creation."
|
2023-08-13 20:38:48 +02:00
|
|
|
bind = "requireFreeURLAuthentication:__INSTALL_DIR__/config.json"
|
2023-01-21 12:30:12 +01:00
|
|
|
|
2023-01-21 12:24:42 +01:00
|
|
|
|
|
|
|
|