1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-10 18:40:53 +00:00

Move internal options to other sections

This commit is contained in:
Unrud 2020-02-19 09:50:36 +01:00
parent 8e3465b5d4
commit 180e96b332
10 changed files with 36 additions and 37 deletions

View file

@ -132,7 +132,11 @@ DEFAULT_CONFIG_SCHEMA = OrderedDict([
"value": "",
"help": "set CA certificate for validating clients",
"aliases": ["--certificate-authority"],
"type": filepath})])),
"type": filepath}),
("_internal_server", {
"value": "False",
"help": "the internal server is used",
"type": bool})])),
("encoding", OrderedDict([
("request", {
"value": "utf-8",
@ -191,7 +195,11 @@ DEFAULT_CONFIG_SCHEMA = OrderedDict([
("hook", {
"value": "",
"help": "command that is run after changes to storage",
"type": str})])),
"type": str}),
("_filesystem_fsync", {
"value": "True",
"help": "sync all changes to filesystem during requests",
"type": bool})])),
("web", OrderedDict([
("type", {
"value": "internal",
@ -208,16 +216,7 @@ DEFAULT_CONFIG_SCHEMA = OrderedDict([
"help": "mask passwords in logs",
"type": bool})])),
("headers", OrderedDict([
("_allow_extra", str)])),
("_internal", OrderedDict([
("filesystem_fsync", {
"value": "True",
"help": "sync all changes to filesystem during requests",
"type": bool}),
("internal_server", {
"value": "False",
"help": "the internal server is used",
"type": bool})]))])
("_allow_extra", str)]))])
def parse_compound_paths(*compound_paths):