Fossil

Timeline
Login

Timeline

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

246 check-ins using file src/markdown.c version 8f0616a9e7

2019-09-23
20:03
Additional rebustness improvements for BOM handling. ... (check-in: 9d96292871 user: drh tags: trunk)
19:50
Improved comments on the fuzz.c module. No code changes. ... (check-in: 898d5b6de7 user: drh tags: trunk)
19:38
Merge the libfuzzer integration. ... (check-in: 3a7129211c user: drh tags: trunk)
19:35
Fix an off-by-one error in the BOM decoder. ... (check-in: b3f45b334b user: drh tags: trunk)
19:07
Add support for testing with libFuzzer. ... (Closed-Leaf check-in: 8a6e8e2703 user: drh tags: libFuzzer)
18:25
Change the database fingerprint algorithm slightly so that it is not dependent on the details of floating-point computations, and thus gives the same answer on a native x64 processor as it does under valgrind. Also fix a bug in the RID change event computation so that it works even if files have been added. ... (check-in: 265f8e2d83 user: drh tags: trunk)
2019-09-21
17:50
Update the built-in SQLite to the latest 3.30.0 alpha version, for testing. ... (check-in: 44900415b1 user: drh tags: trunk)
2019-09-19
16:33
Updates to the change log. ... (check-in: b6c36e87ba user: drh tags: trunk)
14:14
In the db_get(N,D) function, if N is setting, then always leave D as NULL so that we use the published default value for that setting. ... (check-in: eb804dc674 user: drh tags: trunk)
2019-09-18
14:57
Style cleanup (no tabs). No functional change. ... (check-in: 89872d17d1 user: andybradford tags: trunk)
14:04
Do not acquire check-in locks if autosync is pullonly, as the lock will not be cancelled by a subsequent push and will need to time out. ... (check-in: 0d5251d3ee user: drh tags: trunk)
2019-09-17
18:33
Updates to the check-in locking protocol. The check-in lock timeout now defaults to 60 seconds, but the lock is renewed and fork and close-branch tests are repeated after an interactive check-in comment entry. ... (check-in: 18d588015b user: drh tags: trunk)
2019-09-13
22:53
Update to openssl 1.1.1d ... (check-in: 74aac0ed3d user: jan.nijtmans tags: trunk)
15:11
Merge in latest developments from trunk. ... (Closed-Leaf check-in: b713393b9a user: andybradford tags: db-begin-txn-updates)
13:54
Attempt to improve error messages resulting from SQL errors. ... (check-in: b94e15cff7 user: drh tags: trunk)
12:48
Rewrote the "One vs. Many Check-outs per Repository" section in fossil-v-git.wiki to focus more on default modes of operation and their consequences in response to nit-picking on the Lobste.rs thread about this article pointing out that you can make Git work in the Fossil style. Defaults matter. ... (check-in: 10a57cece1 user: wyoung tags: trunk)
12:40
Enhance the title for the /finfo page when the ubg query parameter is present. Use the ubg query parameter for the document history link on the rebaseharm.md page. ... (check-in: 80f982518b user: drh tags: trunk)
12:00
Added paragraph on feedback loops, control theory, and OODA to the fossil-v-git doc, distilling a recent discussion on the forum. ... (check-in: b0f2a48f98 user: wyoung tags: trunk)
11:33
Reworked the final paragraph of the new section 2.8 in fossil-v-git.wiki, adding in a mention of www/branching.wiki to the comparison, to make it fairer. ... (check-in: 8f7576b024 user: wyoung tags: trunk)
11:12
Added section "7.0 Collapsing check-ins throws away valuable information" to rebaseharm.md, linked to from the previous throwaway comment about squashing a whole branch down to a single commit during rebase. This section explains an entire class of harms that come from rebase which wasn't previously covered. ... (check-in: c71fe99f9b user: wyoung tags: trunk)
10:46
Added section "2.8 Test Before Commit" to the fossil-v-git doc. ... (check-in: e5ba45788b user: wyoung tags: trunk)
09:25
Added a few paras to section 3.0 in rebaseharm.md, giving consequences of siloed development in Socratic fashion. ... (check-in: 924bf44d39 user: wyoung tags: trunk)
09:23
Assorted grammar and spelling fixes in www/rebaseharm.md. Also added named anchors to all of the sections. ... (check-in: cd689b3813 user: wyoung tags: trunk)
09:00
Added another link from www/fossil-v-git.wiki to rebaseharm.md. ... (check-in: 29997f803b user: wyoung tags: trunk)
2019-09-12
17:51
Add the optimized file_is_simple_pathname_nonstrict() as an alternative to file_is_simple_pathname() when parsing manifests. ... (check-in: b4aadf2cea user: drh tags: trunk)
17:11
Use strchr() to improve the performance of defossilize(). ... (check-in: 0aaefeaba1 user: drh tags: trunk)
16:51
Use strspn() to improve the performance of validate16(). ... (check-in: c550d6e021 user: drh tags: trunk)
16:43
Add the --limit N option to the test-parse-all-blobs test command, so that we can easily limit the run-time of that command for cachegrind performance testing. ... (check-in: 52211ccc2f user: drh tags: trunk)
16:31
Performance optimization in the control artifact parser. ... (check-in: 3d802ec514 user: drh tags: trunk)
07:31
Add the lock-timeout setting. ... (check-in: 6d3daf74e3 user: drh tags: trunk)
2019-09-10
11:30
Performance optimization in fossil_strcmp(). ... (check-in: 72a4b61347 user: drh tags: trunk)
2019-09-07
15:03
Adjust test case for TH1 permissions tests. WrUnver (y) is not enabled by default and must be intentionally set. ... (check-in: 582d335737 user: andybradford tags: trunk)
2019-09-06
20:38
Minor editorial changes to rebaseharm.md, in an attempt to improve clarity and readability. ... (check-in: 9b32c180eb user: drh tags: trunk)
14:39
Fix a typo in the rebaseharm.md document. ... (check-in: 82f75864d5 user: drh tags: trunk)
14:01
Include new repolist-skin setting in list of all settings so tests will pass. ... (check-in: 2e3bffaa7d user: andybradford tags: trunk)
13:49
Add the noreadme query parameter to /dir ... (check-in: bf3383b957 user: drh tags: trunk)
10:36
makeheaders.c: suggestions from https://fossil-scm.org/forum/forumpost/00ff64e63e: do not emit main() decl, elide C++ constructor member initialization, and add a missing fclose(). ... (check-in: 9512ed93d3 user: stephan tags: trunk)
2019-09-05
13:33
Remove the "Draft" notation from the rebase document. Link the new document into the documentation index. ... (check-in: 569cc741d6 user: drh tags: trunk)
03:45
Replaced ASCII art diagrams in the new rebase document with yEd SVG diagrams. Same semantic content. ... (check-in: d6222f8945 user: wyoung tags: trunk)
02:33
Upper-case query parameter, POST parameter, and cookie names are converted to lower-case prior to entering them into the parameter set. Before this change, upper-case names were silently rejected. ... (check-in: 19bbd2c5ea user: drh tags: trunk)
02:31
Minor tweaks prior to merging. ... (Closed-Leaf check-in: 4231d4b634 user: drh tags: noJsonCgiFlag)
02:29
Fixed a bug introduced in [bcdc4c55] which breaks capabilities for all Admin and Setup users. ... (check-in: a6ffdaf2c1 user: wyoung tags: trunk)
01:39
Correct a minor grammatical error in a sentence for new rebase document. ... (check-in: 049c42df2a user: andybradford tags: trunk)
01:33
An extension of the now-merged code-in-pre branch to allow it to work on /artifact pages and such when the ln parameter is given. This branch is a proof of concept only, for demonstrating a point and experimentation, not to be merged. See [https://fossil-scm.org/forum/forumpost/0c4b91b48a | the forum discussion] for details. ... (Closed-Leaf check-in: a65834a727 user: wyoung tags: code-in-pre-with-ln)
00:41
Fixed a few spelling and grammar errors in www/rebaseharm.md ... (check-in: 708696d88a user: wyoung tags: trunk)
2019-09-04
23:44
Small tweaks to previous. ... (check-in: 1ff41ddaea user: wyoung tags: trunk)
23:37
Updated caps docs to cover the two "missing" caps on Admin and Setup users better, including this recent decision to deny them cap x. This check-in also fixes a number of links broken within these docs during the stage where we were breaking the docs up and moving things around, which should have been caught before merging this down to trunk. ... (check-in: 8a77f4593e user: wyoung tags: trunk)
22:46
Removed 'x' from the string of caps reported for Admin and Setup users in capability_expand(), which is used within the SQLite extension function fullcaps(), which among other things affects the output of /setup_ucap_list. We were still reporting that Admin and Setup users have Private capability despite [bcdc4c55]. ... (check-in: 63581ec8ba user: wyoung tags: trunk)
21:01
Remove a spurious line from the header comment of the makeheaders.c utility program. ... (check-in: d5a6ea969c user: drh tags: trunk)
20:09
Add section numbers to the Rebase document. ... (check-in: 237bde9638 user: drh tags: trunk)
20:02
More typo fixes in the Rebase document. ... (check-in: aaacce23cd user: drh tags: trunk)
20:01
Merge updates from trunk. ... (check-in: 20c64950a9 user: mistachkin tags: noJsonCgiFlag)
19:56
Setup and Admin users should not automatically have have the Private capability. This reverses the principal change from check-in [b241130222]. ... (check-in: bcdc4c5546 user: mistachkin tags: trunk)
19:34
Fix a typo in the Rebase document. ... (check-in: 18e58e29cc user: drh tags: trunk)
19:23
Minor edits to Rebase Considered Harmful, for clarity. ... (check-in: a2ea815183 user: drh tags: trunk)
19:04
Add initial draft of the "Rebase Considered Harmful" document. ... (check-in: 4f79941f9e user: drh tags: trunk)
15:41
Update the built-in SQLite to the latest 3.30.0 alpha, as an SQLite beta test. ... (check-in: f8823ae809 user: drh tags: trunk)
10:49
Update the 'reconstruct' command to issue an error instead of a warning on failure importing the list of private artifacts, so no new repository with all-public contents is created. ... (check-in: 8c4ef2c016 user: florian tags: private-branches)
10:34
Update the Private Branches document to explain how to publish private branches (i.e. how to make them non-private), and mention why the --integrate option is ignored when merging private branches. ... (check-in: 86ecdeefc8 user: florian tags: private-branches)
10:09
Reflow the help screens for 'deconstruct' and 'reconstruct', and add the new --keep-private option. ... (check-in: dc8fcc7ff2 user: florian tags: private-branches)
09:53
Enhance the 'deconstruct' and 'reconstruct' commands with a new command-line option to save and restore the list of private artifacts. ... (check-in: 66a14e93c7 user: florian tags: private-branches)
09:09
Update the 'commit --private' command to only apply default branch name ("private") and color ("orange") if not specified otherwise on the command-line, and if the parent is not already private, to simplify the management of private branches with distinct names. ... (check-in: 836a85cbae user: florian tags: private-branches)
08:46
Make sure the check-in manifest of a merge child does not include a +close tag referring to the leaf check-in on a private branch, so as not to generate a missing artifact reference on repository clones without that private branch. ... (check-in: 8268c5dafb user: florian tags: private-branches)
08:32
Update the 'branch new' command to track the status of private branches in the PRIVATE table, instead of using +private tags. ... (check-in: 70849e7641 user: florian tags: private-branches)
00:58
Merged caps-doc branch down to trunk, improving documentation of user capabilities in Fossil. ... (check-in: 779ddefa19 user: wyoung tags: trunk)
00:55
Noted lack of WrUnver permission on Setup users by default. ... (Closed-Leaf check-in: ca4085c291 user: wyoung tags: caps-doc)
00:49
Fixed discussion of "x" cap in www/private.wiki to match its current implementation. ... (check-in: c5561039e1 user: wyoung tags: trunk)
2019-09-03
21:22
Back out check-in [3ad81c3c499599b4] which was causing sync to fail. ... (check-in: e1962ef67f user: drh tags: trunk)
20:36
Wiki test fixes. ... (check-in: b40f1ac135 user: drh tags: trunk)
20:22
Make calls to db_begin_write() instead of db_begin_transaction() where appropriate. ... (check-in: 3ad81c3c49 user: drh tags: trunk)
20:20
Include the "js" property in the configuration export for skins. ... (check-in: 498fc87ac1 user: drh tags: trunk)
20:19
When displaying documents, provide class hints about the language of the document to syntax highlighter extensions. ... (check-in: 74b538f614 user: drh tags: trunk)
20:17
Improvements to /vdiff. Provide the branch= query parameter. In the name decoder, all "merge-in:BRANCH" to mean the most recent merge-in to BRANCH from its parent. Provide "Diff" links for branches that show all changes since the most recent merge-in. ... (check-in: e632a092a8 user: drh tags: trunk)
20:08
Fix a possible UNIQUE constraint violation in the new /vdiff logic. ... (Closed-Leaf check-in: 8e175a6708 user: drh tags: vdiff-improvements)
17:17
Adds 'js' to CONFIGSET_SKIN so that skin javascript is included in exports, syncs, etc. Works okay outside of checkouts in my testing. Probably needs some review by drh before being merged. ... (Closed-Leaf check-in: 5d2299d8ee user: ckennedy tags: js-skin-export)
2019-09-02
23:26
Added a new section to www/defcsp.md, "Serving Files Within the Limits". It pulls together a bit of info already in the document on the topic and then expands it considerably. The overall message is, "You probably don't have to override the default CSP." ... (check-in: 58883eccea user: wyoung tags: trunk)
19:54
In /artifact and similar pages, put HTML code tag inside pre with class="language-zExt" where zExt is the extension from the artifact's file name, if any. This allows JS code highlighting plugins to style such pre blocks automatically based on file name extension. ... (Closed-Leaf check-in: f3b9171498 user: wyoung tags: code-in-pre)
2019-08-31
18:22
Minor typo correction in comment---no functional change. ... (check-in: ab2b8de896 user: andybradford tags: trunk)
18:09
Avoid warning about extra call to db_end_transaction() by returning at the end of a complete block. ... (check-in: 7b2350a86b user: andybradford tags: trunk)
17:09
If there is nothing to stash, issue an error. ... (check-in: d959c48ac6 user: andybradford tags: trunk)
16:42
Merge in latest from trunk. ... (check-in: aa37639112 user: andybradford tags: db-begin-txn-updates)
16:23
Merge in trunk latest developments. ... (Closed-Leaf check-in: 08291fec9f user: andybradford tags: test-updates)
13:53
The IIS web server does not define REQUEST_URI, instead is uses PATH_INFO for virtually the same purpose. Define REQUEST_URI the same as PATH_INFO and redefine PATH_INFO with SCRIPT_NAME removed from the beginning. ... (Closed-Leaf check-in: 54fdd1a5d7 user: tsbg tags: iis-cgi)
13:21
IIS and possibly other web servers define environment variables with an empty value. Handle them the same as non-existing environment variables. ... (check-in: 9a2ec393db user: tsbg tags: iis-cgi)
13:04
Ouput an error if the CGI control file is missing on the command line. This prevents IIS to fall in a endless loop. ... (check-in: 6a59d33e3d user: tsbg tags: iis-cgi)
2019-08-29
02:44
Changed internal docs on capability 6 (AdminForum) to remove the claim that it can be used to revoke capabilty 4 (WrTForum) from users. I think that feature was planned, but no UI was ever created to support it. Maybe that feature will come someday, but the forum feature is over a year old now. Doing it on this branch because this is all part of the capability documentation improvements. Without this checkin, the cap ref doesn't match the code's internal docs. ... (check-in: fd9ba57a6a user: wyoung tags: caps-doc)
01:57
Linked to the new caps docs from the existing www/* docs wherever "capability" or "capabilities" was mentioned before. ... (check-in: 0af0e14688 user: wyoung tags: caps-doc)
00:45
Clarified meaning of EmailAlert (7) in cap ref. ... (check-in: 4aceb600dc user: wyoung tags: caps-doc)
00:31
Merged in trunk changes ... (check-in: 493254b2e7 user: wyoung tags: caps-doc)
00:28
Updated comment about "6-character random hex password" at the top level of the new setup docs to track [23a9f9bac2]. ... (check-in: f304ba31fe user: wyoung tags: trunk)
00:21
Linked to the new material showing Fossil's idea of user power hierarchy from the comment in fossil-v-git.wiki about Fossil's support for the organization's social and power hierarchies. It's not that Fossil has *no* support for enforcing this, it's that it's usually a fairly loose match between the two systems. This is an important point, because some people new to Fossil expect 1:1 mapping and get disappointed when we tell them it just doesn't do that. ... (check-in: b72795a339 user: wyoung tags: caps-doc)
00:17
Fixed some URLs still referring to admin-v-setup.md in its old location. ... (check-in: 182c4d7abc user: wyoung tags: caps-doc)
00:07
Investigated the use of HTTP for sync over ssh:// and file:// URLs and added what I found to the "Caps Affect Web Interfaces Only" section of the new caps docs. ... (check-in: 845b459439 user: wyoung tags: caps-doc)
2019-08-28
23:33
Documented Public Pages and the default user capability set in www/caps/index.md. ... (check-in: 4671ddb179 user: wyoung tags: caps-doc)
23:15
Moved the discussion about inadvertent attribution of artifacts and the problems with easy solutions to the problem into the implementation details section of the new caps docs and expanded it to cover recent forum discussions. ... (check-in: 78ad8b7496 user: wyoung tags: caps-doc)
22:42
Assorted small improvements to top-level caps doc ... (check-in: f21bfbeede user: wyoung tags: caps-doc)
22:09
Expanded the "Why Not Bitfields?" discussion in www/caps/impl.md. Also tweaked the "Capability Letter Choices" text a bit while in there. ... (check-in: 3ac560a2d0 user: wyoung tags: caps-doc)
19:52
Changed the hamburger menu link href from "#" to "/sitemap" so clicks on it do something useful in the noscript case. ... (check-in: b2379b31c2 user: wyoung tags: trunk)
16:08
Added 'or' help for checkin/ci alias, per forum request. ... (check-in: f616380dfa user: stephan tags: trunk)
2019-08-27
20:57
For candidate CGI parameter names that start with an uppercase letter, convert them to lowercase and then add. ... (check-in: b47b6b6906 user: mistachkin tags: noJsonCgiFlag)
20:35
Moved www/capabilities.md to www/caps/index.md and www/admin-v-setup.md to www/caps/admin-v-setup.md. Then broke three chunks of the old capabilities.md doc out into new www/caps/* docs: login groups, implementation details of user capabilities, and the user capability reference material. The latter switched from Markdown to HTML format so we could make it a clearer-looking table, rather than its prior hard-to-read bullet list form. ... (check-in: c6cdf9ce8e user: wyoung tags: caps-doc)
18:04
Merged most of the new material on Setup vs Admin in the new capabilities doc into the pre-existing admin-v-setup.md doc, which already covers this topic. ... (check-in: ee901c7be3 user: wyoung tags: caps-doc)
12:51
Change 'NO_JSON' to lowercase. Remove other branch changes that are now superfluous. ... (check-in: 8baac2646c user: mistachkin tags: noJsonCgiFlag)
12:36
Add hyperlinks to the branch diff page from branch timeline and from /info. ... (check-in: 833b220adc user: drh tags: vdiff-improvements)
10:40
Query and post parameters may never begin with an upper-case letter. To allow that is a huge security hole. ... (check-in: 72c721eacf user: drh tags: noJsonCgiFlag)
07:21
Restore legacy title handling behavior for TH1 docs (changed via check-in [8abeb62737c2b527]). ... (check-in: 4219002631 user: mistachkin tags: noJsonCgiFlag)
06:50
Attempt to fix 'CONTENT_TYPE' detection when a suffix, e.g. '; charset=utf-8', is present. ... (check-in: 891bbc6ffe user: mistachkin tags: noJsonCgiFlag)
05:57
Improve comment. ... (check-in: 316dd394b8 user: mistachkin tags: noJsonCgiFlag)
05:55
More refinements. ... (check-in: c1f4a84694 user: mistachkin tags: noJsonCgiFlag)
05:34
If the '--cgiupperparamsok' command line option or 'uppercase_params' CGI control line are present, allow parameter names to start with an uppercase letter. ... (check-in: ab0d81f893 user: mistachkin tags: noJsonCgiFlag)
04:15
Make it possible to disable JSON auto-detection in the CGI subsystem. ... (check-in: a775435357 user: mistachkin tags: noJsonCgiFlag)
03:56
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 capablities.md. Also expanded the coverage of the "caps affect Fossil web interfaces only" section, which plays into this. ... (check-in: 689f7683b6 user: wyoung tags: caps-doc)
02:16
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: f4e3abce26 user: wyoung tags: skin-cap-matching)
02:08
Minor wording change in the header of /vdiff. ... (check-in: 69adb45da0 user: drh tags: vdiff-improvements)
02:07
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: b36dc6f121 user: drh tags: vdiff-improvements)
01:55
Rewrote explanation of "o" cap. ... (check-in: 208ca0d713 user: wyoung tags: caps-doc)
01:47
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: dcd8f1d8f4 user: drh tags: vdiff-improvements)
01:40
Disentangled discussion of "developer" vs "reader" in capabilities.md. ... (check-in: 869494eb8f user: wyoung tags: caps-doc)
01:00
Added (Names) to the "Capability Reference" section of capabilities.md 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: d48dff8fd7 user: wyoung tags: caps-doc)
00:29
Merge in documentation enhancements from trunk. ... (check-in: c1b62c3260 user: drh tags: vdiff-improvements)
00:29
Remove an unused subroutine. Fix a minor CSS problem. ... (check-in: 2078c746a5 user: drh tags: vdiff-improvements)
00:11
On the /vdiff page, show a timeline with both check-ins using different highlights on each check-in. ... (check-in: 6e40f866ab user: drh tags: vdiff-improvements)
00:07
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: 9cee8cf5c4 user: wyoung tags: skin-cap-matching)
2019-08-25
13:24
Added HTTP proxying info to Debian nginx server setup guide. ... (check-in: c6a033cea6 user: wyoung tags: trunk)
12:39
Replaced the content of "Running Fossil in SCGI Mode" within www/server/debian/nginx.md 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: a4bb92f791 user: wyoung tags: trunk)
12:29
Swapped the simple foo.net "whole site is Fossil" example in www/server/debian/nginx.md for the more complicated example.com 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/scgi.md to track this change, so there is not a pointless difference between these two nginx configs. ... (check-in: 653e90ca62 user: wyoung tags: trunk)
11:52
Clarified use of scgi_params, SCRIPT_NAME, and service starting in the generic SCGI server setup doc. ... (check-in: 5a58ac3141 user: wyoung tags: trunk)
2019-08-24
18:32
Merge fork ... (check-in: 6c6aae9782 user: andygoth tags: trunk)
2019-08-23
12:42
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: 23a9f9bac2 user: drh tags: trunk)
12:23
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: 0ac64dad80 user: drh tags: trunk)
11:49
Clarified the placement of "moderator" and "subscriber" in the power hierarchy expression within www/capabilities.md, since each could float up and down somewhat within the fixed hierarchy we give here. Also fixed a broken URL. ... (check-in: ba88f4f2a7 user: wyoung tags: caps-doc)
11:07
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: 3b10e64468 user: drh tags: trunk)
08:31
Added www/capabilities.md, a complete treatment on user capabilities, user categories, login groups, and administration matters involving all of this. It does not replace the pre-existing admin-v-setup.md 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 forum.wiki 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: 832f107ebb user: wyoung tags: caps-doc)
05:32
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: 09c65d7527 user: wyoung tags: trunk)
05:22
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: 739cd8720e user: wyoung tags: trunk)
2019-08-22
15:06
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: 9fcd6e443c user: wyoung tags: trunk)
14:14
Added bullet list detailing the sources for <script nonce=""> from a Fossil server and the reasons we consider each path safe. ... (check-in: 91377ae432 user: wyoung tags: trunk)
13:31
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: 092eeebf40 user: wyoung tags: trunk)
13:13
Expanded the discussion of in-repo and out-of-repo resource links in defcsp.md. ... (check-in: 23fcd765f6 user: wyoung tags: trunk)
12:39
Reworked the new introductory material in defcsp.md 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: 1c4df5bf0a user: wyoung tags: trunk)
11:54
"RaspberryPI" -> "Raspberry Pi" ... (check-in: 5182be99c9 user: wyoung tags: trunk)
11:53
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 <p> in <li>, then made use of the new freedom in these sections' numbered lists. ... (check-in: b5c2c9bf31 user: wyoung tags: trunk)
2019-08-21
19:18
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: 3e183bfad8 user: drh tags: trunk)
18:15
Outline how to configure a repository before and after server activation. ... (check-in: 154ea087af user: drh tags: trunk)
17:37
Improvements to the althttpd documentation. ... (check-in: 44f1df9fef user: drh tags: trunk)
17:21
Further improvements to the server document. ... (check-in: c2c4d3039f user: drh tags: trunk)
16:57
Extra defenses against running fossil_atexit() more than once. ... (check-in: bc7683e15a user: drh tags: trunk)
16:55
Fix the "shell" command so that it avoids invoking the atexit() handler more than once. ... (check-in: 07a5a2118e user: drh tags: trunk)
15:56
Server documentation updates. ... (check-in: b2426c2786 user: drh tags: trunk)
14:46
Merge in recent developments on trunk. ... (check-in: 70d091eacc user: andybradford tags: test-updates)
12:32
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: 2da704c5a1 user: drh tags: trunk)
11:26
Update to the default CSP page. Attempted to resolve merge conflicts, but more editting is likely necessary. ... (check-in: 33a7b8babe user: drh tags: trunk)
11:09
Added a header to the new XSS material in defcsp.md so we can refer directly to it. ... (check-in: 7b843f2d43 user: wyoung tags: trunk)
11:01
More thorough explanation of <script nonce> in www/defcsp.md, 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: 8d43bb8786 user: wyoung tags: trunk)
09:40
Major improvements to the new defcsp.md 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 customskin.md, which now just says how you use that variable read-only; and added an entirely new section, "Replacing the Default CSP". ... (check-in: 366b23a180 user: wyoung tags: trunk)
08:52
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: 14ac2cacdd user: wyoung tags: trunk)
2019-08-20
19:16
Fix memcpy() compiler warnings. ... (check-in: 7ae4b1a719 user: drh tags: trunk)
16:11
Fix possible misaligned pointer to a 16-bit object. ... (check-in: f7c41be825 user: drh tags: trunk)
15:04
Updated and expanded documentation on how to set up a Fossil server. ... (check-in: f146e21af9 user: drh tags: trunk)
14:55
Add the --with-sanitizer option to the ./configure script. ... (check-in: 231d693314 user: drh tags: trunk)
07:01
Fixed a link punctuation bug introduced in [74a6578c]. ... (Closed-Leaf check-in: c57e17931d user: wyoung tags: server-docs)
06:45
The merge from trunk accidentally reverted part of the new text in www/embeddeddoc.wiki. (This part was manually merged, and I missed a diff relative to trunk.) ... (check-in: 8976a9dae3 user: wyoung tags: server-docs)
06:35
Missed a link to server.wiki that should have been checked in with [74a6578c]. ... (check-in: d5def0c8c4 user: wyoung tags: server-docs)
06:34
Merged in trunk improvements ... (check-in: 42d28c0286 user: wyoung tags: server-docs)
06:28
Reverted src/doc.c to the trunk version. The "Plan Z" reversion in [8264fd75] was incomplete, causing bad TH1 variable expansion. I believe this explains the symptom I worked around in [9bdf650f0b8]. This check-in also cherry-picks [3d6a4fd95c] onto the branch. ... (check-in: 3cdf764c2c user: wyoung tags: server-docs)
06:03
Updated all of the internal hyperlinks referencing www/server.wiki to point at either www/server/index.html or one of the docs it now points at. ... (check-in: 74a6578cd4 user: wyoung tags: server-docs)
04:57
Fixed an unwanted "$nonce" variable expansion within the new customskin.md introduced by [9044fd2dbe] which only occurs *sometimes*: not on fossil-scm.org, and apparently not in my earlier ckout testing prior to checking it in, but now in a different ckout test. This has to be a TH1 thing, but I don't understand why we didn't see this earlier. This is just a workaround for the symptom. ... (check-in: 9bdf650f0b user: wyoung tags: trunk)
04:34
Fixed a link from the new material in embeddeddoc.wiki to the new CSP material: that briefly lived in customskin.md before checking it in, but then I moved it to a new document and forgot to update the link. ... (check-in: f4cbfd5acc user: wyoung tags: trunk)
04:24
Fixed a couple of Tcl syntax fixes that caused the new --with-sanitizer code to a) run unconditionally irrespective of the option's setting and b) to check for the existence of libubsan whether it was actually needed or not. ... (Closed-Leaf check-in: 66fdab7605 user: wyoung tags: configure-updates)
04:07
Added www/defcsp.md, which documents the default Content Security Policy applied by Fossil to the HTML pages it serves. Linked that into embeddeddoc.wik and customskin.md, which touched on this topic before but didn't go into much detail. ... (check-in: 4e6d36d7d4 user: wyoung tags: trunk)
02:09
Fix a compiler warning in the security-audit page. ... (check-in: 3243a6c148 user: drh tags: trunk)
01:34
Added --with-sanitizer configure-time option for appending -fsanitize=VALUE to CFLAGS and LDFLAGS, plus automatic detection of -lubsan for GCC, which doesn't automatically link to that with -fsanitize=undefined as Clang does. EDIT: This check-in breaks the built on Ubuntu 18.04. ... (check-in: 7907b6ffae user: wyoung tags: configure-updates)
00:41
Removed "known to work with IIS" bit from www/server/index.html in the CGI section, since that is not actually true. We can put it back once someone figures out [https://fossil-scm.org/forum/forumpost/de18dc32c0 | the IIS + CGI + Fossil CPU pegging problem]. ... (check-in: 8b7c17de3f user: wyoung tags: server-docs)
00:37
Removed documentation of the nonce="$NONCE" feature in www/embeddeddoc.wiki, removed as part of [8264fd75]. ... (check-in: d55f6b1501 user: wyoung tags: server-docs)
2019-08-19
23:32
Fix a broken hyperlink on the new server-docs index page. ... (check-in: 461c8f06fc user: drh tags: server-docs)
19:29
Updating links in www/server/windows/stunnel.md to correct locations. ... (check-in: 65d175aef0 user: ckennedy tags: server-docs)
18:24
[https://www.fossil-scm.org/forum/forumpost/89dba2d978|Plan Z] ... (check-in: 8264fd75bc user: drh tags: server-docs)
17:18
Have the security-audit page analyze and display the content security policy. ... (check-in: 9cf90a4f9d user: drh tags: trunk)
13:04
Increase the default HTTP request timeout to 10 minutes. Provide the FOSSIL_DEFAULT_TIMEOUT compile-time option for setting an alternative default. ... (check-in: 7979989dff user: drh tags: trunk)
12:38
Added missing www/chroot.md file ... (check-in: 80cd49f063 user: wyoung tags: server-docs)
12:09
Updated www/server/index.html to no longer discuss launchd as a "maybe" option now that we have a document for it, and removed mention of Solaris SMF entirely. ... (check-in: 1e6fbcf214 user: wyoung tags: server-docs)
11:59
Added www/server/macos/service.md and then added macOS to the set of server OSes offered in www/server/index.html ... (check-in: e0ad4b48b5 user: wyoung tags: server-docs)
10:22
Assorted small tweaks to www/server/windows/iis.md ... (check-in: b5fefeec23 user: wyoung tags: server-docs)
10:10
Small tweaks to the new "Serving as a Standalone Server on Windows" article. ... (check-in: 3995a3c7ae user: wyoung tags: server-docs)
09:47
Assorted small tweaks to server docs, mainly around new systemd material. ... (check-in: 9d4a478241 user: wyoung tags: server-docs)
09:10
Added www/server/debian/service.md, demonstrating systemd configuration of Fossil for the first time in the official docs, both as a user serivce and in socket activation mode as a system-level service. ... (check-in: 94763aed7c user: wyoung tags: server-docs)
05:00
Clarity tweak ... (check-in: bc678e1321 user: wyoung tags: server-docs)
04:58
Grammar fix on previous ... (check-in: d5c754f97b user: wyoung tags: server-docs)
04:58
Title tweak on previous ... (check-in: afc65312fa user: wyoung tags: server-docs)
04:57
Added www/server/windows/none.md server setup article ... (check-in: 3e55ddf754 user: wyoung tags: server-docs)
03:44
Added explicit instructions on installing IIS within the new IIS server docs. It isn't installed by default, and in the CGI case, CGI isn't part of the default IIS install. ... (check-in: b2f10ad585 user: wyoung tags: server-docs)
01:17
The www/customskin.md document hadn't been updated since we removed the explicit <html><head> stuff from the default skins and moved that into the C code so we could insert the CSP and such automatically. Updated it to show the inner <div> tags that you actually get by default now, and talked about how the HTML document wrapper is added automatically. Also fixed some spelling and grammar errors. ... (check-in: 9044fd2dbe user: wyoung tags: trunk)
00:51
Fix embedded HTML detection for the 'doc' web page when the 'data-title' attribute is not specified. ... (check-in: 3d6a4fd95c user: mistachkin tags: trunk)
00:30
Added links back to the top-level www/server/index.html article from the tail end of www/server/*/*.md. ... (check-in: 0f6f151dd3 user: wyoung tags: server-docs)
00:25
Justified the ordering of sections in www/server/index.html by including info on complexity. CGI remains last because CGI is only a "simple" option when someone else sets up the CGI security for you, as on old-style cheap hosting plans. Also added several inline sub-document references. ... (check-in: 9f4121db3b user: wyoung tags: server-docs)
00:01
Merged the lists of socket listener daemons into the Socket Listener section of www/server/index.html: the list of known-working daemons down from the numbered list at the top of the article, and the list of potentially-working daemons up from the <noscript>-cloaked document matrix below. Also reordered the sections from simplest to most complex. ... (check-in: d9ab9c567c user: wyoung tags: server-docs)
2019-08-18
10:26
Improvements to the nonce='$NONCE' substitution mechanism. ... (check-in: 1c50073d31 user: drh tags: server-docs)
08:52
Implemented the first version of the JavaScript tutorial chooser in www/server/index.html, complete with fallbacks for the noscript case, optional display of the static document matrix, and pretty CSS transitions between the states. ... (check-in: 0cbdbc725c user: wyoung tags: server-docs)
06:20
URL fix in previous ... (check-in: a7610e4273 user: wyoung tags: server-docs)
06:06
Added the nonce="$NONCE" embedded documentation substitution feature and documented that and the other pre-existing text substitution features. ... (check-in: 02db05e600 user: wyoung tags: server-docs)
05:20
Further refinement of the server setup tutorial matrix CSS ... (check-in: a6fee5898f user: wyoung tags: server-docs)
05:12
Reduced the number of columns in the server setup tutorial matrix by collapsing all of those for the OS's default web server down to a single shared column. Also dropped the xinetd column as obsolete. (We still have the explicit xinetd article link above.) ... (check-in: 3f9f1bdf38 user: wyoung tags: server-docs)
04:51
Moved inline CSS within www/server/index.html elements up into a <style> block at the top. Then used that to create a more even matrix layout. Also fixed some incorrect URLs checked in with the prior version, due to the document changing directory level. ... (check-in: 648574cb0e user: wyoung tags: server-docs)
04:41
Renamed www/server.wiki to www/server/index.html and converted it to HTML format. Did a bit of prose polishing and CSS work while in there. ... (check-in: 8193266763 user: wyoung tags: server-docs)
04:12
Small improvements to IIS + CGI doc ... (check-in: f7c839c1c6 user: wyoung tags: server-docs)
03:53
Added docs for IIS + CGI server configuration. ... (check-in: 9098ebba2d user: wyoung tags: server-docs)
02:21
Assorted improvements to www/server/windows/iis.md. Removed the empty CGI and SCGI sections, as those will be separate articles. Added "Why Bother?" section. Added link to ./service.md. Better explanation of the /code rewriting example. Hoist TLS info up into the new "Why Bother?" section. ... (check-in: 1670e5fac6 user: wyoung tags: server-docs)
01:03
Capitalization fix in HTML output from /artifact_stats ... (check-in: d570edc646 user: wyoung tags: trunk)
00:59
Include forum artifact statistics on the /artifact_stats page. ... (check-in: e2f2a05eff user: drh tags: trunk)
2019-08-16
18:58
Corrected the description of nginx + SCGI in www/server.wiki. ... (check-in: 0f217e89f2 user: wyoung tags: server-docs)
18:36
Added starting version of www/server/windows/iis.md, covering only the HTTP reverse proxying case. ... (check-in: fbacfacfe6 user: wyoung tags: server-docs)
14:25
An attempt to make the main server.wiki page simpler and yet self-contained, all at once. ... (check-in: 5bb1e11228 user: drh tags: server-docs)
12:53
Moved the chroot and loadmgmt sections of www/server.wiki into separate documents. This change also adds info on /proc to the chroot doc, which was missing in its prior server.wiki form. Also reduced a few other "details" sections of server.wiki to bullet points in the new "Further Details" list at the end of the document. ... (check-in: 85eaffb6a5 user: wyoung tags: server-docs)
11:59
Changed "socket activation" to "socket listener" in all the new docs ... (check-in: 3c9f811b87 user: wyoung tags: server-docs)
11:42
Markdownism fixes... ... (check-in: 1428f59ec9 user: wyoung tags: server-docs)
11:41
Small improvements to the new Fossil Chroot Jail section of www/server.wiki ... (check-in: 4c837bc343 user: wyoung tags: server-docs)
11:08
Small clarity tweak to the new "Methods" discussion in www/server.wiki. ... (check-in: fc00b7b297 user: wyoung tags: server-docs)
10:27
Converted the backwards-compatibility sections in www/server.wiki into identified hyperlinks to the new docs, which allows existing external ".../server.wiki#cgi" URLs and such to work without needing the near-empty sections containing only a hyperlink just to anchor the link. ... (check-in: 0bb59100f2 user: wyoung tags: server-docs)
10:19
Several small refinements to prior check-ins. ... (check-in: 16e3cff648 user: wyoung tags: server-docs)
10:11
Moved the "Serving via althttpd" material from www/ssl.wiki to a new document, www/server/any/althttpd.md, linked from www/server.wiki. ... (check-in: 2e19fcee33 user: wyoung tags: server-docs)
09:55
Added some named anchors to www/server/any/stunnel.md ... (check-in: ce4b4bae31 user: wyoung tags: server-docs)
09:54
Moved the stunnel proxying docs from www/ssl.wiki to a new document www/server/any/stunnel.md, and pointed www/server.wiki at it. Also replaced some similar material in this branch's new www/server/windows/stunnel.md file at this generic document. Between these two changes, the generic stunnel docs now cover the reverse proxying option for the first time. (The old version used the socket activation method exclusively.) The new document also gives a more realistic configuration, showing Let's Encrypt paths and a sensible ciphersuite configuration. ... (check-in: 53b2e866e1 user: wyoung tags: server-docs)
09:15
Split the HTTP-only parts out of www/tls-nginx.md into a new document discussing only the reverse-proxying of `fossil --scgi` to HTTP using nginx on Debian type OSes. That material is now in www/server/debian/nginx.md, which is referred to from www/server.wiki. While in there, did a bit of prose polishing on this old guide. ... (check-in: 2baa8151d7 user: wyoung tags: server-docs)
07:13
Broke most of the contents of www/server/wiki out into a series of www/server/*.md articles that are now linked from a checkmark table in its place, which also links to the new www/server/windows/*.md files created to start this branch off. This is not purely a matter of moving prose around: there is a fair bit of improvement to the pre-existing prose as well, most notably that we now document the Fossil chroot jail requirements for the first time. (Previously, you had to go dig up mailing list or forum posts (or even RTFS!) to work out those requirements.) There's more to do on all of this; do not merge it to trunk yet. ... (check-in: fad82714aa user: wyoung tags: server-docs)
03:33
Relaxed the "enforcing" language around the planned change of hash policy from "auto" to "sha3" in Fossil 2.10 within section 2.8 of the fossil-v-git.wiki doc, and clarified what will actually happen with that release as compared to the current release. ... (check-in: c5461fb599 user: wyoung tags: trunk)
01:58
Merged recent spell check fixes into this branch so we don't revert any of them. ... (check-in: a9fd086f13 user: wyoung tags: server-docs)
01:57
Another spell check pass on www/* using a different dictionary than in the prior pass. ([79c2cb083152]) ... (check-in: 0996347d4a user: wyoung tags: trunk)
2019-08-15
16:16
Server Documentation Update. This ckeckin contains instructions for using Fossil as a windows service and with stunnel as an https proxy. ... (check-in: 8b7c563d49 user: ckennedy tags: server-docs)
2019-08-13
23:29
Additional documentation on CGI configuration options. Updates to the change log. New hyperlinks interconnecting the various documents. ... (check-in: fbc3b2f72e user: drh tags: trunk)
20:44
Remove the sigalrm_handler() function on windows builds as it is never called there. ... (check-in: 1d7afcdff6 user: drh tags: trunk)
20:31
Improvements to HOME search on windows, and improve the documentation of the same. ... (check-in: 006afac0f0 user: drh tags: trunk)
19:31
Set a default timeout on CGI requests of 300 seconds. ... (check-in: 859d6b1694 user: drh tags: trunk)
14:40
Add "Forum Posts" as an option to "Activity Reports" ... (check-in: 6ada7e3768 user: drh tags: trunk)
12:32
Improvements to the hyperlink description in /md_rules. ... (check-in: b8fac03594 user: drh tags: trunk)
2019-08-10
23:04
Added "Forum Posts" choice to the "Activity Reports" sub section of /stat. ... (Closed-Leaf check-in: f39e47a19e user: wyoung tags: forum-post-activity-report)
18:07
Refine HOME search order on Windows to maintain backward compatibility with the previous search hierarchy. ... (Closed-Leaf check-in: c07cbcd3db user: mistachkin tags: windows-env-usage-v2)
15:34
Merge in from trunk. ... (check-in: 0f9f2e403d user: andybradford tags: test-updates)
03:44
Updated the temp file and dir location documentation in www/env-opts.md to match what the current code does. ... (Closed-Leaf check-in: 1f63724e5b user: wyoung tags: windows-env-usage)
03:23
Inserted %USERPROFILE% between %FOSSIL_HOME% and %LOCALAPPDATA% in the code that chooses where the user's account-wide _fossil file lives on Windows. (This is the Windows analog to the ~/.fossil file on POSIX systems.) Also updated the docs to match. ... (check-in: 15176c8ae5 user: wyoung tags: windows-env-usage)
2019-08-09
21:08
Update the /stat page to show forum statistics. ... (check-in: 29141af7af user: drh tags: trunk)
20:56
Fixes to the new markdown hyperlink logic to handle the case there the target URL is not defined. ... (check-in: 44545eef88 user: drh tags: trunk)
20:15
Contributing PowerShell script Set-ChildProject.ps1. This script wraps the code for converting a project into a child project into an easy to use PowerShell script. The script should be cross platform, but was only tested on Windows 10. ... (Closed-Leaf check-in: 0b70cf6d57 user: ckennedy tags: windows-tools)
18:14
Enhance markdown to use the same hyperlink target resolving logic as Fossil wiki. That means that wiki page names and check-in and ticket hashes can now be used as markdown hyperlink URLs. Also enhance markdown hyperlinks so that if the display text is an empty string, the URL is used as the display text. ... (check-in: 774fb7712f user: drh tags: trunk)
16:40
Two additional places where links to /markup_help are useful. ... (check-in: 5f328d9f90 user: drh tags: trunk)
16:37
Fix up the markdown rules to include recent enhancements to fenced code blocks. On "Markup Style:" entry boxes, provide a hyperlink for easy access to the rule sheets. ... (check-in: 18a84ed81e user: drh tags: trunk)
15:57
Further work on the fenced code blocks of markdown. Allow blank lines in the middle of a fenced code block. And also allow ~ character (three or more) to serve as the delimiter for fenced code blocks. ... (check-in: c7600da489 user: drh tags: trunk)