Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 check-ins occurring around 9fcd6e443cdefb5a.

Make it possible to disable JSON auto-detection in the CGI subsystem. (check-in: a7754353 user: mistachkin tags: noJsonCgiFlag)
Grepped the Fossil source code for C code that checks for Setup caps exclusively to preotect functions and listed those in the Reference section of Also expanded the coverage of the "caps affect Fossil web interfaces only" section, which plays into this. (check-in: 689f7683 user: wyoung tags: caps-doc)
Added cap "n" to "r" in skins that show a /ticket link in their header, since the handler for it allows the page to show for those who can only file new tickets, not just those who can see existing tickets. Also fixed some skins that were using "anoncap" to test this: it needs to work for all logged-in users, not just "anonymous". (Closed-Leaf check-in: f4e3abce user: wyoung tags: skin-cap-matching)
Minor wording change in the header of /vdiff. (check-in: 69adb45d user: drh tags: vdiff-improvements)
Updates to the /vdiff page with the branch=BRANCH query parameter so that it uses merge-in: instead of root: and thus excludes merge-in check-ins from the diff. (check-in: b36dc6f1 user: drh tags: vdiff-improvements)
Rewrote explanation of "o" cap. (check-in: 208ca0d7 user: wyoung tags: caps-doc)
Add the "merge-in:NAME" name type, similar to "root:NAME" except that it finds the youngest anscestor of NAME that is in the branch from which the branch of NAME derived. (check-in: dcd8f1d8 user: drh tags: vdiff-improvements)
Disentangled discussion of "developer" vs "reader" in (check-in: 869494eb user: wyoung tags: caps-doc)
Added (Names) to the "Capability Reference" section of so the reference can be used while reading C source code, which uses these names instead of the capability characters in all code past the login handler. (check-in: d48dff8f user: wyoung tags: caps-doc)
Merge in documentation enhancements from trunk. (check-in: c1b62c32 user: drh tags: vdiff-improvements)
Remove an unused subroutine. Fix a minor CSS problem. (check-in: 2078c746 user: drh tags: vdiff-improvements)
On the /vdiff page, show a timeline with both check-ins using different highlights on each check-in. (check-in: 6e40f866 user: drh tags: vdiff-improvements)
Changed all of the [anycap jor] TH1 calls in the stock skins wrapping the generation of that skin's /timeline and /timeline.rss links to [anycap ijr2] to match the user caps the timeline HTTP hit handler actually checks for in the C code. This is a branch in part because it needs review, but also it's the start of a broader effort to check the other cap checks in the skins to make sure they a) match what the C code checks for; and b) match each other. (check-in: 9cee8cf5 user: wyoung tags: skin-cap-matching)
Added HTTP proxying info to Debian nginx server setup guide. (check-in: c6a033ce user: wyoung tags: trunk)
Replaced the content of "Running Fossil in SCGI Mode" within www/server/debian/ with references to our other Fossil server docs. This also reduces the prior focus of this section on fslsrv to a single sentence, since we now prefer the systemd option, now that we have it. (check-in: a4bb92f7 user: wyoung tags: trunk)
Swapped the simple "whole site is Fossil" example in www/server/debian/ for the more complicated one where only /code is served by Fossil. This is probably going to be more common, and it shows off the important detail of setting SCRIPT_NAME properly. Made a minor adjustment to any/ to track this change, so there is not a pointless difference between these two nginx configs. (check-in: 653e90ca user: wyoung tags: trunk)
Clarified use of scgi_params, SCRIPT_NAME, and service starting in the generic SCGI server setup doc. (check-in: 5a58ac31 user: wyoung tags: trunk)
Merge fork (check-in: 6c6aae97 user: andygoth tags: trunk)
Add the fossil_random_password() utility function and use it to generate a stronger initial admin-user password in the "fossil new" command. (check-in: 23a9f9ba user: drh tags: trunk)
If the test-markdown-render or test-wiki-render commands are invoked without a repository in which to check for Wiki page names and artifact hashes, then substitute a temporary, empty, in-memory repository so that the commands will still work and won't give SQL errors. (check-in: 0ac64dad user: drh tags: trunk)
Clarified the placement of "moderator" and "subscriber" in the power hierarchy expression within www/, since each could float up and down somewhat within the fixed hierarchy we give here. Also fixed a broken URL. (check-in: ba88f4f2 user: wyoung tags: caps-doc)
Markdown hyperlinks are only converted to links to wiki if the named wikipage actually exists. Otherwise, the link becomes a relative link. This is for backwards compatibility. (check-in: 3b10e644 user: drh tags: trunk)
Added www/, a complete treatment on user capabilities, user categories, login groups, and administration matters involving all of this. It does not replace the pre-existing doc, but a bit of its content did move into this new doc. The new doc also contains the user capability info previously in the doc. This is on a branch because although it's quite useful already, it could use some work before being merged down. At the barest minimum, there are some unanswered questions in the new doc that need addressing.    This new doc does not replace the existing documentation in the UI. It may be that we end up paring that down a bit now that we have a full doc to refer to, but that is a topic for the forum thread that will appear shortly after this checkin. (check-in: 832f107e user: wyoung tags: caps-doc)
Fixed a few fatal error messages from the login-group command that referred to an "add" command, which is now called "join". The symptom I saw is that "fossil login-group add" complained that "add" is not a valid command and that you should give '"add" or "leave"' instead! (check-in: 09c65d75 user: wyoung tags: trunk)
Fixed a few messages from the login-group command that referred to an apparent older name for the "join" sub-command, "add". This lead to a confusing symptom: "fossil login-group add foo" -> {unknown command "add" - should be "add" or "leave"}. (check-in: 739cd872 user: wyoung tags: trunk)
Stronger recommendation for changing the default user's random hex password prior to setting up a Fossil server after learning it's 6 hex digits, not 8 as I thoght when I wrote that! (check-in: 9fcd6e44 user: wyoung tags: trunk)
Added bullet list detailing the sources for <script nonce=""> from a Fossil server and the reasons we consider each path safe. (check-in: 91377ae4 user: wyoung tags: trunk)
Reworked the material explaining why in-page <style> is currently allowed by Fossil's default CSP to make it clearer that this is most likely a temporary situation and that local custom CSS should go in the skin instead. (check-in: 092eeebf user: wyoung tags: trunk)
Expanded the discussion of in-repo and out-of-repo resource links in (check-in: 23fcd765 user: wyoung tags: trunk)
Reworked the new introductory material in to be less about the CSP as last-resort and more about being a secondary filter to our other measures. Gave examples to clarify the tensions that prevent a purely server-side solution from being a practical solution. (check-in: 1c4df5bf user: wyoung tags: trunk)
"RaspberryPI" -> "Raspberry Pi" (check-in: 5182be99 user: wyoung tags: trunk)
Assorted refinements to the new pre- and post-activation advice sections in www/server/index.html: nix passive voice, add a few details, add some links to related docs, etc. Also fixed a CSS indenting problem preventing correct use of in , then made use of the new freedom in these sections' numbered lists. (check-in: b5c2c9bf user: wyoung tags: trunk)
Fix the $ROOT mechanism in HTML documents so that it accepts any whitespace character before href= and script=. Add $ROOT in appropriate places in the server documentation. (check-in: 3e183bfa user: drh tags: trunk)
Outline how to configure a repository before and after server activation. (check-in: 154ea087 user: drh tags: trunk)
Improvements to the althttpd documentation. (check-in: 44f1df9f user: drh tags: trunk)
Further improvements to the server document. (check-in: c2c4d303 user: drh tags: trunk)
Extra defenses against running fossil_atexit() more than once. (check-in: bc7683e1 user: drh tags: trunk)
Fix the "shell" command so that it avoids invoking the atexit() handler more than once. (check-in: 07a5a211 user: drh tags: trunk)
Server documentation updates. (check-in: b2426c27 user: drh tags: trunk)
Merge in recent developments on trunk. (check-in: 70d091ea user: andybradford tags: test-updates)
Disallow versioning of security sensitive settings tcl-setup, th1-setup, and th1-uri-regexp. For effective security, these settings should only be controllable by an administrator. (check-in: 2da704c5 user: drh tags: trunk)
Update to the default CSP page. Attempted to resolve merge conflicts, but more editting is likely necessary. (check-in: 33a7b8ba user: drh tags: trunk)
Added a header to the new XSS material in so we can refer directly to it. (check-in: 7b843f2d user: wyoung tags: trunk)
More thorough explanation of <script nonce> in www/, and explained the reason why Fossil has no way of providing that nonce in most content types rather than link to the "XSS via check-in rights" forum post. This new presentation of that post's ideas is more detailed and includes discussion of the feature's interaction with the TH1 docs feature. (check-in: 8d43bb87 user: wyoung tags: trunk)
Major improvements to the new article. Expanded the introductory material to better describe what the CSP does; added named anchors to headers; moved the discussion of $default_csp overrides into this document from, which now just says how you use that variable read-only; and added an entirely new section, "Replacing the Default CSP". (check-in: 366b23a1 user: wyoung tags: trunk)
Replaced the redundant copy of the default CSP in skins/bootstrap/header.txt with "$default_csp", allowing the TH1 setup script to override the CSP as in all the other stock skins. (Bootstrap is the last stock skin to define a custom <head> element.) (check-in: 14ac2cac user: wyoung tags: trunk)
Fix memcpy() compiler warnings. (check-in: 7ae4b1a7 user: drh tags: trunk)
Fix possible misaligned pointer to a 16-bit object. (check-in: f7c41be8 user: drh tags: trunk)
Updated and expanded documentation on how to set up a Fossil server. (check-in: f146e21a user: drh tags: trunk)
Add the --with-sanitizer option to the ./configure script. (check-in: 231d6933 user: drh tags: trunk)