Fossil

Timeline
Login

Timeline

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

71 check-ins using file src/db.c version 89e14671

2023-04-19
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: 7c75e47b 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: 3f6aa946 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: b8ab407f 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: 65062c29 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: 0e5d27fe user: stephan tags: trunk)
17:45
Add FTS tokenizer selection to the /srchsetup page. ... (Closed-Leaf check-in: 9e52f8c0 user: stephan tags: fts5-trigram)
2023-04-17
21:50
Merge latest changes from trunk. ... (Closed-Leaf check-in: 88a76afc 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: bcff4d81 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: 6a085807 user: stephan tags: fts5-trigram)
17:25
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)
2023-04-14
15:31
Squelch an unitialized var warning from gcc 12.2.1 on Alpine Linux. ... (check-in: 3783a24e user: stephan tags: trunk)
2023-04-13
07:01
Typo fix in capabilities.c, reported in forum. ... (check-in: 0df0586a user: danield tags: trunk)
2023-04-10
20:23
Update the built-in SQLite to the latest trunk version for testing. ... (check-in: 2eb2077c 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: 2916ec97 user: florian tags: trunk)
2023-04-01
16:49
Added the CENGINE abstraction between `docker` and `podman` in the Makefile's container convenience targets. ... (check-in: 72d82404 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: b1416554 user: wyoung tags: trunk)
15:52
Update the built-in SQLite to the latest trunk version (pre-3.42.0) for testing. ... (check-in: 2516fca7 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: 779cb8fd 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: 283b1a42 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: ddcdc6f3 user: wyoung tags: trunk)
08:15
Update the list of versionable settings in the documentation. ... (check-in: 0f9224e9 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: cda5d6a7 user: wyoung tags: trunk)
00:02
Post-sleep edit pass on the new material in §3.2 of the containers doc. ... (check-in: d21fb267 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: 64f141fc user: drh tags: trunk)
07:24
Refined the Tcl and Python examples in the new §3.2 of the container doc. ... (check-in: 9baa4423 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: deb99e22 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 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)

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 capability to read check-ins. This should prevent confusion and save some screen space. ... (check-in: c04c814e 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: 507ebd8b user: drh tags: trunk)
10:21
Comment and whitespace tweaks ... (check-in: 81c30ab9 user: wyoung tags: trunk)
08:27
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)
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: c9e4b3d2 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: d778a023 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: 2bdd5819 user: wyoung tags: trunk)
07:03
Tiny clarity tweaks to the Dockerfile. No functional change. ... (check-in: 591e3eb9 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: 4b41a7f8 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: fff11fc6 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: 2f014407 user: wyoung tags: trunk)
2023-03-23
18:03
URL and whitespace fixes to previous. ... (check-in: 9e73519c 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: 4cb5c03e 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: 5b62bfe1 user: wyoung tags: trunk)
15:42
Linked to the Dockerfile from the top of the containers doc. ... (check-in: 2210c15d user: wyoung tags: trunk)
14:52
Use a more appropriate link in the above document. ... (check-in: aacd3714 user: danield tags: trunk)
14:48
Correct two broken links in the 'Fossil vs. Git' document. ... (check-in: f8baa04b user: danield tags: trunk)
2023-03-19
14:25
CSS tweak for disabled submit buttons in darkmode skin, based on forum feedback. ... (check-in: 081194bb 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: 36b17e51 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 post 4cbd254480d00dd2. ... (check-in: c0f62386 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: f035bbc8461da6d2. ... (check-in: 04e1674c user: mgagnon tags: merge-conflict-when-no-file-on-pivot)

2023-03-15
12:42
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)
10:40
(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)
10:35
Forum listing CSS tweaks prompted by 3d350d67b6e836. ... (check-in: 0aae0ef5 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: 8975472d user: danield tags: trunk)
14:16
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)
14:07
Correct a directory name in skins/README.md which was made invalid via code restructuring. ... (check-in: e6ef1977 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: d3f45814 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: 733ef88a 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: 58030a78 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: 23b91f37 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: 2eef3acd user: stephan tags: trunk)
2023-03-11
23:49
Give the correct way to figure out the temporary directory used under Windows. ... (check-in: 4e688dc0 user: danield tags: trunk)
13:10
Show the argv array on the /test_env page if the requestor is Admin. ... (check-in: 4350f326 user: drh tags: trunk)
11:23
Minor code re-org of previous checkin. ... (check-in: 2a4b604d 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 post 113ee6f241b84403. ... (check-in: 2ee93fc0 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: 1f184d0e 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: 6b43913e 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: 5caa3c5c user: drh tags: trunk)
18:13
Show the command-line on the security-audit page. ... (check-in: 5ab5469a 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: 364337be 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: 782a7f98 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: bb583b0c user: danield tags: trunk)
14:23
Change default anonymous user perms for new repos from 'hmnc' to 'hz', per discussion at forum post c6326072f3e6b270 and /chat. ... (check-in: ddabf09f user: stephan tags: trunk)