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

Addd hook capability

This commit is contained in:
Tuna Celik 2020-08-17 02:05:02 +02:00
parent 03e7e209da
commit 5253a464ab
7 changed files with 103 additions and 2 deletions

View file

@ -32,7 +32,7 @@ import string
from collections import OrderedDict
from configparser import RawConfigParser
from radicale import auth, rights, storage, web
from radicale import auth, rights, storage, web, hook
DEFAULT_CONFIG_PATH = os.pathsep.join([
"?/etc/radicale/config",
@ -207,6 +207,20 @@ DEFAULT_CONFIG_SCHEMA = OrderedDict([
"value": "True",
"help": "sync all changes to filesystem during requests",
"type": bool})])),
("hook", OrderedDict([
("type", {
"value": "none",
"help": "hook backend",
"type": str,
"internal": hook.INTERNAL_TYPES}),
("rabbitmq_endpoint", {
"value": "",
"help": "endpoint where rabbitmq server is running",
"type": str}),
("rabbitmq_topic", {
"value": "",
"help": "topic to declare queue",
"type": str})])),
("web", OrderedDict([
("type", {
"value": "internal",