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

101 check-ins using file www/permutedindex.html version 8c5b15c6

Added an alt attribute on the home page's Fossil logo ... (check-in: ccf117fe user: wyoung tags: trunk)
Fixed a manual section numbering duplication in the delta encoding algorithm doc. ... (check-in: d83f2490 user: wyoung tags: trunk)
A prior edit to the quickstart doc left a vestigial version of the "Making and Committing Changes" section behind, resulting in duplicate information and a second h2 section with the same fragment ID. Some differences existed between the two presentations, so merged them rather than nuke the smaller (presumably older) one outright. ... (check-in: 39beee4c user: wyoung tags: trunk)
In an effort to make www/* source documents read as cleanly as their rendered counterparts, replaced nearly all use of HTML "p" tags, relying instead on the Wiki and Markdown markup features to achieve the same appearance. The only uses remaining are:
  • in Markdown nested lists, where blank lines should render the list items as separate paragraphs just as at the list's top level; since it does not, if you want a line break, you either have to wrap the item in "p" tags or do the double-br hack.
  • in Wiki where blank lines within a list give you a separate list in the HTML output; this is fine for bullet lists, but with numbered lists it causes the numbering to restart unless you do the same sort of manual HTML workaround as with the prior item
  • in plain HTML docs and wiki docs between "nowiki" tags

In many places, this cleanup gets rid of pointless stray "p" tags, placating HTML verifiers. ... (check-in: 1fd407f6 user: wyoung tags: trunk)

Stray character deleted ... (check-in: 0cb4f1fc user: wyoung tags: trunk)
Replaced use of HTML "p" tags in the doc with hard line breaks, letting the wiki language add the same "p" tags on output. Replaced some of them with "tt" tags instead to make command text stand out from the prose. Added "tt" tags elsewhere for consistency. ... (check-in: 262eb510 user: wyoung tags: trunk)
Fix sub-command parsing in order to have the "gdiff" subcommand of the "patch" command working. ... (check-in: ec782260 user: mgagnon tags: trunk)
Display FQDN on sync only when the verbose flag is on. ... (check-in: cc34f3cf user: danield tags: trunk)
Added explicit SIGINT handler for the rootful container (PID 1) case, so you can Ctrl-C it when "run -it". ... (check-in: a0b0d8f9 user: wyoung tags: trunk)
Set permissions on /bin/fossil inside the container to 755, not 700. Docker doesn't care since it runs everything as virtual-root, but Podman does. Also, it complicates the extraction of a static binary since you probably didn't want it set to 700 root:root out on the host, too. ... (check-in: 260efac1 user: wyoung tags: trunk)
Assorted cleanups to the Dockerfile: disentangled use of /tmp for building and creation of the eventual contents of /etc, dropped an unnecessary directory hierarchy level, removed an unused variable, whitespace fixes, etc. No functional change. ... (check-in: f9bd6273 user: wyoung tags: trunk)
Typo squish in the server doc section's index page ... (check-in: 4158e5e2 user: wyoung tags: trunk)
Update the built-in SQLite to the latest 3.42.0 beta for testing. ... (check-in: 71ed8cbd user: drh tags: trunk)
For sync operations, also display the FQDN of the remote, if available. ... (check-in: 99b09b94 user: danield tags: trunk)
Add SUMMARY and DETAILS HTML elements to the list of allowable wiki/markdown tags, per request in forum post f9559dbac03810. ... (check-in: 35df3e6a user: stephan tags: trunk)
Made the URL matcher more specific in the nginx doc when showing how to get long expiration times on URLs known to yield unchanging content so we can drop the warning about it affecting URLs more likley to change. Added a second example for images, CSS, JS and such to show how you might handle these differently, addressing the core issue by example than by prose warning. ... (check-in: f77ab197 user: wyoung tags: trunk)
Added a bit more advice about caching to previous, and fixed a whitespace problem. ... (check-in: 4d5a6477 user: wyoung tags: trunk)
Improved the caching configuration recommended in the nginx doc to show the option for immutable content service for /artifact, /doc, /file, and /raw URLs, which are likely to contain hashes that make the URLs unique identifiers for particular versions of the referenced content. ... (check-in: 1d0d6986 user: wyoung tags: trunk)
Tiny tweaks to the systemd doc ... (check-in: 0835ec45 user: wyoung tags: trunk)
Added a paragraph to the unvers doc on the "y" capability. ... (check-in: faffd271 user: wyoung tags: trunk)
Modernized the URL format in the unvers doc: using an actual (reserved) domain name instead of the vague "domain", showing it as "https" since "http" is widely deprecated, and using "tt" tags around it to make it stand out from the surrounding sans-serif text and to prevent it from breaking across word-wrap boundaries. ... (check-in: d1a3dda6 user: wyoung tags: trunk)
Edit pass on the doc, primarily to replace passive voice phrasing with active voice. Made a few clarifications and grammar tweaks atop that. ... (check-in: fef0ade9 user: wyoung tags: trunk)
Update the change log with all the most recent enhancements. ... (check-in: 13c5e417 user: drh tags: trunk)
Update the built-in SQLite to the first 3.42.0 alpha version for testing. ... (check-in: a6cc3da4 user: drh tags: trunk)
Converted the hand-crafted footnotes in the "Image Format vs Fossil Repo Size" doc to use the new Markdown affordance. ... (check-in: 389e3fb9 user: wyoung tags: trunk)
Clarify that backslashes in the help text of commands/webpages must be escaped for correct processing by mkindex.c. ... (check-in: 5c8f5575 user: danield tags: trunk)
Enhance the s= query parameter (search) on /timeline so that it also searches the forum post content if the vfx query parameter is present. ... (check-in: ea688fa6 user: drh tags: trunk)
Add the oldestfirst boolean query parameter to the /timeline page. ... (check-in: ee8d34f5 user: drh tags: trunk)
Fix a pointless limitation in /timeline that prevented a= and b= from working if the u= query parameter was used. The limitation appears to be a copy/paste error dating from 2014. ... (check-in: 2925484c user: drh tags: trunk)
Tweak the previous commit and put extra headers at the end. ... (check-in: 39192715 user: florian tags: trunk)
Update dependencies in the MSVC makefile so that changes to command help texts and built-in files are picked up. ... (check-in: c2f56d2b user: florian tags: trunk)
Update the makemake.tcl script to match the checked-in versions of the generated makefiles. ... (check-in: 3e83c6a9 user: florian tags: trunk)
Fix build by escaping the backslash in the help text of test-strip-comment-lines. ... (check-in: cbfaec58 user: danield tags: trunk)
Mention comments in the document about glob patterns. ... (check-in: 9558bf82 user: danield tags: trunk)
In versioned settings, make again possible for globs to begin with a hash by escaping it (i.e. such lines should start with '\#'). ... (check-in: 6d2dbf98 user: danield tags: trunk)
Improved the systemd guide's points about `podman generate systemd`. ... (check-in: ac30c2d9 user: wyoung tags: trunk)
A few more small tweaks to the containers doc ... (check-in: 117cf4ff user: wyoung tags: trunk)
Reordered a few sections in the container customization section to flow better and reduce redundancy. ... (check-in: bb189d17 user: wyoung tags: trunk)
Moved the sectio about elaborating the container runtime layer down into the section of the doc where we talk about other customizations. Its prior location was because it was a tangent off a prior point, but it's just as easy to jump down via hyperlink. Assorted other small improvements while in there. ... (check-in: 301d4f21 user: wyoung tags: trunk)
Add supporting comment lines in versioned settings to the changelog. ... (check-in: 4ed98a99 user: danield tags: trunk)
Allow comment lines (starting with '#') in versioned settings. ... (check-in: ef633d4b user: danield tags: trunk)
Produce merge conflict mark during merge when file exist in current version and in version to be merged, but not in common ancestor. ... (check-in: 7c75e47b user: mgagnon tags: trunk)
Add an admin/debug flag to the forum which enables the user to skip sending of notifications for a given new post or edit. ... (check-in: 3f6aa946 user: stephan tags: trunk)
Only honor the fpsilent flag if the user has g.perm.Debug, to avoid that malicious parties inject that flag via the browser dev tools. ... (Closed-Leaf check-in: b8ab407f user: stephan tags: forum-skip-notification)
Prototype/proof-of-concept implementation of an admin flag for the forum which tells it to not send email notifications for a given edit or new post. ... (check-in: 65062c29 user: stephan tags: forum-skip-notification)
Extend FTS index support to enable selection of different tokenizers, to support searching of Chinese content. ... (check-in: 0e5d27fe user: stephan tags: trunk)
Add FTS tokenizer selection to the /srchsetup page. ... (Closed-Leaf check-in: 9e52f8c0 user: stephan tags: fts5-trigram)
Merge latest changes from trunk. ... (Closed-Leaf check-in: 88a76afc user: mgagnon tags: merge-conflict-when-no-file-on-pivot)
Replace another leftover use of the word 'stemmer' and clean up end-of-line whitespace in the change log. ... (check-in: bcff4d81 user: stephan tags: fts5-trigram)
Replace a leftover use of the word 'stemmer' and add mention of the trigram tokenizer to the change log. ... (check-in: 6a085807 user: stephan tags: fts5-trigram)
Initial (and incomplete) work to extend FTS5 search to support the trigram tokenizer, per forum post bc458aea069c29ae5d. TODO is the addition of the trigram option in the UI-level search configuration. ... (check-in: 06c99b83 user: stephan tags: fts5-trigram)
Merge trunk into forumpost-locking branch. ... (check-in: 0af37104 user: stephan tags: forumpost-locking)
Squelch an unitialized var warning from gcc 12.2.1 on Alpine Linux. ... (check-in: 3783a24e user: stephan tags: trunk)
Typo fix in capabilities.c, reported in forum. ... (check-in: 0df0586a user: danield tags: trunk)
Update the built-in SQLite to the latest trunk version for testing. ... (check-in: 2eb2077c user: drh tags: trunk)
Do not save the password for syncing operations if the user denied the save password prompt or if the FOSSIL_SECURITY_LEVEL environment variable is ≥1. ... (check-in: 2916ec97 user: florian tags: trunk)
Allow comment lines (starting with '#') in versioned settings. ... (Closed-Leaf check-in: fc2a4dcc user: danield tags: allow-versioned-settings-comments)
Added the CENGINE abstraction between `docker` and `podman` in the Makefile's container convenience targets. ... (check-in: 72d82404 user: wyoung tags: trunk)
Removed all the "BBXVER" stuff in the containers doc now that we aren't fetching the BusyBox sources and building a custom version to install outside the jail. ... (check-in: b1416554 user: wyoung tags: trunk)
Update the built-in SQLite to the latest trunk version (pre-3.42.0) for testing. ... (check-in: 2516fca7 user: drh tags: trunk)
Updated the Podman docs to no longer talk about all the "sudo" stuff we used to have to do to get it to build and run. There are no more mknod calls to fail in that rootless environment. ... (check-in: 779cb8fd user: wyoung tags: trunk)
Updated the container size info in the Fossil v Git doc to track recent developments. ... (check-in: 283b1a42 user: wyoung tags: trunk)
Commit [cda5d6a7] invalidated the BusyBox steps in the Tcl and Python examples in §3.2 of the containers doc. ... (check-in: ddcdc6f3 user: wyoung tags: trunk)
Update the list of versionable settings in the documentation. ... (check-in: 0f9224e9 user: danield tags: trunk)
Using "FROM busybox" in the second stage of the Dockerfile instead of "FROM scratch" plus a copy of the busybox.static binary installed via APK in the first stage. We're throwing this layer away in the third stage, so the difference is immaterial. This simplifies things without losing anything we care about. ... (check-in: cda5d6a7 user: wyoung tags: trunk)
Post-sleep edit pass on the new material in §3.2 of the containers doc. ... (check-in: d21fb267 user: wyoung tags: trunk)
Add the ft=TAG query parameter to /timeline which, in combination with d=Y shows all descendants of Y up to TAG. Implementation of enhancement request [eadfb8c2ffa9fe03]. ... (check-in: 64f141fc user: drh tags: trunk)
Refined the Tcl and Python examples in the new §3.2 of the container doc. ... (check-in: 9baa4423 user: wyoung tags: trunk)
Switched to a split ENTRYPOINT/CMD scheme for launching the Fossil server in the container. The immediate need is so we override lower-level ENTRYPOINTs provided by mix-in layers, but it's more correct generally. ENTRYPOINT says this is the hard-coded purpose of the container, and CMD gives the arguments to that command. The split is therefore between the mandatory parts and the parts the user might want to override without needing to write their own Dockerfile. ... (check-in: deb99e22 user: wyoung tags: trunk)
The container now uses BusyBox only in the build and setup stages, leaving just the static Fossil binary in the final stage, plus absolute necessities like a /tmp directory.

This removes the justification for the custom BusyBox configuration, which then means we can use Alpine's busybox-static package in the second stage, saving a bunch of network I/O and build time.

That in turn means we no longer have any justification for jailing the Fossil binary, since there's nothing extra left inside the container for it to play with. Doing this required bumping the Dockerfile syntax back up from 1.0 to 1.3 to get the "COPY --chmod" feature; tested it in Podman, which has had it for two years now.

Doing all of this simplifies the Dockerfile and its documentation considerably. As a bonus, it builds quicker, and it's nearly a meg lighter in compressed image form. Especially for the case of using the container as a static "fossil" binary builder, this is nothing but win. ... (check-in: 79ac06a5 user: wyoung tags: trunk)

Do not render "Check-ins" button within a submenu of /tktview, /tkthistory, /tkttimeline and /info pages, unless a user actually has a capability to read check-ins. This should prevent confusion and save some screen space. ... (check-in: c04c814e user: george tags: trunk)
For the bt=Y query parameter in /timeline that is used in conjunction with p=X, if Y is a tag then search backwards in time for Y beginning with X. Fix for ticket [ed62a4d35332595a]. ... (check-in: 507ebd8b user: drh tags: trunk)
Comment and whitespace tweaks ... (check-in: 81c30ab9 user: wyoung tags: trunk)
Switched from a Dockerfile "ADD" command to wget for the BusyBox source tarball because, surprisingly, BuildKit pulls the URL unconditionally under the logic that it can't know whether to cache the pulled data until it has a copy to compare against! This not only means you pull the BusyBox source tarball for each container build even though it's tagged and thus cannot possibly change, it puts a load on GitHub which then causes it to begin throttling each pull, making your local builds slower and slower when iterating on a change set, as in the prior set of commits. By pushing the URL down into a wget command, we cause BuildKit to see an unchanging shell script line (assuming $BBXURL keeps its default) so it *does* cache the pulled layer. ... (check-in: ac955594 user: wyoung tags: trunk)
Another fixup to the nojail patch to track the previous. (Can't reliably create these patches without having a committed version to diff against, alas.) ... (check-in: c9e4b3d2 user: wyoung tags: trunk)
Dropped our canned /etc/os-release file entirely, recommending instead that those who need a VM-like container image switch the second stage from "scratch" to one of Google's "distroless" images, which provide that and more. That in turn gets rid of the need for the dummied up /usr/bin and /run, which simplifies the mainstream case. ... (check-in: d778a023 user: wyoung tags: trunk)
Updated the nojail patch so it applies cleanly atop all these recent Dockerfile changes. No functional change; merely tracks changes in the context parts of the diff. ... (check-in: 2bdd5819 user: wyoung tags: trunk)
Tiny clarity tweaks to the Dockerfile. No functional change. ... (check-in: 591e3eb9 user: wyoung tags: trunk)
Removed a reference to /etc/os-release from stage 2 of the Dockerfile. Commit [4cb5c03e] took care of stage 1 only. ... (check-in: 4b41a7f8 user: wyoung tags: trunk)
Switched from "adduser" and "addgroup" commands for setting up the "fossil" user to direct echo-into-output, same as we already do for the root user. We had to to it for root since the BusyBox implementation of adduser/addgroup won't create these files if they're missing, but that meant we had two different ways of creating users and groups. This not only removes a weak dependency, it's more consistent. ... (check-in: fff11fc6 user: wyoung tags: trunk)
Added the interactive debugging shell command to the Quick Start section of the containers doc for easy cut-and-paste. ... (check-in: 2f014407 user: wyoung tags: trunk)
URL and whitespace fixes to previous. ... (check-in: 9e73519c user: wyoung tags: trunk)
The /etc/os-release workaround for nspawn's pickiness has caused the feature to go into negative ROI territory. Ripped it out of the mainstream process and made it a manual step for those who need it, in the hopes that this will cause fewer ongoing problems than leaving it as it is. ... (check-in: 4cb5c03e user: wyoung tags: trunk)
Dropped declaration of Dockerfile syntax version from 1.4 to 1.0. Put it at 1.4 when we were using heredocs, a feature that went from experimental to stable at that version, then failed to drop it back when we replaced the use of heredocs with externally generated files to regain Podman compatibility. ... (check-in: 5b62bfe1 user: wyoung tags: trunk)
Linked to the Dockerfile from the top of the containers doc. ... (check-in: 2210c15d user: wyoung tags: trunk)
Use a more appropriate link in the above document. ... (check-in: aacd3714 user: danield tags: trunk)
Correct two broken links in the 'Fossil vs. Git' document. ... (check-in: f8baa04b user: danield tags: trunk)
CSS tweak for disabled submit buttons in darkmode skin, based on forum feedback. ... (check-in: 081194bb user: stephan tags: trunk)
Update the built-in SQLite to the first 3.41.2 beta, for testing. ... (check-in: 36b17e51 user: drh tags: trunk)
CSS tweaks for the Blitz and Aroise skins to make it more apparent when Submit buttons are disabled. Based on forum post 4cbd254480d00dd2. ... (check-in: c0f62386 user: stephan tags: trunk)
Produce merge conflict mark during merge when file exist in current version and in version to be merged, but not in common ancestor.

Related forum discussion including test script: f035bbc8461da6d2. ... (check-in: 04e1674c user: mgagnon tags: merge-conflict-when-no-file-on-pivot)

A blitz skin forum CSS tweak from 224044aa2d8d2 to give visited links in the thread list a slightly different color. ... (check-in: 68e9acb8 user: stephan tags: trunk)
(x)diff --context N, where N is a negative value, is now treated as infinite, per off-list feature request. ... (check-in: 16d3d8b0 user: stephan tags: trunk)
Forum listing CSS tweaks prompted by 3d350d67b6e836. ... (check-in: 0aae0ef5 user: stephan tags: trunk)
Add the --out option to the "cat" command to specify an output file - only if a single historical file is requested. ... (check-in: 8975472d user: danield tags: trunk)
Slight CSS tweak to the darkmode skin's forum listing, based on forum post 9a6f4c039d82, intended to make the have-been-visited links stand out a bit better. ... (check-in: d2c93a41 user: stephan tags: trunk)
Correct a directory name in skins/ which was made invalid via code restructuring. ... (check-in: e6ef1977 user: stephan tags: trunk)
Renamed the new "Capabilities" glossary entry to "Capability" since we shouldn't be using a plural top-word entry even though they're defined, transported, stored, and otherwise treated as a group. Also replaced a use of this word in its own definition. ... (check-in: d3f45814 user: wyoung tags: trunk)
Moved the "snapshot" term in the glossary down into a footnote because it's got assorted problems, making it a much worse overall synonym for "version" even than "UUID". ... (check-in: 733ef88a user: wyoung tags: trunk)
Expanded the "version/revision/UUID/snapshot" discussion in the glossary into a separate term since these aren't strict synonyms for "check-in", the definition which previously hosted this topic. ... (check-in: 58030a78 user: wyoung tags: trunk)
Added a new glossary item "Capabilities" to introduce the term and distinguish it from "Permissions", and made several changes to the referenced document to reinforce this distinction and explain why we bother to make it. ... (check-in: 23b91f37 user: wyoung tags: trunk)