Mercurial > p > roundup > code
comparison roundup/configuration.py @ 5606:5fc476d4e34c
Merge REST API changes
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Wed, 30 Jan 2019 18:11:02 +0100 |
| parents | 79da1ca2f94b |
| children | c7dd1cae3416 |
comparison
equal
deleted
inserted
replaced
| 5553:a75285092156 | 5606:5fc476d4e34c |
|---|---|
| 725 option. Strict mode provides additional security | 725 option. Strict mode provides additional security |
| 726 against CSRF attacks, but may confuse users who | 726 against CSRF attacks, but may confuse users who |
| 727 are logged into roundup and open a roundup link | 727 are logged into roundup and open a roundup link |
| 728 from a source other than roundup (e.g. link in | 728 from a source other than roundup (e.g. link in |
| 729 email)."""), | 729 email)."""), |
| 730 (BooleanOption, 'enable_xmlrpc', "yes", | |
| 731 """Whether to enable the XMLRPC API in the roundup web | |
| 732 interface. By default the XMLRPC endpoint is the string 'xmlrpc' | |
| 733 after the roundup web url configured in the 'tracker' section. | |
| 734 If this variable is set to 'no', the xmlrpc path has no special meaning | |
| 735 and will yield an error message."""), | |
| 736 (BooleanOption, 'enable_rest', "yes", | |
| 737 """Whether to enable the REST API in the roundup web | |
| 738 interface. By default the REST endpoint is the string 'rest' plus any | |
| 739 additional REST-API parameters after the roundup web url configured in | |
| 740 the tracker section. If this variable is set to 'no', the rest path has | |
| 741 no special meaning and will yield an error message."""), | |
| 730 (CsrfSettingOption, 'csrf_enforce_token', "yes", | 742 (CsrfSettingOption, 'csrf_enforce_token', "yes", |
| 731 """How do we deal with @csrf fields in posted forms. | 743 """How do we deal with @csrf fields in posted forms. |
| 732 Set this to 'required' to block the post and notify | 744 Set this to 'required' to block the post and notify |
| 733 the user if the field is missing or invalid. | 745 the user if the field is missing or invalid. |
| 734 Set this to 'yes' to block the post and notify the user | 746 Set this to 'yes' to block the post and notify the user |
