138 {'type' : 'int', |
138 {'type' : 'int', |
139 'default': 3000, |
139 'default': 3000, |
140 'help': 'size of the parsed rql cache size.', |
140 'help': 'size of the parsed rql cache size.', |
141 'group': 'main', 'level': 3, |
141 'group': 'main', 'level': 3, |
142 }), |
142 }), |
143 ('undo-support', |
143 ('undo-enabled', |
144 {'type' : 'string', 'default': '', |
144 {'type' : 'yn', 'default': False, |
145 'help': 'string defining actions that will have undo support: \ |
145 'help': 'enable undo support', |
146 [C]reate [U]pdate [D]elete entities / [A]dd [R]emove relation. Leave it empty \ |
|
147 for no undo support, set it to CUDAR for full undo support, or to DR for \ |
|
148 support undoing of deletion only.', |
|
149 'group': 'main', 'level': 3, |
146 'group': 'main', 'level': 3, |
150 }), |
147 }), |
151 ('keep-transaction-lifetime', |
148 ('keep-transaction-lifetime', |
152 {'type' : 'int', 'default': 7, |
149 {'type' : 'int', 'default': 7, |
153 'help': 'number of days during which transaction records should be \ |
150 'help': 'number of days during which transaction records should be \ |
205 'help': 'Pyro server host, if not detectable correctly through \ |
202 'help': 'Pyro server host, if not detectable correctly through \ |
206 gethostname(). It may contains port information using <host>:<port> notation, \ |
203 gethostname(). It may contains port information using <host>:<port> notation, \ |
207 and if not set, it will be choosen randomly', |
204 and if not set, it will be choosen randomly', |
208 'group': 'pyro', 'level': 3, |
205 'group': 'pyro', 'level': 3, |
209 }), |
206 }), |
|
207 # zmq services config |
|
208 ('zmq-repository-address', |
|
209 {'type' : 'string', |
|
210 'default': None, |
|
211 'help': 'ZMQ URI on which the repository will be bound to.', |
|
212 'group': 'zmq', 'level': 3, |
|
213 }), |
|
214 ('zmq-address-sub', |
|
215 {'type' : 'csv', |
|
216 'default' : None, |
|
217 'help': ('List of ZMQ addresses to subscribe to (requires pyzmq)'), |
|
218 'group': 'zmq', 'level': 1, |
|
219 }), |
|
220 ('zmq-address-pub', |
|
221 {'type' : 'string', |
|
222 'default' : None, |
|
223 'help': ('ZMQ address to use for publishing (requires pyzmq)'), |
|
224 'group': 'zmq', 'level': 1, |
|
225 }), |
210 ) + CubicWebConfiguration.options) |
226 ) + CubicWebConfiguration.options) |
211 |
227 |
212 # should we init the connections pool (eg connect to sources). This is |
228 # should we init the connections pool (eg connect to sources). This is |
213 # usually necessary... |
229 # usually necessary... |
214 init_cnxset_pool = True |
230 init_cnxset_pool = True |