Mercurial > p > roundup > code
comparison roundup/configuration.py @ 5214:4c48180555fb
Fix text formatting, typos and, English grammar of the descriptive text.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 20 Mar 2017 20:18:20 -0400 |
| parents | d4cc71beb102 |
| children | 8743b7226dc7 |
comparison
equal
deleted
inserted
replaced
| 5213:bf13b28156f3 | 5214:4c48180555fb |
|---|---|
| 673 """How do we deal with @csrf fields in posted forms. | 673 """How do we deal with @csrf fields in posted forms. |
| 674 Set this to 'required' to block the post and notify | 674 Set this to 'required' to block the post and notify |
| 675 the user if the field is missing or invalid. | 675 the user if the field is missing or invalid. |
| 676 Set this to 'yes' to block the post and notify the user | 676 Set this to 'yes' to block the post and notify the user |
| 677 if the token is invalid, but accept the form if | 677 if the token is invalid, but accept the form if |
| 678 the field is missing | 678 the field is missing. |
| 679 Set this to 'logfailure' to log a notice to the roundup | 679 Set this to 'logfailure' to log a notice to the roundup |
| 680 log if the field is invalid or missing, but accept | 680 log if the field is invalid or missing, but accept |
| 681 the post. | 681 the post. |
| 682 Set this to 'no' to ignore the field and accept the post. | 682 Set this to 'no' to ignore the field and accept the post. |
| 683 """), | 683 """), |
| 689 """How do we deal with @csrf fields in posted forms. | 689 """How do we deal with @csrf fields in posted forms. |
| 690 Set this to 'required' to block the post and notify | 690 Set this to 'required' to block the post and notify |
| 691 the user if the field is missing or invalid. | 691 the user if the field is missing or invalid. |
| 692 Set this to 'yes' to block the post and notify the user | 692 Set this to 'yes' to block the post and notify the user |
| 693 if the token is invalid, but accept the form if | 693 if the token is invalid, but accept the form if |
| 694 the field is missing | 694 the field is missing. |
| 695 Set this to 'logfailure' to log a notice to the roundup | 695 Set this to 'logfailure' to log a notice to the roundup |
| 696 log if the field is invalid or missing, but accept | 696 log if the field is invalid or missing, but accept |
| 697 the post. | 697 the post. |
| 698 Set this to 'no' to ignore the field and accept the post. | 698 Set this to 'no' to ignore the field and accept the post. |
| 699 """), | 699 """), |
| 712 tracker.web setting in config.ini. | 712 tracker.web setting in config.ini. |
| 713 Set this to 'required' to block the post and notify | 713 Set this to 'required' to block the post and notify |
| 714 the user if the header is missing or invalid. | 714 the user if the header is missing or invalid. |
| 715 Set this to 'yes' to block the post and notify the user | 715 Set this to 'yes' to block the post and notify the user |
| 716 if the header is invalid, but accept the form if | 716 if the header is invalid, but accept the form if |
| 717 the field is missing | 717 the field is missing. |
| 718 Set this to 'logfalure' to log a notice to the roundup | 718 Set this to 'logfailure' to log a notice to the roundup |
| 719 log if the header is invalid or missing, but accept | 719 log if the header is invalid or missing, but accept |
| 720 the post. | 720 the post. |
| 721 Set this to 'no' to ignore the header and accept the post."""), | 721 Set this to 'no' to ignore the header and accept the post."""), |
| 722 (CsrfSettingOption, 'csrf_enforce_header_origin', "yes", | 722 (CsrfSettingOption, 'csrf_enforce_header_origin', "yes", |
| 723 """Verify that the Origin http header matches the | 723 """Verify that the Origin http header matches the |
| 724 tracker.web setting in config.ini. | 724 tracker.web setting in config.ini. |
| 725 Set this to 'required' to block the post and notify | 725 Set this to 'required' to block the post and notify |
| 726 the user if the header is missing or invalid. | 726 the user if the header is missing or invalid. |
| 727 Set this to 'yes' to block the post and notify the user | 727 Set this to 'yes' to block the post and notify the user |
| 728 if the header is invalid, but accept the form if | 728 if the header is invalid, but accept the form if |
| 729 the field is missing | 729 the field is missing. |
| 730 Set this to 'logfailure' to log a notice to the roundup | 730 Set this to 'logfailure' to log a notice to the roundup |
| 731 log if the header is invalid or missing, but accept | 731 log if the header is invalid or missing, but accept |
| 732 the post. | 732 the post. |
| 733 Set this to 'no' to ignore the header and accept the post."""), | 733 Set this to 'no' to ignore the header and accept the post."""), |
| 734 (CsrfSettingOption, 'csrf_enforce_header_x-forwarded-host', "yes", | 734 (CsrfSettingOption, 'csrf_enforce_header_x-forwarded-host', "yes", |
| 736 the host part of the tracker.web setting in config.ini. | 736 the host part of the tracker.web setting in config.ini. |
| 737 Set this to 'required' to block the post and notify | 737 Set this to 'required' to block the post and notify |
| 738 the user if the header is missing or invalid. | 738 the user if the header is missing or invalid. |
| 739 Set this to 'yes' to block the post and notify the user | 739 Set this to 'yes' to block the post and notify the user |
| 740 if the header is invalid, but accept the form if | 740 if the header is invalid, but accept the form if |
| 741 the field is missing | 741 the field is missing. |
| 742 Set this to 'logfailure' to log a notice to the roundup | 742 Set this to 'logfailure' to log a notice to the roundup |
| 743 log if the header is invalid or missing, but accept | 743 log if the header is invalid or missing, but accept |
| 744 the post. | 744 the post. |
| 745 Set this to 'no' to ignore the header and accept the post."""), | 745 Set this to 'no' to ignore the header and accept the post."""), |
| 746 (CsrfSettingOption, 'csrf_enforce_header_host', "yes", | 746 (CsrfSettingOption, 'csrf_enforce_header_host', "yes", |
| 749 tracker.web setting in config.ini. | 749 tracker.web setting in config.ini. |
| 750 Set this to 'required' to block the post and notify | 750 Set this to 'required' to block the post and notify |
| 751 the user if the header is missing or invalid. | 751 the user if the header is missing or invalid. |
| 752 Set this to 'yes' to block the post and notify the user | 752 Set this to 'yes' to block the post and notify the user |
| 753 if the header is invalid, but accept the form if | 753 if the header is invalid, but accept the form if |
| 754 the field is missing | 754 the field is missing. |
| 755 Set this to 'logfailure' to log a notice to the roundup | 755 Set this to 'logfailure' to log a notice to the roundup |
| 756 log if the header is invalid or missing, but accept | 756 log if the header is invalid or missing, but accept |
| 757 the post. | 757 the post. |
| 758 Set this to 'no' to ignore the header and accept the post."""), | 758 Set this to 'no' to ignore the header and accept the post."""), |
| 759 (IntegerNumberOption, 'csrf_header_min_count', "1", | 759 (IntegerNumberOption, 'csrf_header_min_count', "1", |
| 884 "Some mail readers (eg. Eudora) can't cope with that,\n" | 884 "Some mail readers (eg. Eudora) can't cope with that,\n" |
| 885 "so you might need to specify a more limited character set\n" | 885 "so you might need to specify a more limited character set\n" |
| 886 "(eg. iso-8859-1).", | 886 "(eg. iso-8859-1).", |
| 887 ["EMAIL_CHARSET"]), | 887 ["EMAIL_CHARSET"]), |
| 888 (FilePathOption, "debug", "", | 888 (FilePathOption, "debug", "", |
| 889 "Setting this option makes Roundup to write all outgoing email\n" | 889 "Setting this option makes Roundup write all outgoing email\n" |
| 890 "messages to this file *instead* of sending them.\n" | 890 "messages to this file *instead* of sending them.\n" |
| 891 "This option has the same effect as environment variable" | 891 "This option has the same effect as environment variable" |
| 892 " SENDMAILDEBUG.\nEnvironment variable takes precedence."), | 892 " SENDMAILDEBUG.\nEnvironment variable takes precedence."), |
| 893 (BooleanOption, "add_authorinfo", "yes", | 893 (BooleanOption, "add_authorinfo", "yes", |
| 894 "Add a line with author information at top of all messages\n" | 894 "Add a line with author information at top of all messages\n" |
