Fossil

Timeline
Login

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

220 check-ins using file www/faq.wiki version c6633a6dad

2023-05-10
15:32
Stray character deleted check-in: 0cb4f1fc5e user: wyoung tags: trunk
14:20
Replaced use of HTML "p" tags in the fiveminutes.wiki 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: 262eb510df user: wyoung tags: trunk
2023-05-09
21:44
Fix sub-command parsing in order to have the "gdiff" subcommand of the "patch" command working. check-in: ec78226014 user: mgagnon tags: trunk
2023-05-08
14:12
Display FQDN on sync only when the verbose flag is on. check-in: cc34f3cf49 user: danield tags: trunk
2023-05-06
20:21
Added explicit SIGINT handler for the rootful container (PID 1) case, so you can Ctrl-C it when "run -it". check-in: a0b0d8f998 user: wyoung tags: trunk
19:48
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: 260efac1da user: wyoung tags: trunk
19:04
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: f9bd6273d9 user: wyoung tags: trunk
05:41
Typo squish in the server doc section's index page check-in: 4158e5e2a8 user: wyoung tags: trunk
2023-05-05
14:40
Update the built-in SQLite to the latest 3.42.0 beta for testing. check-in: 71ed8cbd0c user: drh tags: trunk
12:56
For sync operations, also display the FQDN of the remote, if available. check-in: 99b09b9476 user: danield tags: trunk
2023-05-03
13:23
Add SUMMARY and DETAILS HTML elements to the list of allowable wiki/markdown tags, per request in [forum:f9559dbac03810|forum post f9559dbac03810]. check-in: 35df3e6ad4 user: stephan tags: trunk
11:03
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: f77ab1970c user: wyoung tags: trunk
10:00
Added a bit more advice about caching to previous, and fixed a whitespace problem. check-in: 4d5a647735 user: wyoung tags: trunk
09:56
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: 1d0d69866d user: wyoung tags: trunk
07:08
Tiny tweaks to the systemd doc check-in: 0835ec45a4 user: wyoung tags: trunk
06:23
Added a paragraph to the unvers doc on the "y" capability. check-in: faffd27192 user: wyoung tags: trunk
06:17
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: d1a3dda6a7 user: wyoung tags: trunk
06:15
Edit pass on the unvers.wiki doc, primarily to replace passive voice phrasing with active voice. Made a few clarifications and grammar tweaks atop that. check-in: fef0ade93f user: wyoung tags: trunk
2023-05-02
16:17
Update the change log with all the most recent enhancements. check-in: 13c5e4172c user: drh tags: trunk
2023-05-01
20:43
Update the built-in SQLite to the first 3.42.0 alpha version for testing. check-in: a6cc3da40c user: drh tags: trunk
2023-04-25
22:09
Converted the hand-crafted footnotes in the "Image Format vs Fossil Repo Size" doc to use the new Markdown affordance. check-in: 389e3fb976 user: wyoung tags: trunk
2023-04-24
14:33
Clarify that backslashes in the help text of commands/webpages must be escaped for correct processing by mkindex.c. check-in: 5c8f557565 user: danield tags: trunk
2023-04-22
18:53
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: ea688fa67f user: drh tags: trunk
16:01
Add the oldestfirst boolean query parameter to the /timeline page. check-in: ee8d34f5aa user: drh tags: trunk
15:18
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: 2925484c95 user: drh tags: trunk
14:46
Tweak the previous commit and put extra headers at the end. check-in: 391927155a user: florian tags: trunk
10:47
Update dependencies in the MSVC makefile so that changes to command help texts and built-in files are picked up. check-in: c2f56d2bc8 user: florian tags: trunk
10:38
Update the makemake.tcl script to match the checked-in versions of the generated makefiles. check-in: 3e83c6a924 user: florian tags: trunk
2023-04-20
16:21
Fix build by escaping the backslash in the help text of test-strip-comment-lines. check-in: cbfaec5875 user: danield tags: trunk
12:12
Mention comments in the document about glob patterns. check-in: 9558bf8294 user: danield tags: trunk
12:02
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: 6d2dbf985a user: danield tags: trunk
2023-04-19
11:56
Improved the systemd guide's points about `podman generate systemd`. check-in: ac30c2d996 user: wyoung tags: trunk
11:55
A few more small tweaks to the containers doc check-in: 117cf4ffe8 user: wyoung tags: trunk
11:39
Reordered a few sections in the container customization section to flow better and reduce redundancy. check-in: bb189d17f2 user: wyoung tags: trunk
11:29
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: 301d4f21bc user: wyoung tags: trunk
10:45
Add supporting comment lines in versioned settings to the changelog. check-in: 4ed98a9944 user: danield tags: trunk
07:19
Allow comment lines (starting with '#') in versioned settings. check-in: ef633d4bb5 user: danield tags: trunk
01:46
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: 7c75e47b3c user: mgagnon tags: trunk
00:46
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: 3f6aa94641 user: stephan tags: trunk
00:44
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: b8ab407f78 user: stephan tags: forum-skip-notification
00:29
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: 65062c29d4 user: stephan tags: forum-skip-notification
2023-04-18
17:47
Extend FTS index support to enable selection of different tokenizers, to support searching of Chinese content. check-in: 0e5d27fe18 user: stephan tags: trunk
17:45
Add FTS tokenizer selection to the /srchsetup page. Closed-Leaf check-in: 9e52f8c050 user: stephan tags: fts5-trigram
2023-04-17
21:50
Merge latest changes from trunk. Closed-Leaf check-in: 88a76afc2c user: mgagnon tags: merge-conflict-when-no-file-on-pivot
20:13
Replace another leftover use of the word 'stemmer' and clean up end-of-line whitespace in the change log. check-in: bcff4d81bb user: stephan tags: fts5-trigram
18:35
Replace a leftover use of the word 'stemmer' and add mention of the trigram tokenizer to the change log. check-in: 6a0858074d user: stephan tags: fts5-trigram
17:25
Initial (and incomplete) work to extend FTS5 search to support the trigram tokenizer, per [forum:bc458aea069c29ae5d|forum post bc458aea069c29ae5d]. TODO is the addition of the trigram option in the UI-level search configuration. check-in: 06c99b83ba user: stephan tags: fts5-trigram
2023-04-16
13:13
Merge trunk into forumpost-locking branch. check-in: 0af371047c user: stephan tags: forumpost-locking
2023-04-14
15:31
Squelch an unitialized var warning from gcc 12.2.1 on Alpine Linux. check-in: 3783a24ee1 user: stephan tags: trunk
2023-04-13
07:01
Typo fix in capabilities.c, reported in forum. check-in: 0df0586a11 user: danield tags: trunk
2023-04-10
20:23
Update the built-in SQLite to the latest trunk version for testing. check-in: 2eb2077c1b user: drh tags: trunk
08:46
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: 2916ec970b user: florian tags: trunk
2023-04-03
18:58
Allow comment lines (starting with '#') in versioned settings. Closed-Leaf check-in: fc2a4dccac user: danield tags: allow-versioned-settings-comments
2023-04-01
16:49
Added the CENGINE abstraction between `docker` and `podman` in the Makefile's container convenience targets. check-in: 72d8240457 user: wyoung tags: trunk
16:41
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: b14165549c user: wyoung tags: trunk
15:52
Update the built-in SQLite to the latest trunk version (pre-3.42.0) for testing. check-in: 2516fca74d user: drh tags: trunk
2023-03-31
18:49
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: 779cb8fd9d user: wyoung tags: trunk
2023-03-30
18:14
Updated the container size info in the Fossil v Git doc to track recent developments. check-in: 283b1a4201 user: wyoung tags: trunk
14:51
Commit [cda5d6a7] invalidated the BusyBox steps in the Tcl and Python examples in §3.2 of the containers doc. check-in: ddcdc6f30b user: wyoung tags: trunk
08:15
Update the list of versionable settings in the documentation. check-in: 0f9224e98a user: danield tags: trunk
2023-03-28
13:29
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: cda5d6a72b user: wyoung tags: trunk
00:02
Post-sleep edit pass on the new material in §3.2 of the containers doc. check-in: d21fb2678a user: wyoung tags: trunk
2023-03-27
13:41
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: 64f141fce0 user: drh tags: trunk
07:24
Refined the Tcl and Python examples in the new §3.2 of the container doc. check-in: 9baa4423f6 user: wyoung tags: trunk
06:33
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: deb99e22e1 user: wyoung tags: trunk
04:59
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 [https://github.com/containers/buildah/issues/2961 | 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: 79ac06a540 user: wyoung tags: trunk
2023-03-26
23:54
Do not render "Check-ins" button within a submenu of /tktview, /tkthistory, /tkttimeline and /info pages, unless a user actually has a [/doc/trunk/www/caps/ref.html#o|capability to read check-ins]. This should prevent confusion and save some screen space. check-in: c04c814e10 user: george tags: trunk
2023-03-24
15:22
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: 507ebd8b3f user: drh tags: trunk
10:21
Comment and whitespace tweaks check-in: 81c30ab97d user: wyoung tags: trunk
08:27
Switched from a Dockerfile "ADD" command to wget for the BusyBox source tarball because, surprisingly, [https://github.com/moby/moby/issues/12361 | 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: ac95559482 user: wyoung tags: trunk
08:13
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: c9e4b3d254 user: wyoung tags: trunk
08:07
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: d778a02392 user: wyoung tags: trunk
07:43
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: 2bdd5819e2 user: wyoung tags: trunk
07:03
Tiny clarity tweaks to the Dockerfile. No functional change. check-in: 591e3eb90e user: wyoung tags: trunk
05:23
Removed a reference to /etc/os-release from stage 2 of the Dockerfile. Commit [4cb5c03e] took care of stage 1 only. check-in: 4b41a7f8bd user: wyoung tags: trunk
05:20
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: fff11fc604 user: wyoung tags: trunk
05:17
Added the interactive debugging shell command to the Quick Start section of the containers doc for easy cut-and-paste. check-in: 2f0144071a user: wyoung tags: trunk
2023-03-23
18:03
URL and whitespace fixes to previous. check-in: 9e73519c01 user: wyoung tags: trunk
16:40
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: 4cb5c03ea1 user: wyoung tags: trunk
15:51
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: 5b62bfe101 user: wyoung tags: trunk
15:42
Linked to the Dockerfile from the top of the containers doc. check-in: 2210c15d13 user: wyoung tags: trunk
14:52
Use a more appropriate link in the above document. check-in: aacd3714ce user: danield tags: trunk
14:48
Correct two broken links in the 'Fossil vs. Git' document. check-in: f8baa04bd2 user: danield tags: trunk
2023-03-19
14:25
CSS tweak for disabled submit buttons in darkmode skin, based on forum feedback. check-in: 081194bb5e user: stephan tags: trunk
2023-03-17
12:28
Update the built-in SQLite to the first 3.41.2 beta, for testing. check-in: 36b17e515a user: drh tags: trunk
11:50
CSS tweaks for the Blitz and Aroise skins to make it more apparent when Submit buttons are disabled. Based on [forum:4cbd254480d00dd2|forum post 4cbd254480d00dd2]. check-in: c0f623864b user: stephan tags: trunk
2023-03-16
02:08
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: [forum:f035bbc8461da6d2]. check-in: 04e1674c75 user: mgagnon tags: merge-conflict-when-no-file-on-pivot
2023-03-15
12:42
A blitz skin forum CSS tweak from [forum:224044aa2d8d2] to give visited links in the thread list a slightly different color. check-in: 68e9acb836 user: stephan tags: trunk
10:40
(x)diff --context N, where N is a negative value, is now treated as infinite, per off-list feature request. check-in: 16d3d8b05e user: stephan tags: trunk
10:35
Forum listing CSS tweaks prompted by [forum:3d350d67b6e836]. check-in: 0aae0ef506 user: stephan tags: trunk
2023-03-14
17:18
Add the --out option to the "cat" command to specify an output file - only if a single historical file is requested. check-in: 8975472d26 user: danield tags: trunk
14:16
Slight CSS tweak to the darkmode skin's forum listing, based on [forum:9a6f4c039d82|forum post 9a6f4c039d82], intended to make the have-been-visited links stand out a bit better. check-in: d2c93a417e user: stephan tags: trunk
14:07
Correct a directory name in skins/README.md which was made invalid via code restructuring. check-in: e6ef19776f user: stephan tags: trunk
2023-03-13
20:58
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: d3f4581437 user: wyoung tags: trunk
20:44
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: 733ef88ab8 user: wyoung tags: trunk
19:54
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: 58030a789b user: wyoung tags: trunk
19:00
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: 23b91f3794 user: wyoung tags: trunk
2023-03-12
21:10
Add a note to 'fossil uv' help that sync requires 'y' permissions on the remote. check-in: 2eef3acda3 user: stephan tags: trunk
2023-03-11
23:49
Give the correct way to figure out the temporary directory used under Windows. check-in: 4e688dc0f9 user: danield tags: trunk
13:10
Show the argv array on the /test_env page if the requestor is Admin. check-in: 4350f3265e user: drh tags: trunk
11:23
Minor code re-org of previous checkin. check-in: 2a4b604d98 user: stephan tags: trunk
11:05
Add a 'Max' field to the forum thread list, analog to the one in /timeline, and remember that value as part of the display prefs cookie. Per request in [forum:113ee6f241b84403|forum post 113ee6f241b84403]. check-in: 2ee93fc0c5 user: stephan tags: trunk
2023-03-10
23:06
In the Windows server document, provide a command to get the temporary path location as used by Fossil. check-in: 1f184d0e82 user: danield tags: trunk
19:48
Revise "Fossil as a Windows Service" page to provide tip on avoiding poor interaction with virsus scanning. check-in: 6b43913e67 user: larrybr tags: trunk
19:17
Improvements to the new security-audit feature that shows the command-line that launched the process that generated the web page. check-in: 5caa3c5ceb user: drh tags: trunk
18:13
Show the command-line on the security-audit page. check-in: 5ab5469adf user: drh tags: trunk
15:40
On Windows, write the temporary server files to a subfolder, allowing for easier exclusion from antivirus scanning. check-in: 364337be10 user: danield tags: trunk
2023-03-09
16:23
Update the built-in SQLite to the first 3.41.1 beta, for testing. check-in: 782a7f9898 user: drh tags: trunk
2023-03-07
15:40
Remove superfluous makeheaders-targeted declaration of markdown() from markdown.c, since this made it appear twice in the generated header files. check-in: bb583b0cc4 user: danield tags: trunk
14:23
Change default anonymous user perms for new repos from 'hmnc' to 'hz', per discussion at [forum:c6326072f3e6b270|forum post c6326072f3e6b270] and /chat. check-in: ddabf09faa user: stephan tags: trunk
13:00
Make the no-op rendering callbacks in backlink.c type-compatible with the declarations in mkd_renderer, doing away with a theoretically possible undefined behavior and the related compiler cast warnings. check-in: d3434fd8cc user: danield tags: trunk
12:40
CSS tweak to make long hashes wrap in narrow /chat views. check-in: 8a401c209f user: stephan tags: trunk
2023-03-03
14:34
Resolve incorrect value being sent with the SMTP EHLO header when sending notification mails, per discussion in [forum:f183ab47a7beee47|forum post f183ab47a7beee47]. check-in: e7a5b98583 user: stephan tags: trunk
13:05
Minor updates to the schema docs for the tagxref table. No functional changes. check-in: 3037be63e2 user: stephan tags: trunk
2023-03-02
20:20
Refactor the "repack" command to call extra_deltification() routine directly. check-in: 9c1f486f9d user: drh tags: trunk
17:24
The recommendation to configure Fossil with the --static flag is semi-obsolete, and the following advice to look further down in the same document for the Docker workaround was wholly obsolete since moving all of this into the dedicated containers.md doc. Fixed all this up, and linked to the "why" answers on Stack Overflow about all of this in a few more places. check-in: d282e42cd2 user: wyoung tags: trunk
17:13
Merge trunk into forumpost-locking branch. check-in: 27c3423e89 user: stephan tags: forumpost-locking
14:10
Prototype for one approach to linking forum posts to other artifacts (initially check-ins). Adds the --forumpost HASH flag to the ci command, which adds a forumpost/FULL-HASH tag to the checkin for later use in /info and forum post views. For ease of use, this probably needs to be adapted to map only to the first version of a forum post, as is done in the forumpost-locking branch, once that branch is merged with trunk. Closed-Leaf check-in: 3e5d23daec user: stephan tags: ci-link-formpost
10:26
An equivalent of the patch proposed in [forum:f183ab47a7beee47|forum post f183ab47a7beee47] to resolve the argument sent to smtp EHLO, reducing it from an email address to the domain part of the address. Closed-Leaf check-in: be4815b17e user: stephan tags: smtp-ehlo
2023-02-28
05:41
The /zip and /tarball built-in help now makes clear that the VERSION/ part of the URL is optional to help avoid confusions like we're seeing in [forum:/forumpost/24c0eb271dbadcf0 | the forum post] that sparked this sequence of improvements. check-in: 4717db33f0 user: wyoung tags: trunk
2023-02-27
12:31
Make similar improvements to the documentation for /zip and /sqlar. check-in: 9eadac2026 user: drh tags: trunk
12:25
Attempt to clarify the documentation of the /tarball URI. check-in: 7cd1ebd093 user: drh tags: trunk
2023-02-25
22:14
Correct 2.21 change log link to point to 2.21 instead of 2.20. check-in: 1eb545a140 user: stephan tags: trunk
22:11
Update version to 2.22 for the next dev cycle. check-in: e13f7ca4a7 user: stephan tags: trunk
20:44
Documentation for "fossil all remote". check-in: 6ad6c559e2 user: drh tags: trunk
19:23
Version 2.21 check-in: f9aa474081 user: drh tags: trunk, release, version-2.21
2023-02-24
23:39
Move forumpost close/re-open controls around. Add, if appropriate, a Close/Re-open button to the thread view, but only for the currently-selected post. check-in: ecc324b6af user: stephan tags: forumpost-locking
23:38
In /admin_log, add rowid DESC to the ORDER BY so that entries with the same timestamp predictably sort newest-first. check-in: 914c6b5a0e user: stephan tags: forumpost-locking
17:14
Fix a harmless compiler warning in gzip.c. check-in: 9b05cad18d user: drh tags: trunk
2023-02-23
18:47
Fix a harmless compiler overflow warning. check-in: 2fd158fce7 user: danield tags: trunk
2023-02-22
06:09
Minor CSS tweaks to closed forum posts. check-in: 3078ff46ee user: stephan tags: forumpost-locking
04:46
Rework forumpost closure to always apply to the first artifact in an edit chain to enable consistent behavior across the whole chain and responses to arbitrary versions within that chain. Add rudimentary UI elements for closing/re-opening posts, but their layout needs to be revisited (noting that they need to be in a separate form from the main editor so that closing/re-opening introduces only a smalll control artifact instead of a whole forumpost artifact). check-in: cc6ca4e110 user: stephan tags: forumpost-locking
00:09
Clarified one of the 2.21 changelog entries. (Started as fixing a typo.) check-in: 86c4e6bf26 user: wyoung tags: trunk
2023-02-21
23:34
Update the built-in SQLite to the 3.41.0 release. check-in: 6d88833ffa user: drh tags: trunk
10:30
Initial (untested) code for creating the control artifact for closing and re-opening forum threads. Extend test-forumthread's tree view to show thread closure. check-in: 32fc62e681 user: stephan tags: forumpost-locking
09:52
Add db_add_unsent() and replace numerous "INSERT OR IGNORE INTO unset" statements with that. check-in: 98d4ee73d7 user: stephan tags: forumpost-locking
08:47
Coding style tweaks. check-in: 9fc70f6f63 user: stephan tags: forumpost-locking
03:58
Correct inability of forum users to delete their own pending-moderation posts. check-in: 19333c8a49 user: stephan tags: trunk
03:49
Closed forum threads can no longer be edited by non-admins. Fix broken ability of non-builtin users to delete their own pending-moderation post. UI controls for closing/reing-open threads are still TODO. check-in: 8f02c1d4a8 user: stephan tags: forumpost-locking
01:58
Add capability to determine whether a given sub-thread inherits a lock from a parent. Re-label "locked" to "closed" per /chat feedback. check-in: 464f4d175f user: stephan tags: forumpost-locking
00:52
Initial bits for "locking" forum (sub)threads using a "closed" tag. This currently affects the display but does not hinder edits made via malicious misuse because the pieces needed for such validation do not yet have access to the relevant ForumPost objects. check-in: 4d664bfe55 user: stephan tags: forumpost-locking
2023-02-20
14:58
Change the typedef of u32 in search.c so that it works in older PPC macs. check-in: f82caec579 user: drh tags: trunk
2023-02-17
14:57
Fix a multitude of harmless compiler warnings. check-in: 53db40e6fc user: drh tags: trunk
14:37
A large collection of compiler warning fixes re. signed/unsigned comparison from Daniel D. Closed-Leaf check-in: c71f711ec9 user: stephan tags: compiler-warnings
2023-02-15
11:26
Reverted half of commit [4ad86dd5]: it incorrectly moved a CSS style instead of copying it to where it also needed to be. The user-visible effect was that centered Pikchrs varied in size according to their size and complexity, which meant that elements that should've been the same size weren't. check-in: 5ad62aba37 user: wyoung tags: trunk
05:16
Cleaned up a few inconsistencies in the Pikchrs in the branching doc in an attempt to fix the smaller-and-smaller diagram size problem currently occuring in this doc. check-in: 239fb5b186 user: wyoung tags: trunk
2023-02-14
20:54
Updated the PBKDF2 recommendations in the backup doc to track recent changes in best practice due to all these GPU computing fleets coming online. Added a few paragraphs explaining the limits to all of this and why we chose the passphrase lengths we did as examples. check-in: 6a3d6fa63e user: wyoung tags: trunk
11:42
Update the built-in SQLite to the latest 3.41.0 beta for testing. check-in: 7b5057745a user: drh tags: trunk
2023-02-10
17:38
Add a PD_NoBot() check to /timeline, based on spider attack records. check-in: 3fa6f8f09a user: stephan tags: trunk
2023-02-09
21:00
Update the change log. check-in: a64ef5efd1 user: drh tags: trunk
20:09
Add the "repack" command as an alias for "rebuild --compress-only". check-in: dd6a88da09 user: drh tags: trunk
19:45
The extra-delta-compression step now reports the number of new deltas added and the bytes of storage space saved using those deltas. check-in: 59e21eb3e5 user: drh tags: trunk
16:16
Updates to the change log. check-in: 7449a10f2a user: drh tags: trunk
2023-02-08
16:59
Further improvements to the attack-spider detection mechanism. check-in: eb7fad0cd3 user: drh tags: trunk
16:41
As a performance optimization, only do the SQL-injection detection for user "nobody". Improved comment on cgi_value_spider_check() to better explain what this subsystem is all about. check-in: 00ae2391e4 user: drh tags: trunk
16:32
Test command for the SQL-injection detection routine. Possible performance improvements as well. check-in: d3cb62f767 user: drh tags: trunk
14:54
Update the built-in SQLite to use the latest 3.41.0 alpha version that includes new efforts to silence nuiscance compiler warnings. check-in: 05fa1c3c24 user: drh tags: trunk
13:35
Fix a couple of -Wextra compiler warnings. check-in: 3afeef3f9a user: danield tags: trunk
2023-02-07
16:50
Rename AntiSpider to NoBot, for brevity's sake. check-in: fa27979805 user: stephan tags: trunk
16:48
Rename P_NoSQL and PD_NoSQL to P(D)_AntiSpider to make their intent clearer and the names more generic. check-in: 91d13592a7 user: stephan tags: trunk
16:28
Merge spider-sql-detection branch into trunk, per /chat discussion. check-in: 534c10f6b8 user: stephan tags: trunk
16:24
Apply the spider SQL check to the diff URL argument of the /vdiff page. Improve some related docs. Closed-Leaf check-in: 936c122ff9 user: stephan tags: spider-sql-detection
16:18
Inititial draft of an attempt to intercept certain SQL injection attacks recently seen made against fossil repos. Its effect can be seen by visiting: /vdiff?from=trunk&to=trunk&w=drop check-in: 61a608a2df user: stephan tags: spider-sql-detection
2023-02-06
13:37
Make the --nossl and --nocompress server options available for CGI requests. check-in: 391526232e user: florian tags: trunk
2023-02-03
15:59
Fix another harmless compiler warning reported by Clang-15. check-in: de184889a7 user: danield tags: trunk
15:15
Attempt to fix various harmless compiler warnings reported by Clang-15. check-in: e486a0acbc user: drh tags: trunk
14:59
Update the built-in SQLite to the latest trunk version that attempts to fix various harmless compiler warnings reported by the new Clang-15. check-in: ea57625d31 user: drh tags: trunk
14:32
Add the /deltachain page, indented for analysis of the delta compression and future improvements to that algorithm. There are links to the delta chain on the /timeline and /finfo when the showid query parameter is used. check-in: 00c62a11ad user: drh tags: trunk
07:21
prefill the tktnew page email field with user emailaddr If the logged-in user has a valid email address in their contact-info, use it to prefill the email field in the /tktnew page when submitting a new ticket. As discussed in /chat, enhance the Fossil builtin find_emailaddr() SQL function--suggested by wyoung@--to parse strings for well-formed email addresses not necessarily wrapped in <...>. Requested by jose i cabrera on the [forum:62838ffe73|forum]. check-in: f974583f90 user: mark tags: trunk
00:31
Enable SELECT statements for the ticket_schema_auth() authorizer. This is required for the new FTS5 search and the fts5_api_from_db() routine. check-in: 3fe8a8cd18 user: drh tags: trunk
2023-02-01
14:35
Do not export private artifacts to git. check-in: fbd3b58335 user: danield tags: trunk
2023-01-31
10:41
Use a faster query when checking for private artifacts. Closed-Leaf check-in: 25a6ba26a2 user: danield tags: git-export-omit-private
10:11
Do not export private artifacts to git. check-in: 40abd83957 user: danield tags: git-export-omit-private
10:07
Small correction in the usage text for 'fossil git'. check-in: 1aa3188e8d user: danield tags: trunk
2023-01-27
20:42
Add a link to the /intermap page for Interwiki Map keywords on the setup menu. check-in: bb189a15fd user: drh tags: trunk
15:40
Update the built-in SQLite to the latest 3.41.0 alpha, for testing of SQLite. check-in: 0f30113b3b user: drh tags: trunk
2023-01-26
01:46
Refactor how the IF NOT EXISTS check is performed on the repository.admin_log table, per request from drh. check-in: 2da6010b7c user: stephan tags: trunk
2023-01-25
13:59
More updates f() to f(void). check-in: 46ddf0e80b user: danield tags: trunk
00:30
More updates of func decls f() to f(void). check-in: 5dd632eb44 user: stephan tags: trunk
00:25
More updates of func decls f() to f(void). check-in: 9c5952bec3 user: stephan tags: trunk
2023-01-24
21:25
Upgrade FTS search from v4 to v5. check-in: c3c4ef167e user: stephan tags: trunk
19:01
Add initial infrastructure for being able to resolve 'ckout' uniformly in certain contexts, per /chat discussion. check-in: 4d8c30265b user: stephan tags: trunk
16:34
Make all variable declarations C89 compliant. check-in: 462eb0cca0 user: drh tags: ui-local-diff
14:36
The search logic now works correctly (I think) regardless of whether the repository uses a legacy FTS4 index or a newer FTS5 index. This allows the Fossil binary to be upgraded on systems without disrupting the search feature and without requiring a search index rebuild. The search index is automatically upgraded to FTS5 the next time the search index is rebuilt. Closed-Leaf check-in: a07e6b87cb user: drh tags: search-fts5
03:59
Wrapping a few calls to vfile_check_signature() from the new local diff code in unprotect/pop call pairs to squish a DB protection error. check-in: 1b3ef05ef9 user: wyoung tags: ui-local-diff
03:29
Brought the ui-local-diff branch up to date relative to trunk. It isn't a simple merge, primarily due to all the changes to /vdiff and /fdiff made over the past 2 years. It seems to work as well as it originally did, but it isn't ready to merge down to trunk as-is. check-in: 76fa165763 user: wyoung tags: ui-local-diff
03:26
Remove some end-of-line whitespace. No functional changes. check-in: 8307133b7c user: stephan tags: search-fts5
03:18
Replaced a standalone "diffFlags" variable in the /fdiff handler with use of the new DiffConfig.diffFlags member. No functional change, just a code cleanup found while working on another branch. Making it on trunk to keep that branch's diffs minimal. check-in: 65d97f23f6 user: wyoung tags: trunk
02:57
Replace FTS4 with FTS5, per [forum:d05b1855aa|forum post d05b1855aa]. This has been only lightly tested and might require a repo rebuild (or that we rename the associated tables/views rather than recycle them). check-in: c1933caf03 user: stephan tags: search-fts5
2023-01-23
00:12
Add /json/settings/get and set APIs, per discussion in [forum:04b7159d63d4abe4|forum post 04b7159d63d4abe4]. check-in: a80f27485a user: stephan tags: trunk
2023-01-22
22:01
Remember the chosen type of artifacts that are shown at <tt>/timeline</tt> page as a display preference. This amends the initial behavior [/timeline?c=c94f6085489effe6&y=a | introduced on 2017-11-29] with the <tt>'sticky-timeline-style'</tt> branch. check-in: 61bd0c9b11 user: george tags: trunk
18:35
Fix appearance of a chat-only view: eliminate redundant gap between the vertical scrollbar and the right edge of a window. check-in: d3c0206ed2 user: george tags: trunk
2023-01-21
12:14
Merge trunk into markdown-tagrefs branch. check-in: baf038b1aa user: stephan tags: markdown-tagrefs
11:40
Make diff --checkin VERSION capable for working from outside of a checkout. check-in: 8e8e0269a9 user: stephan tags: trunk
10:50
Improve scroll width calculation for unified diffs. check-in: 7a76111fe0 user: florian tags: trunk
01:13
Remove bootstrap skin, per discussion in [forum:aa02d7443d446211|forum post aa02d7443d446211]. Clients with that skin selected will automatically be switched to the default. check-in: e1ef9347e1 user: stephan tags: trunk
2023-01-20
10:42
Simplify the loop to enumerate table columns to the left. Closed-Leaf check-in: faadb48dc9 user: florian tags: udiff-hscroll
04:25
Add /json/settings/set. Replace several free() calls with fossil_free(). Work around json_send_response() being called twice in some CLI-based cases. Closed-Leaf check-in: 4d2aeb29eb user: stephan tags: json-settings-command
00:11
Add docs for /json/settings. check-in: f302b9bc41 user: stephan tags: json-settings-command
2023-01-19
23:44
Roll back a broken part of [f3d3d1be59728b5dde702a] which caused only versioned settings' values to be fetched. check-in: c7221a2e8c user: stephan tags: json-settings-command
23:38
Correct (non-)fetching of sensitive properties for (non-)Setup users. check-in: f3d3d1be59 user: stephan tags: json-settings-command
23:32
Restructure /json/settings/get output from an array of objects to a map of objects, keyed on setting name, per forum discussion. check-in: d0bf9682a9 user: stephan tags: json-settings-command
12:15
Firefox ≠ Chromium check-in: dbffb2fad2 user: florian tags: udiff-hscroll
11:52
Compensate for the outer border. check-in: 2c0d435256 user: florian tags: udiff-hscroll
11:36
More accurate scroll width calculation for unified diffs (looks better for SQLite diffs with up to 5-digit line numbers). check-in: 337b297cbe user: florian tags: udiff-hscroll
02:55
For sensitive settings, always explicitly set value and valueSource to null for non-setup users (or if they aren't set), to avoid the possibility of downstream clients perhaps picking up inherited properties in their place, depending on their programming environment. check-in: 451cda0452 user: stephan tags: json-settings-command
02:39
Extend /json/settings/get with a version=X flag indicating the check-in version to check for versionable flags in before falling back to either the checkout or repository. List sensitive properties for all users but elide their values for non-setup users (previously they were elided altogether for non-setup users). check-in: fd405e9563 user: stephan tags: json-settings-command
01:01
Add missing 'void' to no-arg function decls and impls throughout the JSON API. (In my defense: the distinction between f(void) and f() was unknown to me at the time that code was written.) check-in: 632dfd26dd user: stephan tags: json-settings-command
2023-01-18
00:54
Initial prototype of the /json/settings/get command/page, per discussion in [forum:04b7159d63d4abe4|forum post 04b7159d63d4abe4]. check-in: 29e5bb008c user: stephan tags: json-settings-command
00:47
Fix a memory leak of the path to a versioned-setting file in print_setting(). check-in: c76b00197f user: stephan tags: trunk
2023-01-17
20:40
Small fix to the nojail patch; accidentally lost the [80faedbc] change in the shuffle. check-in: 7a6cf9dd24 user: wyoung tags: trunk
20:37
Removed the two "mknod" calls from the Dockerfile in the nojail patch used by Podman rootless containers. Not only is the build user not allowed to run mknod in that case, there will be a /dev tree mapped into the container, causing the commands to fail due to these two basic dev nodes preexisting. check-in: d97a8fb17e user: wyoung tags: trunk
20:35
No longer running "fossil" with a relative path ("bin/fossil") at the end of the Dockerfile, but instead relying on the hard-coded PATH defined a few sections prior. This allows the same command to work for both the rootful and rootless cases since moving the binary into /usr/bin/fossil to placate nspawn. Before, it was /jail/bin vs /bin, so the difference netted out to nothing. check-in: 80faedbc51 user: wyoung tags: trunk
20:32
Fixed a copy-paste error in the Podman sections of the container doc: was using "docker" commands instead of "podman" in a few places. That'll work for people who aliased them, but it's confusing. check-in: 6eefa9b0d7 user: wyoung tags: trunk
06:29
Removed use of UPX in the container build process. It complicates the build for a tiny gain while breaking ARM builds. We worked around the ARM-on-ARM case earlier, but it also breaks x86 cross-compilation on ARM. Images are already compressed, and while `upx -9` is stronger compression than whatever Docker Engine is using, it's a small advantage. This does mean the static executable isn't compressed any more on x86, but if you want that, you can UPX it afterward. check-in: da545c9e79 user: wyoung tags: trunk
05:28
Generating the /etc/os-release file for the OCI container using autosetup at configure time rather than from a build arg in the Dockerfile at image creation time. This lets us back out the use of heredocs in the Dockerfile, which isn't supported in Podman at all as of this writing and under Docker requires use of BuildKit rather than the legacy "docker build" mechanism. The primary consequence of doing it this way is that the Fossil version number in that generated file becomes the configure-time version, unconditionally. The old way let you override the FSLVER variable at image build time and have that value put into the os-release file. Under this new scheme, you now have to run "/jail/bin/fossil version" to find out what version of Fossil got baked into the image. check-in: ec8ef573b3 user: wyoung tags: trunk
2023-01-16
18:14
Update the built-in SQLite to the latest 3.41.0 alpha version in order to silence harmless compiler warnings and for general testing of SQLite. check-in: cdd89e2dbe user: drh tags: trunk
15:37
Roll back the part of [71a2d68a7a113e7c] which automatically updates the user display prefs cookie, per /chat discussion. Updating the cookie once again requires an explicit udc URL arg or setting the skin, which implies udc. This fixes the problem that a timeline link from the /reports page persistently sets the default timeline entry count to the value used by that report. check-in: 5feac63473 user: stephan tags: trunk
2023-01-13
18:38
Backout change on "login-group join" command which broke the usage of it outside an opened checkout (using -R flag). Change usage text to match the command behavior properly when using the -R flag. check-in: edf0355961 user: mgagnon tags: trunk
16:52
Modernized several old fossil-scm.org URLs, changing "http" to "https" where absolute URLs are necessary, and using site-relative URLs otherwise. Also found and fixed a reference to fossil-scm.hwaci.com, which doesn't seem to resolve any more. check-in: 143f1db75f user: wyoung tags: trunk