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:
parent
03e7e209da
commit
5253a464ab
7 changed files with 103 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue