Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Improvements to automatic hyperlink enabling and robot exclusion. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
f014e1566042c3a802bdcc3f8a4b2d9a |
| User & Date: | drh 2017-10-16 13:54:46.331 |
Context
|
2017-10-17
| ||
| 21:06 | Add the /download page, with a configuration option to define what tag to be downloaded. check-in: c5fea125d9 user: drh tags: trunk | |
|
2017-10-16
| ||
| 13:54 | Improvements to automatic hyperlink enabling and robot exclusion. check-in: f014e15660 user: drh tags: trunk | |
|
2017-10-12
| ||
| 13:37 | Rewrote the autoreconfigure explanation comment. It was confusing and contained errors. check-in: 50844e5c6b user: wyoung tags: trunk | |
Changes
Changes to src/setup.c.
| ︙ | ︙ | |||
1221 1222 1223 1224 1225 1226 1227 |
@ might not work inside a chroot() jail.
@ (Property: "max-loadavg")</p>
@ <hr />
onoff_attribute(
"Enable hyperlinks for \"nobody\" based on User-Agent and Javascript",
"auto-hyperlink", "autohyperlink", 1, 0);
| | | > > | | < < | | > > | < < < | < | < | | | 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 |
@ might not work inside a chroot() jail.
@ (Property: "max-loadavg")</p>
@ <hr />
onoff_attribute(
"Enable hyperlinks for \"nobody\" based on User-Agent and Javascript",
"auto-hyperlink", "autohyperlink", 1, 0);
@ <p>Enable hyperlinks (the equivalent of the "h" permission) for all users,
@ including user "nobody", as long as
@ <ol><li>the User-Agent string in the
@ HTTP header indicates that the request is coming from an actual human
@ being, and
@ <li>the user agent is able to
@ run Javascript in order to set the href= attribute of hyperlinks, and
@ <li>mouse movement is detected (optional - see the checkbox below), and
@ <li>a number of milliseconds have passed since the page loaded.</ol>
@
@ <p>This setting is designed to give easy access to humans while
@ keeping out robots and spiders.
@ You do not normally want a robot to walk your entire repository because
@ if it does, your server will end up computing diffs and annotations for
@ every historical version of every file and creating ZIPs and tarballs of
@ every historical check-in, which can use a lot of CPU and bandwidth
@ even for relatively small projects.</p>
@
@ <p>Additional parameters that control this behavior:</p>
@ <blockquote>
onoff_attribute("Require mouse movement before enabling hyperlinks",
"auto-hyperlink-mouseover", "ahmo", 0, 0);
@ <br />
entry_attribute("Delay in milliseconds before enabling hyperlinks", 5,
"auto-hyperlink-delay", "ah-delay", "50", 0);
@ </blockquote>
@ <p>For maximum robot defense, the "require mouse movement" should
@ be turned on and the "Delay" should be at least 50 milliseconds.</p>
@ (Properties: "auto-hyperlink",
@ "auto-hyperlink-mouseover", and "auto-hyperlink-delay")</p>
@ <hr />
onoff_attribute("Require a CAPTCHA if not logged in",
"require-captcha", "reqcapt", 1, 0);
@ <p>Require a CAPTCHA for edit operations (appending, creating, or
@ editing wiki or tickets or adding attachments to wiki or tickets)
|
| ︙ | ︙ |