Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
89 check-ins using file src/main.c version 9aa598ff2f
|
2022-10-28
| ||
| 00:18 | Fix a typo in a comment. check-in: a2ed111979 user: george tags: deltify-tkt-blobs | |
| 00:11 | Add more comments and a changelog item. No code changes. check-in: e690df08f4 user: george tags: deltify-tkt-blobs | |
|
2022-10-16
| ||
| 00:09 | Highlight a ticket's change that corresponds to the URL's fragment of the /tkthistory page. check-in: 7afd4db3d3 user: george tags: deltify-tkt-blobs | |
|
2022-10-09
| ||
| 22:56 | Rework the previous check-in to fix incorrect backlinks' sources for the case when values are appended to a field (i.e. a value of J-card starts with '+'). Consider a reference to 77ab05a0e9 from [caeb7d672df20] for an example which was handled incorrectly by [668e45baff99]. check-in: 4d5ded5eea user: george tags: deltify-tkt-blobs | |
|
2022-10-03
| ||
| 01:41 | Fix redundant back-references originating from outdated/superseded values within TICKET table. See forum thread [forum:/forumthread/a6ba08e926a8cfdf|a6ba08e926]. check-in: 668e45baff user: george tags: deltify-tkt-blobs | |
| 01:31 | Fix naming of columns on the /test-backlinks page. check-in: 6a5604f481 user: george tags: deltify-tkt-blobs | |
|
2022-09-26
| ||
| 06:47 | Correct an outdated path and fix a typo reported in the forum. Doc changes only, no code. check-in: 5ade6fb863 user: stephan tags: markdown-tagrefs | |
|
2022-09-25
| ||
| 06:50 | Prevent the web UI side-by-side diffs and their scrollbars from getting truncated on the right. [forum:f9becc251c| Forum Post f9becc251c]. check-in: 1a668d359a user: florian tags: trunk | |
|
2022-09-23
| ||
| 17:13 | Enhancements to the "fossil finfo -i" command such that it only shows the first check-in for the file (unless -v is also used) and so that it shows the modification time as a separate line for easy parsing by scripts. check-in: ac6edb35df user: drh tags: trunk | |
| 16:44 | Fix the help text for the previous check-in. check-in: c0162a4f09 user: drh tags: trunk | |
| 16:44 | Fix the "finfo" command so that -r is not required with -i. If the -r is omitted, then "current" is used in its place. check-in: 35c6d15a08 user: drh tags: trunk | |
| 13:17 | Remove an extra newline character from the output of the new "fossil remote hyperlink" command. check-in: 76bc66a950 user: drh tags: trunk | |
| 13:04 | Add the "fossil remote hyperlink" and "fossil remote ui" subcommands. check-in: b2e2fc0372 user: drh tags: trunk | |
|
2022-09-21
| ||
| 17:14 | Backup any unmamaged files that are about to be overwritten by an update or merge. Potentially avoid the loss of a local file if the overwrite warning goes unnoticed, in which case undo is useless. check-in: e99e58c568 user: mgagnon tags: trunk | |
| 16:52 | Fix a typo in comment (no code change) check-in: 1356151980 user: mgagnon tags: trunk | |
|
2022-09-20
| ||
| 14:13 |
On the /tkthistory page supply each ticket change item
with a corresponding id attribute and make the 'History' button
within a submenu of a /tinfo page to link back
to that particular element on the /tkthistory page.
check-in: 4bb91f38a8 user: george tags: deltify-tkt-blobs
| |
| 13:56 | Minor optimization and refactoring. check-in: b2049d643b user: george tags: deltify-tkt-blobs | |
|
2022-09-17
| ||
| 12:45 | Add a comment to the tree-view to explain that file ages are relative to the check-in time. check-in: 0fb353c10d user: drh tags: trunk | |
|
2022-09-15
| ||
| 17:48 | Merge trunk into markdown-tagrefs branch. check-in: 8ef0347fd3 user: stephan tags: markdown-tagrefs | |
| 17:11 | Add documentation for chat-timeline-user. check-in: 24c71dfb1e user: drh tags: trunk | |
| 17:08 | Add the chat-timeline-user setting to the 2.20 change log. check-in: 0efd583a54 user: stephan tags: trunk | |
| 16:58 | Added lmtime value to chat-timeline-user's chat messages, using the server's local time, to fix time display in the /chat message popup. check-in: e1ad499265 user: stephan tags: trunk | |
| 15:51 | Improved comments on the new chat-timeline-user feature. check-in: c3ed2430cc user: drh tags: trunk | |
| 15:35 | Improved chat messages for the chat-timeline-robot. check-in: 974cf3667c user: drh tags: trunk | |
| 13:40 |
Improve /tkthistory page: render selected ticket fields as unified diffs.
check-in: b75a9d0fa3 user: george tags: deltify-tkt-blobs
| |
|
2022-09-14
| ||
| 19:24 | Do not require that the chat-timeline robot username be an actual user in the USER table. If the chat-timeline-user config variable exists, then timeline events are announced in chat, regardless. check-in: 1f5474ec31 user: drh tags: trunk | |
| 13:12 |
Remove redundant PRE tags on the /wdiff pages.
check-in: 0dd5451d7f user: george tags: deltify-tkt-blobs
| |
|
2022-09-13
| ||
| 20:11 | Add the ability to designate a timeline robot user. If such a user exists, and if chat is enabled, then notifications of all timeline events appear in chat, from the robot user. check-in: e9d7cf3e92 user: drh tags: trunk | |
|
2022-09-09
| ||
| 18:26 | Minor improvement to SEE integration. check-in: 660c2b1512 user: mistachkin tags: trunk | |
| 17:22 | Sync up custom makefile for MinGW. check-in: a3ed29ea34 user: mistachkin tags: trunk | |
|
2022-09-07
| ||
| 09:11 | Mentioned containerd+nerdctl in place of runc in the containers doc. A tightened-up version of the prior runc and crun sections are now collected below the Podman section. This gives a better flow: each successive option is smaller than the last, excepting only nspawn, which is a bit bigger than crun. (We leave nspawn last because we can't get it ... check-in: 457c14a490 user: wyoung tags: trunk | |
| 07:35 | Updated the "nojail" patch for our Dockerfile to track the recent changes: rename back from Dockerfile.in and the layer refactoring. It does essentially the same thing as before. check-in: 19abf0ac13 user: wyoung tags: trunk | |
|
2022-09-06
| ||
| 22:25 | Merge trunk into remote-add-fix branch. Leaf check-in: baf635cb7e user: stephan tags: remote-add-fix | |
|
2022-09-05
| ||
| 14:03 | Update the built-in SQLite to the latest 3.40.0 alpha. check-in: 9d12e96440 user: drh tags: trunk | |
| 08:15 | Broke the Dockerfile up into more layers to allow better local caching at build time. Further optimized build time by producing the Fossil source tarball from the local repo instead of hitting the home site if you use the container-image target, since we can be reasonably certain you're working from a repo checkout and thus have all the info avail... check-in: 1da464eeb9 user: wyoung tags: trunk | |
| 01:42 | Expanded the paragraph on WAL mode interactions in the container doc into a full section, placed higher up, immediately after the first use of Docker's "--volume" flag, to explain why we don't map just the repo DB file, but the whole directory it sits in. Even if we later convince ourselves WAL is safe under this scenario, it'll be conditional at ... check-in: 698587d41d user: wyoung tags: trunk | |
|
2022-09-04
| ||
| 23:46 | Renamed Dockerfile.in back to Dockerfile so it can be used as-is on non-autosetup systems. Realized that we can pass the Fossil checkin hash prefix in as a build arg instead of regenerating the file on disk from auto.def. If you use the Dockerfile as-shipped, you get a "trunk" build, which risks a stale cache — it thinks it already has a tarbal... check-in: b0c9c26a9c user: wyoung tags: trunk | |
| 22:20 | Added a /jail/log directory to the container so someone can pass --errorlog and such to the Fossil instance and have a place to put it. It also acts as a mountpoint for appending to a log out on the host. check-in: ed50ceee0d user: wyoung tags: trunk | |
| 21:58 | /dev permissions were too tight in the container. They're still tighter than on a stock Ubuntu box, but they should suffice for Fossil's needs. check-in: 8eeb95e127 user: wyoung tags: trunk | |
| 12:55 | Restricted the container listeners to localhost in section 6 of the containers doc, and mentioned a few other items related to reverse proxying with nginx. check-in: c9ab736f78 user: wyoung tags: trunk | |
| 12:14 | Folded info from an exchange with the Podman devs into the container doc. check-in: 80f4a1dd49 user: wyoung tags: trunk | |
| 11:36 | Added section numbers to the containers doc (it was getting confusing) and added a few internal fragment IDs. check-in: 4d51d52417 user: wyoung tags: trunk | |
| 11:26 | Finished all the new topics planned for the new containers doc, adding sections on rootful Podman containers and on building via Docker but running via Podman, using Docker Hub as an intermediary to avoid building on the remote host. check-in: 9c96e49995 user: wyoung tags: trunk | |
| 09:27 | Sanitized a local port number out of previous check-in: 3dfa458167 user: wyoung tags: trunk | |
| 09:25 | Added my sad tale of failure and woe with systemd-nspawn to the container docs, both as a warning to those who follow, and as a cry for help to someone who can make this work. I can't be bothered to spend more time on it, but there's no point throwing the work away. check-in: 1e8c665528 user: wyoung tags: trunk | |
| 09:15 | Documented another cause to modify the "m" variable in the runc examples in the container docs. check-in: bf5030883a user: wyoung tags: trunk | |
| 08:09 | Added more jq filters to the runc examples to remove further problematic things left in the automatic conversion from the Docker container configuration file to the one we provide to runc. check-in: 4e8c74797f user: wyoung tags: trunk | |
| 07:15 | Worked through some difficulties here in applying the runc method on remote systems, then documented what I learned in the containers doc. check-in: 56f4e2ce2f user: wyoung tags: trunk | |
| 06:28 | Small fix to previous check-in: d5695c8ef1 user: wyoung tags: trunk | |
| 06:02 | Expanded the runc section of the container doc to cover "bundle" terminology and to show a method for rsyncing the bundle across to a remote host. Also explained why this is a bad idea unless you've got a rather constrained use case, lest people avoid using podman/docker in places where they could provide real value. check-in: f9f13ce7a9 user: wyoung tags: trunk | |
| 04:32 | Documented the runc and crun options for running a container, including the cryptic method for exporting an OCI bundle from Docker, allowing you to use both together: Docker Desktop on your big dev box in the office, then one of the two lightweight runtimes out in the cloud. check-in: c9431ef4a3 user: wyoung tags: trunk | |
| 02:35 | Added explicit instructions for patching the Dockerfile for the nojail/podman method and for mapping a single Fossil repo into the container rather than a directory. Also included my best current advice on using WAL mode in these contexts. check-in: 87a23d2a7c user: wyoung tags: trunk | |
| 02:15 | Removed a TODO-based section of the new containers doc that wasn't meant to be checked in yet. Made a few improvements to the new Podman material as well. check-in: 5adf6c40d9 user: wyoung tags: trunk | |
| 02:01 | Added the "Lightweight Alternatives to Docker" section to the new containers doc, currently limited to a tutorial on converting the stock Dockerfile to work under Podman in its default mode, creating a rootless container. This brings in the second container-related file at the root of the repo, the patch file for this, so we don't have to maintain... check-in: f0399ea9ca user: wyoung tags: trunk | |
| 01:53 | Moved the busybox-config file from tools/ into a new containers/ subdirectory. We were using that as a junk-drawer directory, for lack of a better place to put it. Now that we're about to have a second container-related file in the repo, that weak excuse is wearing thin. check-in: b08e2bb747 user: wyoung tags: trunk | |
| 01:39 | Referencing the new containers.md file from Dockerfile.in so we can remove a big redundant block comment from it. While in there, made a few style tweaks that will help the ongoing container document expansion. check-in: be8f721d61 user: wyoung tags: trunk | |
|
2022-09-03
| ||
| 23:34 |
Extracted the Docker containers material from www/build.wiki and moved
it into a new document dedicated to the topic, containers.md. It was
already pushing the bounds of how much info we want to provide in a
single section of that doc, and it's about to get bigger.
As part of the conversion from wiki format to Markdown, did another edit pass on t... check-in: 7129dc9868 user: wyoung tags: trunk | |
|
2022-09-01
| ||
| 16:05 | Address builtin_deliver_multiple_js_files() endless loop reported in [forum:a9a60fab07|forum post a9a60fab07]. check-in: 76c9bbb3bd user: stephan tags: trunk | |
| 10:52 | Add aliases as a new command type and display these next to the corresponding main command in /help. Make sure that for the 'test-all-help' command and webpage each help string is output at most once. check-in: db70849495 user: danield tags: trunk | |
| 01:29 | Merge in trunk. Resolve a shadowed var in dispatch.c which led to an assigned-but-not-used warning. Closed-Leaf check-in: a257fbd92e user: stephan tags: help-aliases-unique | |
|
2022-08-30
| ||
| 01:49 | Embroidered the "make container-run" target to make it more convenient. check-in: bc09e28a26 user: wyoung tags: trunk | |
|
2022-08-29
| ||
| 18:21 | The container doc bit on raw sockets now covers the other three Busybox utilities we left out previously. Today's removal of ping and traceroute merely completes the set; it wasn't complete in itself. check-in: b429bd71db user: wyoung tags: trunk | |
| 18:07 | Clarified the points in §5.2.1 of the Docker container build doc regarding the reason why the server parent process runs as root. check-in: c2eaa60da9 user: wyoung tags: trunk | |
| 17:54 | Researched, tested, and documented the set of "docker create --cap-drop" options we can add to strip away unnecessary root privileges inside the container without harming normal operation. Belt-and-suspenders: if any bad actor ever got into the container with root privileges, this would help prevent them from affecting anything outside the contain... check-in: f715add938 user: wyoung tags: trunk | |
| 17:32 | Removed ping and traceroute commands from the Docker container. They require raw sockets support, which means if anyone broke into the container and managed a root privilege escalation, they could do a wide array of bad things on any network the container is bound to. check-in: f00a88f896 user: wyoung tags: trunk | |
| 16:01 | Polishing pass on §5.2 of the container build doc, "Why Chroot?" check-in: e98603144b user: wyoung tags: trunk | |
| 14:27 | Add a missing closing LI tag for the /tkthistory page. check-in: 2d0b2bda87 user: george tags: deltify-tkt-blobs | |
| 14:03 |
Minor optimization within getAllTicketFields() function.
check-in: c3e7ed3089 user: george tags: deltify-tkt-blobs
| |
|
2022-08-28
| ||
| 17:58 | Clarified the parent process user ID vs the child process in the explanation of how the chroot feature interacts with the custom user feature of the Docker container. check-in: f9ddd38ecc user: wyoung tags: trunk | |
| 17:52 | Made a better distinction between bind mounts and Docker volumes in the new Docker section of the build doc. check-in: 958a6af94b user: wyoung tags: trunk | |
|
2022-08-24
| ||
| 06:52 | Add a slight drop shadow to the /chat message widgets. Edit: we already had a drop shadow, just placed on a different sub-element. Closed-Leaf check-in: b04740bd75 user: stephan tags: mistake | |
|
2022-08-23
| ||
| 11:14 | Correct a NULL being passed to strcmp() which caused any submit of JS script code in the skin editor to segfault. Reported in [forum:9d9f0580fd | forum post 9d9f0580fd]. check-in: a88478391e user: stephan tags: trunk | |
|
2022-08-22
| ||
| 18:27 |
Make it possible to store similar ticket change artifacts as deltas.
This might be useful when a certain column of the TICKET table
holds a lengthy text that may undergo frequent modifications.
This is an opt-in feature. It is activated only when TICKET table
contains a phony | |
|
2022-08-18
| ||
| 13:21 | Add the "Timeline" submenu link on the setup_edit page, for ordinary users. Change the "Access Log" link on that same page so that it is only present for ordinary users - not special users like "reader" or "developer". check-in: 6f70a236ce user: drh tags: trunk | |
|
2022-08-17
| ||
| 05:30 | Removed a digression in the gitusers doc about Fossil's new clone-and-open mechanisms. That got moved to the ckout-workflows doc quite some time back, and we already point to it from that same section. There's no reason for the redundancy. Also cleaned up some grammar and typos while in there. check-in: f43eaf01e3 user: wyoung tags: trunk | |
|
2022-08-16
| ||
| 11:05 | Changed the "fossil server --user" flag's argument back to "admin" from "fossil" for the container: I was confusing the Unix user name with the default Fossil repo user name. The new "adduser fossil" stuff doesn't help here; we still want it to be called "admin". check-in: 72d820f320 user: wyoung tags: trunk | |
| 11:04 |
ARM build fixes for the container:
| |
| 09:39 | Minor fixes to the Docker container build process check-in: 454397b0cd user: wyoung tags: trunk | |
| 07:14 | URL fix necessitated from the Dockerfile.in rename check-in: 2f67bf941a user: wyoung tags: trunk | |
| 07:03 | Carved the Docker container image size down still further by stripping out all but two of the stock skins (d* so we get default and darkmode) and packing Fossil and BusyBox with UPX. check-in: e20d044cc0 user: wyoung tags: trunk | |
| 06:49 | Fixed an Obi Wan error in the new Fossil version prefix stuff in auto.def: it was extracting the first 13 characters of the hash, not the first 12. check-in: 7ecd23e0ef user: wyoung tags: trunk | |
|
2022-08-15
| ||
| 23:21 | Added the container-image and container-run top-level build targets to manage dependencies better and to auto-version the build products. check-in: 67386c75f5 user: wyoung tags: trunk | |
| 23:07 | Put the "--user fossil" bit back into the fossil server command for the container. Just ran into a situations where it's still needed. check-in: 4c8cc80450 user: wyoung tags: trunk | |
| 22:13 | Polishing pass on the container repo storage section of the build docs. check-in: 3e332637f1 user: wyoung tags: trunk | |
| 22:02 | Changed several of the Docker environment variables to build arguments so the user an override them at build time rather than container creation time, and documented them in build.wiki. Using this new mechanism to pull the Fossil source tarball in such a way that we can use the Docker artifact cache without getting stale builds. You can now pass ... check-in: f938438380 user: wyoung tags: trunk | |
| 15:32 | Adding the BusyBox tarball to the container image with an ADD command rather than wget to avoid triggering GitHub throttling. Unlike the Fossil repo URL, it has a version number baked into it, so it's safe to give it over to Docker's caching behavior. check-in: d06d7c464e user: wyoung tags: trunk | |
| 14:48 | Noted the container size shrinkage in the fossil-v-git doc check-in: f21de33e97 user: wyoung tags: trunk | |
| 14:42 | The container now builds Busybox from source so we can remove utilities that are unhelpful inside the container. We leave a lot behind for expansion (e.g. the runit init system, crond, inetd…) but we remove things that have no possible justification, such as modprobe. We remove everything from /bin that's a shell builtin (echo, printf, test…) ... check-in: 953f367e94 user: wyoung tags: trunk | |
| 10:28 | Add #ifdef's to fix the Windows build. check-in: f572f7524d user: florian tags: trunk | |