Fossil SCM
Documentation update: Make the robot-restrict setting "none" or "off" to disable all restrictions.
Commit
26a9b033363106853b846c005eeab6fd6f47db78b6b7c366a9d66fff13fcdfb5
Parent
7d2b47a7c3f068e…
2 files changed
+3
-2
+2
+3
-2
| --- src/robot.c | ||
| +++ src/robot.c | ||
| @@ -153,13 +153,14 @@ | ||
| 153 | 153 | ** |
| 154 | 154 | ** The "diff" tag covers all diffing pages such as /vdiff, /fdiff, and |
| 155 | 155 | ** /vpatch. The "annotate" tag also covers /blame and /praise. "zip" |
| 156 | 156 | ** also covers /tarball and /sqlar. If a tag has an "X" character appended, |
| 157 | 157 | ** then it only applies if query parameters are such that the page is |
| 158 | -** particularly difficult to compute. | |
| 158 | +** particularly difficult to compute. In all other case, the tag should | |
| 159 | +** exactly match the page name. | |
| 159 | 160 | ** |
| 160 | -** In all other case, the tag should exactly match the page name. | |
| 161 | +** Make this setting "none" or "off" to disable all robot restrictions. | |
| 161 | 162 | */ |
| 162 | 163 | |
| 163 | 164 | /* |
| 164 | 165 | ** Return the default restriction GLOB |
| 165 | 166 | */ |
| 166 | 167 |
| --- src/robot.c | |
| +++ src/robot.c | |
| @@ -153,13 +153,14 @@ | |
| 153 | ** |
| 154 | ** The "diff" tag covers all diffing pages such as /vdiff, /fdiff, and |
| 155 | ** /vpatch. The "annotate" tag also covers /blame and /praise. "zip" |
| 156 | ** also covers /tarball and /sqlar. If a tag has an "X" character appended, |
| 157 | ** then it only applies if query parameters are such that the page is |
| 158 | ** particularly difficult to compute. |
| 159 | ** |
| 160 | ** In all other case, the tag should exactly match the page name. |
| 161 | */ |
| 162 | |
| 163 | /* |
| 164 | ** Return the default restriction GLOB |
| 165 | */ |
| 166 |
| --- src/robot.c | |
| +++ src/robot.c | |
| @@ -153,13 +153,14 @@ | |
| 153 | ** |
| 154 | ** The "diff" tag covers all diffing pages such as /vdiff, /fdiff, and |
| 155 | ** /vpatch. The "annotate" tag also covers /blame and /praise. "zip" |
| 156 | ** also covers /tarball and /sqlar. If a tag has an "X" character appended, |
| 157 | ** then it only applies if query parameters are such that the page is |
| 158 | ** particularly difficult to compute. In all other case, the tag should |
| 159 | ** exactly match the page name. |
| 160 | ** |
| 161 | ** Make this setting "none" or "off" to disable all robot restrictions. |
| 162 | */ |
| 163 | |
| 164 | /* |
| 165 | ** Return the default restriction GLOB |
| 166 | */ |
| 167 |
+2
| --- src/setup.c | ||
| +++ src/setup.c | ||
| @@ -510,10 +510,12 @@ | ||
| 510 | 510 | @ /vpatch. The "annotate" tag covers /annotate and also /blame and |
| 511 | 511 | @ /praise. The "zip" covers itself and also /tarball and /sqlar. If a |
| 512 | 512 | @ tag has an "X" character appended, then it only applies if query |
| 513 | 513 | @ parameters are such that the page is particularly difficult to compute. |
| 514 | 514 | @ In all other case, the tag should exactly match the page name. |
| 515 | + @ | |
| 516 | + @ To disable robot restrictions, make this setting "none" or "off". | |
| 515 | 517 | @ (Property: robot-restrict) |
| 516 | 518 | @ <br> |
| 517 | 519 | textarea_attribute("", 2, 80, |
| 518 | 520 | "robot-restrict", "rbrestrict", robot_restrict_default(), 0); |
| 519 | 521 | |
| 520 | 522 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -510,10 +510,12 @@ | |
| 510 | @ /vpatch. The "annotate" tag covers /annotate and also /blame and |
| 511 | @ /praise. The "zip" covers itself and also /tarball and /sqlar. If a |
| 512 | @ tag has an "X" character appended, then it only applies if query |
| 513 | @ parameters are such that the page is particularly difficult to compute. |
| 514 | @ In all other case, the tag should exactly match the page name. |
| 515 | @ (Property: robot-restrict) |
| 516 | @ <br> |
| 517 | textarea_attribute("", 2, 80, |
| 518 | "robot-restrict", "rbrestrict", robot_restrict_default(), 0); |
| 519 | |
| 520 |
| --- src/setup.c | |
| +++ src/setup.c | |
| @@ -510,10 +510,12 @@ | |
| 510 | @ /vpatch. The "annotate" tag covers /annotate and also /blame and |
| 511 | @ /praise. The "zip" covers itself and also /tarball and /sqlar. If a |
| 512 | @ tag has an "X" character appended, then it only applies if query |
| 513 | @ parameters are such that the page is particularly difficult to compute. |
| 514 | @ In all other case, the tag should exactly match the page name. |
| 515 | @ |
| 516 | @ To disable robot restrictions, make this setting "none" or "off". |
| 517 | @ (Property: robot-restrict) |
| 518 | @ <br> |
| 519 | textarea_attribute("", 2, 80, |
| 520 | "robot-restrict", "rbrestrict", robot_restrict_default(), 0); |
| 521 | |
| 522 |